paper-with-me

홈 › Papers

Learning In-context Learning for Named Entity Recognition

2023-05-18 · Jiawei Chen, Yaojie Lu, Hongyu Lin, Jie Lou, Wei Jia, Dai Dai, Hua Wu, Boxi Cao, Xianpei Han, Le Sun

Named entity recognition in real-world applications suffers from the diversity of entity types, the emergence of new entity types, and the lack of high-quality annotations. To address the above problems, this paper proposes an in-context learning-based NER approach, which can effectively inject in-context NER ability into PLMs and recognize entities of novel types on-the-fly using only a few demonstrative instances. Specifically, we model PLMs as a meta-function $\mathcal{ \lambda_ {\text{instruction, demonstrations, text}}. M}$, and a new entity extractor can be implicitly constructed by applying new instruction and demonstrations to PLMs, i.e., $\mathcal{ (\lambda . M) }$(instruction, demonstrations) $\to$ $\mathcal{F}$ where $\mathcal{F}$ will be a new entity extractor, i.e., $\mathcal{F}$: text $\to$ entities. To inject the above in-context NER ability into PLMs, we propose a meta-function pre-training algorithm, which pre-trains PLMs by comparing the (instruction, demonstration)-initialized extractor with a surrogate golden extractor. Experimental results on 4 few-shot NER datasets show that our method can effectively inject in-context NER ability into PLMs and significantly outperforms the PLMs+fine-tuning counterparts.

📄 PDF Abstract BibTeX arXiv:2305.11038

Code (2)

chen700564/metaner-icl 공식 구현 pytorch
chen700564/supercd pytorch

Tasks

Diversityfew-shot-nerFew-shot NERIn-Context Learningnamed-entity-recognitionNamed Entity RecognitionNER

Similar Papers 제목 키워드 기반

Named Entity Recognition in Multi-level Contexts

2020-12-01 · Asian Chapter of the Association for Computational Linguistics 2020 · Yubo Chen, Chuhan Wu, Tao Qi, Zhigang Yuan 외

Named entity recognition is a critical task in the natural language processing field. Most existing methods for this task can only exploit contextual information within a sentence. However, their performance on recognizi…

Multi-Task Learningnamed-entity-recognitionNamed Entity RecognitionNamed Entity Recognition (NER)+1

Retrieval-Enhanced Named Entity Recognition

2024-10-17 · Enzo Shiraishi, Raphael Y. de Camargo, Henrique L. P. Silva, Ronaldo C. Prati

When combined with In-Context Learning, a technique that enables models to adapt to new tasks by incorporating task-specific examples or demonstrations directly within the input prompt, autoregressive language models hav…

In-Context LearningInformation RetrievalLanguage ModelingLanguage Modelling+3

DAMO-NLP at SemEval-2022 Task 11: A Knowledge-based System for Multilingual Named Entity Recognition

2022-03-01 · SemEval (NAACL) 2022 7 · Xinyu Wang, Yongliang Shen, Jiong Cai, Tao Wang 외

The MultiCoNER shared task aims at detecting semantically ambiguous and complex named entities in short and low-context settings for multiple languages. The lack of contexts makes the recognition of ambiguous named entit…

Multilingual Named Entity RecognitionNamed Entity RecognitionNamed Entity Recognition (NER)Sentence

Dynamic Named Entity Recognition

2023-02-16 · Tristan Luiggi, Laure Soulier, Vincent Guigue, Siwar Jendoubi 외

Named Entity Recognition (NER) is a challenging and widely studied task that involves detecting and typing entities in text. So far,NER still approaches entity typing as a task of classification into universal classes (e…

Entity TypingMemorizationnamed-entity-recognitionNamed Entity Recognition+2

Named Entity Recognition on Code-Switched Data Using Conditional Random Fields

2018-07-01 · WS 2018 7 · Utpal Kumar Sikdar, Biswanath Barik, Bj{\"o}rn Gamb{\"a}ck

Named Entity Recognition is an important information extraction task that identifies proper names in unstructured texts and classifies them into some pre-defined categories. Identification of named entities in code-mixed…

Language Identificationnamed-entity-recognitionNamed Entity RecognitionNamed Entity Recognition (NER)