A joint triple extraction method by entity role attribute recognition

Jing Xin, Xi Han, Bobo Li, Junjun Guo, Kun LiScientific 2023

Abstract

In recent years, joint triple extraction methods have received extensive attention because they have significantly promoted the progress of information extraction and many related downstream tasks in the field of natural language processing. However, due to the inherent complexity of language such as relation overlap, joint extraction model still faces great challenges. Most of the existing models to solve the overlapping problem adopt the strategy of constructing complex semantic shared encoding features with all types of relations, which makes the model suffer from redundancy and poor inference interpretability in the prediction process. Therefore, we propose a new model for entity role attribute recognition based on triple holistic fusion features, which can extract triples (including overlapping triples) under a limited number of relationships, and its prediction process is simple and easy explain. We adopt the strategy of low-level feature separation and high-level concept fusion. First, we use the low-level token features to perform entity and relationship prediction in parallel, then use the residual connection with attention calculation to perform feature fusion on the candidate triples in the entity-relation matrix, and finally determine the existence of triple by identifying the entity role attributes. Experimental results show that the proposed model is very effective and achieves state-of-the-art performance on the public datasets.

Introduction

Entity and Relation Extraction (ERE) is a fundamental task in Natural Language Processing, serving as the cornerstone for knowledge graph construction and intelligent question-answering systems. The goal is to extract structured information in the form of (Subject, Relation, Object) triples from unstructured text.

A significant challenge in this field is handling overlapping triples. These occur when entities or pairs of entities participate in multiple relationships within a single sentence. Specifically, these are categorized as:

  • Single Entity Overlap (SEO): One entity belongs to multiple triples (e.g., a person who is both a comedian and born in a specific country).
  • Entity Pair Overlap (EPO): Two entities share multiple distinct relationships (e.g., a person being both the composer and singer of a song).
Examples of Normal, SEO, and EPO sentence structures and their corresponding triples.

Existing joint models often struggle with these complexities, leading to redundant predictions or "black box" logic that lacks interpretability.

Methodology: The RoleAttrTE Framework

To address these issues, we propose RoleAttrTE, a model that utilizes a strategy of "low-level feature separation and high-level concept fusion." The architecture is designed to mimic human cognitive processes by first identifying potential components and then verifying their logical connections.

The complete architecture of the RoleAttrTE model, featuring Entity and Relation Extractors followed by a Triplet Extractor.

1. Parallel Extraction

The model begins with a BERT-based encoder and BiLSTM layer to generate contextual embeddings. Unlike models that force immediate feature sharing, RoleAttrTE performs entity and relation prediction in parallel. This separation prevents "semantic interference," ensuring that the features optimized for entity recognition do not introduce noise into relation classification, and vice versa.

2. Holistic Triple Fusion

Candidate entities and relations are organized into an Entity-Relation Matrix. The model then employs an attention-based mechanism to fuse these features with the global sentence context (represented by the [CLS] token). This step ensures the model considers the entire sentence's semantics when evaluating a specific triple candidate.

3. Entity Role Attribute Recognition

The final stage classifies the relationship between entity pairs into three distinct role attributes:

  • Forward ($R_mF$): Entity A is the Subject, and Entity B is the Object.
  • Backward ($R_mB$): Entity B is the Subject, and Entity A is the Object.
  • NA: No valid relationship exists between the pair for that specific relation.

This approach naturally handles overlapping triples by evaluating all potential combinations and assigning roles based on the fused features.

Experimental Results

The model was evaluated on the NYT and WebNLG datasets. RoleAttrTE demonstrated robust performance, particularly in complex scenarios:

  • WebNLG: Achieved an F1-score of 93.6%, matching state-of-the-art performance on a dataset characterized by a high number of relations (171).
  • NYT: Achieved an F1-score of 91.4%, showing high stability across a large volume of entity types.
  • Overlap Handling: In specific tests for SEO and EPO cases, the model consistently outperformed traditional baselines like GraphRel and CasRel, proving the effectiveness of the role recognition strategy.

Conclusion

RoleAttrTE provides a simplified yet powerful framework for joint triple extraction. By separating low-level features and focusing on high-level role attribute recognition, the model achieves high accuracy while improving interpretability. Future work will focus on improving the initial entity extraction stage and exploring larger pre-trained models to further enhance performance on large-scale datasets.

Summary updated

BibTeX
@inproceedings{xin2023joint,
  author = {Jing Xin and Xi Han and Bobo Li and Junjun Guo and Kun Li},
  title = {{A joint triple extraction method by entity role attribute recognition}},
  booktitle = {Scientific},
  year = {2023},
  doi = {10.1038/s41598-023-29454-7},
}
Figure