AIAny
Icon for item

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

Compares coding agents with video models on visual reasoning tasks. On a 500-instance benchmark, the top coding agent scores 0.923, substantially outperforming the strongest video model.

Introduction

When a visual task has a deterministic answer, generating every frame may be a harder route than computing the answer and rendering it. This study tests that counterintuitive idea by giving coding agents and video models the same first frame and prompt, then scoring both outputs with the same evaluator.

Key Findings
  • The top three closed-model coding agents score 0.923, 0.894, and 0.893 on 500 instances, each more than 0.22 above the strongest video model.
  • The best of 23 runnable open-weight models, GLM-5, scores 0.572—higher than every video model except the reinforcement-learning-trained leader.
  • The benchmark’s clean, code-generated scenes and symbolic ground truth make programmatic image analysis and editing especially effective. The results therefore show an advantage on this task setup, not a general proof that code is better at visual reasoning.
Method and Trade-offs

Each agent gets one attempt in a CPU sandbox, with up to 30 minutes to write a program that renders the answer video. Agents cannot use image or video generation models or access ground truth; the benchmark’s rule-based evaluator is unchanged. This makes the comparison controlled in inputs and scoring, but not in resources: agents can use tools and iterate, while video models produce a single sample.

Who Should Read It

A useful read for researchers comparing symbolic and generative approaches to visual reasoning, especially on tasks with computable answers. Look elsewhere for evidence about messy real-world footage: textures, occlusion, lighting variation, and tasks without symbolic ground truth may weaken the advantage seen here.

Information

  • Websitearxiv.org
  • OrganizationsUniversity College London, Nanyang Technological University, University of Southern California, University of California, San Diego, Carnegie Mellon University, Johns Hopkins University, Chinese University of Hong Kong, University of California, Berkeley
  • AuthorsDezhi Luo, Fengyuan Yu, Haotian Zhang, Zehong Zhao, Ran Ji, Siyuan An, Huayi Qin, Qingying Gao, Zhongang Cai, Lei Yang …
  • Published date2026/11/25

More Items

Trains a vision-language model to gather visual evidence, combine tool outputs, and revise decisions using execution feedback. Supervised fine-tuning and agentic reinforcement learning help it transfer to embodied tasks without simulator rollouts during post-training.

Evaluates how accurately and quickly GUI agents locate interface targets against expert completion times. Across 9,160 tasks, it finds the largest agent–human gaps in complex, time-sensitive scenarios.

Plans real-city events from natural-language requests and geospatial data, then generates video from street or aerial viewpoints. Edited reference images define the event’s extent and stages before the world model synthesizes its dynamics.