Open Relation Modeling: Learning to Define Relations between Entities

Jie Huang, Kevin Chen-Chuan Chang, Jinjun Xiong, Wen-Mei W. Hwu

Introduction

In modern information systems, entities are often presented in lists or "See Also" sections, leaving the user to infer the nature of their connection. While existing methods like Open Relation Extraction (Open RE) can pull snippets from text, they often lack context. Conversely, Knowledge Graphs (KGs) store relations as structured triples (e.g., (Data Mining, facet of, Database)), which can be cryptic for non-experts.

Researchers from UIUC, University at Buffalo, and NVIDIA have introduced Open Relation Modeling (ORM) to bridge this gap. ORM is a task where an AI generates a natural language sentence defining the relationship between two entities, providing human-like clarity for complex connections.

Figure 1: An example of the Open Relation Modeling task, where a system explains the relationship between 'Natural Language Processing' and 'Deep learning'.

Methodology: RelationBART

The proposed framework, RelationBART, is built upon the BART architecture and incorporates three key innovations:

  1. Learning from Definitions: The authors posit that an entity's definition often summarizes its most critical relationships. By training the model to generate definitions of one entity in terms of another, it learns to model "open" relations robustly.
  2. Reasoning Path Injection: To provide the model with external context, multi-hop paths are extracted from Wikidata (e.g., Haste -> located in -> Schaumburg -> country -> Germany) and encoded into the input.
  3. Confidence-Based Path Selection (PS): Recognizing that the shortest path in a KG is not always the most informative, the model uses its own log-likelihood scores to select the reasoning path that yields the most coherent and descriptive sentence.

Datasets and Evaluation

The model was trained on a massive dataset of 5.4 million entity pairs extracted from Wikipedia, paired with definition-like sentences. Wikidata provided the underlying Knowledge Graph, consisting of over 23 million fact triples. To ensure rigorous evaluation, the researchers developed a high-quality filtered test set (test*) of approximately 7,300 pairs where the ground-truth sentences explicitly describe a meaningful link.

Key Results

The experimental results demonstrate that incorporating multi-hop paths and automated path selection significantly improves performance. The top-performing model, RelationBART-MP + PS, outperformed the baseline across all metrics.

Figure 4: Performance comparison of various RelationBART configurations against the DefBART baseline.

On the filtered test set, the model achieved a BLEU score of 41.43 and a BERTScore of 89.64, indicating a high degree of semantic similarity to human-written definitions. Furthermore, the automated path selection mechanism aligned with human preferences in over 80% of cases, validating the use of model confidence as a proxy for interpretability.

Discussion and Limitations

While RelationBART marks a significant step forward, challenges remain. The model occasionally "hallucinates" facts not present in the reasoning paths, drawing on potentially incorrect information from its pre-training. Additionally, some entity pairs are closely related but do not naturally appear in definitions (the "Kobe-Shaq" problem), suggesting a need for synthesizing information through "bridge" entities. Future work will focus on generating diverse descriptions for entities with multi-faceted relationships.

Summary updated

BibTeX
@inproceedings{huang2022open,
  author = {Jie Huang and Kevin Chen-Chuan Chang and Jinjun Xiong and Wen-Mei W. Hwu},
  title = {{Open Relation Modeling: Learning to Define Relations between Entities}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.findings-acl.26},
}
Figure