Optimizing Bi-Encoder for Named Entity Recognition via Contrastive Learning
Not on the map. Why?
Abstract (arXiv)
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 textttOutside (textttO) as in most prior methods, we introduce a novel dynamic thresholding 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) and high-value verticals such as biomedicine (e.g., GENIA, NCBI, BC5CDR, JNLPBA). We release the code at github.com/microsoft/binder.
Key facts. Cited by 24 papers in the map (data through 7 Oct 2026). Builds on 45 of its 84 references that are in the map. First posted on arXiv 30 Aug 2022.
Builds on
45 of 84 references.
References · 45
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
- 2020Supervised Contrastive Learningcited by 2,803
- 2019BioBERT: a pre-trained biomedical language representation model for biomedical text miningcited by 1,935
- 2020Domain-Specific Language Model Pretraining for Biomedical Natural Language Processingcited by 996
- 2018Generalized Cross Entropy Loss for Training Deep Neural Networks with Noisy Labelscited by 994
- 2016Neural Architectures for Named Entity Recognitioncited by 548
- 2016End-to-end Sequence Labeling via Bi-directional LSTM-CNNs-CRFcited by 341
- 2018Multi-Task Identification of Entities, Relations, and Coreference for Scientific Knowledge Graph Constructioncited by 321
- 2022LinkBERT: Pretraining Language Models with Document Linkscited by 209
33 more
- 2015Named Entity Recognition with Bidirectional LSTM-CNNscited by 201
- 2019A Unified MRC Framework for Named Entity Recognitioncited by 199
- 2019Poly-encoders: Transformer Architectures and Pre-training Strategies for Fast and Accurate Multi-sentence Scoringcited by 164
- 2021Template-Based Named Entity Recognition Using BARTcited by 153
- 2020Named Entity Recognition as Dependency Parsingcited by 150
- 2021A Unified Generative Framework for Various NER Subtaskscited by 141
- 2019Learning Dense Representations for Entity Retrievalcited by 122
- 2018Large Margin Deep Networks for Classificationcited by 110
- 2020BOND: BERT-Assisted Open-Domain Named Entity Recognition with Distant Supervisioncited by 91
- 2015Convolutional Neural Network Architectures for Matching Natural Language Sentencescited by 82
- 2021Improving Named Entity Recognition by External Context Retrieving and Cooperative Learningcited by 76
- 2021Template-free Prompt Tuning for Few-shot NERcited by 73
- 2018Learning Named Entity Tagger using Domain-Specific Dictionarycited by 65
- 2021CONTaiNER: Few-Shot Named Entity Recognition via Contrastive Learningcited by 64
- 2021Prompt-Learning for Fine-Grained Entity Typingcited by 62
- 2019Neural Architectures for Nested NER through Linearizationcited by 56
- 2021SpanNER: Named Entity Re-/Recognition as Span Predictioncited by 55
- 2018End-to-End Retrieval in Continuous Spacecited by 46
- 2019Distantly Supervised Named Entity Recognition using Positive-Unlabeled Learningcited by 46
- 2021A Sequence-to-Set Network for Nested Named Entity Recognitioncited by 40
- 2019Nested Named Entity Recognition via Second-best Sequence Learning and Decodingcited by 34
- 2017SwellShark: A Generative Model for Biomedical Named Entity Recognition without Labeled Datacited by 28
- 2018Design Challenges and Misconceptions in Neural Sequence Labelingcited by 28
- 2020Coarse-to-Fine Pre-training for Named Entity Recognitioncited by 28
- 2021Noisy-Labeled NER with Confidence Estimationcited by 28
- 2019Named Entity Recognition with Partially Annotated Training Datacited by 27
- 2017StarSpace: Embed All The Things!cited by 24
- 2021De-biasing Distantly Supervised Named Entity Recognition via Causal Interventioncited by 24
- 2020Instance-Based Learning of Span Representations: A Case Study through Named Entity Recognitioncited by 23
- 2022Distantly Supervised Named Entity Recognition via Confidence-Based Multi-Class Positive and Unlabeled Learningcited by 21
- 2019Multi-Grained Named Entity Recognitioncited by 19
- 2017Unsupervised Aspect Term Extraction with B-LSTM & CRF using Automatically Labelled Datasetscited by 12
- 2020Uncertainty-Aware Label Refinement for Sequence Labelingcited by 11
Built on by
Citing papers per year: 2023: 15; 2024: 6; 2025: 3.
24 papers.
Sort:
By area:
- 2023InstructUIE: Multi-task Instruction Tuning for Unified Information Extractioncited by 167
- 2023GPT-NER: Named Entity Recognition via Large Language Modelscited by 158
- 2023GoLLIE: Annotation Guidelines improve Zero-Shot Information-Extractioncited by 116
- 2023Benchmarking large language models for biomedical natural language processing applications and recommendationscited by 78
- 2023When does In-context Learning Fall Short and Why? A Study on Specification-Heavy Taskscited by 37
- 2024NuNER: Entity Recognition Encoder Pre-training via LLM-Annotated Datacited by 34
- 2023Chain-of-Skills: A Configurable Model for Open-domain Question Answeringcited by 19
- 2023How far is Language Model from 100% Few-shot Named Entity Recognition in Medical Domaincited by 14
- 2024PaDeLLM-NER: Parallel Decoding in Large Language Models for Named Entity Recognitioncited by 6
- 2024Intent Detection and Entity Extraction from BioMedical Literaturecited by 6
- 2023Making Large Language Models Better Knowledge Miners for Online Marketing with Progressive Prompting Augmentationcited by 5
- 2023W-procer: Weighted Prototypical Contrastive Learning for Medical Few-Shot Named Entity Recognitioncited by 4
12 more
- 2025Overview of BioASQ 2024: The twelfth BioASQ challenge on Large-Scale Biomedical Semantic Indexing and Question Answeringcited by 4
- 2023A Pairing Enhancement Approach for Aspect Sentiment Triplet Extractioncited by 3
- 2023DMNER: Biomedical Entity Recognition by Detection and Matchingcited by 2
- 2024Named Entity Recognition Under Domain Shift via Metric Learning for Life Sciencescited by 2
- 2024Large-Scale Label Interpretation Learning for Few-Shot Named Entity Recognitioncited by 2
- 2023CLaC at SemEval-2023 Task 2: Comparing Span-Prediction and Sequence-Labeling approaches for NERcited by 1
- 2023Comparing and combining some popular NER approaches on Biomedical taskscited by 1
- 2023Towards Safer Operations: An Expert-involved Dataset of High-Pressure Gas Incidents for Preventing Future Failurescited by 1
- 2023Leveraging deep active learning to identify low-resource mobility functioning information in public clinical notescited by 1
- 2025RuCCoD: Towards Automated ICD Coding in Russiancited by 1
- 2025Multilingual Clinical NER for Diseases and Medications Recognition in Cardiology Texts using BERT Embeddingscited by 1
- 2024NanoNER: Named Entity Recognition for nanobiology using experts' knowledge and distant supervisioncited by 0
- 2025Multilingual Clinical NER for Diseases and Medications Recognition in Cardiology Texts using BERT Embeddings20 Oct 2025
- 2025Overview of BioASQ 2024: The twelfth BioASQ challenge on Large-Scale Biomedical Semantic Indexing and Question Answering28 Aug 2025
- 2025RuCCoD: Towards Automated ICD Coding in Russian28 Feb 2025
- 2024Intent Detection and Entity Extraction from BioMedical Literature4 Apr 2024
- 2024Large-Scale Label Interpretation Learning for Few-Shot Named Entity Recognition21 Mar 2024
- 2024NuNER: Entity Recognition Encoder Pre-training via LLM-Annotated Data23 Feb 2024
- 2024PaDeLLM-NER: Parallel Decoding in Large Language Models for Named Entity Recognition7 Feb 2024
- 2024NanoNER: Named Entity Recognition for nanobiology using experts' knowledge and distant supervision30 Jan 2024
- 2024Named Entity Recognition Under Domain Shift via Metric Learning for Life Sciences19 Jan 2024
- 2023Making Large Language Models Better Knowledge Miners for Online Marketing with Progressive Prompting Augmentation8 Dec 2023
- 2023Leveraging deep active learning to identify low-resource mobility functioning information in public clinical notes27 Nov 2023
- 2023When does In-context Learning Fall Short and Why? A Study on Specification-Heavy Tasks15 Nov 2023
12 more
- 2023Towards Safer Operations: An Expert-involved Dataset of High-Pressure Gas Incidents for Preventing Future Failures18 Oct 2023
- 2023GoLLIE: Annotation Guidelines improve Zero-Shot Information-Extraction5 Oct 2023
- 2023How far is Language Model from 100% Few-shot Named Entity Recognition in Medical Domain1 Jul 2023
- 2023DMNER: Biomedical Entity Recognition by Detection and Matching27 Jun 2023
- 2023A Pairing Enhancement Approach for Aspect Sentiment Triplet Extraction11 Jun 2023
- 2023Comparing and combining some popular NER approaches on Biomedical tasks30 May 2023
- 2023W-procer: Weighted Prototypical Contrastive Learning for Medical Few-Shot Named Entity Recognition29 May 2023
- 2023Benchmarking large language models for biomedical natural language processing applications and recommendations10 May 2023
- 2023CLaC at SemEval-2023 Task 2: Comparing Span-Prediction and Sequence-Labeling approaches for NER5 May 2023
- 2023Chain-of-Skills: A Configurable Model for Open-domain Question Answering4 May 2023
- 2023GPT-NER: Named Entity Recognition via Large Language Models20 Apr 2023
- 2023InstructUIE: Multi-task Instruction Tuning for Unified Information Extraction17 Apr 2023
- 2023InstructUIE: Multi-task Instruction Tuning for Unified Information Extractioncited by 167
- 2023GPT-NER: Named Entity Recognition via Large Language Modelscited by 158
- 2023GoLLIE: Annotation Guidelines improve Zero-Shot Information-Extractioncited by 116
- 2023Benchmarking large language models for biomedical natural language processing applications and recommendationscited by 78
- 2023When does In-context Learning Fall Short and Why? A Study on Specification-Heavy Taskscited by 37
- 2024NuNER: Entity Recognition Encoder Pre-training via LLM-Annotated Datacited by 34
- 2023Chain-of-Skills: A Configurable Model for Open-domain Question Answeringcited by 19
- 2023How far is Language Model from 100% Few-shot Named Entity Recognition in Medical Domaincited by 14
- 2024Intent Detection and Entity Extraction from BioMedical Literaturecited by 6
- 2023Making Large Language Models Better Knowledge Miners for Online Marketing with Progressive Prompting Augmentationcited by 5
- 2023W-procer: Weighted Prototypical Contrastive Learning for Medical Few-Shot Named Entity Recognitioncited by 4
- 2025Overview of BioASQ 2024: The twelfth BioASQ challenge on Large-Scale Biomedical Semantic Indexing and Question Answeringcited by 4
12 most cited of 23 All 23 (JSON)
- 2025Multilingual Clinical NER for Diseases and Medications Recognition in Cardiology Texts using BERT Embeddings20 Oct 2025
- 2025Overview of BioASQ 2024: The twelfth BioASQ challenge on Large-Scale Biomedical Semantic Indexing and Question Answering28 Aug 2025
- 2025RuCCoD: Towards Automated ICD Coding in Russian28 Feb 2025
- 2024Intent Detection and Entity Extraction from BioMedical Literature4 Apr 2024
- 2024Large-Scale Label Interpretation Learning for Few-Shot Named Entity Recognition21 Mar 2024
- 2024NuNER: Entity Recognition Encoder Pre-training via LLM-Annotated Data23 Feb 2024
- 2024NanoNER: Named Entity Recognition for nanobiology using experts' knowledge and distant supervision30 Jan 2024
- 2024Named Entity Recognition Under Domain Shift via Metric Learning for Life Sciences19 Jan 2024
- 2023Making Large Language Models Better Knowledge Miners for Online Marketing with Progressive Prompting Augmentation8 Dec 2023
- 2023Leveraging deep active learning to identify low-resource mobility functioning information in public clinical notes27 Nov 2023
- 2023When does In-context Learning Fall Short and Why? A Study on Specification-Heavy Tasks15 Nov 2023
- 2023Towards Safer Operations: An Expert-involved Dataset of High-Pressure Gas Incidents for Preventing Future Failures18 Oct 2023
12 newest of 23 All 23 (JSON)