Optimizing Bi-Encoder for Named Entity Recognition via Contrastive Learning
Sheng Zhang, Hao Cheng, Jianfeng Gao, Hoifung Poon
摘要
We present a bi-encoder framework for named entity recognition (NER), which applies contrastive learning to map candidate text spans and entity types into the same vector representation space. Prior work predominantly approaches NER as sequence labeling or span classification. We instead frame NER as a representation learning problem that maximizes the similarity between the vector representations of an entity mention and its type. This makes it easy to handle nested and flat NER alike, and can better leverage noisy self-supervision signals. A major challenge to this bi-encoder formulation for NER lies in separating non-entity spans from entity mentions. Instead of explicitly labeling all non-entity spans as the same class Outside (O) as in most prior methods, we introduce a novel dynamic thresholding loss, learned in conjunction with the standard contrastive loss. Experiments show that our method performs well in both supervised and distantly supervised settings, for nested and flat NER alike, establishing new state of the art across standard datasets in the general domain (e.g., ACE2004, ACE2005, CoNLL2003) and high-value verticals such as biomedicine (e.g., GENIA, NCBI, BC5CDR, JNLPBA). We release the code at github.com/microsoft/binder.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- NuNER: Entity Recognition Encoder Pre-training via LLM-Annotated Data 引用了 GoLLIE: Annotation Guidelines improve Zero-Shot Information-Extraction
- Improving Natural Language Understanding for LLMs via Large-Scale Instruction Synthesis 引用了 GoLLIE: Annotation Guidelines improve Zero-Shot Information-Extraction
- PaDeLLM-NER: Parallel Decoding in Large Language Models for Named Entity Recognition 引用了 GoLLIE: Annotation Guidelines improve Zero-Shot Information-Extraction
引用它的顶会 Paper7
- GoLLIE: Annotation Guidelines improve Zero-Shot Information-ExtractionOscar Sainz, Iker García-Ferrero, Rodrigo Agerri, Oier Lopez de Lacalle 等ICLR 2024 · 168 次引用
- NuNER: Entity Recognition Encoder Pre-training via LLM-Annotated DataSergei Bogdanov, Alexandre Constantin, Timothée Bernard, Benoît Crabbé 等EMNLP 2024 · 29 次引用
- PaDeLLM-NER: Parallel Decoding in Large Language Models for Named Entity RecognitionJinghui Lu, Yanjie Wang, Ziwei Yang, Xuejing Liu 等NeurIPS 2024 · 22 次引用
- Improving Natural Language Understanding for LLMs via Large-Scale Instruction SynthesisLin Yuan, Jun Xu, Honghao Gui, Mengshu Sun 等AAAI 2025 · 3 次引用
- Span Graph Transformer for Document-Level Named Entity RecognitionHongli Mao, Xian-Ling Mao, Hanlin Tang, Yuming Shang 等AAAI 2024 · 3 次引用
它引用的 Paper21
- Supervised Contrastive LearningPrannay Khosla, Piotr Teterwak, Chen Wang, Aaron Sarna 等NeurIPS 2020 · 7,049 次引用
- A Unified MRC Framework for Named Entity RecognitionXiaoya Li, Jingrong Feng, Yuxian Meng, Qinghong Han 等ACL 2020 · 617 次引用
- LinkBERT: Pretraining Language Models with Document LinksMichihiro Yasunaga, Jure Leskovec, Percy LiangACL 2022 · 463 次引用
- Template-Based Named Entity Recognition Using BARTLeyang Cui, Yu Wu, Jian Liu, Sen Yang 等ACL Findings 2021 · 342 次引用
- Scalable Zero-shot Entity Linking with Dense Entity RetrievalLedell Wu, Fabio Petroni, Martin Josifoski, Sebastian Riedel 等EMNLP 2020 · 336 次引用
相关 Paper
- Focusing, Bridging and Prompting for Few-shot Nested Named Entity RecognitionYuanyuan Xu, Zeng Yang, Linhai Zhang, Deyu Zhou 等ACL Findings 2023 · 10 次引用
- Improving Named Entity Recognition via Bridge-based Domain AdaptationJingyun Xu, Changmeng Zheng, Yi Cai, Tat-Seng ChuaACL Findings 2023 · 3 次引用
- Boundary Enhanced Neural Span Classification for Nested Named Entity RecognitionChuanqi Tan, Wei Qiu, Mosha Chen, Rui Wang 等AAAI 2020 · 125 次引用
- Noise-Robust Training with Dynamic Loss and Contrastive Learning for Distantly-Supervised Named Entity RecognitionZhiyuan Ma, Jintao Du, Shuheng ZhouACL Findings 2023 · 4 次引用
- Learning "O" Helps for Learning More: Handling the Unlabeled Entity Problem for Class-incremental NERRuotian Ma, Xuanting Chen, Zhang Lin, Xin Zhou 等ACL 2023 · 12 次引用
