mlsanityData to 14 Oct 2026

Verifier-Guided Code Translation via Meta-Step Decoding

arXiv 2605.17626 ↗First posted 17 May 2026cs.LG cs.SEcited by 2

On the map: LLM reasoning → Reasoning for agents, planning and code

Abstract (arXiv)

Test-time scaling is an important mechanism for improving large language models, especially on tasks with deterministic verifiers. Code translation is a canonical example: the source program constrains valid outputs, while compilers, type checkers, and behavioral checks provide exact pass/fail feedback. Outcome-only approaches apply these verifiers only after generation, which is inefficient because early errors corrupt the autoregressive context and are rarely corrected later. We introduce Decoding Time Verification (DTV), a framework that treats structural boundaries as meta steps for verifier-guided decoding. DTV interleaves generation with verifier calls under a state-machine controller that commits verified prefixes, using structural-boundary checks and structure-aware rollback to prevent error propagation while reducing wasted tokens. We evaluate DTV on C-to-Rust and JavaScript-to-TypeScript translation. Using Qwen3-4B as the primary generator under matched token budgets, DTV improves pass rates from 72.3% to 82.0% on C-to-Rust and from 33.3% to 46.0% on JavaScript-to-TypeScript relative to matched self-refinement baselines, while using fewer tokens per case; the same trend largely transfers to Gemma-4-E4B and Qwen3-30B-A3B. In the evaluated cost-matched grid, DTV achieves a more favorable tradeoff between pass rate and generated-token cost than post-hoc verification or sampling-based scaling. These results show that verifier-guided decoding is an effective use of inference-time compute for code translation.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 34 of its 41 references that are in the map. First posted on arXiv 17 May 2026.

Builds on

34 of 41 references.

Closest ancestors · 6

Same direction, newest first

  1. 2026Probabilistic Programs of Thought19 Apr
  2. 2025S*: Test Time Scaling for Code Generation20 Feb
  3. 2024VerMCTS: Synthesizing Multi-Step Programs using a Verifier, a Large Language Model, and Tree Search13 Feb
  4. 2023Teaching Large Language Models to Self-Debug11 Apr
  5. 2023LEVER: Learning to Verify Language-to-Code Generation with Execution16 Feb
  6. 2022Competition-Level Code Generation with AlphaCode8 Feb

Other references · 28

  1. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  2. 2023Let's Verify Step by Stepcited by 3,789
  3. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,211
  4. 2025s1: Simple test-time scalingcited by 1,341
  5. 2024Large Language Monkeys: Scaling Inference Compute with Repeated Samplingcited by 991
  6. 2023Math-Shepherd: Verify and Reinforce LLMs Step-by-step without Human Annotationscited by 928
  7. 2022Solving math word problems with process- and outcome-based feedbackcited by 901
  8. 2024Improve Mathematical Reasoning in Language Models by Automated Process Supervisioncited by 441
  9. 2021PICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Modelscited by 411
  10. 2022CodeT: Code Generation with Generated Testscited by 384
  11. 2021CodeNet: A Large-Scale AI for Code Dataset for Learning a Diversity of Coding Taskscited by 200
  12. 2023Efficient Guided Generation for Large Language Modelscited by 200
16 more
  1. 2023Grammar-Constrained Decoding for Structured NLP Tasks without Finetuningcited by 197
  2. 2022Synchromesh: Reliable code generation from pre-trained language modelscited by 156
  3. 2025Process Reward Models That Thinkcited by 118
  4. 2022Prompting Is Programming: A Query Language for Large Language Modelscited by 110
  5. 2022Why Exposure Bias Matters: An Imitation Learning Perspective of Error Accumulation in Language Generationcited by 108
  6. 2023Copiloting the Copilots: Fusing Large Language Models with Completion Engines for Automated Program Repaircited by 55
  7. 2024Calibration and Correctness of Language Models for Codecited by 49
  8. 2025A Survey of Test-Time Compute: From Intuitive Inference to Deliberate Reasoningcited by 40
  9. 2025CRANE: Reasoning with constrained LLM generationcited by 38
  10. 2024AlphaVerus: Bootstrapping Formally Verified Code Generation through Self-Improving Translation and Treefinementcited by 35
  11. 2025Type-Constrained Code Generation with Language Modelscited by 35
  12. 2025Execution Guided Line-by-Line Code Generationcited by 10
  13. 2025SACTOR: LLM-Driven Correct and Idiomatic C to Rust Translation with Static Analysis and FFI-Based Verificationcited by 9
  14. 2026Reinforced Agent: Inference-Time Feedback for Tool-Calling Agentscited by 7
  15. 2023Do Machine Learning Models Produce TypeScript Types That Type Check?cited by 6
  16. 2025TreeCoder: Systematic Exploration and Optimisation of Decoding and Constraints for LLM Code Generationcited by 5

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Trust but Verify! A Survey on Verification Design for Test-time Scaling
  2. 2024SpecTra: Enhancing the Code Translation Ability of Language Models by Generating Multi-Modal Specifications
  3. 2026Reducing the Costs of Proof Synthesis on Rust Systems by Scaling Up a Seed Training Set
  4. 2025DecoRTL: A Run-time Decoding Framework for RTL Code Generation with LLMs
  5. 2025Speculative Decoding for Verilog: Speed and Quality, All in One
  6. 2026Fine-Tuning Qwen3-27B for C-to-Rust Code Translation: A Three-Stage Curriculum of Pretraining, Debugging-Aware SFT, and Task-Specific SFT
  7. 2026Consistency Meets Verification: Enhancing Test Generation Quality in Large Language Models Without Ground-Truth Solutions
  8. 2024AutoVCoder: A Systematic Framework for Automated Verilog Code Generation using LLMs