NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Multi-Aspect Explainable Inductive Relation Prediction by Sentence Transformer

Zhixiang Su, Di Wang, Chunyan Miao, Lizhen Cui

Abstract

Knowledge Graph (KG) completion often fails when encountering new entities not seen during training. This paper presents KRST (Knowledge Reasoning Sentence Transformer), a framework for inductive relation prediction. KRST filters noisy paths using novel coverage and confidence metrics, converts KG triplets into natural language sentences, and leverages Sentence Transformers (SBERT) for efficient similarity-based reasoning. Crucially, KRST provides multi-aspect explanations by clustering path embeddings, offering transparent reasoning across diverse evidence categories. Experimental results show KRST achieves state-of-the-art performance on standard benchmarks, particularly in few-shot scenarios.

Introduction

Knowledge Graphs are dynamic, with new entities and relations added continuously. Traditional transductive models struggle with these updates as they rely on fixed entity embeddings. Inductive relation prediction addresses this by learning logical patterns rather than memorizing specific entities. However, existing methods often suffer from two hurdles: noisy path data (coincidental links) and a lack of comprehensive explainability. KRST addresses these by filtering unreliable paths and using a Sentence Transformer to capture semantic relationships in a shared vector space, enabling both high accuracy and multi-faceted explanations.

Methods

The KRST pipeline consists of four main stages. First, Path Extraction & Filtering identifies relevant paths between entities, using Relation Path Coverage and Confidence metrics to discard coincidental links. Second, Sentence Formation translates these paths and the target triplet into natural language strings. Third, the Sentence Transformer (SBERT) encodes these sentences into embeddings. Unlike standard BERT, which requires expensive cross-encoding, SBERT allows for efficient cosine similarity calculations between the target triplet and supporting paths. Finally, Multi-Aspect Clustering groups these path embeddings to identify distinct logical reasons for a prediction.

The KRST architecture pipeline, illustrating the flow from path formation to similarity scoring and aggregation.

Results and Discussion

KRST was evaluated on three standard benchmarks: WN18RR, FB15k-237, and NELL-995. It outperformed state-of-the-art models in 15 out of 18 tested cases. Notably, on the WN18RR dataset, it achieved a significant +0.216 Mean Reciprocal Rank (MRR) improvement over previous leaders. In few-shot settings, KRST was particularly dominant, winning 11 out of 12 tests, suggesting it is highly effective at picking up logical patterns from minimal data.

Qualitatively, KRST excels at providing diverse explanations. By clustering path embeddings, the model can group evidence into distinct categories—such as "Awards," "Similar Films," or "Production Country"—to explain why a specific movie belongs to a certain genre, rather than relying on a single path.

An example of multi-aspect clustering where different logical paths are grouped into clusters to explain a relation prediction.

Conclusion

KRST demonstrates that combining path filtering with Sentence Transformers significantly improves inductive link prediction. While computationally more intensive than simpler embedding-only models, its ability to provide diverse, human-readable explanations and its robustness in few-shot scenarios make it a powerful tool for evolving Knowledge Graphs. Future work will focus on parameter-efficient versions of the model to reduce computational overhead while maintaining high accuracy.

Summary updated

BibTeX
@inproceedings{su2023multi,
  author = {Zhixiang Su and Di Wang and Chunyan Miao and Lizhen Cui},
  title = {{Multi-Aspect Explainable Inductive Relation Prediction by Sentence Transformer}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i5.25803},
}
Figure