CBR-iKB: A Case-Based Reasoning Approach for Question Answering over Incomplete Knowledge Bases

Dung Thai, Srinivas Ravishankar, Ibrahim Abdelaziz, Mudit Chaudhary, Nandana Mihindukulasooriya, Tahira Naseem, Rajarshi Das, Pavan Kapanipathi, Achille Fokoue, Andrew McCallumarXiv 2022 · DOI

Introduction

Knowledge Bases (KBs) like Freebase or Wikidata are essential for many AI applications but are notoriously incomplete. Traditional Knowledge Base Question Answering (KBQA) systems typically search for a single most probable "reasoning chain"—a sequence of relations—to find an answer. However, if the KB is missing even one triplet in that chain, these models fail. For instance, if a KB knows "Ken Whisenhunt" is a coach but lacks the triplet connecting him to the "Tennessee Titans," a standard query for the team's head coach will return no result.

CBR-iKB addresses this "missing link" problem by shifting the focus from local path probability to global consistency. Instead of relying on a single path, it examines how similar questions were answered and considers multiple potential paths, including those supported by external text or predicted by link-prediction models.

Methodology: The CBR Cycle

The authors propose CBR-iKB, which implements the classic Case-Based Reasoning (CBR) cycle to perform robust question answering.

The CBR-iKB architecture illustrating the Retrieve, Re-Use, Revise, and Retain cycle along with the Inferential Chain Matching Step.
  1. Case Base Construction: The system maintains a library of previously seen questions and their successful "inferential chains." To ensure generalizability, specific entities are masked (e.g., "Who is the coach of [Team]?").
  2. Retrieve: For a new query, a dense retriever (using FAISS with DistilRoBERTa) identifies the $k$-nearest neighbor questions from the case base.
  3. Re-Use: This is the core innovation. CBR-iKB extracts the reasoning paths used by similar questions and applies them to the current query. A majority voting scheme is employed where each retrieved chain "votes" for a candidate answer.
  4. Handling Incompleteness: To bridge gaps in the KB, the system uses "soft matching" via Knowledge Base Completion (KBC) models (like ComplEx) to predict missing links and Relation Extraction (RE) to find evidence in associated unstructured text.
  5. Revise & Retain: A cross-validation step filters out "spurious" chains—paths that might lead to a correct answer by coincidence but lack logical soundness.

Experimental Results

CBR-iKB was evaluated on MetaQA (movie domain) and WebQuestionsSP (WebQSP). To test robustness, the authors introduced a rigorous "incomplete" setting for WebQSP, dropping triplets for 50% of the questions to truly test the model's resilience.

Performance comparison of CBR-iKB against baseline models on MetaQA and WebQSP datasets, highlighting its dominance in incomplete KB settings.

The results established a new state-of-the-art (SOTA) across all benchmarks:

  • MetaQA: The model achieved 100% accuracy across 1, 2, and 3-hop settings, even with a halved KB.
  • WebQSP (Full KB): CBR-iKB reached 78.3% accuracy, a 6.9% improvement over the previous SOTA, TransferNet.
  • WebQSP (Incomplete KB): The model's advantage was most pronounced here, achieving 70.0% accuracy—a massive 22.3% lead over the next best method.

Ablation studies confirmed that both the "Revise" step and the integration of external text are critical components; removing the text component, for instance, leads to significant performance degradation in multi-hop scenarios.

Key Insights and Future Work

CBR-iKB demonstrates that global consistency—asking which answer is most consistent with patterns seen across similar questions—is more effective than optimizing for local path probability in sparse data environments. Furthermore, its non-parametric nature allows it to adapt to KB updates immediately without task-specific fine-tuning.

A current limitation is compositional generalization. The model relies on having seen similar question structures in its case base. If a question requires a novel combination of reasoning steps, performance may suffer. Future research will focus on "compositional QA," enabling the system to decompose complex, unseen questions into smaller, familiar "cases."

Summary updated

BibTeX
@misc{thai2022cbr,
  author = {Dung Thai and Srinivas Ravishankar and Ibrahim Abdelaziz and Mudit Chaudhary and Nandana Mihindukulasooriya and Tahira Naseem and Rajarshi Das and Pavan Kapanipathi and Achille Fokoue and Andrew McCallum},
  title = {{CBR-iKB: A Case-Based Reasoning Approach for Question Answering over Incomplete Knowledge Bases}},
  year = {2022},
  eprint = {2204.08554},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2204.08554},
}
Figure