Skip to content
AI-generated research idea🟡Fairly easy💡Moderate InnovationRelated work found

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

several weeks

Compute level

Multiple GPUs

Resources

Multi-GPU machine to run best-of-N sampling for open video models like Wan2.2-14B, API access to closed coding agents, and VBVR-Pro-Bench

What the paper used

CPU-only Python sandbox with 30-minute wall-clock limit per instance; 500 instances evaluated via closed-model APIs (Codex, Claude Code, Gemini CLI) and 23 open-weight models via Amazon Bedrock; video model baselines taken from published leaderboard without rerunning.

Prerequisites

test-time compute scaling, agent evaluation, video generation inference

Scope

modify existing code

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.”
From the paper, Section 4, page 10. Matched against the PDF text.

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.

  1. 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.
  2. 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.
  3. 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.
  4. 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?

Related work found

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.

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 Models

Dezhi 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

Is this a good idea?

Share onXLinkedIn