Bridging Knowledge Gaps in Neural Entailment via Symbolic Models

Dongyeop Kang, Tushar Khot, Ashish Sabharwal, Peter Clark

Abstract

Most textual entailment models focus on lexical gaps between the premise text and the hypothesis, but rarely on knowledge gaps. We focus on filling these knowledge gaps in the Science Entailment task by leveraging an external structured knowledge base (KB) of science facts. Our new architecture, NSnet, combines standard neural entailment models with a knowledge lookup module. By decomposing hypotheses into fact-level sub-facts and verifying them against both the textual premise and a structured KB, NSnet learns to aggregate predictions from heterogeneous data formats. On the SciTail dataset, NSnet outperforms the base entailment model by approximately 5% and a simple ensemble by 3%.

Introduction: The Knowledge Gap Challenge

In Natural Language Processing (NLP), Textual Entailment is the task of determining if a "premise" (P) logically leads to a "hypothesis" (H). While modern neural models are adept at bridging lexical gaps—recognizing that "star" and "celestial body" are related—they often struggle with knowledge gaps. These are facts that are not explicitly stated in the text but are essential for logical reasoning.

For example, consider the premise: "The aorta moves blood away from the heart." To correctly entail the hypothesis "Aorta is the major artery," a system must know an external fact: An aorta is an artery, not a vein. Neural models often fail here because "artery" and "vein" appear in similar linguistic contexts, leading to false positives.

The NSnet Architecture

To address these gaps, we introduce NSnet (Neural-Symbolic Network), a hybrid architecture that integrates neural flexibility with symbolic precision.

The NSnet architecture consists of three main layers: Inputs (decomposition and KB retrieval), Modules (neural and symbolic scorers), and an Aggregator.

The system operates through three distinct stages:

  1. Hypothesis Decomposition: Instead of processing the entire hypothesis at once, the system uses ClausIE to break it into atomic "sub-facts."
  2. The Three-Pronged Module Layer:
  3. Neural Entailment: A standard Decomposable Attention model identifies soft linguistic alignments between the premise and the sub-facts.
  4. Symbolic Matcher: A strict word-overlap scorer that acts as a "guardrail," preventing the neural model from being distracted by distributionally similar but logically distinct terms.
  5. Symbolic Lookup: This module queries the Aristo TupleKB, a structured knowledge base containing ~283,000 science facts (e.g., [hydrogen; is; element]). It retrieves relevant tuples and scores how well the hypothesis sub-facts match known scientific truths.
  6. The Aggregator: A multi-layer perceptron (MLP) that receives intermediate representations (embeddings and similarity vectors) from all modules. It learns to dynamically weigh these inputs, deciding when to trust the KB versus the linguistic patterns of the neural model.

Experimental Results

We evaluated NSnet on the SciTail dataset, which contains ~27,000 examples derived from 4th and 8th-grade science exams. Unlike many synthetic datasets, SciTail sentences are authored independently, making them more natural and challenging.

Performance comparison of NSnet against various baselines on the SciTail dataset.

As shown in the results table, NSnet achieved a test accuracy of 77.9%, a significant improvement over the base neural model (74.3%) and a simple ensemble (74.8%).

Ablation studies confirmed the value of the symbolic components: removing the Symbolic Matcher caused a 3.2% drop in performance, while removing the Symbolic Lookup (the KB) caused a 2.1% drop. Together, these components provide the "hard" knowledge necessary to supplement "soft" neural reasoning.

Conclusion

NSnet demonstrates that bridging knowledge gaps requires more than just larger language models; it requires the integration of structured external knowledge. By decomposing complex claims and verifying them against both text and a knowledge base, NSnet provides a robust framework for domain-specific reasoning. Future work will focus on improving decomposition quality and handling complex linguistic features like negation.

Summary updated

BibTeX
@inproceedings{kang2018bridging,
  author = {Dongyeop Kang and Tushar Khot and Ashish Sabharwal and Peter Clark},
  title = {{Bridging Knowledge Gaps in Neural Entailment via Symbolic Models}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2018},
  url = {https://openreview.net/forum?id=H1NocMz_bS},
}
Figure