Abstract
In this paper, we present a novel method named RECON, that automatically identifies relations in a sentence (sentential relation extraction) and aligns to a knowledge graph (KG). RECON uses a graph neural network to learn representations of both the sentence as well as facts stored in a KG, improving the overall extraction quality. These facts, including entity attributes (label, alias, description, instance-of) and factual triples, have not been collectively used in the state of the art methods. We evaluate the effect of various forms of representing the KG context on the performance of RECON. The empirical evaluation on two standard relation extraction datasets shows that RECON significantly outperforms all state of the art methods on NYT Freebase and Wikidata datasets.
Introduction
Relation Extraction (RE) is the fundamental task of identifying semantic relationships between entities within a sentence—for instance, determining that "Barack Obama" and "Michelle Obama" share a "spouse" relationship. While humans naturally use background knowledge to interpret implicit language, traditional RE models often struggle because they rely solely on local text or noisy "distant supervision."
RECON (Relation Extraction using Knowledge Graph Context) addresses this by "reading between the lines" using structured data from Knowledge Graphs (KGs). By integrating entity attributes (descriptions, aliases) and local graph structures into a Graph Neural Network, RECON bridges the gap between raw text and structured knowledge, allowing for more accurate sentential extraction.
Methodology
RECON's architecture is built upon three primary modules designed to fuse textual and graph-based information:
- Entity Attribute Context (EAC): This module extracts literals from the KG, including entity labels, aliases, and descriptions. It utilizes a BiLSTM to encode these strings and a 1D-CNN to generate a fixed-length representation, ensuring the model remains invariant to the order of attributes.
- Triple Context Learner (KGGAT-SEP): This component analyzes the 1-hop and 2-hop neighborhoods of entities in the KG. Using a Graph Attention Network (GAT), it learns from surrounding facts. A critical innovation here is the separate vector space approach; the authors demonstrate that training entity and relation embeddings in distinct spaces is more expressive and prevents "mode collapse," where distinct entities are erroneously clustered due to shared relations.
- Context Aggregator: A modified Graph Neural Network (GP-GNN) serves as the central processor. It receives sentence embeddings alongside the EAC and Triple Context outputs, performing message passing to fuse them into a final representation for classification.
Experimental Setup
RECON was evaluated on two large-scale benchmarks augmented with KG context:
- Wikidata Dataset: Comprising 353 unique relations and over 700,000 sentences.
- NYT Freebase Dataset: A classic benchmark featuring 53 relations.
- Human Annotation Dataset: A subset of 500 Wikidata sentences verified by humans to ensure the ground truth relations were explicitly present in the text.
Results and Discussion
RECON achieved substantial gains over previous state-of-the-art (SOTA) baselines. On the Wikidata dataset, RECON reached a Micro F1 score of 87.23, significantly higher than the previous best of 82.29 (GP-GNN). On the NYT Freebase benchmark, RECON achieved a Precision@10% of 87.5, outperforming both sentential baselines and complex multi-instance models like HRERE.
Key Insights
- The Impact of Descriptions: Entity descriptions provided the most significant performance boost on Wikidata. This highlights the value of human-curated, concise textual context in KGs.
- Sentential vs. Multi-instance: Traditionally, "multi-instance" learning (analyzing a bag of sentences) was required to mitigate noise. RECON proves that by leveraging KG context, a "sentential" model (analyzing a single sentence) can outperform multi-instance SOTA models.
- Mathematical Expressivity: By separating entity and relation spaces, RECON more accurately represents complex one-to-many and many-to-many relationships compared to traditional "same-space" embeddings like TransE.
Limitations and Future Work
Despite its success, RECON faces challenges in context selection. Statistical analysis suggests that adding KG context can occasionally hinder performance if the context is irrelevant to the specific sentence. Future research should focus on "intelligent context selection" to filter relevant KG facts. Additionally, as KG neighborhoods expand (e.g., to 3-hop or 4-hop), the polynomial increase in training time necessitates further optimization of the GNN architecture to handle massive subgraphs efficiently.
Summary updated