A Walk-based Model on Entity Graphs for Relation Extraction

Fenia Christopoulou, Makoto Miwa, Sophia Ananiadou

Abstract

This paper introduces a novel graph-based neural network that extracts relations between all entities in a sentence simultaneously. By treating a sentence as a fully connected graph of entities and iteratively aggregating "walks" between them, the model captures complex inter-dependencies between relations without relying on external syntactic parsers. The approach achieves competitive results on the ACE 2005 benchmark, demonstrating that internal graph reasoning can effectively substitute for explicit syntactic paths.

Introduction: The Challenge of Interdependent Relations

Traditional Relation Extraction (RE) models typically analyze a single pair of entities in isolation. However, sentences often contain multiple entities with overlapping, interdependent relationships. For instance, in the sentence "Toefting was convicted of assaulting a pair of workers during a night out with national squad teammates in the capital," the relationship between Toefting and the capital can be inferred through his relationship with his teammates.

Example of interdependent relations in a sentence

Existing state-of-the-art models often rely on external tools to identify the "Shortest Dependency Path" (SDP) between entities. While effective, this dependency makes models domain-sensitive; a parser trained on news may fail on specialized medical text or social media slang. This research proposes a model that learns these multi-hop dependencies internally, using only the raw text itself.

Methodology

The proposed architecture transforms a sentence into a reasoning graph through five distinct layers:

  1. Embedding & BLSTM Layers: Standard word and entity type embeddings are processed via a Bidirectional LSTM to capture the general context of the sentence.
  2. Edge Representation Layer: Every pair of entities in the sentence is connected by a directed edge. The model uses an attention mechanism to focus on the words between and around the entities to initialize these edge representations.
  3. Walk Aggregation Layer: This core innovation mimics reasoning across the graph. It iteratively combines edges to form "walks" of length $l$. Starting with direct edges ($l=1$), it uses a modified bilinear transformation to combine two consecutive edges (e.g., $A \to B$ and $B \to C$) into a longer walk representation ($A \to C$). These new representations are then merged with shorter ones using weighted interpolation, allowing the model to consider both direct evidence and indirect chains.
  4. Classification Layer: A final softmax layer predicts the relation type (or "no relation") for every directed pair.
The proposed five-layer walk-based architecture

Experimental Evaluation

The model was evaluated on the ACE 2005 benchmark, which includes 7 entity types and 6 relation types. The system achieved an F1 score of 64.2% (with $l=4$), performing comparably to the state-of-the-art SPTree system (65.3%) despite not using an external dependency parser.

Ablation studies showed that the "Baseline" (no walks) scored only 61.4%, highlighting the significant value of walk aggregation. Furthermore, the model demonstrated superior performance on sentences with high entity density, confirming its ability to capture multi-entity interactions. However, the authors found that performance dropped at $l=8$, suggesting that reasoning across too many hops eventually introduces more noise than useful context.

Conclusion and Future Work

This research demonstrates that neural "walks" on an entity graph can effectively substitute for the explicit syntactic paths used in previous research. The model's ability to capture inter-dependencies without external parsers makes it more robust across different domains. Future improvements could include making the attention mechanism "relation-aware" or integrating entity recognition for a truly end-to-end extraction system.

Summary updated

BibTeX
@inproceedings{christopoulou2018walk,
  author = {Fenia Christopoulou and Makoto Miwa and Sophia Ananiadou},
  title = {{A Walk-based Model on Entity Graphs for Relation Extraction}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2018},
  doi = {10.18653/v1/p18-2014},
}
Figure