Skip to main content
QUICK REVIEW

[Paper Review] Example-Based Named Entity Recognition

Morteza Ziyadi, Yuting Sun|arXiv (Cornell University)|Aug 24, 2020
Topic ModelingComputer Science25 references29 citations
TL;DR

This paper proposes a train-free, example-based named entity recognition (NER) method inspired by question-answering, enabling zero-shot adaptation to new entity types using only a few support examples. It achieves over 30% absolute F1-score improvement on out-of-domain datasets like ATIS and MIT Movie with just 10 support examples per entity, outperforming prior state-of-the-art methods in low-shot settings.

ABSTRACT

We present a novel approach to named entity recognition (NER) in the presence of scarce data that we call example-based NER. Our train-free few-shot learning approach takes inspiration from question-answering to identify entity spans in a new and unseen domain. In comparison with the current state-of-the-art, the proposed method performs significantly better, especially when using a low number of support examples.

Motivation & Objective

  • To address the challenge of recognizing new, unseen named entities in low-resource, out-of-domain settings without fine-tuning.
  • To enable non-expert users to quickly adapt NER models to custom business entities with minimal data and no model retraining.
  • To develop a domain-agnostic, entity-agnostic NER system that generalizes across diverse and unseen domains using few-shot support examples.
  • To overcome limitations of existing few-shot NER methods that rely on hierarchical structure, domain-specific distributions, or large support sets.
  • To systematically evaluate knowledge transfer from similar and dissimilar domains, especially under extreme low-shot conditions.

Proposed method

  • Formulates train-free few-shot NER as an entity-agnostic span extraction task, treating the problem as identifying relevant spans based on support examples.
  • Employs a novel sentence-level attention mechanism to dynamically select the most relevant support examples for each query input.
  • Uses self-attention-based token-level similarity strategies to compute relevance between query tokens and support example tokens.
  • Trained on large open-domain NER datasets (e.g., OntoNotes 5.0) to learn generalizable representations without memorizing specific entity types.
  • Applies a zero-shot inference mechanism where the model directly predicts spans in a new domain using only a few labeled examples as context.
  • Leverages attention mechanisms to model correlations between support examples and query sequences, enabling few-shot generalization.

Experimental results

Research questions

  • RQ1Can a train-free, example-based NER model achieve superior performance compared to existing few-shot methods when only 10 support examples per entity are available?
  • RQ2How well does the model generalize to out-of-domain entities that were not seen during training, especially when the target domain is distant from the source distribution?
  • RQ3To what extent can knowledge be transferred from a similar domain (e.g., SNIPS domains) to a held-out target domain using only a few support examples?
  • RQ4How does the proposed attention-based example selection mechanism compare to simpler baselines like neighbor tagging in terms of F1-score and robustness across low-shot settings?
  • RQ5What is the impact of different training and scoring strategies on the performance of train-free few-shot NER?

Key findings

  • The proposed method achieves a 31.3% F1-score on the ATIS dataset using only 10 support examples per entity type, a 30%+ absolute gain over the baseline neighbor tagging method.
  • On the MIT Movie dataset, the model reaches 29.6% F1 with 10 support examples per entity, compared to 4.8% for the baseline, showing consistent improvement across domains.
  • In knowledge transfer from a similar domain (SNIPS), the method achieves 78% F1 on the GetWeather domain with 10 examples per entity, up from 30% with the baseline.
  • On mixed-domain evaluation, the model maintains strong performance with 27.3% F1 using 500 support examples per entity, significantly outperforming the baseline.
  • The ablation study confirms that the sentence-level attention mechanism and self-attention-based similarity scoring are critical for performance, especially in low-shot scenarios.
  • The model demonstrates strong domain-agnostic generalization, maintaining high performance across diverse and out-of-domain datasets without fine-tuning.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.