NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

FaiRR: Faithful and Robust Deductive Reasoning over Natural Language

Soumya Sanyal, Harman Singh, Xiang Ren

Abstract

Large Language Models (LLMs) have demonstrated an impressive capacity for deductive reasoning, yet they often operate as "black boxes," providing conclusions without guaranteed logical grounding. This lack of faithfulness, combined with a susceptibility to spurious correlations, makes them fragile in real-world applications. We introduce FaiRR (Faithful and Robust Reasoner), a modular framework that decomposes the reasoning process into discrete selection and composition steps. By physically restricting the information available to the generative component, FaiRR ensures that every inference is causally derived from its premises. Our results show that FaiRR is significantly more robust to linguistic perturbations and operates 3.5x faster than existing iterative reasoning models.

Introduction: The Challenge of Faithful Reasoning

Deductive reasoning involves deriving a conclusion from a set of facts and rules. While LLMs can perform this task, they often fail to be faithful—meaning their internal reasoning process may not actually match the "proof" they output. Furthermore, they lack robustness, frequently relying on memorized patterns (e.g., associating specific names with traits) rather than the provided logic.

An example of a deductive reasoning task where facts and rules lead to a specific conclusion via a proof graph.

Methodology: The FaiRR Framework

FaiRR addresses these issues by enforcing a strict "select-then-reason" pipeline. The architecture is divided into three independent, modular components:

  • Rule Selector (RS): A RoBERTa-based classifier that identifies the most relevant rule for the current reasoning step based on the goal statement and available facts.
  • Fact Selector (FS): A RoBERTa-based model that selects the specific facts required to satisfy the conditions of the chosen rule.
  • Knowledge Composer (KC): A T5-based generative model that takes only the selected rule and facts as input to produce a new intermediate conclusion.
The FaiRR modular pipeline: Rule Selector, Fact Selector, and Knowledge Composer work sequentially to generate intermediate conclusions.

This modularity creates a "causality by design" bottleneck. Because the Knowledge Composer cannot see the entire rulebase, it is forced to use only the provided components to generate its output, ensuring a faithful link between premises and conclusions.

Experimental Evaluation

FaiRR was evaluated against several benchmarks, including the standard D* datasets (D0-D5) and ParaRules, which features natural language paraphrases. To test robustness, the authors introduced new variants of the D3 dataset—Subject, Attribute, and Subject+Attribute robustness sets—where common entities and traits were replaced with out-of-distribution terms.

Key Results

The modular approach of FaiRR yielded significant improvements across several metrics:

  • Superior Robustness: FaiRR demonstrated high stability on perturbed datasets. On the "Subject" perturbation set, FaiRR maintained 96.8% accuracy, significantly outperforming the previous state-of-the-art model, ProofWriter, which dropped to 89.6%.
  • Efficiency Gains: FaiRR is approximately 3.5 times faster during inference than iterative versions of ProofWriter. This speedup is attributed to the reduced input size for the generative T5 component and a more targeted search strategy.
  • High Precision: The model achieved near 1.0 precision in intermediate inferences. Unlike baseline models that often generate irrelevant "distractor" conclusions, FaiRR focuses almost exclusively on steps necessary for the final proof.

Conclusion and Future Work

FaiRR provides a blueprint for building trustworthy reasoning systems by replacing monolithic generation with modular selection and composition. While highly effective, the model currently faces challenges with "early stopping," where the Rule Selector prematurely ends a proof. Future research will focus on refining the stop-signal logic and improving the model's ability to generalize to deeper reasoning chains beyond its training distribution.

Summary updated

BibTeX
@inproceedings{sanyal2022fairr,
  author = {Soumya Sanyal and Harman Singh and Xiang Ren},
  title = {{FaiRR: Faithful and Robust Deductive Reasoning over Natural Language}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.acl-long.77},
}
Figure