Not All Votes Count! Programs as Verifiers Improve Self-Consistency of Language Models for Math Reasoning
On the map: LLM reasoning → Mathematical reasoning
Abstract (arXiv)
Large language models (LLMs) have shown increasing competence in solving mathematical reasoning problems. However, many open-source LLMs still struggle with errors in calculation and semantic understanding during intermediate reasoning steps. In this work, we introduce Prove, a simple yet effective framework that leverages translated programs derived from natural language solutions as a verification mechanism to filter out potentially incorrect reasoning paths before aggregating final answers. Unlike vanilla majority voting, our approach filters out solutions whose corresponding program output is inconsistent with the generated solution, aggregating only those that pass verification. We conducted extensive experiments using 13 open-source LLMs from various model families and sizes, ranging from 0.5B to 13B parameters, across eight mathematical benchmarks. Our results show that Prove consistently outperforms vanilla majority voting as a heuristic for solving mathematical reasoning tasks across all model sizes and datasets, achieving improvements of up to 18% on GSM8K and 8% on MATH-500. Our codes are available at https://github.com/declare-lab/prove.
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Placed in Mathematical reasoning, one of 17 directions in LLM reasoning. Builds on 10 of its 35 references that are in the map. First posted on arXiv 16 Oct 2024.
Builds on
10 of 35 references.
References · 10
- 2023GPT-4 Technical Reportcited by 18,132
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2023Mistral 7Bcited by 3,065
- 2024Qwen2 Technical Reportcited by 2,076
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,928
- 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,883
- 2024LLMs Will Always Hallucinate, and We Need to Live With Thiscited by 77
- 2024Improving LLM Reasoning through Scaling Inference Computation with Collaborative Verificationcited by 40
Built on by
Citing papers per year: 2025: 5; 2026: 3.
8 papers.
- 2025Deep Think with Confidencecited by 199
- 2025A Survey of Test-Time Compute: From Intuitive Inference to Deliberate Reasoningcited by 40
- 2025Step-Wise Formal Verification for LLM-Based Mathematical Problem Solvingcited by 5
- 2025Integrating Expert Knowledge into Logical Programs via LLMscited by 3
- 2026Guided by the Plan: Enhancing Faithful Autoregressive Text-to-Audio Generation with Guided Decodingcited by 2
- 2025RETuning: Upgrading Inference-Time Scaling for Stock Movement Prediction with Large Language Modelscited by 1
- 2026KACE: Knowledge-Adaptive Context Engineering for Mathematical Reasoningcited by 0
- 2026Routing Without Training: Controllable-Ratio LLM Offloading via Reliability Gatingcited by 0
- 2026Routing Without Training: Controllable-Ratio LLM Offloading via Reliability Gating30 May 2026
- 2026KACE: Knowledge-Adaptive Context Engineering for Mathematical Reasoning30 May 2026
- 2026Guided by the Plan: Enhancing Faithful Autoregressive Text-to-Audio Generation with Guided Decoding18 Jan 2026
- 2025RETuning: Upgrading Inference-Time Scaling for Stock Movement Prediction with Large Language Models24 Oct 2025
- 2025Deep Think with Confidence21 Aug 2025
- 2025Step-Wise Formal Verification for LLM-Based Mathematical Problem Solving27 May 2025
- 2025Integrating Expert Knowledge into Logical Programs via LLMs17 Feb 2025
- 2025A Survey of Test-Time Compute: From Intuitive Inference to Deliberate Reasoning5 Jan 2025
Similar, not cited
Close in wording, no citation either way
- 2025Do LLMs Overthink Basic Math Reasoning? Benchmarking the Accuracy-Efficiency Tradeoff in Language Models
- 2025Arrows of Math Reasoning Data Synthesis for Large Language Models: Diversity, Complexity and Correctness
- 2026Do We Need Frontier Models to Verify Mathematical Proofs?
- 2025ReliableMath: Benchmark of Reliable Mathematical Reasoning on Large Language Models
- 2023VerityMath: Advancing Mathematical Reasoning by Self-Verification Through Unit Consistency
- 2025RealMath: A Continuous Benchmark for Evaluating Language Models on Research-Level Mathematics
- 2025Reliable Fine-Grained Evaluation of Natural Language Math Proofs
- 2026Mathematical Reasoning in Large Language Models: Benchmarks, Architectures, Evaluation, and Open Challenges