A Method Based on Heterogeneous Graph and Contrastive Learning in Named Entity Recognition

Rui Zhang, Yilin Zhang, Qiaochuan Chen, Yuexing Han2025 · DOI

Abstract

Named entity recognition (NER) is a core natural language processing task. Traditional sequence labeling methods have trouble with nested entities because of single layer representations, and existing solutions are often complex or computationally costly. This paper presents a novel model, named HCG, using heterogeneous graph representation learning and contrastive optimization for NER. We introduce a gating mechanism, and jointly optimize CRF with contrast loss to optimize boundary prediction and effectively identify entities. Our model achieves 92.78% and 79.77% F1 on the CoNLL2003 and GENIA datasets, respectively, outperforming recent models. This work provides an efficient solution for complex NER.
BibTeX
@misc{zhang2025method,
  author = {Rui Zhang and Yilin Zhang and Qiaochuan Chen and Yuexing Han},
  title = {{A Method Based on Heterogeneous Graph and Contrastive Learning in Named Entity Recognition}},
  year = {2025},
  doi = {10.1109/icaace65325.2025.11020147},
}

Loading related content...

Figure