Abstract
Joint entity and relation extraction is a critical task in information extraction, yet existing models often suffer from weak task interaction and ignore the semantic importance of relation triggers. We present TriMF (Trigger-Sense Memory Flow), a novel framework that enables bi-directional interaction between entity and relation extraction. By utilizing a dedicated memory module for category representations and an automated "Trigger Sensor," TriMF identifies relation-signaling words without manual labeling. Our framework achieves state-of-the-art performance across four benchmark datasets, demonstrating significant improvements in both accuracy and model interpretability.
Introduction
In Information Extraction (IE), researchers aim to identify entities (e.g., "Ruby," "Oswald") and the semantic relations between them (e.g., "Ruby killed Oswald"). Traditionally, this was performed using pipeline architectures where entities were extracted first, followed by relations. However, this approach leads to error propagation—if the entity step fails, the relation step has no chance of success.
While joint models have improved these outcomes, three major gaps remain: weak bi-directional interaction where relation context rarely informs entity identification; the neglect of "trigger words" (e.g., "assassinated" signaling a "Kill" relation) which humans naturally use; and the failure to distinguish between syntactically necessary but semantically thin words versus content-rich tokens. TriMF addresses these issues by introducing a memory-aware framework that treats entity and relation extraction as a mutually reinforcing loop.
Methodology
The Trigger-Sense Memory Flow Framework (TriMF) introduces several architectural innovations to bridge the gap between entity and relation extraction.
At its core is a Memory Module that acts as a internal knowledge base, storing learned prototypes of entity and relation categories. These representations are updated during training via classification loss gradients. The framework employs Multi-level Memory Flow Attention (MFA) at both subword and word levels, allowing the model to "read" from memory and inject task-specific context back into the sentence encoding. This creates a true bi-directional loop where relation information can refine entity recognition.
Furthermore, a Trigger Sensor identifies relation triggers by measuring similarity between word representations and relation prototypes in memory. This allows the model to gain the benefits of rule-based systems—interpretability and focus—without the cost of manual trigger labeling. To handle the varying importance of words, a Syntactic-Semantic Graph Weighted Fusion mechanism dynamically weights dependency-based (syntax) and similarity-based (semantics) graphs for each word. Finally, a Two-Stage Training strategy is used to warm up the memory and classifiers before enabling the complex attention modules, preventing the corruption of pre-trained BERT embeddings.
Experimental Evaluation
The model was evaluated on four diverse, standard benchmarks:
- SciERC: Scientific abstracts containing technical entities and relations.
- ACE05: A mix of news, weblogs, and broadcast conversations.
- CoNLL04: General news articles.
- ADE (Adverse Drug Events): Medical reports describing drug side effects.
Results and Discussion
TriMF established new state-of-the-art (SOTA) benchmarks across all four datasets. The most significant gains were observed in Relation F1 scores, which are traditionally more difficult to optimize.
Key results include a +4.9% improvement on ACE05 and a +3.2% improvement on SciERC over previous SOTA models. Ablation studies confirmed that bi-directionality is a key performance driver; specifically, relation-specific MFA significantly boosts entity recognition. This confirms that knowing a "Kill" relation is likely helps the model realize that the surrounding words must be "People" entities.
Qualitatively, the Trigger Sensor successfully identified logical triggers—such as "southwestern" for "Located in" or "assassinating" and "accused" for "Kill" relations—providing high interpretability without requiring extra human labels. The model's ability to fuse syntactic and semantic information node-by-node allows it to recognize that some words act as structural anchors while others carry the primary semantic weight.
Conclusion and Future Work
TriMF demonstrates that bi-directional memory flow and automated trigger sensing can significantly enhance joint extraction performance. However, challenges remain in handling complex nested relations and long entities where training data is sparse. Future research will explore incorporating ontological constraints (e.g., a "Work_For" relation must involve a "Person" and an "Organization") and using weak supervision to assist the Trigger Sensor in its early learning stages.
Summary updated