Pith. sign in

REVIEW 3 cited by

VerMCTS: Synthesizing Multi-Step Programs using a Verifier, a Large Language Model, and Tree Search

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2402.08147 v2 pith:VLHPFYFZ submitted 2024-02-13 cs.SE cs.AIcs.LGcs.LOcs.PL

classification cs.SEcs.AIcs.LGcs.LOcs.PL
keywords vermctscodelanguagepassprogramssearchverifierapproach
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Large Language Models (LLMs) can generate useful code, but often the code they generate cannot be trusted to be sound. In this paper, we present VerMCTS, an approach to begin to resolve this issue by generating verified programs in Dafny and Coq. VerMCTS uses a logical verifier in concert with an LLM to guide a modified Monte Carlo Tree Search (MCTS). This approach leverages the verifier to gain intermediate feedback inside the search algorithm by checking partial programs at each step to estimate an upper bound on the value function. To measure the performance of VerMCTS, we develop a new suite of multi-step verified programming problems in Dafny and Coq. In terms of pass@T, a new metric which computes the pass rate given a budget of T tokens sampled from the LLM, VerMCTS leads to more than a 30% absolute increase in average pass@5000 across the suite over repeated sampling from the base language model. Our code and benchmarks are available at https://github.com/namin/llm-verified-with-monte-carlo-tree-search .

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 3 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Do AI models help produce verified bug fixes?

    cs.SE 2025-07 conditional novelty 6.0 of 10

    Programmers with LLM access solved fewer formally verified debugging tasks than a no-AI control group, though complete novices and strong language experts gained some benefit.

  2. Natural-Language to SysMLv2 Translation via Conformance-Driven Iterative Refinement

    cs.SE 2026-07 conditional novelty 5.0 of 10

    Wrapping LLM generation in a loop that repairs until a production SysMLv2 checker reports zero errors lifts benchmark conformance from 51.16% single-shot to 100%, in at most 8 attempts per case.

  3. EduFlow: Advancing MLLMs' Problem-Solving Proficiency through Multi-Stage, Multi-Perspective Critique

    cs.AI 2025-07 conditional novelty 5.0 of 10

    A multi-stage framework (data filtering, MCTS-guided trajectory construction, PRM-based reranking) improves Qwen MLLMs' accuracy on K-12 multimodal science benchmarks.

Pith tools