Manuscript Offprint

arXiv:2610.21323

AdaLoop: Thinking with the Vision Encoder

Xinran Nicole Han, Yiyang Lu, Katelyn Gan, Todd Zickler

ABSTRACT

Most vision-language models (VLMs) treat the vision encoder as a static feature extractor: it encodes an image once, independently of the question, and leaves subsequent reasoning to the language model. Yet different questions may require different visual operations and processing depths. We present AdaLoop, a framework for question-conditioned visual recurrence in VLMs. AdaLoop adapts visual computation to the question and reuses the encoder's transformations across multiple iterations, with the pretrained vision weights frozen. We also introduce VisRO, a procedural dataset and generation pipeline for training and evaluating vision-centric reasoning. On six VisRO tasks, AdaLoop outperforms standard fine-tuning and question-conditioned single-pass baselines with matched training data and optimizer updates. These gains hold across three VLM families on both in-distribution and out-of-distribution examples. Our findings suggest that pretrained vision encoders can contribute to reasoning through task-directed, iterative visual computation.

1 INTRODUCTION

Most vision–language models (VLMs) encode an image once, independently of the question, and pass the resulting visual tokens to a language model for subsequent reasoning. The same visual computation serves every question, whether the answer depends on a single local feature or on relating distant parts of the scene. A fixed pass may not perform the computation a task requires: useful visual features may lie at intermediate encoder layers [9] or be lost along the way [19, 67]. The encoder thus acts only as a feature extractor, even though vision architectures can themselves learn to reason when trained from scratch [24, 63]. Visual reasoning, then, need not be left entirely to the language model.

For a pretrained VLM, an appealing possibility is to reuse the visual transformations already learned by its vision encoder. We draw inspiration from human vision, where processing is directed by the task [68] and recurrent [34, 58]. We investigate how to equip a pretrained vision encoder with both capabilities through (i) question conditioning, which modulates the encoder's features according to the task [54], and (ii) looping (or recurrence), which reapplies weight-tied transformations to an evolving state [16, 20, 85].

Introducing these mechanisms into a pretrained VLM raises two questions. First, each encoder layer was trained to operate at a particular feedforward depth, so simply looping a span of its frozen layers yields little benefit (Section 5.2). Second, looping produces a sequence of visual states rather than a single output, and it is not obvious how to present the sequence to the language model.

We approach this as a design problem and present AdaLoop, a framework for adaptive visual recurrence in pretrained VLMs (Figure 1). AdaLoop creates a perception loop by repeatedly applying a span of the vision encoder to an evolving visual state, while keeping the original vision weights frozen. It uses question-conditioned adaptive layer normalization (AdaLN) [53, 54] to modulate the shared transformations at each iteration. We compare three ways for the language model to use the resulting sequence of states: reading only the current state, accumulating states across iterations, and interleaving states with answer drafts. All variants train only on triples of (image, question, answer), using the same final-answer target across visual iterations to support adaptive inference-time compute.

∗^{*}Equal contribution.

†^{\dagger}Corresponding author: xinranhan@g.harvard.edu.

Figure

Figure 1: Looking once versus repeatedly. Left: A standard VLM encodes the image once, independently of the question. Right: AdaLoop turns a span of the vision encoder into a question-conditioned perception loop, updating its visual state over T iterations. The language model answers from the resulting sequence, using either the current state or retained history.

Evaluating vision-centric reasoning requires diagnostic tasks with systematic difficulty control and scalable training data. We introduce VisRO (Visual Routines) to support this research effort. VisRO is a procedural dataset and generation pipeline encompassing tasks like grouping, counting, connectivity, spatial tracing, and amodal perception—all of which demand careful visual inspection with minimal reliance on language priors or external knowledge (Figure 3). Our pipeline provides programmatically verifiable answers, controllable difficulty, and controlled distributional shifts in task structure or visual appearance for out-of-distribution evaluation. VisRO serves as reusable infrastructure for the community, and our AdaLoop experiments use six tasks from the collection.

Experiments with three VLM families, Qwen2.5-VL [8], PaliGemma 2 [65] and LLaVA-1.5 [44] show that with matched training data and optimizer updates, AdaLoop's components provide complementary gains. Question-conditioning establishes strong single-pass controls, and looping adds a further 2.8–4.6 percentage points of in-distribution VisRO accuracy, for a total improvement of about 11–15 points over standard fine-tuning. On Qwen2.5-VL, at matched parameter count and approximately matched training FLOPs, AdaLoop achieves competitive VisRO performance with better general visual question answering (VQA) capabilities than longer-trained single-pass controls. Our results suggest that existing visual transformations can be steered by the question and reused for iterative reasoning, even with the original weights frozen.

References (81)