Enhancing Systematic Decompositional Natural Language Inference Using Informal Logic

Nathaniel Weir, Kate Sanders, Orion Weller, Shreya Sharma, Dongwei Jiang, Zhengping Jiang, Bhavana Dalvi Mishra, Oyvind Tafjord, Peter A. Jansen, Peter Clark, Benjamin Van Durme

Abstract

Recent language models enable new opportunities for structured reasoning with text, such as the construction of intuitive, proof-like textual entailment trees without relying on brittle formal logic. However, progress in this direction has been hampered by a long-standing lack of a clear protocol for determining what valid decompositional entailment is. This absence causes noisy datasets and limited performance gains by modern neuro-symbolic entailment engines. To address these problems, we formulate a consistent and theoretically grounded approach to annotating decompositional entailment and evaluate its impact on LLM-based textual inference. We find that our new dataset, RDTE (Recognizing Decompositional Textual Entailment), has a substantially higher internal consistency than prior decompositional entailment datasets, suggesting that RDTE is a significant step forward in the long-standing problem of forming a clear protocol for discerning entailment. We also find that training an RDTE-oriented entailment classifier via knowledge distillation and employing it in an entailment tree reasoning engine significantly improves both accuracy and proof quality, illustrating the practical benefit of this advance for textual inference.

Introduction: The "Right Answer, Wrong Reason" Problem

Large Language Models (LLMs) are increasingly capable of generating "entailment trees"—step-by-step logical proofs that explain the reasoning behind a conclusion. However, these systems frequently suffer from a "right answer, wrong reason" failure mode. A model may arrive at a correct final answer through a chain of reasoning that contains hallucinations, circular logic, or irrelevant premises.

The core of this issue lies in the ambiguity of "validity" in natural language inference. Existing datasets are often noisy because human annotators lack a consistent protocol for judging logical leaps, leading to low inter-annotator agreement. Without clear guidelines, neuro-symbolic reasoning engines struggle to filter out poor reasoning, resulting in error propagation where a single flawed step invalidates an entire proof.

The RDTE Protocol: Moving Beyond Binary Judgments

To resolve this ambiguity, we introduce the RDTE (Recognizing Decompositional Textual Entailment) protocol. Instead of asking annotators for a simple binary judgment on whether a premise entails a conclusion, we employ a faceted approach grounded in Informal Logic. Specifically, we use the RAS criteria, supplemented by redundancy checks:

  1. Relevance: Does the truth of the premise actually contribute to the conclusion?
  2. Not Redundant: Is the premise providing new information rather than just restating the conclusion?
  3. Acceptability: Is the premise likely to be true within the given context?
  4. Sufficiency: Do the premises, taken together, provide enough grounds to believe the conclusion?
Comparison of standard binary annotation vs. the RDTE faceted protocol using RAS criteria.

This granular approach significantly improves internal consistency. RDTE achieved a Krippendorf’s $\alpha$ of 0.53, a marked improvement over previous benchmarks like Entailer (0.34). By breaking down the concept of "validity," we provide a clearer signal for both human annotators and machine learning models.

TREEWISE: A Logic-Driven Reasoning Engine

Leveraging the RDTE dataset, we developed TREEWISE, a reasoning engine implemented in Prolog. TREEWISE uses a Knowledge Distillation pipeline: we prompted GPT-4 with complex RDTE instructions to label 24,000 "silver" examples. These were then used to train smaller, more efficient "student" models (such as RoBERTa) to act as logical verifiers.

Unlike "one-shot" LLM generation, TREEWISE performs a systematic search. It combines backward chaining (decomposing a hypothesis into smaller parts) with forward chaining (retrieving and generating new facts from external corpora like Wikipedia). The distilled RDTE verifiers act as a "logic filter," pruning branches that fail the RAS criteria to ensure the final proof is grounded and robust.

Key Insights and Results

Our analysis reveals that LLMs struggle with logical sufficiency by default. We found that approximately 75% of decompositions generated by standard prompts to ChatGPT and GPT-4 failed our sufficiency rubric. This explains why raw LLM reasoning often feels untrustworthy for complex tasks.

Distribution of sufficiency scores across ARC and HotpotQA datasets, highlighting the prevalence of low-sufficiency decompositions in raw LLM outputs.

Despite these challenges, the TREEWISE engine demonstrated significant performance gains:

  • Improved Accuracy: TREEWISE improved QA accuracy by up to 7 points on HotpotQA and nearly 7 points on the ARC science challenge compared to baselines without distilled logic.
  • Superior Proof Quality: We evaluated tree quality using a "tree integrity" score—the minimum score of any single step in the chain. TREEWISE achieved the highest integrity scores (e.g., 75.2 on WorldTree), proving more precise at weeding out illogical branches.
  • Effective Distillation: Interestingly, a smaller RoBERTa model trained on RDTE data outperformed its teacher (GPT-4) at identifying valid logical steps, suggesting that specific logical constraints can be effectively "baked into" specialized models.

Conclusion and Future Directions

The RDTE protocol and TREEWISE engine represent a significant step toward more trustworthy AI reasoning. By replacing subjective binary judgments with structured informal logic, we can create models that not only provide the right answers but do so for the right reasons. Future work will explore applying these protocols to more specialized domains, such as legal or medical reasoning, where the definition of "sufficiency" may require further refinement.

Summary updated

BibTeX
@inproceedings{weir2024enhancing,
  author = {Nathaniel Weir and Kate Sanders and Orion Weller and Shreya Sharma and Dongwei Jiang and Zhengping Jiang and Bhavana Dalvi Mishra and Oyvind Tafjord and Peter A. Jansen and Peter Clark and Benjamin Van Durme},
  title = {{Enhancing Systematic Decompositional Natural Language Inference Using Informal Logic}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  url = {https://openreview.net/forum?id=dKN1mB2Dra},
}
Figure