Trigger-GNN: A Trigger-Based Graph Neural Network for Nested Named Entity Recognition

Yuan Sui, Fanyang Bu, Yingting Hu, Wei Yan, Liang Zhang · DOI

Abstract

Trigger-GNN is a novel framework designed to address the challenges of Nested Named Entity Recognition (NER) by incorporating "entity triggers"—contextual cues used by humans to identify entities. By integrating these triggers into a recursive graph neural network with a global graph-level node, the model achieves state-of-the-art performance and demonstrates superior data efficiency compared to traditional sequential models.

Introduction

Named Entity Recognition (NER) is a fundamental task in natural language processing. While flat NER identifies non-overlapping entities, real-world text often contains nested structures where one entity resides within another. For instance, in the phrase "third president of the United States," the entity "United States" (a Geopolitical Entity) is nested within a larger "Person" entity.

Traditional sequential models, such as LSTMs, often struggle with these hierarchical dependencies and long-distance relationships. Furthermore, they typically ignore the "triggers" that humans naturally use to identify entities—contextual words like "president of" that signal a following entity. Trigger-GNN addresses these limitations by leveraging these triggers within a graph-based architecture.

Methodology

The Trigger-GNN architecture consists of four primary components designed to move beyond strictly sequential processing:

1. Trigger Encoding and Semantic Matching

The model learns to represent both "triggers" (e.g., "traveled to") and sentences in a shared embedding space using a Bi-LSTM with self-attention. A joint loss function ensures the model can classify trigger types and accurately match specific triggers to their corresponding sentence contexts.

2. Text Graph Construction

Sentences are converted into directed graphs where individual words serve as nodes. Edges are established based on lexicon matches from dictionary lookups. Crucially, the authors introduce a "global graph-level node" connected to every other node and edge. This node acts as a central clearinghouse to capture overall sentence context and resolve local ambiguities.

3. Recursive GNN (Updation-Aggregation)

Instead of a standard single-pass GNN, Trigger-GNN employs a recursive mechanism. It iteratively updates node representations by aggregating information from neighbors and the global node. This allows for bidirectional information flow, enabling the model to verify nested entities using both local details and global context through multiple iterations.

4. Trigger-Enhanced Decoding

The final learned graph embeddings are concatenated with the trigger information. This enriched representation is fed into a Conditional Random Field (CRF) tagger to produce the final entity labels.

Experimental Evaluation

The model was evaluated on four popular NER benchmarks across different domains:

  • General Domain: CoNLL-2002 and CoNLL-2003 (English corpora).
  • Bio-medical Domain: JNLPBA (molecular biology) and BC5CDR (chemical-disease relations).

To facilitate future research, the authors released 8,000 new trigger annotations specifically for the bio-medical domain.

Key Results and Insights

Trigger-GNN consistently outperformed state-of-the-art baselines, such as LGN and BiFlaG, across all tested datasets:

  • Performance Gains: On CoNLL-2003, the model achieved an F1 score of 95.38%, a significant improvement over the LGN baseline (91.86%). On the BC5CDR dataset, it reached 93.45% F1, outperforming previous benchmarks by over 5%.
  • Label Efficiency: One of the most striking findings is the model's data efficiency. Using only 20-30% of trigger-annotated data, Trigger-GNN matched the performance of baseline models using 50-70% of traditional training data. This suggests that triggers provide a high-signal, cost-effective method for model supervision.
  • Structural Importance: Ablation studies confirmed that both the trigger component and the global node are essential. Removing triggers caused F1 scores to drop by 3-5%, while removing the global node significantly hindered the model's ability to resolve entity types in complex contexts.

Conclusion and Future Work

Trigger-GNN represents a significant advancement in Nested NER by effectively combining human-like trigger intuition with the structural strengths of recursive GNNs. While the model currently faces challenges regarding computational overhead and a dependency on pre-defined triggers for inference, its success highlights the potential of incorporating complementary human annotations into deep learning frameworks. Future research may explore automated trigger extraction and deeper integration with large pre-trained language models like BERT or RoBERTa.

Summary updated

BibTeX
@inproceedings{sui2022trigger,
  author = {Yuan Sui and Fanyang Bu and Yingting Hu and Wei Yan and Liang Zhang},
  title = {{Trigger-GNN: A Trigger-Based Graph Neural Network for Nested Named Entity Recognition}},
  booktitle = {IJCNN},
  year = {2022},
  url = {https://openreview.net/forum?id=TxpSPgFsqRF},
}
Figure