English

BANER: Boundary-Aware LLMs for Few-Shot Named Entity Recognition

Computation and Language 2024-12-04 v1 Artificial Intelligence Machine Learning

Abstract

Despite the recent success of two-stage prototypical networks in few-shot named entity recognition (NER), challenges such as over/under-detected false spans in the span detection stage and unaligned entity prototypes in the type classification stage persist. Additionally, LLMs have not proven to be effective few-shot information extractors in general. In this paper, we propose an approach called Boundary-Aware LLMs for Few-Shot Named Entity Recognition to address these issues. We introduce a boundary-aware contrastive learning strategy to enhance the LLM's ability to perceive entity boundaries for generalized entity spans. Additionally, we utilize LoRAHub to align information from the target domain to the source domain, thereby enhancing adaptive cross-domain classification capabilities. Extensive experiments across various benchmarks demonstrate that our framework outperforms prior methods, validating its effectiveness. In particular, the proposed strategies demonstrate effectiveness across a range of LLM architectures. The code and data are released on https://github.com/UESTC-GQJ/BANER.

Keywords

Cite

@article{arxiv.2412.02228,
  title  = {BANER: Boundary-Aware LLMs for Few-Shot Named Entity Recognition},
  author = {Quanjiang Guo and Yihong Dong and Ling Tian and Zhao Kang and Yu Zhang and Sijie Wang},
  journal= {arXiv preprint arXiv:2412.02228},
  year   = {2024}
}

Comments

Appear on COLING 2025

R2 v1 2026-06-28T20:20:55.567Z