A Data-Driven Approach to Infer Knowledge Base Representation for Natural Language Relations

Kangqi Luo, Xusheng Luo, Xianyang Chen, Kenny Q. Zhu

Abstract

This paper presents a novel framework for mapping natural language relations to structured Knowledge Base (KB) representations. By introducing Schema Graphs—tree-based structures that incorporate logical constraints—the authors bridge the semantic gap between human language and formal data. Experimental results demonstrate that this data-driven probabilistic approach outperforms state-of-the-art embedding and rule-induction methods in both interpretability and predictive accuracy across multiple benchmarks.

The Semantic Gap in Knowledge Bases

Knowledge Bases (KBs) such as Freebase and DBpedia are foundational for many AI applications, yet they remain inherently incomplete. A significant challenge lies in the "semantic gap": natural language relations (e.g., "grandfather of") often lack a direct counterpart in the KB's schema.

Existing solutions typically follow two paths: vector-space embeddings or rule induction. While embeddings are powerful, they function as "black boxes" that lack interpretability. Conversely, traditional rule induction often relies on simple linear paths (e.g., parent -> parent), which are frequently too generic to capture specific nuances, such as the gender requirement for a "grandfather" relation.

Proposed Method: Schema Graphs and Inference

The authors propose a two-stage framework to discover precise, complex, and interpretable representations for natural language relations.

1. Candidate Schema Generation

Instead of linear paths, the authors define a Schema Graph. This is a directed tree structure rooted at the subject entity ($x_{subj}$), with a path leading to the object entity ($x_{obj}$). The innovation lies in the inclusion of constraints—additional branches that specify attributes or types for intermediate nodes.

Example of a Schema Graph for "grandfather of" incorporating a gender constraint.

To manage the search space, the system uses Breadth-First Search (BFS) to identify the "skeleton" (main path) and a priority-queue-based Depth-First Search to efficiently add relevant constraints.

2. Probabilistic Schema Inference

To determine which candidate schemas best represent a natural language relation $r$, the authors employ distant supervision using entity pairs from Open Information Extraction (Open IE). They treat the problem as a querying task: given a subject, which schema is most likely to return the correct object? A probability distribution over candidate schemas is learned using Maximum Likelihood Estimation (MLE) and optimized via RMSProp.

Experimental Evaluation

The framework was evaluated using standard Knowledge Bases (FB15k and FB3m) and diverse relation datasets, including PATTY-100 (100 relations from Wikipedia) and FB15k-37 (standard KB predicates). The proposed model, Ours-SC (Schemas with Constraints), was compared against embedding models (TransE, KALE, HOLE) and rule-induction systems (AMIE+, SFE).

Results and Discussion

Ours-SC demonstrated superior performance across link prediction and triple classification tasks. On the PATTY-100 dataset, Ours-SC achieved a "Filtered" Mean Reciprocal Rank (MRR) of 0.185, surpassing both TransE (0.129) and AMIE+ (0.174).

Performance comparison on link prediction tasks against embedding and rule-based baselines.

As shown in the comparative results, the inclusion of constraints (Ours-SC) consistently provides a performance boost over skeleton-only models (Ours-SK). Beyond quantitative gains, the schema-based approach offers high interpretability; learned schemas can be directly converted into SPARQL queries for human verification or manual refinement.

Conclusion and Future Work

The study highlights that constraints are the "secret sauce" for bridging the semantic gap, allowing models to capture nuances that linear paths miss. While highly effective, the system's performance is currently bounded by the completeness of the underlying KB and the quality of Open IE input. Future research may explore deeper integration of textual context or the expansion of schema structures beyond directed trees to further enhance relational discovery.

Summary updated

BibTeX
@inproceedings{luo2017data,
  author = {Kangqi Luo and Xusheng Luo and Xianyang Chen and Kenny Q. Zhu},
  title = {{A Data-Driven Approach to Infer Knowledge Base Representation for Natural Language Relations}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.24963/ijcai.2017/163},
}
Figure