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

PRover: Proof Generation for Interpretable Reasoning over Rules

Swarnadeep Saha, Sayan Ghosh, Shashank Srivastava, Mohit Bansal

Introduction

While large language models (LLMs) have achieved remarkable success in answering questions, they often struggle with multi-step reasoning and typically fail to explain their underlying logic. In "soft theorem proving," where models reason over facts and rules provided in natural language, previous state-of-the-art models like RuleTakers functioned as black boxes. They could predict if a statement was true but could not provide a verifiable chain of logic.

This lack of transparency hinders trust and limits generalization; models trained on simple logic often fail on more complex, deeper reasoning chains. To address this, the authors introduce PRover, a transformer-based model that generates both a binary answer and a complete, structured proof graph to justify its reasoning.

Architecture and Methods

PRover is built upon a RoBERTa backbone and consists of three joint modules designed to produce interpretable rationales:

  1. QA Module: Predicts the binary answer (True/False).
  2. Node Module: Identifies relevant facts and rules from the input text.
  3. Edge Module: Predicts directed relationships between these nodes (e.g., a fact satisfying a rule's condition).
Comparison of PRover with traditional formal reasoning and the black-box RuleTakers model.

To ensure logical consistency, PRover employs several key innovations:

  • Constrained Training: The model masks "impossible" edges (e.g., fact-to-fact) during training to enforce logical structure.
  • ILP Inference: It uses Integer Linear Programming (ILP) during inference to solve for a global set of constraints, ensuring the output is a valid, connected proof graph.
  • Negation As Failure (NAF): The model explicitly handles cases where a statement is assumed false because it cannot be proven true given the available rules.

Evaluation and Results

The model was evaluated on synthetic datasets (DU0-DU5) with varying reasoning depths, out-of-distribution tasks (Birds-Electricity), and complex natural language paraphrases (ParaRules).

Examples of facts, rules, and the corresponding proof graphs generated by PRover for various questions.

Key Findings

  • Proof Generation Enhances Accuracy: Teaching the model to generate proofs actually improves its question-answering performance. PRover matched or exceeded RuleTakers, suggesting that structural supervision aids logical understanding.
  • Superior Generalization: PRover is significantly more robust than its predecessors. When trained on shallow reasoning (depth 0-3) and tested on deep reasoning (depth 5), it outperformed RuleTakers by up to 15%.
  • Data Efficiency: PRover reached near-perfect QA accuracy (98%) using only 40% of the available training data, highlighting the power of joint multi-task learning.
  • Interpretability without Sacrifice: PRover provides full logical rationales without sacrificing performance, achieving exact proof accuracy of 87% across benchmarks and 95% on paraphrased text.

Limitations and Future Outlook

Despite its success, PRover faces challenges with extremely complex reasoning. Proof accuracy drops to 65% on "depth 5" problems, often due to an "underestimation bias" where the model misses crucial links in long chains. Currently limited to binary questions and specific logic fragments (conjunctions and negations), future work aims to extend PRover to open-ended questions and more complex logical operators like disjunctions or probabilistic reasoning.

Summary updated

BibTeX
@inproceedings{saha2020prover,
  author = {Swarnadeep Saha and Sayan Ghosh and Shashank Srivastava and Mohit Bansal},
  title = {{PRover: Proof Generation for Interpretable Reasoning over Rules}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2020},
  url = {https://openreview.net/forum?id=uJuh4rfwPtz},
}
Figure