Natural Language Deduction through Search over Statement Compositions

Kaj Bostrom, Zayne Sprague, Swarat Chaudhuri, Greg Durrett

Introduction

In high-stakes domains like fact-checking and scientific reasoning, the utility of an AI system depends not just on the accuracy of its answers, but on the transparency of its reasoning. Current large language models (LLMs) often generate "entailment trees"—step-by-step derivations from premises to a conclusion—in an end-to-end fashion. However, these "black-box" approaches frequently suffer from faithfulness issues, such as skipping logical steps, hallucinating facts, or claiming a hypothesis is proven despite incoherent intermediate logic.

To address these challenges, researchers have developed SCSearch, a modular system that treats natural language deduction as a discrete search problem. By decoupling the planning of a proof from the generation of individual steps, SCSearch produces verifiable reasoning paths that are significantly more sound than those generated by end-to-end models.

The SCSearch Framework

SCSearch operates by searching the space of possible statement compositions to find a path from a set of premises to a goal hypothesis. The system is composed of three distinct modules:

  1. Step Deduction Model ($S$): A T5-3b model fine-tuned to generate a single logical conclusion from exactly two premises. By restricting the model to local deductions without knowledge of the final goal, the system prevents "cheating" via goal-directed hallucinations.
  2. Search Procedure: A best-first search algorithm that maintains a "fringe" of potential premise pairs. It utilizes a goal-oriented heuristic to prioritize combinations most likely to lead to the target conclusion.
  3. Goal Entailment Model: A DeBERTa-based classifier that monitors intermediate conclusions. The search terminates when a generated statement logically entails the final goal.
The SCSearch procedure iteratively selects premise pairs from a fringe to generate intermediate conclusions until the goal is reached.

This modular architecture ensures that every node in the resulting entailment tree is a direct, auditable consequence of its parent nodes, facilitating human verification.

Experimental Evaluation

The system was primarily evaluated on EntailmentBank, a benchmark for multi-step reasoning in elementary science. To improve robustness, the step deduction model underwent "mid-training" on ParaPattern, a semi-synthetic dataset derived from Wikipedia. The researchers also introduced EBEntail, a manually labeled dataset of 300 examples used to refine the Goal Entailment module.

Key Results and Performance

SCSearch demonstrates a marked improvement in reasoning quality over traditional end-to-end baselines. Manual audits revealed that 82.3% of the reasoning steps produced by SCSearch were logically sound, representing a 17% absolute improvement over the T5 end-to-end baseline (65.0%).

Precision-Recall curves for Task 1 show that SCSearch (orange) provides a robust balance of precision and recall compared to breadth-first search and intrinsic model confidence.

Furthermore, SCSearch excels at discriminating between valid and invalid goals. While end-to-end models often struggle to recognize when a hypothesis is unprovable, SCSearch’s search-based approach allows it to reject false hypotheses more reliably. On Task 1 of EntailmentBank, SCSearch achieved an AUROC of 0.91 for goal discrimination, compared to just 0.57 for the intrinsic confidence of end-to-end models.

Conclusion and Future Work

The success of SCSearch highlights that factoring planning away from generation is essential for faithful AI reasoning. By treating deduction as a search over discrete compositions, the system provides a level of auditability that end-to-end models lack. Future work will focus on scaling these search heuristics to more complex domains, such as legal or medical reasoning, and exploring more efficient search algorithms to handle larger sets of premises.

Summary updated

BibTeX
@inproceedings{bostrom2022natural,
  author = {Kaj Bostrom and Zayne Sprague and Swarat Chaudhuri and Greg Durrett},
  title = {{Natural Language Deduction through Search over Statement Compositions}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2022},
  doi = {10.18653/v1/2022.findings-emnlp.358},
}
Figure