Encoding Relation Requirements for Relation Extraction via Joint Inference

Liwei Chen, Yansong Feng, Songfang Huang, Yong Qin, Dongyan Zhao

Abstract

Traditional relation extraction (RE) models often predict relationships between entity pairs in isolation, leading to globally inconsistent results. This paper proposes a joint inference framework that leverages automatically learned global constraints—specifically argument typing and cardinality—from existing knowledge bases. By formulating the extraction as an Integer Linear Programming (ILP) problem, the framework resolves conflicts among local predictions, significantly enhancing precision across multiple datasets.

Introduction

Standard relation extraction systems typically operate "locally," analyzing a single pair of entities within a sentence to predict their relationship. However, this isolated approach frequently results in global inconsistencies. For instance, a model might identify multiple cities as the capital of the same country or assign a relation like LargestCity to a person rather than a geographic entity.

Manually defining ontologies to prevent such errors is labor-intensive. This research addresses the challenge by automatically deriving global "clues" from a Knowledge Base (KB) and using them to refine noisy local predictions through joint inference.

Methodology

The proposed pipeline consists of four main stages:

  1. Local Extraction: A standard sentence-level extractor (Maximum Entropy model) generates initial confidence scores for potential relations.
  2. Candidate Generation: Instead of selecting only the top prediction, the system retains the top three candidate relations for each entity pair. This allows the global optimizer to potentially select a correct relation that had a lower initial local score.
  3. Mining Global Clues: Constraints are automatically derived from a KB:
  4. Implicit Typing: Pointwise Mutual Information (PMI) determines compatibility between relations. Low PMI suggests inconsistency (e.g., an entity is unlikely to be both a City and a Company).
  5. Cardinality: The system identifies functional relations (e.g., a subject having only one object) by analyzing the distribution of triples in the KB.
  6. Joint Inference via ILP: The final selection is modeled as an Integer Linear Programming problem. The objective is to maximize the aggregate confidence of selected relations while adhering to the learned typing and cardinality constraints.
Joint inference framework resolving conflicts between local predictions.

Experimental Setup

The framework was evaluated on three distinct datasets to test its versatility:

  • Riedel’s Dataset: NYT corpus mapped to Freebase relations.
  • DBpedia Dataset: NYT corpus mapped to 51 DBpedia relations.
  • Chinese Dataset: Chinese economic newspapers mapped to 28 HudongBaike relations.

Results and Discussion

The ILP framework demonstrated substantial improvements in precision, particularly on the DBpedia and Chinese datasets. On the Chinese dataset, precision increased by 10-16% at various recall points compared to baseline models like MultiR and MIML-RE.

Precision-recall curves on the Chinese dataset comparing ILP with other models.

Key Insights

  • Top-K Candidates: Retaining multiple candidates is crucial for allowing global constraints to correct local errors.
  • Automated Ontology Learning: Implicit typing via PMI effectively replaces manual taxonomy definition.
  • Distant Supervision Cleanup: Joint inference acts as a global filter, pruning the noise inherent in distant supervision.
  • Specificity Matters: The model's effectiveness depends on the specificity of the relations. Broad relations (e.g., /location/location/contains) provide fewer constraints for the ILP to exploit, explaining the limited gains on Riedel’s dataset.

Conclusion

This joint inference approach successfully bridges the gap between local extraction and global consistency. By automatically learning constraints from existing knowledge bases, the system reduces the need for manual engineering while improving extraction accuracy. Future work will explore unified frameworks that integrate entity disambiguation and linking with relation extraction to further capture interdependencies between these tasks.

Summary updated

BibTeX
@inproceedings{chen2014encoding,
  author = {Liwei Chen and Yansong Feng and Songfang Huang and Yong Qin and Dongyan Zhao},
  title = {{Encoding Relation Requirements for Relation Extraction via Joint Inference}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2014},
  doi = {10.3115/v1/p14-1077},
}
Figure