ProofInfer: Generating Proof via Iterative Hierarchical Inference
Zichu Fei, Qi Zhang, Xin Zhou, Tao Gui, Xuanjing Huang
Abstract
Proof generation focuses on deductive reasoning: given a hypothesis and a set of theories, including some supporting facts and logical rules expressed in natural language, the model generates a proof tree indicating how to deduce the hypothesis from given theories.Current models with state-of-the-art performance employ the stepwise method that adds an individual node to the proof step-by-step.However, these methods actually focus on generating several proof paths rather than a whole tree.During generation, they focus on the most relevant areas of the currently generated node while neglecting the rest of the proof tree. To address this problem, we propose ProofInfer, which generates the proof tree via iterative hierarchical inference.At each step, ProofInfer adds the entire layer to the proof, where all nodes in this layer are generated simultaneously. Since the conventional autoregressive generation architecture cannot simultaneously predict multiple nodes, ProofInfer employs text-to-text paradigm.To this end, we propose a divide-and-conquer algorithm to encode the proof tree as the plain text without losing structure information.Experimental results show that ProofInfer significantly improves performance on several widely-used datasets.In addition, ProofInfer still performs well with data-limited, achieving comparable performance to the state-of-the-art model with about 40% of the training data.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Builds on4
- FaiRR: Faithful and Robust Deductive Reasoning over Natural LanguageSoumya Sanyal, Harman Singh, Xiang RenACL 2022 · 49 citations
- Generating Natural Language Proofs with Verifier-Guided SearchKaiyu Yang, Jia Deng, Danqi ChenEMNLP 2022 · 22 citations
- PRover: Proof Generation for Interpretable Reasoning over RulesSwarnadeep Saha, Sayan Ghosh, Shashank Srivastava, Mohit BansalEMNLP 2020 · 3 citations
- TeaForN: Teacher-Forcing with N-gramsSebastian Goodman, Nan Ding, Radu SoricutEMNLP 2020 · 1 citation
Related papers
- InfeRE: Step-by-Step Regex Generation via Chain of InferenceShuai Zhang, Xiaodong Gu, Yuting Chen, Beijun ShenASE 2023 · 8 citations
- IsarStep: a Benchmark for High-level Mathematical ReasoningWenda Li, Lei Yu, Yuhuai Wu, Lawrence C. PaulsonICLR 2021 · 69 citations
- LogicTree: Structured Proof Exploration for Coherent and Rigorous Logical Reasoning with Large Language ModelsKang He, Kaushik RoyEMNLP 2025
- Proving Theorems RecursivelyHaiming Wang, Huajian Xin, Zhengying Liu, Wenda Li et al.NeurIPS 2024 · 34 citations
- Editable Proof Sketch for Automated Theorem ProvingZikai Xiao, Hanzheng Wang, Meng-Hao Guo, Shi-min Hu et al.ICML 2026
