mlsanityData to 7 Oct 2026

Optimizing Bi-Encoder for Named Entity Recognition via Contrastive Learning

arXiv 2208.14565 ↗First posted 30 Aug 2022cs.CL cs.AIcited by 24

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
  4. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
  5. 2020Supervised Contrastive Learningcited by 2,803
  6. 2019BioBERT: a pre-trained biomedical language representation model for biomedical text miningcited by 1,935
  7. 2020Domain-Specific Language Model Pretraining for Biomedical Natural Language Processingcited by 996
  8. 2018Generalized Cross Entropy Loss for Training Deep Neural Networks with Noisy Labelscited by 994
  9. 2016Neural Architectures for Named Entity Recognitioncited by 548
  10. 2016End-to-end Sequence Labeling via Bi-directional LSTM-CNNs-CRFcited by 341
  11. 2018Multi-Task Identification of Entities, Relations, and Coreference for Scientific Knowledge Graph Constructioncited by 321
  12. 2022LinkBERT: Pretraining Language Models with Document Linkscited by 209
33 more
  1. 2015Named Entity Recognition with Bidirectional LSTM-CNNscited by 201
  2. 2019A Unified MRC Framework for Named Entity Recognitioncited by 199
  3. 2019Poly-encoders: Transformer Architectures and Pre-training Strategies for Fast and Accurate Multi-sentence Scoringcited by 164
  4. 2021Template-Based Named Entity Recognition Using BARTcited by 153
  5. 2020Named Entity Recognition as Dependency Parsingcited by 150
  6. 2021A Unified Generative Framework for Various NER Subtaskscited by 141
  7. 2019Learning Dense Representations for Entity Retrievalcited by 122
  8. 2018Large Margin Deep Networks for Classificationcited by 110
  9. 2020BOND: BERT-Assisted Open-Domain Named Entity Recognition with Distant Supervisioncited by 91
  10. 2015Convolutional Neural Network Architectures for Matching Natural Language Sentencescited by 82
  11. 2021Improving Named Entity Recognition by External Context Retrieving and Cooperative Learningcited by 76
  12. 2021Template-free Prompt Tuning for Few-shot NERcited by 73
  13. 2018Learning Named Entity Tagger using Domain-Specific Dictionarycited by 65
  14. 2021CONTaiNER: Few-Shot Named Entity Recognition via Contrastive Learningcited by 64
  15. 2021Prompt-Learning for Fine-Grained Entity Typingcited by 62
  16. 2019Neural Architectures for Nested NER through Linearizationcited by 56
  17. 2021SpanNER: Named Entity Re-/Recognition as Span Predictioncited by 55
  18. 2018End-to-End Retrieval in Continuous Spacecited by 46
  19. 2019Distantly Supervised Named Entity Recognition using Positive-Unlabeled Learningcited by 46
  20. 2021A Sequence-to-Set Network for Nested Named Entity Recognitioncited by 40
  21. 2019Nested Named Entity Recognition via Second-best Sequence Learning and Decodingcited by 34
  22. 2017SwellShark: A Generative Model for Biomedical Named Entity Recognition without Labeled Datacited by 28
  23. 2018Design Challenges and Misconceptions in Neural Sequence Labelingcited by 28
  24. 2020Coarse-to-Fine Pre-training for Named Entity Recognitioncited by 28
  25. 2021Noisy-Labeled NER with Confidence Estimationcited by 28
  26. 2019Named Entity Recognition with Partially Annotated Training Datacited by 27
  27. 2017StarSpace: Embed All The Things!cited by 24
  28. 2021De-biasing Distantly Supervised Named Entity Recognition via Causal Interventioncited by 24
  29. 2020Instance-Based Learning of Span Representations: A Case Study through Named Entity Recognitioncited by 23
  30. 2022Distantly Supervised Named Entity Recognition via Confidence-Based Multi-Class Positive and Unlabeled Learningcited by 21
  31. 2019Multi-Grained Named Entity Recognitioncited by 19
  32. 2017Unsupervised Aspect Term Extraction with B-LSTM & CRF using Automatically Labelled Datasetscited by 12
  33. 2020Uncertainty-Aware Label Refinement for Sequence Labelingcited by 11

Built on by

Cited by year

Citing papers per year: 2023: 15; 2024: 6; 2025: 3.

24 papers.

Sort:

By area:

  1. 2023InstructUIE: Multi-task Instruction Tuning for Unified Information Extractioncited by 167
  2. 2023GPT-NER: Named Entity Recognition via Large Language Modelscited by 158
  3. 2023GoLLIE: Annotation Guidelines improve Zero-Shot Information-Extractioncited by 116
  4. 2023Benchmarking large language models for biomedical natural language processing applications and recommendationscited by 78
  5. 2023When does In-context Learning Fall Short and Why? A Study on Specification-Heavy Taskscited by 37
  6. 2024NuNER: Entity Recognition Encoder Pre-training via LLM-Annotated Datacited by 34
  7. 2023Chain-of-Skills: A Configurable Model for Open-domain Question Answeringcited by 19
  8. 2023How far is Language Model from 100% Few-shot Named Entity Recognition in Medical Domaincited by 14
  9. 2024PaDeLLM-NER: Parallel Decoding in Large Language Models for Named Entity Recognitioncited by 6
  10. 2024Intent Detection and Entity Extraction from BioMedical Literaturecited by 6
  11. 2023Making Large Language Models Better Knowledge Miners for Online Marketing with Progressive Prompting Augmentationcited by 5
  12. 2023W-procer: Weighted Prototypical Contrastive Learning for Medical Few-Shot Named Entity Recognitioncited by 4
12 more
  1. 2025Overview of BioASQ 2024: The twelfth BioASQ challenge on Large-Scale Biomedical Semantic Indexing and Question Answeringcited by 4
  2. 2023A Pairing Enhancement Approach for Aspect Sentiment Triplet Extractioncited by 3
  3. 2023DMNER: Biomedical Entity Recognition by Detection and Matchingcited by 2
  4. 2024Named Entity Recognition Under Domain Shift via Metric Learning for Life Sciencescited by 2
  5. 2024Large-Scale Label Interpretation Learning for Few-Shot Named Entity Recognitioncited by 2
  6. 2023CLaC at SemEval-2023 Task 2: Comparing Span-Prediction and Sequence-Labeling approaches for NERcited by 1
  7. 2023Comparing and combining some popular NER approaches on Biomedical taskscited by 1
  8. 2023Towards Safer Operations: An Expert-involved Dataset of High-Pressure Gas Incidents for Preventing Future Failurescited by 1
  9. 2023Leveraging deep active learning to identify low-resource mobility functioning information in public clinical notescited by 1
  10. 2025RuCCoD: Towards Automated ICD Coding in Russiancited by 1
  11. 2025Multilingual Clinical NER for Diseases and Medications Recognition in Cardiology Texts using BERT Embeddingscited by 1
  12. 2024NanoNER: Named Entity Recognition for nanobiology using experts' knowledge and distant supervisioncited by 0