Compute- and Latency-Normalized Evaluation with Adaptive Verification for Visual Coding Agents
Benchmark code-writing agents against video generators under equalized compute, latency, and sampling budgets to isolate algorithmic reasoning gains from iteration time.
Time
Compute level
Resources
What the paper used
Prerequisites
Scope
The Gap
In the experimental setup, coding agents are granted a CPU sandbox, arbitrary tool calls, and up to 30 minutes of wall-clock iteration per instance, with Gemini CLI averaging 218s and 659k input tokens versus Codex's 22s and 57k tokens, whereas video model scores reflect single-sample generation.
“The comparison is also asymmetric: the agents use tools, a sandbox and up to 30 minutes of iteration, whereas the video models produce a single sample, and agent cost varies by more than an order of magnitude across models.”
Limitation
The large asymmetry in test-time compute, latency, and cost across both paradigms and among agents makes it unclear how much of the coding agents' lead comes from iterative self-debugging versus explicit symbolic representation.
Proposed Solution
Construct a budget-matched evaluation harness comparing coding agents under strict wall-clock/cost caps (e.g., 10s, 30s, 60s, and single-turn no-execution code generation) against test-time scaled video generation (e.g., best-of-N sampling or iterative refinement with a verifier), and introduce a confidence-gated self-verification policy that triggers expensive output-check loops only on ambiguous or multi-step instances.
Why This Matters
Equalizing test-time budgets would provide a rigorous apples-to-apples comparison of native visual reasoning versus program synthesis and reduce closed-agent inference costs by limiting redundant probing and verification.
How to Get Started
How to test it: Test how the score gap between coding agents and Wan2.2-I2V-A14B changes when matched at equal dollar/FLOP cost and latency (<30s), measuring VBVR-Pro-Bench score versus wall-clock latency Pareto frontiers; stop if single-pass coding agents drop below best-of-N video models at matched latency.
- Reproduce the published VBVR-Pro-Wan2.2-I2V-A14B (RL) baseline locally and measure per-sample wall-clock latency and GPU cost on VBVR-Pro-Bench.
- Run Codex CLI, Claude Code, and Gemini CLI under tiered wall-clock caps (e.g., 15s, 30s, 60s) and a single-shot code-only ablation with no iterative debugging.
- Evaluate best-of-N sampling (N=4, 8, 16) for Wan2.2-I2V-A14B scored by a lightweight VLM or self-consistency selector to match the 22s-218s agent latency window.
- Plot score-versus-cost and score-versus-latency Pareto curves across all five cognitive categories.
Suggested by AI. Adapt it to your setup.
Has This Been Done?
Scaling Test-Time Compute for Agentic Coding and Multimodal Reinforcement Learning with Adaptive Verifier for AI Agents discuss test-time scaling and adaptive verification loops for agents. They do not evaluate budget-matched execution caps comparing coding agents against test-time scaled video generation with a confidence-gated self-verification policy.
- Scaling Test-Time Compute for Agentic Coding · 2026 · 26 citations
- Multimodal Reinforcement Learning with Adaptive Verifier for AI Agents · 2025 · 8 citations
We searched OpenAlex and arXiv for “test-time compute scaling video generation vs coding agents” and “Compute- and Latency-Normalized Evaluation with Adaptive Verification for Visual Coding Agents” and an AI compared the idea with the top 10 results. A small search can miss relevant work.
Source Paper
Solve Vision with Code: Coding Agents Are Stronger Visual Reasoners Than Video ModelsDezhi Luo, Fengyuan Yu, Haotian Zhang +11 more · 2026
This paper evaluates whether off-the-shelf coding agents outperform native video generation models on visual reasoning tasks when evaluated under identical inputs, output video format, and an unmodified deterministic evaluator on VBVR-Pro-Bench. By writing Python programs that render answer videos in a CPU sandbox, three closed-model coding agents achieve scores of 0.893 to 0.923, surpassing the best RL-trained video model (0.670) by over 0.22, while the strongest open-weight model (GLM-5) reaches 0.572.
Related Ideas
- Compiling Stochastic Agent Skills into Deterministic Unit-Tested Sub-ProgramsThe Resolution Hypothesis: Agent Evolution's Key Is Identifying Improvements🔴Hard
- Real-Time Asynchronous Gameplay Evaluation and Latency-Compensated Action ChunkingGame2Player: Scaling Gameplay Experience for Visual Agents through Environment-Player Co-Development🔴Hard
- Execution-Time and Hardware-Cost-Aware Scoring Beyond Token Budgets in Agentic Kernel OptimizationAscendGYM: A Cost-Aware Kernel Optimization Benchmark for Real-World Workloads on Ascend NPUs🟡Fairly easy
- Extending Verifiable Evaluation to Real-World Structured, Multi-Turn, and Multimodal WorkflowsInstruction-Following Evaluation for Large Language Models🟠Medium
- Lightweight Perception Distillation and Hierarchical Agent Caching for Budget-Efficient Dexterous Program SynthesisPyRUA-Dex: Learning Programmatic Policies for Dexterous Bimanual Manipulation with Coding Agents🟠Medium