Encoding implicit relation requirements for relation extraction: A joint inference approach

Liwei Chen, Yansong Feng, Songfang Huang, Bingfeng Luo, Dongyan ZhaoArtificial Intelligence 2018 · DOI

Abstract

Relation extraction is the task of identifying predefined relationship between entities, and plays an essential role in information extraction, knowledge base construction, question answering and so on. Most existing relation extractors make predictions for each entity pair locally and individually, while ignoring implicit global clues available across different entity pairs and in the knowledge base, which often leads to conflicts among local predictions from different entity pairs. This paper proposes a joint inference framework that employs such global clues to resolve disagreements among local predictions. We exploit two kinds of clues to generate constraints which can capture the implicit type and cardinality requirements of a relation. Those constraints can be examined in either hard style or soft style, both of which can be effectively explored in an integer linear program formulation. Experimental results on both English and Chinese datasets show that our proposed framework can effectively utilize those two categories of global clues and resolve the disagreements among local predictions, thus improve various relation extractors when such clues are applicable to the datasets. Our experiments also indicate that the clues learnt automatically from existing knowledge bases perform comparably to or better than those refined by human.

Introduction

Relation Extraction (RE) is the fundamental task of identifying how two entities in a sentence are related (e.g., identifying that "New York" is the LocationCity of "Columbia University"). Most modern extractors operate locally, analyzing entity pairs in isolation. While effective for individual sentences, this local approach often results in global inconsistencies across a dataset. For instance, a local model might predict that "USA" is a country in one context but an organization in another, or it might assign multiple conflicting capitals to the same nation. These models lack a "big picture" understanding of logical world constraints. This research addresses these gaps by encoding implicit requirements—specifically argument types and cardinality—to ensure extracted facts are logically consistent.

Methodology

The proposed framework functions as a post-processing layer atop existing relation extractors, utilizing a four-step joint inference process:

  1. Candidate Generation: A standard local extractor (e.g., a Neural Network or MaxEnt model) generates the top-k possible relations for every entity pair, accompanied by confidence scores.
  2. Clue Mining: Global constraints are derived from existing Knowledge Bases (KBs). These include Implicit Type Constraints (e.g., can a Capital also be a Nationality?) and Cardinality Constraints (e.g., a person typically has only one BirthDate).
  3. Constraint Formulation: These clues are translated into mathematical constraints for an Integer Linear Program (ILP). The framework supports both Hard Constraints (strict rules) and Soft Constraints (rules that carry a penalty if broken, allowing for rare exceptions).
  4. Joint Inference: The ILP solver identifies the optimal configuration of relations that maximizes total confidence while minimizing rule violations.
The four-stage joint inference framework: from candidate generation to ILP-based resolution.

A significant innovation of this work is the ability to mine these clues automatically from KBs using a modified similarity coefficient, reducing the need for manual rule engineering.

Experimental Evaluation

The framework was evaluated across three datasets: Riedel’s Dataset (Freebase/NYT), a custom DBpedia dataset (51 relations), and a Chinese Dataset (HudongBaike/Economic newspapers, 28 relations).

Key Results

The framework consistently enhanced the performance of various base extractors, including traditional MaxEnt models and Piecewise Convolutional Neural Networks (PCNNs):

  • DBpedia Dataset: Peak F1 score improved from 35.2% to 38.3%.
  • Chinese Dataset: F1 score rose significantly by 8.4% (from 44.4% to 52.8%).
  • Precision Gains: In the Chinese dataset, the precision of the MaxEnt model improved by 10-16% at equivalent recall points, demonstrating the framework's ability to filter "hallucinated" relations.

Discussion and Insights

  • Automatic vs. Manual Clues: Automatically mined clues performed comparably to, or better than, human-refined rules, suggesting high scalability.
  • Soft Constraints: Soft constraints generally outperformed hard ones because real-world data contains exceptions (e.g., a person holding dual citizenship or multiple jobs).
  • Schema Diversity: The benefits of joint inference are most pronounced when the relation schema is diverse. In datasets dominated by a few massive relations (like contains), the impact of global constraints is less significant.

Conclusion and Future Work

While the ILP-based joint inference framework effectively resolves local disagreements, scalability remains a challenge as ILP is NP-hard. Future work may involve splitting large schemas into smaller optimization sub-problems. Additionally, moving toward a unified framework where neural networks learn these global constraints during training—rather than as a post-processing step—represents a promising research direction.

Summary updated

BibTeX
@article{chen2018encoding,
  author = {Liwei Chen and Yansong Feng and Songfang Huang and Bingfeng Luo and Dongyan Zhao},
  title = {{Encoding implicit relation requirements for relation extraction: A joint inference approach}},
  journal = {Artificial Intelligence},
  year = {2018},
  doi = {10.1016/j.artint.2018.08.004},
}
Figure