atlas

Research map / Large language models / Reasoning and chain of thought

Verifiers in the Loop: Decoding Time Verification for Code Translation

NeurIPS 2026 · Large language models › Reasoning and chain of thought · approach: Test-time compute scaling

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Decoding Time Verification (DTV), a state-machine controller that interleaves code generation with deterministic compiler/type-checker oracles at structural boundaries, with rollback, escalation, and feedback, evaluated on C-to-Rust and JS-to-TS translation.

Problem

Outcome-only verification of LLM code translation applies compilers/tests only after full generation, so early errors corrupt the autoregressive context and are rarely fixed; learned process reward models are costly and brittle.

Approach

Treat structural boundaries (statements, blocks, functions, programs) as meta steps where deterministic verifiers are invoked on rendered prefixes; commit only unanimously passing prefixes, roll back to the smallest scope with diagnostic-augmented prompts, and escalate scope on repeated failures.

Key results

Surprising findings

Limitations

Experimental setup

Datasets: Project CodeNet TypeWeaver

Benchmarks: CodeNet-derived C-to-Rust set (300 cases) TypeWeaver-derived JS-to-TS set (150 cases)

Metrics: compile pass rate functional success rate via differential testing average tokens per case wall-clock time

Baselines: naive/one-shot naive/self-refine best-of-N S* DTV-no-feedback DTV-no-escalation DTV-detect-and-abort

Builds on: self-refinement S* ROCODE EG-CFG VerMCTS

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy