TL;DR
Evaluating generative video models on abstract sketches significantly underestimates their true visual reasoning capabilities due to an inherent "realism bias." This paper introduces Visual Prompt Engineering (VIPE), a method that automatically transforms abstract task images into photorealistic scenes using image editing models. VIPE consistently boosts video reasoning performance across multiple benchmarks, proving more effective and cost-efficient than traditional text prompt engineering or standard test-time scaling.
What Problem Does This Paper Address?
Generative video models (such as Google's Veo or Wan2.2) are increasingly utilized as foundation models for complex visual reasoning tasks, including physics simulations, maze solving, and logic puzzles. Typically, a model is given an initial frame depicting a problem and a text prompt describing the task, and it must generate a video showing the correct solution.
However, standard benchmarks often present these problems as abstract 2D sketches or synthetic diagrams. While text prompt engineering has been extensively studied to optimize language models, the visual inputs to video models have largely been treated as fixed. The authors identify a critical bottleneck: video models suffer from a severe "realism bias." When forced to reason over abstract sketches, these models struggle to maintain temporal consistency—objects frequently morph, duplicate, or vanish into thin air, which completely invalidates the underlying logic of the task.
Methods
To bridge this representation gap, the authors propose Visual Prompt Engineering (VIPE). Instead of directly feeding an abstract image into a video model, VIPE automatically modifies the task image to make it photorealistic while strictly preserving the core logic, spatial layout, and element count of the original problem.
The VIPE pipeline consists of three main steps:
- Ideator: A vision-language model (VLM) or human describes a visual edit in natural language (e.g., instructing the model to replace a sketch line with a wooden shelf and a white circle with a red billiard ball).
- Editor: An image editing model (e.g., Nano Banana Pro) generates candidate variants based on these instructions.
- Filter (Optional): A VLM scores the generated candidates and selects the highest-quality, most faithful variant to pass to the video model.
The authors explored two ways to automate this pipeline:
- Freeform Ideation: An open-loop approach where a VLM freely proposes diverse creative domain shifts (e.g., turning a number-sorting task into a pool of floating numbers or neon signs).
- Atomic Concept Editing (ACE): A structured, closed-loop approach that mutates single visual concepts step-by-step (e.g., isolating high-contrast backgrounds, adding subtle 3D properties) based on direct feedback from an automated rater.
Datasets
The authors evaluated VIPE across six distinct visual reasoning benchmarks:
- VPCT (Visual Physics Comprehension Test): A ball-and-ramp physics simulation task where the model must predict which bucket a ball will land in.
- Maze: Solving square grid mazes of varying complexities ($5\times5$, $7\times7$, $9\times9$, and irregular paths).
- RushHour: A sliding-block puzzle requiring the model to move obstacle cars to free a path for a target vehicle.
- Connect the Dots: Drawing lines to link pairs of same-colored circles.
- Sort 3 Numbers: Sequentially popping or manipulating three double-digit numbers in ascending order.
- Conjunctive Search: Identifying target objects matching specific criteria in a cluttered scene.
Key Insights and Ideas
- The Root of Realism Bias: Video models are predominantly trained on real-world video datasets. Abstract sketches are highly out-of-distribution, causing the models' physics and consistency priors to break down. Photorealism acts as an anchor for temporal consistency; when a scene looks real, the model naturally enforces object permanence.
- 3D Structure Alone is Insufficient: To determine whether the performance gains came from 3D depth or photorealism, the authors performed an "unnatural textures" ablation study. They generated variants with 3D depth but completely unrealistic, checkered textures. Performance dropped back to baseline levels, proving that visual realism, not just 3D dimensionality, drives the improvement.
- Video Models vs. Image Models: Surprisingly, native image generation models do not benefit from VIPE. Because image models are trained on highly diverse artistic styles (including sketches and clip art), they can reason over abstract inputs perfectly well. The representation gap between abstract and realistic inputs is uniquely problematic for current video models.
Key Results
- Substantial Accuracy Boosts: On the VPCT physics task, Veo 3.1’s baseline accuracy jumped from 41.3% to 59.3% simply by switching from sketches to VIPE-engineered photorealistic prompts. Omni Flash saw an improvement from 56.3% to 67.5%.
- Massive Error Reduction: Automated VIPE achieved significant error reductions across all six tasks, including a 100% error reduction on the Sort 3 Numbers task when optimized via structured ACE mutations.
- Superior Test-Time Scaling: Traditional test-time scaling involves generating multiple video attempts and using majority voting (self-consistency). The authors demonstrated that a single video generated from a VIPE-optimized visual prompt outperforms 20 parallel video samples generated from a baseline sketch prompt. Furthermore, because image editing is computationally cheap compared to video generation (~1/8th of the cost), allocating a test-time budget to exploring VIPE variants is far more cost-effective than generating more video attempts on a bad prompt.
Limitations and Future Work
- Dependency on Image Editors: VIPE is strictly bounded by the capabilities of the underlying image editing model. If the editor introduces visual artifacts, alters the spatial layout, or misinterprets the task logic, it can make the problem impossible for the downstream video model to solve.
- Cost and Latency Overhead: While cheaper than video generation, running an automated ideation-editing-filtering loop adds API cost and sequential latency to the inference pipeline.
- Future Outlook: As frontier video models evolve to accept richer multimodal contexts, the authors suggest that visual prompt engineering will expand beyond editing a single initial frame to optimizing multiple reference images, interleaved text-image instructions, or even video-to-video prompt transformations.
Summary updated