Joint Extraction of Entities and Relations Based on a Novel Graph Scheme

Shaolei Wang, Yue Zhang, Wanxiang Che, Ting Liu

Abstract

Information Extraction (IE) traditionally relies on pipeline architectures that separate entity recognition from relation extraction, leading to error propagation. This paper introduces a novel transition-based graph framework that performs joint extraction by treating the task as a directed graph parsing problem. By representing entities and relations as nodes and arcs in a graph, the model naturally handles overlapping relations and captures output-output dependencies. Evaluated on the New York Times (NYT) corpus, the proposed method achieves state-of-the-art performance with an F1 score of 50.9, demonstrating the efficacy of structural parsing for complex IE tasks.

Introduction

In Information Extraction, identifying entities (e.g., "John") and their relations (e.g., "Live_In") is a fundamental task. Traditional pipeline models first identify entities and then classify their relationships, a process prone to error propagation where failures in the first stage inevitably compromise the second.

To address this, researchers have shifted toward joint extraction. While early joint models shared underlying parameters (such as a Bi-LSTM), they often decoded entities and relations separately, ignoring crucial "output-output" dependencies. For instance, identifying a "Live_In" relation strongly suggests the presence of "Person" and "Location" entities. Furthermore, sequence-tagging-based joint models struggle with overlapping relations—where a single entity participates in multiple facts—due to the constraints of assigning single labels per token.

Methodology

The Graph Scheme

The authors propose converting joint extraction into a directed graph parsing problem. In this scheme, words in a sentence serve as nodes. Two types of directed edges are utilized: Entity arcs, which define the internal structure and boundaries of an entity, and Relation arcs, which represent semantic links between entities.

The novel graph scheme where entities and relations are represented as directed arcs between words.

Unlike traditional dependency parsing, this graph allows nodes to have multiple heads. This multi-head structure is critical for extracting overlapping relations, such as a person living in both a city and a state.

Transition System and Neural Architecture

The model constructs the graph incrementally using a transition-based system. It employs a set of actions to manipulate a Stack (containing processed entities), a Buffer (containing unprocessed words), and a History of previous actions. Key actions include GEN-SHIFT and GEN-NER for entity identification, and LEFT-REDUCE or PASS variants for establishing relation arcs.

To represent the parser's state, the architecture utilizes Stack LSTMs. These allow the model to maintain a summary of the stack and buffer contents even as items are dynamically pushed and popped.

The neural architecture of the transition-based parser, featuring Stack LSTMs for state representation.

A standout feature is the Recursive Composition function. When a relation is identified, a recursive neural network updates the representations of the involved entities. This mechanism enables the model to learn "relation-relation" dependencies; for example, updating the representation of "John" after identifying his residence in "Los Angeles" may facilitate identifying his broader relation to "California."

Evaluation

The model was evaluated on the New York Times (NYT) corpus, a dataset produced via distant supervision containing approximately 353,000 training triplets. This dataset is particularly challenging due to the noise inherent in automated alignment.

The proposed method achieved an F1 score of 50.9, outperforming previous joint models like CoType by 4.6 points. Notably, the model demonstrated high precision (64.3), suggesting that the structural constraints of the transition system effectively mitigate the "hallucination" of relations. Ablation studies confirmed that both the recursive composition and the contextual Bi-LSTM representations are essential for peak performance.

Discussion and Conclusion

The success of this framework highlights the advantages of joint decoding over simple parameter sharing. By moving from a tagging scheme to a graph scheme, the model naturally accommodates complex semantic structures.

However, limitations remain. The current implementation relies on greedy decoding, which can be susceptible to "garden path" errors. Future work may explore beam search strategies to improve global optimization. Additionally, while Stack LSTMs are effective, modeling very long-distance dependencies in complex sentences continues to be a challenge. Overall, this research demonstrates that treating Information Extraction as a structural parsing task provides a robust solution for capturing the intricate web of entities and relations in natural language.

Summary updated

BibTeX
@inproceedings{wang2018joint,
  author = {Shaolei Wang and Yue Zhang and Wanxiang Che and Ting Liu},
  title = {{Joint Extraction of Entities and Relations Based on a Novel Graph Scheme}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2018},
  doi = {10.24963/ijcai.2018/620},
}
Figure