Four Tokens to Find Waldo:
Steering Deterministic Visual Search in Frozen VLMs

1Google 2Johns Hopkins University
*Equal contribution.  ·  †This work was done during Feng Wang’s internship at Google.
Crowded 2048x834 Where is Waldo beach scene

Can you find Waldo here?

0.0s Our Model: 2.8s

Abstract

To tackle fine-grained visual reasoning, such as the classic “Where is Waldo?”, recent Vision-Language Models (VLMs) adopt active visual search, which dynamically examines images in a multi-turn paradigm. Existing methods execute the search as a sequential chain of crop-and-zoom actions and reasoning across turns, resulting in an open-ended trajectory that requires costly full-backbone reinforcement learning (RL) and incurs high latency. In fact, modern VLMs can already reason over the global scene and locate regions of interest in a single turn, allowing them to be analyzed independently for fine local details rather than through step-by-step exploration. Building on this insight, we collapse open-ended search into a deterministic three-turn trajectory: the VLM first proposes a search policy and all candidate crops from the global view, next inspects each zoomed-in patch in parallel to produce local findings, and then aggregates them into a final answer. Fully leveraging the VLM’s own capabilities, we can steer this search simply by learning as few as four prefix tokens via supervised fine-tuning while keeping the model completely frozen. Across five challenging fine-grained benchmarks, our method consistently outperforms both multi-turn RL methods and frontier proprietary models, surpassing Claude Opus 4.8 by 15.3% on WaldoBench and boosting Gemini 3.1 Pro by up to 50.4% when transferring proposed crops as a plug-and-play visual front-end.

Method

Modern VLMs already possess holistic scene understanding, Python code generation, and local perception. Four continuous prefix tokens S ∈ ℝ4×D coordinate these capabilities across three deterministic turns with full KV-cache reuse.

Framework Overview
Token Blocks: Learnable Prefix S User Input (Turn 1) Reused KV-Cache Turn Prompt VLM Decoded Output
1. Turn 1 (Propose) User provides (I0, q) once; input + output cached as KV1
Input: [s1][s2][s3][s4] ⊕ <image> V0 </image> What is written on the tag of the red backpack?
Output: Rationale: Two red bags sit near the bench (lower left and lower right), and their tags are too small to read in the global view. In Turn 2, inspect both zoomed crops to identify the backpack and transcribe its tag. In Turn 3, report the text from the confirmed backpack. <code>crops = [crop(img, box=[184,512,276,635], z=4.0), crop(img, box=[640,488,735,610], z=4.0)]</code><eos>
Python Execution → V(1) V(2) Exec(C, I0) extracts zoomed patches from native image I0
2. Turn 2 (Inspect: P = 2 Parallel Batch Branches) Each branch reuses KV1 and caches its crop + finding as KV2(p)
Branch 1: KV1Blue tip: Learnable Prefix S stays anchored at the front of the Turn-1 KV-cache. ⊕ Crop 1: <image> V(1) </image> → Finding 1: Red tote bag with no luggage tag.<eos>
Branch 2: KV1Blue tip: Learnable Prefix S stays anchored at the front of the Turn-1 KV-cache. ⊕ Crop 2: <image> V(2) </image> → Finding 2: Red backpack; white tag reads "ALPINE".<eos>
3. Turn 3 (Aggregate) Concatenate KV1 with [KV2(1), KV2(2)] and append Turn Prompt
Input: KV1Blue tip: Learnable Prefix S stays anchored at the front of the Turn-1 KV-cache. ⊕ KV2(1) ⊕ KV2(2) ⊕ Final answer:
Output: Crop 1 has no tag; the backpack in crop 2 reads "ALPINE". <answer>ALPINE</answer><eos>

Policy Steering via Four Learnable Prefix Tokens

Modern VLMs already possess the capabilities needed for our three-turn search — task decomposition, code generation, and visual reasoning — from pre-training. Keeping all backbone weights frozen, we prepend four learnable continuous prefix tokens (20.5 KB) to the Turn-1 input (shared across Turns 1–3 via the KV-cache) to coordinate Propose, Inspect, and Aggregate. With the three-turn factorization fixed across all examples, supervised fine-tuning (SFT) provides dense token-level supervision at every turn in a single reference trajectory, avoiding online multi-turn RL rollouts and sparse credit assignment while preserving the frozen backbone’s capabilities using only 1,400 curated trajectories (expanded from 140 human seeds).

Training Data Size Comparison
SEAL2024 SFT
387K
Pixel-Reasoner (7B)2025 SFT + RL
23K
DeepEyes (7B)2026 RL
47K
DeepEyesV2 (7B)2026 SFT + RL
147K
Qwen2.5-VL (Latent)2026 SFT + RL
477K
CodeV (7B)2026 SFT + RL
391K
Ours (4 Prefix Tokens) SFT
1.4K

Recent full-backbone visual search agents increasingly scale up SFT + RL training data to chase higher accuracy (e.g., Pixel-Reasoner 23K → DeepEyes 47K → DeepEyesV2 147K → CodeV 391K) and mix general instruction sets (LLaVA-Instruct, ArXivQA) to avoid forgetting. Freezing 100% of the VLM breaks this scaling trend — requiring only 1.4K trajectories total across all five benchmarks (0.6K for V* Bench & HR-Bench).

Examples

One prefix-steered frozen VLM dynamically adapts its Turn-1 search code, Turn-2 parallel patch inspection, and Turn-3 aggregation across diverse fine-grained regimes. Click any thumbnail below to watch its 3-turn execution.

Results

Trained once on 1,400 trajectories across five tasks (zero RL), our frozen backbones surpass full-backbone SFT+RL search agents and frontier proprietary models in both accuracy and speed. Click any benchmark card to inspect full comparisons.

Plug-and-Play Transfer

While the four prefix vectors are tied to one backbone’s embedding space, the Turn-1 search policy (rationale and Python crop code) is model-agnostic — acting as a zero-shot visual front-end for any unmodified VLM.

1. Our Frozen 4B (Turn 1) Outputs Rationale & Candidate Crops
→
2. Any Off-the-Shelf VLM Qwen2.5-VL-7B · Gemma-4-26B · Gemini 3.1 Pro
→
3. Converges to ~65% on Hard +50.4% to +54.6% Zero-Shot Gain
Gemma-4-4B† (Hard)
9.9% → 64.5% +54.6%
Gemma-4-26B (Hard)
10.1% → 64.0% +53.9%
Qwen2.5-VL-7B (Hard)
9.9% → 63.8% +53.9%
Gemini 3.1 Pro (Hard)
15.8% → 66.2% +50.4%
† Source model on which the four prefix tokens are trained.
Once guided zero-shot by our 4B Turn-1 crops, all four models — from 4B open-weight to frontier Gemini 3.1 Pro — converge to nearly identical accuracy (~96.8% Easy, ~72.2% Medium, ~64.6% Hard), showing that effective search policy rather than backbone scale is the primary bottleneck.

BibTeX

@article{wang2026fourtokens,
  title   = {Four Tokens to Find Waldo: Steering Deterministic Visual Search in Frozen VLMs},
  author  = {Wang, Feng and Liu, Yaojie and Hayder, Zeeshan and Phan, Vu Minh Hieu and Yuille, Alan and Chu, Wen-Sheng},
  journal = {arXiv preprint arXiv:2611.35551},
  year    = {2026},
  url     = {https://arxiv.org/abs/2611.35551}
}