COPNER: Contrastive Learning with Prompt Guiding for Few-shot Named Entity Recognition
Distance metric learning has become a popular solution for few-shot Named Entity Recognition (NER). The typical setup aims to learn a similarity metric for measuring the semantic similarity between test samples and referents, where each referent represents an entity class. The effect of this setup may, however, be compromised for two reasons. First, there is typically a limited optimization exerted on the representations of entity tokens after initing by pre-trained language models. Second, the referents may be far from representing corresponding entity classes due to the label scarcity in the few-shot setting. To address these challenges, we propose a novel approach named COntrastive learning with Prompt guiding for few-shot NER (COPNER). We introduce a novel prompt composed of class-specific words to COPNER to serve as 1) supervision signals for conducting contrastive learning to optimize token representations; 2) metric referents for distance-metric inference on test samples. Experimental results demonstrate that COPNER outperforms state-of-the-art models with a significant margin in most cases. Moreover, COPNER shows great potential in the zero-shot setting.
Code (1)
Tasks
Contrastive Learningfew-shot-nerFew-shot NERMetric Learningnamed-entity-recognitionNamed Entity RecognitionNamed Entity Recognition (NER)NERSemantic SimilaritySemantic Textual SimilaritySimilar Papers 제목 키워드 기반
A Unified Label-Aware Contrastive Learning Framework for Few-Shot Named Entity Recognition
Few-shot Named Entity Recognition (NER) aims to extract named entities using only a limited number of labeled examples. Existing contrastive learning methods often suffer from insufficient distinguishability in context v…
Contrastive Learningfew-shot-nerFew-shot NERnamed-entity-recognition+3Zero-Shot Event Detection Based on Ordered Contrastive Learning and Prompt-Based Prediction
Event detection is a classic natural language processing task. However, the constantly emerging new events make supervised methods not applicable to unseen types. Previous zero-shot event detection methods either require…
Contrastive LearningEvent DetectionCLLMFS: A Contrastive Learning enhanced Large Language Model Framework for Few-Shot Named Entity Recognition
Few-shot Named Entity Recognition (NER), the task of identifying named entities with only a limited amount of labeled data, has gained increasing significance in natural language processing. While existing methodologies …
Contrastive Learningfew-shot-nerFew-shot NERLanguage Modeling+7KECP: Knowledge Enhanced Contrastive Prompting for Few-shot Extractive Question Answering
Extractive Question Answering (EQA) is one of the most important tasks in Machine Reading Comprehension (MRC), which can be solved by fine-tuning the span selecting heads of Pre-trained Language Models (PLMs). However, m…
Contrastive LearningExtractive Question-AnsweringFew-Shot LearningLanguage Modeling+5Zero-Shot Verification-guided Chain of Thoughts
Previous works have demonstrated the effectiveness of Chain-of-Thought (COT) prompts and verifiers in guiding Large Language Models (LLMs) through the space of reasoning. However, most such studies either use a fine-tune…