AutoTriggER: Named Entity Recognition with Auxiliary Trigger Extraction

Dong-Ho Lee, Ravi Kiran Selvam, Sheikh Muhammad Sarwar, Bill Yuchen Lin, Mahak Agarwal, Fred Morstatter, Jay Pujara, Elizabeth Boschee, James Allan, Xiang Ren

Abstract

Named Entity Recognition (NER) is a fundamental task in information extraction, yet standard deep learning models often struggle with data scarcity and a tendency to memorize specific entity tokens rather than learning generalizable contextual patterns. We introduce AutoTriggER, a two-stage framework designed to automatically extract and leverage "entity triggers"—contextual cues that signal the presence of a nearby named entity. By employing a post-hoc explanation algorithm (Sampling and Occlusion) and a novel Trigger Interpolation Network (TIN), AutoTriggER forces the model to balance its focus between entity tokens and their surrounding context. Our experiments on biomedical and general-domain datasets demonstrate that AutoTriggER significantly outperforms baseline models in low-data scenarios and enhances generalization to entities not seen during training.

Introduction

While modern NER models achieve high accuracy on large-scale datasets, they face two primary challenges: Data Hunger and Memorization vs. Understanding. In specialized domains like medicine or law, human-labeled data is expensive and difficult to obtain. Furthermore, models often "memorize" specific entities (e.g., recognizing "Paris" because it appeared in the training set) instead of understanding the linguistic context (e.g., "is the leader of...") that identifies a token as an entity.

Previous attempts to address this used human-provided "entity triggers" as explanations. However, manual annotation of triggers is time-consuming and costly. AutoTriggER automates this process, making models more label-efficient and robust by extracting these triggers algorithmically.

Comparison of learning paradigms: (a) Supervised Learning, (b) Explanation-based Learning (manual), and (c) AutoTriggER (automated).

Methodology

The AutoTriggER framework consists of two main components: automatic trigger extraction and a specialized training network.

1. Automatic Trigger Extraction

Instead of relying on human annotators, AutoTriggER uses a post-hoc explanation algorithm called Sampling and Occlusion (SOC). The process begins by using a constituency parser to decompose sentences into logical phrases. The system then "occludes" (hides) these phrases and measures the resulting drop in the model's confidence for a specific entity label. Phrases that cause the most significant drop in confidence are identified as "triggers." For instance, in the sentence "Paris is the leader of the class," the phrase "is the leader of" serves as a strong trigger for the entity "Paris."

2. Trigger Interpolation Network (TIN)

To effectively learn from these triggers, we propose the Trigger Interpolation Network (TIN). During training, the model processes two versions of each sentence:

  • Entity-masked: The entity itself is hidden, forcing the model to rely on contextual triggers.
  • Trigger-masked: The context is hidden, forcing the model to focus on the entity token.

TIN then interpolates (blends) the hidden representations from these two versions using a "mixup" strategy. This prevents the model from over-relying on either the specific word or the context alone, fostering a more generalized understanding of how entities appear in language.

The Trigger Interpolation Network (TIN) architecture, showing the masking and interpolation process.

Evaluation and Results

We evaluated AutoTriggER on three well-known benchmarks: BC5CDR (biomedical chemicals/diseases), JNLPBA (molecular biology), and CoNLL03 (general news).

Key Findings

  • Label Efficiency: In extreme low-data settings (50–200 sentences), AutoTriggER achieved a 3-4 F1 point improvement over standard baselines, with relative gains reaching up to 50% in the most sparse scenarios.
  • Generalization to Unseen Entities: On test sets containing only entities absent from the training data, AutoTriggER outperformed RoBERTa-CRF baselines by 2-3 F1 points, demonstrating superior robustness.
  • Model-Centric Triggers: Automatically generated triggers often matched or exceeded the performance of human-provided ones. This suggests that auto-triggers better align with the model's internal predictive logic than human linguistic intuition.

Conclusion and Future Work

AutoTriggER provides a robust solution for NER in data-constrained environments by forcing models to "read between the lines" using automatically extracted triggers. While the approach introduces a slight training overhead (approximately 1.5x slower), it maintains standard inference speeds and offers significant gains in robustness and generalization. Future work will explore extending this framework to semi-supervised learning, leveraging triggers from unlabeled text to further enhance performance.

Summary updated

BibTeX
@inproceedings{lee2023autotrigger,
  author = {Dong-Ho Lee and Ravi Kiran Selvam and Sheikh Muhammad Sarwar and Bill Yuchen Lin and Mahak Agarwal and Fred Morstatter and Jay Pujara and Elizabeth Boschee and James Allan and Xiang Ren},
  title = {{AutoTriggER: Named Entity Recognition with Auxiliary Trigger Extraction}},
  booktitle = {EACL},
  year = {2023},
  doi = {10.18653/v1/2023.eacl-main.219},
}
Figure