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

Feng Wang, Yaojie Liu, Zeeshan Hayder, Vu Minh Hieu Phan, Alan Yuille, Wen-Sheng ChuarXiv 2026

TL;DR

Ask a top-tier Vision-Language Model (VLM) to find Waldo in a crowded beach scene, and it will likely fail—either squinting at a blurry downsampled image or wandering aimlessly through slow, trial-and-error zooms. This paper shows that modern VLMs already know how to search; they just need a tiny nudge. By training a mere four continuous prefix tokens (20.5 KB of parameters!) on a completely frozen model, the authors steer VLMs into a fast, parallelized three-step search that handily beats heavyweight proprietary models and Reinforcement Learning (RL) agents alike.

Figure 1. Where is Waldo? A demonstration of the fine-grained visual reasoning bottleneck in modern VLMs. When searching crowded scenes, standard models lose fine details during downsampling, while open-ended multi-turn methods like DeepEyes still miss the target. By learning just four prefix tokens to steer a frozen VLM through a deterministic three-turn search, our method accurately localizes Waldo (image resolution: 2048 × 834 pixels; best viewed under magnification).

What Problem Does This Paper Address?

When you feed a high-resolution 4K image into a standard VLM, the vision encoder squashes it down to fit a fixed token budget. Fine details evaporate—tiny objects blur into the background, and densely packed items merge together.

To fix this, recent research introduced active visual search, letting models zoom in on image crops across multiple turns. However, existing methods treat visual search like a sequential game of 20 Questions: look at one crop, think, pick the next crop, repeat. Because the path length varies wildly per image, this open-ended loop is painfully slow at inference time and requires expensive, full-model Reinforcement Learning to train.

Comparison of slow open-ended sequential search versus the authors' deterministic three-turn parallel search.

Methods

The authors observe that a single global glance is already enough for a modern VLM to grasp scene layout and plan all the places worth checking. You don't need sequential exploration; you can divide and conquer.

They collapse open-ended search into a deterministic three-turn trajectory (Propose, Inspect, Aggregate):

  1. Turn 1 (Propose): Looking at the global image, the VLM writes a search rationale and executable Python code specifying bounding boxes and zoom scales for all $P$ candidate regions at once (either targeted boxes or programmatic grids for counting).
  2. Turn 2 (Inspect): Python crops the high-res native image. Instead of feeding all crops into one giant prompt, the VLM inspects all $P$ patches in parallel as an independent batch, preventing cross-patch attention interference while reusing Turn 1's cached memory (KV-cache).
  3. Turn 3 (Aggregate): The model gathers its parallel local findings (and cached states) to filter out distractors, deduplicate objects sitting on crop seams, and deliver a final answer.

What's new in training? Instead of fine-tuning billions of weights with RL, the authors freeze the entire VLM. Because the model already knows how to code, ground objects, and reason, they simply prepend four learnable continuous vectors ("prefix tokens") to the input. Trained via standard Supervised Fine-Tuning (SFT), these four tokens sit at the front of the KV-cache across all three turns, acting as persistent attention biases that switch the VLM from "single-pass guesser" to "three-turn detective."

Overview of the three-turn visual search framework steered by four trainable prefix tokens.

Datasets

The authors optimize their prefix tokens on a curated offline dataset of reference three-turn trajectories (detailed in the paper's appendix) and evaluate across five existing fine-grained benchmarks (no new benchmarks are introduced):

  • WaldoBench: Finding a tiny target ($\le 0.1\%$ image area) in extreme clutter.
  • $V^*$ Bench: Attribute recognition and spatial reasoning on small objects.
  • UNICBench: Counting objects across Easy, Medium, and dense Hard crowds.
  • HR-Bench (4K & 8K): Ultra-high-resolution single- and cross-instance perception.
  • VDiff-Bench-Gen: Spotting subtle differences across pairs of high-res images.

Key Insights and Ideas

  • Text prompting isn't enough—and actually hurts: Trying to force a frozen VLM through this three-turn workflow using text instructions alone causes accuracy to collapse (dropping from 76.6% to 32.1% on $V^*$ Bench). Discrete text tokens are too weak to override the model's single-turn habits, whereas continuous prefix tokens smoothly steer internal attention heads.
  • Just one token flips the switch; four tokens nail it: Going from $K=0$ to $K=1$ prefix token captures the vast majority of the performance jump (e.g., leaping from 10.1% to 48.7% on Hard counting). Expanding to $K=4$ (~10.2K parameters) gives the model enough directional capacity in self-attention to saturate performance.
  • The bottleneck is the search policy, not model size: When the authors take the Turn-1 crops generated by their tiny steered 4B model and feed them zero-shot into unmodified models—from 4B up to frontier Gemini 3.1 Pro—all four models converge to virtually identical counting accuracy (~64.6% on Hard). Frontier models don't have bad eyesight; they just didn't know where to look.
Counting 485 cars by programmatically tiling the scene, inspecting tiles in parallel, and deduplicating cars on the seams.

Key Results

  • Finding Waldo: On WaldoBench, open-weight Gemma-4-26B goes from 0.0% to 53.0%, beating Claude Opus 4.8 (37.7%) by +15.3%.
  • Dense Counting: On UNICBench (Hard), steered Gemma-4-26B jumps from 10.1% to 65.5%, outperforming Gemini 3.1 Pro (15.8%) by +49.7%. Used as a plug-and-play crop front-end, the 4B model boosts Gemini 3.1 Pro by +50.4%.
  • High-Res & Differences: Steered Gemma-4-4B hits 92.0% on $V^*$ Bench and 82.1% / 79.4% on HR-Bench 4K / 8K, beating 7B RL-trained models like DeepEyesV2. On VDiff-Bench-Gen, Gemma-4-26B reaches 65.9 Micro-F1, topping Gemini 3.5 Flash (46.8).
  • Speed & Efficiency: On HR-Bench 4K, it runs in 2.8s—3.6$\times$ faster than tree-search ZoomEye (10.2s) and 1.8$\times$ faster than RL-based DeepEyes (5.1s), while using 34% fewer visual tokens.

Limitations and Future Work

While the paper lacks a dedicated "Limitations" section, the authors note two concrete boundaries in their experiments:

  1. Backbone-locked prefixes: Because the continuous prefix tokens operate directly in a specific model's embedding space, they cannot be directly transferred across different VLM architectures without retraining (though their output crops transfer zero-shot).
  2. Perceptual ceilings: Adding more than 4 prefix tokens yields almost zero gain ($\le 0.9\%$) because the framework remains fundamentally bounded by the frozen vision encoder's native perceptual limits on extreme camouflage, microscopic targets, or severe occlusion. Future directions are not explicitly discussed in the main text.

Summary updated

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