Score: 1

Label-Guided In-Context Learning for Named Entity Recognition

Published: May 29, 2025 | arXiv ID: 2505.23722v1

By: Fan Bai , Hamid Hassanzadeh , Ardavan Saeedi and more

BigTech Affiliations: Johns Hopkins University

Potential Business Impact:

Helps computers find words better by learning from examples.

Business Areas:
Semantic Search Internet Services

In-context learning (ICL) enables large language models (LLMs) to perform new tasks using only a few demonstrations. In Named Entity Recognition (NER), demonstrations are typically selected based on semantic similarity to the test instance, ignoring training labels and resulting in suboptimal performance. We introduce DEER, a new method that leverages training labels through token-level statistics to improve ICL performance. DEER first enhances example selection with a label-guided, token-based retriever that prioritizes tokens most informative for entity recognition. It then prompts the LLM to revisit error-prone tokens, which are also identified using label statistics, and make targeted corrections. Evaluated on five NER datasets using four different LLMs, DEER consistently outperforms existing ICL methods and approaches the performance of supervised fine-tuning. Further analysis shows its effectiveness on both seen and unseen entities and its robustness in low-resource settings.

Country of Origin
πŸ‡ΊπŸ‡Έ United States

Page Count
21 pages

Category
Computer Science:
Computation and Language