Theorem Prover as a Judge for Synthetic Data Generation
Joshua Ong Jun Leang, Giwon Hong, Wenda Li, Shay B. Cohen
摘要
The demand for synthetic data in mathematical reasoning has increased due to its potential to enhance the mathematical capabilities of large language models (LLMs). However, ensuring the validity of intermediate reasoning steps remains a significant challenge, affecting data quality. While formal verification via theorem provers effectively validates LLM reasoning, the autoformalisation of mathematical proofs remains error-prone. We introduce iterative autoformalisation, an approach that iteratively refines theorem prover formalisation to mitigate errors, thereby increasing the execution rate on the Lean prover from 60% to 87%. Building upon that, we introduce Theorem Prover as a Judge (TP-as-a-Judge), a method that makes use of theorem prover formalisation to rigorously assess LLM intermediate reasoning, effectively integrating autoformalisation with synthetic data generation. Finally, we present Reinforcement Learning from Theorem Prover Feedback (RLTPF), a framework that replaces human annotation with theorem prover feedback in Reinforcement Learning from Human Feedback (RLHF). Across multiple LLMs, applying TP-as-a-Judge and RLTPF improves benchmarks with only 3,508 samples, achieving 5.56% accuracy gain on Mistral-7B for MultiArith, 6.00% on Llama-2-7B for SVAMP, and 3.55% on Llama-3.1-8B for AQUA. 1 1 Code is available at https://github.com/ joshuaongg21/RLTPF . Find the area of a circle with radius 2 1. The formula for area is 2. By performing substitution: 3. The answer is
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 11 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- STaR: Bootstrapping Reasoning With Reasoning 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Large Language Models are Zero-Shot Reasoners 引用了 STaR: Bootstrapping Reasoning With Reasoning
- Large Language Models are Zero-Shot Reasoners 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- VeriCoT: Neuro-symbolic Chain-of-Thought Validation via Logical Consistency Checks 引用了 Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- VeriCoT: Neuro-symbolic Chain-of-Thought Validation via Logical Consistency Checks 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- WebShaper: Agentically Data Synthesizing via Information-Seeking Formalization 引用了 Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- LogicReward: Incentivizing LLM Reasoning via Step-Wise Logical Supervision 引用了 LoRA: Low-Rank Adaptation of Large Language Models
- LogicReward: Incentivizing LLM Reasoning via Step-Wise Logical Supervision 引用了 Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- LogicReward: Incentivizing LLM Reasoning via Step-Wise Logical Supervision 引用了 Faithful and Robust LLM-Driven Theorem Proving for NLI Explanations
- LogicReward: Incentivizing LLM Reasoning via Step-Wise Logical Supervision 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
引用它的顶会 Paper11
- WebShaper: Agentically Data Synthesizing via Information-Seeking FormalizationZhengwei Tao, Jialong Wu, Wenbiao Yin, Pu Wu 等ICLR 2026 · 115 次引用
- VeriCoT: Neuro-symbolic Chain-of-Thought Validation via Logical Consistency ChecksYu Feng, Nathaniel Weir, Kaj Bostrom, Sam Bayless 等ICLR 2026 · 16 次引用
- LogicReward: Incentivizing LLM Reasoning via Step-Wise Logical SupervisionJundong Xu, Hao (Scofield) Fei, Huichi Zhou, Xin Quan 等ICLR 2026 · 9 次引用
- DRIFT: Decompose, Retrieve, Illustrate, then Formalize TheoremsMeiru Zhang, Philipp Borchert, Milan Gritta, Gerasimos LampourasICLR 2026 · 8 次引用
- Faithful and Robust LLM-Driven Theorem Proving for NLI ExplanationsXin Quan, Marco Valentino, Louise A. Dennis, André FreitasACL 2025 · 8 次引用
它引用的 Paper22
- Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma 等NeurIPS 2022 · 22,562 次引用
- LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu 等ICLR 2022 · 18,833 次引用
- Direct Preference Optimization: Your Language Model is Secretly a Reward ModelRafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning 等NeurIPS 2023 · 10,924 次引用
- Large Language Models are Zero-Shot ReasonersTakeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo 等NeurIPS 2022 · 8,168 次引用
- STaR: Bootstrapping Reasoning With ReasoningEric Zelikman, Yuhuai Wu, Jesse Mu, Noah D. GoodmanNeurIPS 2022 · 1,126 次引用
相关 Paper
- Mathesis: Towards Formal Theorem Proving from Natural LanguagesXuejun Yu, Jianyuan Zhong, Zijin Feng, Pengyi Zhai 等ICLR 2026 · 15 次引用
- Don't Trust: Verify - Grounding LLM Quantitative Reasoning with AutoformalizationJin Peng Zhou, Charles Staats, Wenda Li, Christian Szegedy 等ICLR 2024 · 72 次引用
- MUSTARD: Mastering Uniform Synthesis of Theorem and Proof DataYinya Huang, Xiaohan Lin, Zhengying Liu, Qingxing Cao 等ICLR 2024 · 50 次引用
- StepFun-Formalizer: Unlocking the Autoformalization Potential of LLMs Through Knowledge-Reasoning FusionYutong Wu, Di Huang, Ruosi Wan, Yue Peng 等AAAI 2026 · 10 次引用
- ReForm: Reflective Autoformalization with Prospective Bounded Sequence OptimizationGuoxin Chen, Jing Wu, Xinjie Chen, Xin Zhao 等ICLR 2026 · 22 次引用
