GuideNER: Annotation Guidelines Are Better than Examples for In-Context Named Entity Recognition

Authors

  • Shizhou Huang School of Computer Science and Technology, East China Normal University, Shanghai, China
  • Bo Xu School of Computer Science and Technology, Donghua University, Shanghai, China
  • Yang Yu School of Computer Science and Technology, East China Normal University, Shanghai, China
  • Changqun Li School of Computer Science and Technology, East China Normal University, Shanghai, China
  • Xin Alex Lin School of Computer Science and Technology, East China Normal University, Shanghai, China Shanghai Key Laboratory of Multidimensional Information Processing

DOI:

https://doi.org/10.1609/aaai.v39i23.34591

Abstract

Large language models (LLMs) demonstrate impressive performance on downstream tasks through in-context learning(ICL). However, there is a significant gap between their performance in Named Entity Recognition (NER) and in fine-tuning methods. We believe this discrepancy is due to inconsistencies in labeling definitions in NER. In addition, recent research indicates that LLMs do not learn the specific input-label mappings from the demonstrations. Therefore, we argue that using examples to implicitly capture the mapping between inputs and labels in in-context learning is not suitable for NER. Instead, it requires explicitly informing the model of the range of entities contained in the labels, such as annotation guidelines. In this paper, we propose GuideNER, which uses LLMs to summarize concise annotation guidelines as contextual information in ICL. We have conducted experiments on widely used NER datasets, and the experimental results indicate that our method can consistently and significantly outperform state-of-the-art methods, while using shorter prompts. Especially on the GENIA dataset, our model outperforms the previous state-of-the-art model by 12.63 F1 scores.

Downloads

Published

2025-04-11

How to Cite

Huang, S., Xu, B., Yu, Y., Li, C., & Lin, X. A. (2025). GuideNER: Annotation Guidelines Are Better than Examples for In-Context Named Entity Recognition. Proceedings of the AAAI Conference on Artificial Intelligence, 39(23), 24159–24166. https://doi.org/10.1609/aaai.v39i23.34591

Issue

Section

AAAI Technical Track on Natural Language Processing II