paper-with-me

홈 › Papers

AutoPyVerifier: Learning Compact Executable Verifiers for Large Language Model Outputs

2026-04-24 · Pouya Pezeshkpour, Estevam Hruschka arxiv

Verification is becoming central to both reinforcement-learning-based training and inference-time control of large language models (LLMs). Yet current verifiers face a fundamental trade-off: LLM-based verifiers are expressive but hard to control and prone to error, while deterministic executable verifiers are reliable and interpretable but often limited in capability. We study the following question: given a development set of LLM outputs and labels for a target objective, such as correctness, can we automatically induce a minimal set of Python verifiers whose joint satisfaction closely matches that objective? We propose AutoPyVerifier, a framework that uses an LLM to synthesize candidate verifier functions and then refines them through search over a directed acyclic graph (DAG). By navigating the DAG, AutoPyVerifier systematically explores the space of deterministic executable verifiers and selects a compact verifier set whose joint satisfaction best approximates the target objective. Across mathematical reasoning, coding, function calling, and instruction-following benchmarks for several state-of-the-art LLMs, AutoPyVerifier improves target-objective prediction by up to 55.0 F1 points over the initial LLM-generated verifier sets. Additional analyses show that the most useful verification targets vary by benchmark and model, and that the DAG-based search shifts the learned verifier sets toward more structural and semantically grounded checks. We further show that exposing the discovered verifier set to an LLM as an external tool improves downstream accuracy by up to 17.0 points. We release our code

📄 PDF Abstract BibTeX arXiv:2604.22937

Code (0)

등록된 구현이 없습니다.

Tasks

Mathematical Reasoning

Similar Papers 제목 키워드 기반

R2E-Gym: Procedural Environments and Hybrid Verifiers for Scaling Open-Weights SWE Agents

2025-04-09 · Naman jain, Jaskirat Singh, Manish Shetty, Liang Zheng 외

Improving open-source models on real-world SWE tasks (solving GITHUB issues) faces two key challenges: 1) scalable curation of execution environments to train these models, and, 2) optimal scaling of test-time compute. W…

Training Software Engineering Agents and Verifiers with SWE-Gym

2024-12-30 · Jiayi Pan, Xingyao Wang, Graham Neubig, Navdeep Jaitly 외

We present SWE-Gym, the first environment for training real-world software engineering (SWE) agents. SWE-Gym contains 2,438 real-world Python task instances, each comprising a codebase with an executable runtime environm…

Language ModelingLanguage Modelling

Before the Model Learns the Bug:Fuzzing RLVR Verifiers

2026-05-31 · Jaideep Ray arxiv

Reinforcement learning with verifiable rewards (RLVR) replaces human preference labels with executable reward functions such as math answer checkers, JSON tool-call validators, and code unit-test harnesses. That makes th…

Reinforcement Learning

Improving LLM Reasoning through Scaling Inference Computation with Collaborative Verification

2024-10-05 · Zhenwen Liang, Ye Liu, Tong Niu, Xiangliang Zhang 외

Despite significant advancements in the general capability of large language models (LLMs), they continue to struggle with consistent and accurate reasoning, especially in complex tasks such as mathematical and code reas…

GSM8KMath

On the Planning Abilities of Large Language Models : A Critical Investigation

2023-05-25 · Karthik Valmeekam, Matthew Marquez, Sarath Sreedharan, Subbarao Kambhampati

Intrigued by the claims of emergent reasoning capabilities in LLMs trained on general web corpora, in this paper, we set out to investigate their planning capabilities. We aim to evaluate (1) the effectiveness of LLMs in…