Self-Supervised Rule Learning to Link Text Segments to Relational Elements of Structured Knowledge

Shajith Ikbal, Udit Sharma, Hima Karanam, Sumit Neelam, Ronny Luss, Dheeraj Sreedhar, Pavan Kapanipathi, Naweed Khan, Kyle Erwin, Ndivhuwo Makondo, Ibrahim Abdelaziz, Achille Fokoue, Alexander Gray, Maxwell Crouse, Subhajit Chaudhury, Chitra Subramanian

Abstract

Relation linking—the mapping of natural language phrases to formal predicates in a knowledge base (KB)—remains a significant hurdle for question-answering systems. We present a neuro-symbolic approach that utilizes self-supervised "masked training" on logical triples. By identifying paths within a KB that connect entities, the model learns weighted, human-readable rules to predict masked relations. Our method achieves a 17% performance improvement on reasoning tasks while maintaining full interpretability and competitive performance against supervised state-of-the-art systems.

Introduction

Knowledge Base Question Answering (KBQA) relies heavily on accurately mapping messy natural language (e.g., "starred alongside") to structured database relations (e.g., cast-member). This task, known as relation linking, is complicated by lexical variation, complex multi-hop mappings, and the high cost of manually labeled training data. Traditional deep learning models often struggle to generalize across domains and lack transparency in their reasoning.

Methodology: Neuro-Symbolic Rule Learning

The proposed framework operates on logical forms rather than raw text tokens, focusing on the underlying relational structure of language.

1. Triple Extraction and Masking

The process begins by converting a sentence into a logical triple using a semantic parser (e.g., an AMR parser). For instance, "Kate Winslet shared the screen with Leonardo DiCaprio" becomes share-screen(Kate Winslet, Leonardo DiCaprio). Inspired by masked language modeling in BERT, the system then masks a component of the triple—typically the predicate—to create a training objective.

The pipeline from natural language to masked logical statements linked to Wikidata entities.

2. Knowledge Base Context and Rule Induction

To reconstruct the masked predicate, the model queries a KB (such as Wikidata) for paths connecting the known subject and object. If "share-screen" is masked, the model discovers paths like Kate Winslet $\leftarrow$ cast-member $\leftarrow$ Titanic $\rightarrow$ cast-member $\rightarrow$ Leonardo DiCaprio.

The model learns to assign weights to these symbolic paths. A "rule" is defined as a weighted mixture of these paths, providing a direct, human-readable explanation for the mapping.

An example of a learned rule where 'share-screen' is mapped to a composition of cast member relations.

3. Scaling with Chain of Mixtures (CoM)

To manage the computational complexity of searching massive knowledge graphs, the authors implement a "Chain of Mixtures" (CoM) approach. This technique efficiently prunes the search space, allowing the model to scale to large-scale KBs like Wikidata without an exponential explosion in path combinations.

Experimental Evaluation

The framework was tested on two benchmarks: CLUTRR, a kinship reasoning dataset, and SWQ-WD, a real-world Wikidata-based question-answering set.

  • Reasoning Performance: On CLUTRR, the model outperformed Graph Attention Network (GAT) baselines by an average of 17%. It demonstrated remarkable robustness to "noise" (irrelevant facts), where neural-only models typically degrade.
  • Self-Supervised Efficacy: On SWQ-WD, the system achieved a 53.7% recall without any labeled relation pairs, nearly matching the 55.0% recall of SYGMA, a leading supervised system. With ground-truth entities provided, recall reached 70.1%.

Conclusion

By leveraging the inherent structure of Knowledge Bases as a source of self-supervision, this neuro-symbolic approach bridges the gap between flexible natural language and rigid structured data. The resulting rules are not only accurate but also fully interpretable, offering a scalable path toward general knowledge acquisition from text. Future work will focus on handling multi-triple logical statements and further optimizing the system for massive-scale KBs.

Summary updated

BibTeX
@inproceedings{ikbal2023self,
  author = {Shajith Ikbal and Udit Sharma and Hima Karanam and Sumit Neelam and Ronny Luss and Dheeraj Sreedhar and Pavan Kapanipathi and Naweed Khan and Kyle Erwin and Ndivhuwo Makondo and Ibrahim Abdelaziz and Achille Fokoue and Alexander Gray and Maxwell Crouse and Subhajit Chaudhury and Chitra Subramanian},
  title = {{Self-Supervised Rule Learning to Link Text Segments to Relational Elements of Structured Knowledge}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.findings-emnlp.117},
}
Figure