Abstract
Traditional end-to-end generative models for natural language deduction often struggle with logical consistency, frequently hallucinating steps or skipping reasoning chains. We present SCSearch, a modular system that treats deduction as a search problem over statement compositions. By decoupling step generation from search strategy, SCSearch achieves 82.3% step validity, a 17% absolute improvement over state-of-the-art generative baselines.
Introduction
In automated reasoning and fact-checking, providing a verifiable "chain of thought" or entailment tree is as important as the final conclusion. Current approaches typically use large language models to generate entire proofs in a single pass. However, these models often produce "post-hoc" explanations that appear plausible but contain logical gaps or hallucinations. This paper introduces SCSearch, which addresses these issues by factoring the reasoning process into discrete, verifiable steps guided by a search algorithm.
Methodology: The SCSearch Framework
SCSearch decomposes the deductive process into three primary components: a step deduction model, a search procedure, and a heuristic function.
- Step Deduction Model ($S$): A T5-3b model fine-tuned to generate a single logical consequence from exactly two premises. This constraint prevents the model from "jumping the gun" and skipping intermediate logic.
- Search Procedure: The system maintains a "fringe" of statement pairs and uses a best-first search to explore the most promising compositions.
- Heuristic Function ($h$): A DeBERTa-based model scores pairs based on their relevance to the goal hypothesis. Notably, the authors implemented a "Repetition" heuristic that penalizes steps where the output merely repeats an input, effectively pruning logical dead-ends.
- Goal Entailment: A final module verifies if any generated statement logically entails the target goal.
Experimental Setup and Datasets
The system was evaluated using EntailmentBank, which contains multi-step reasoning trees for elementary science questions. To enhance the step model, the authors utilized ParaPattern for mid-training and WANLI for pre-training the entailment module. A new dataset, EBEntail, was curated to fine-tune the goal entailment model and set confidence thresholds.
Results and Analysis
The performance of SCSearch was compared against end-to-end baselines across two tasks: Task 1 (relevant premises only) and Task 2 (premises mixed with distractors).
Key findings include:
- High Step Validity: Manual audits revealed that 82.3% of steps generated by SCSearch were logically valid, compared to 65.0% for the T5 baseline.
- Robustness to Distractors: In Task 2, the goal-oriented heuristic allowed SCSearch to navigate noisy data effectively, achieving an AUROC of 0.85.
- Efficiency: Despite the search-based approach, the system typically reached conclusions in 3 to 4 steps, with execution times under 5 seconds per example.
- Faithfulness vs. Accuracy: While end-to-end models are adept at predicting if a goal is true, SCSearch is far superior at providing a faithful explanation that a human can audit and trust.
Conclusion and Future Work
SCSearch demonstrates that factoring deduction into search and generation leads to more reliable and interpretable reasoning. While highly effective for elementary science tasks, future work will explore scaling the search to larger knowledge bases and applying the framework to more complex domains like law or medicine.
Summary updated