paper-with-me

홈 › Papers

Not All Votes Count! Programs as Verifiers Improve Self-Consistency of Language Models for Math Reasoning

2024-10-16 · Vernon Y. H. Toh, Deepanway Ghosal, Soujanya Poria

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.

📄 PDF Abstract BibTeX arXiv:2410.12608

Code (1)

declare-lab/prove 공식 구현

Tasks

AllGSM8KMathMathematical Reasoning

Similar Papers 제목 키워드 기반

Verifier Theory and Unverifiability

2016-09-01 · Roman V. Yampolskiy

Despite significant developments in Proof Theory, surprisingly little attention has been devoted to the concept of proof verifier. In particular, the mathematical community may be interested in studying different types o…

Automated Theorem ProvingGeneral Classification

Imperfect Visual Verification for Code Edition : A Case Study on TikZ

2026-04-09 · Charly Reux, Mathieu Acher, Djamel Eddine Khelladi, Clément Quinton 외 arxiv

LLMs have significantly advanced code generation, enabling the synthesis of functional programs. While recent systems achieve strong performance on many coding benchmarks, tasks involving programs such as TikZ that gener…

Code Generation

Aggregating LLM-Based Weak Verifiers for Spatial Layout Generation

2026-06-03 · Sharon Zhang, R. Kenny Jones, Jiajun Wu, Maneesh Agrawala arxiv

We present a pipeline for building and aggregating task-specific, LLM-generated weak (imperfect) verifiers into a strong verifier for spatial layout domains. Given a task description, our pipeline asks an LLM to synthesi…

Multi-Agent Verification: Scaling Test-Time Compute with Multiple Verifiers

2025-02-27 · Shalev Lifshitz, Sheila A. McIlraith, Yilun Du

By utilizing more computational resources at test-time, large language models (LLMs) can improve without additional training. One common strategy uses verifiers to evaluate candidate outputs. In this work, we propose a n…

A Certified Proof Checker for Deep Neural Network Verification in Imandra

2024-05-17 · Remi Desmartin, Omri Isac, Grant Passmore, Ekaterina Komendantskaya 외

Recent advances in the verification of deep neural networks (DNNs) have opened the way for a broader usage of DNN verification technology in many application areas, including safety-critical ones. However, DNN verifiers …

Automated Theorem ProvingLEMMA