Skip to main content
QUICK REVIEW

[Paper Review] Probing Pre-trained Auto-regressive Language Models for Named Entity Typing and Recognition

Elena V. Epure, Romain Hennequin|arXiv (Cornell University)|Aug 26, 2021
Topic ModelingComputer Science8 citations
TL;DR

This paper proposes a novel probing methodology to assess zero-shot named entity typing (NET) and few-shot named entity recognition (NER) in auto-regressive language models like GPT-2 without fine-tuning. By leveraging meta-learning and a new memorization assessment technique, it finds that GPT-2 performs well on regular and memorized entities, with name irregularity serving as a useful cue, while context plays a limited role in few-shot NER.

ABSTRACT

Despite impressive results of language models for named entity recognition (NER), their generalization to varied textual genres, a growing entity type set, and new entities remains a challenge. Collecting thousands of annotations in each new case for training or fine-tuning is expensive and time-consuming. In contrast, humans can easily identify named entities given some simple instructions. Inspired by this, we challenge the reliance on large datasets and study pre-trained language models for NER in a meta-learning setup. First, we test named entity typing (NET) in a zero-shot transfer scenario. Then, we perform NER by giving few examples at inference. We propose a method to select seen and rare / unseen names when having access only to the pre-trained model and report results on these groups. The results show: auto-regressive language models as meta-learners can perform NET and NER fairly well especially for regular or seen names; name irregularity when often present for a certain entity type can become an effective exploitable cue; names with words foreign to the model have the most negative impact on results; the model seems to rely more on name than context cues in few-shot NER.

Motivation & Objective

  • To investigate whether auto-regressive language models like GPT-2 can generalize to named entity typing and recognition without fine-tuning.
  • To design a probing setup inspired by human linguistic behavior, using few-shot and zero-shot in-context learning.
  • To develop and apply a novel method to assess model memorization of named entities during pre-training.
  • To evaluate the impact of memorization and context on model performance in diverse NE recognition and typing scenarios.
  • To provide a realistic testing framework that better reflects human-like generalization than traditional dataset splits.

Proposed method

  • Design a zero-shot transfer strategy for named entity typing (NET) by prompting GPT-2 with natural language instructions and entity type definitions.
  • Model named entity recognition (NER) as a machine reading comprehension (MRC) task, providing a few examples at inference to guide the model.
  • Introduce a novel memorization assessment procedure based on exposure metrics to classify named entities as memorized or unmemorized during pre-training.
  • Use exposure thresholds on word and transition-level statistics to identify memorized and unmemorized NEs from large-scale corpora like DBpedia and CoNLL-2003.
  • Evaluate performance on diverse datasets including CoNLL-2003, WNUT2017, MIT Movie, and DBpedia, covering clean and noisy text and regular/irregular NEs.
  • Compare results across memorized vs. unmemorized NEs and analyze the influence of contextual cues in few-shot NER.

Experimental results

Research questions

  • RQ1Can pre-trained auto-regressive language models like GPT-2 perform named entity typing and recognition effectively in zero-shot or few-shot settings without fine-tuning?
  • RQ2How does the model’s memorization of named entities during pre-training affect its performance on unseen or rare entities?
  • RQ3To what extent does name irregularity for a given NE type serve as a reliable cue for the model in few-shot NER?
  • RQ4How influential are contextual cues in few-shot NER when the model is prompted with only a few examples?
  • RQ5How does the model generalize to new NE types and noisy text under human-inspired testing conditions?

Key findings

  • GPT-2 achieves strong zero-shot performance on named entity typing (NET) without any fine-tuning, particularly on regular and memorized entities.
  • The model performs competitively on few-shot NER with average F1-scores of 0.75 on CoNLL-2003, 0.62 on MIT Movie, and 0.61 on WNUT2017 using 16-shot prompts.
  • Frequent name irregularity for a specific NE type acts as an effective exploitable cue, improving model generalization in few-shot NER.
  • The model relies more on named entity identity than contextual cues in few-shot NER, indicating limited contextual generalization.
  • Named entities with words absent during pre-training are particularly challenging, highlighting the importance of pre-training exposure for model generalization.
  • The proposed memorization assessment method successfully identifies (un)memorized NEs and reveals that memorization significantly impacts model performance on both NET and NER tasks.

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.