Chiosa
Computer Vision

Code-writing agents outscore video models on structured visual tasks

Solve Vision with Code: Coding Agents Are Stronger Visual Reasoners Than Video Models · arXiv:2611.34813

3 min
Updated
Coding agents as visual reasoners. Given the same first frame and prompt, a video generation model denoises the answer video directly, whereas a coding agent writes and executes a program that…
Coding agents as visual reasoners. Given the same first frame and prompt, a video generation model denoises the answer video directly, whereas a coding agent writes and executes a program that renders it. Both outputs share one video format and are scored by the same unmodified…Figure 1 · Solve Vision with Code: Coding Agents Are Stronger Visual Reasoners Than Video Models · Dezhi Luo et al. · CC BY 4.0

In plain words

This paper compares two ways to answer visual tasks with a video: a coding agent writes a program to make the video, while a video model makes it directly.

On a set of computer-generated tasks, all three coding agents scored higher than the strongest video model under the task’s answer-checking system.

Both approaches got the same starting image and instruction. The result applies to these structured scenes; the agents could use tools and work for up to 30 minutes, while video models produced one sample.

The research

A video that looks convincing may still fail to carry out a visual task. For structured tasks with exact answers, this comparison suggests that writing a small program can be a more dependable route than asking a video model to produce the answer directly; whether that expectation fits ordinary footage remains open.

The paper compares program-writing agents with direct video generation to test which route better solves structured visual tasks.

Both routes received the same first frame and prompt and produced videos judged by VBVR-Pro-Bench’s official evaluator, which compares them with symbolic answers.

Across the 500 tasks, the closed-model coding agents had higher mean scores than the strongest video model, including one trained using the evaluator as a reward.

This supports a bounded conclusion: writing and running code was more reliable on this structured test. It does not show that video generation is inherently less capable.

The scenes are procedurally generated, with flat colors, exact geometry and deterministic scoring. Coding agents could use tools and iterate for up to 30 minutes, while video models produced one sample; the video-model scores came from a published leaderboard, not runs in this study. Real-world footage remains untested.

What the evidence shows

  • What the comparison measures

    This paper’s controlled comparison asks which route better solves tasks where a system must make a video showing an action described by a first image and prompt. VBVR-Pro-Bench tests that behavior on 500 computer-generated tasks.

    Its evaluator compares each video with a symbolic answer and gives a score from 0 to 1. The study holds the input, video format and evaluator constant across coding agents and video models.

  • Coding agents scored higher

    Because each score averages the evaluator’s results across 500 tasks, the comparison shows coding agents led the strongest video model on this structured test; Codex averaged 0.923 versus 0.670. These averages do not describe every task, and the video-model score came from the published leaderboard rather than a rerun. Coding agents had tools and up to 30 minutes, while video models produced one sample.

  • An open-weight comparison

    This extends the observed pattern beyond the closed-model agents: GLM-5, the best open-weight agent, outscored all video models except the strongest one. The exception means the open-weight result does not show a lead over every video model.

    The open-weight agents used the same task statement, sandbox and time limit as the closed agents; video-model scores came from the published leaderboard, not reruns.

  • Programs used different strategies

    A separate test examined what successful programs did when given a different image from the same task family. Some programs followed the new input; others simply rendered the answer fixed for the original instance.

    The share that followed the new input was higher in perception and transformation tasks than in abstraction and knowledge tasks. This pattern suggests different task demands shape program strategies, but the researchers report that strategy type did not predict system performance.

Deep

Next paperMedical video training aligns answers with evidence