Manuscript Offprint

arXiv:2609.04698

LookThere! Sparse Vision by Reinforced Selection

Sreehari Rammohan, Yousef Yassin, Anthony Fuller, Junfeng Wen, Carl Vondrick, Evan Shelhamer

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Sreehari Rammohan ∗,a^{*,a} Yousef Yassin ∗,b^{*,b}

Anthony Fuller b,d^{b,d} Junfeng Wen b^{b} Carl Vondrick a^{a} Evan Shelhamer c,d^{c,d}

∗^{*}Joint first authorship

a^{a}Columbia University b^{b}Carleton University c^{c}University of British Columbia d^{d}Vector Institute

Figure

Figure 1: Sparse vision for efficient recognition. LookThere learns to select a sparse set of relevant tokens for efficient and task-specific adaptive computation. We show traffic sign recognition (left), ImageNet classification (center), and billiard ball reasoning (right) with selected patches brighter.

Abstract

Vision transformers typically treat every image token as equally important, yet for most tasks in computer vision only a fraction are needed. Adaptive computation methods accelerate inference by choosing which tokens to process, but existing methods struggle at extreme sparsity and require heuristics that may not generalize like token diversity and attention scores. We address these limitations with LookThere, achieving a new pareto frontier in performance-compute trade-offs through an end-to-end reinforcement learning framework that jointly trains a shallow input selector and a deep representation extractor. The selector learns where to look and the extractor learns what to see, together saving computation by selecting only what is worth processing for a given task without relying on auxiliary signals. We show that LookThere only selects the task-specific input, excelling at sparse recognition in high-resolution settings (traffic signs, billiards), and maintaining accuracy with as little as 0.2% of the input. It generalizes across tasks and models, including global recognition (ImageNet classification), local recognition (ADE20K segmentation), zero-shot classification (by distillation), and regression (counting). Across all settings, LookThere surpasses state-of-the-art selection to provide a general and scalable framework for specialized and efficient adaptive computation.

1 Introduction

Images are dense yet the evidence for visual tasks is sparse. Discriminative information in images is concentrated in small regions (Fig. 1), and biological vision exploits this [1, 2, 3] to perceive from selective glimpses and efficient coding rather than exhaustive processing. Current vision models, by contrast, often process everything. This inefficiency is most acute at high resolution [4, 5, 6, 7, 8], where fine detail and broader context can improve recognition in applications like medical imaging.

Preprint.

Figure

Figure 2: The visually interesting can be visually distracting. We visualize the top 10% of patches by DINOv2's [26] attention and LookThere's selection. Self-supervised models learn visual interest without a task, but interest ≠\neq importance. DINOv2 scatters attention to foliage around birds (left), and to cars and lamps instead of signs (right), while LookThere learns task-relevant selection.

and remote sensing, but irrelevant, background pixels dominate computation [9, 10, 11, 12]. Higher resolution imagery makes knowing where to look harder and processing everything more expensive.

This trade-off has motivated adaptive computation methods for efficient processing, in particular for Vision Transformers (ViTs) [13, 14], whose tokenization of images makes computation scale quadratically for pairwise attention and linearly for feedforward layers. Existing approaches improve efficiency by pruning or merging tokens during processing [15, 16, 17, 18, 19, 20]. While effective, they do so only after incurring the cost of estimating importance from intermediate representations that are themselves costly to compute. Other work makes hard decisions [21], explicitly selecting the tokens to process for efficiency, but requires a complex per-task optimization [22], making them difficult to train [23, 24]. LookWhere [25] distills attention from a teacher (e.g., DINOv2 [26]), but this ties selection to heuristics that indirectly optimize the accuracy-sparsity trade-off and may not transfer (Fig. 2), causing more selected tokens than necessary.

We address these challenges with LookThere, a framework that casts visual processing as a reinforcement learning (RL) problem [27]. We factorize vision into two stages: a lightweight selector that predicts where informative regions are, and a high-capacity feature extractor that processes only those selected regions. By selecting before any deep computation, the model approximates the full visual representation without ever processing all tokens. Both stages are jointly optimized—the actor refining which regions are worth processing while the extractor learns to build strong representations from only those regions—yielding a model that is both efficient and tailored to the task.

LookThere is especially effective for extreme sparsity, enabling accurate recognition from sometimes just a single token. Across multiple tasks, our method pushes the pareto frontier of performance-compute, outperforming baselines (Fig. 3). We validate LookThere on standard recognition datasets (ImageNet [28], ADE20K [29]), demonstrating strong performance and robustness to initialization across diverse pretrained representations. To further assess generality, we fine-tune for counting (FSC-147 [30]) and show our model can perform zero shot classification by distilling SigLIP 2 [31]. Finally, we evaluate on high-resolution (Traffic [32], Billiards [24]) and fine-grained recognition (Birdsnap [33]), highlighting where sparse, adaptive computation is most beneficial.

References (64)

  • Natural image statistics and neural representation
  • Looking and acting: vision and eye movements in natural behaviour
  • A high-resolution dataset for instance detection with multi-view object capture
  • The cityscapes dataset
  • A fine-grained high-resolution satellite dataset for large-scale map construction
  • Quilt-1m: One million image-text pairs for histopathology
  • Nature, 630(8015):181–188, 2024
  • IEEE transactions on pattern analysis and machine intelligence, 43(10):3349–3364, 2020
  • Learning to downsample for segmentation of ultra-high resolution images
  • Vision mamba: Efficient visual representation learning with bidirectional state space model
  • V*: Guided visual search as a core mechanism in multimodal llms
  • An image is worth 16x16 words: Transformers for image recognition at scale
  • Token merging: Your vit but faster (opens arXiv in a new tab)
  • Accelerating transformers with spectrum-preserving token merging
  • Agglomerative token clustering
  • Learning to merge tokens via decoupled embedding for efficient vision transformers
  • Token fusion: Bridging the gap between token pruning and token merging
  • Which tokens to use? investigating token reduction in vision transformers, 2023
  • $A^{2}$: Smaller Self-Supervised ViTs Localize Better than Larger Ones (opens arXiv in a new tab)
  • Iterative patch selection for high-resolution image recognition
  • Learning when and where to zoom with deep reinforcement learning
  • Differentiable patch selection for image recognition
  • Lookwhere? efficient visual recognition by learning where to look and what to see from self-supervision
  • DINOv2: Learning Robust Visual Features without Supervision
  • An introduction, volume 1
  • Imagenet: A large-scale hierarchical image database
  • Semantic understanding of scenes through the ADE20K dataset
  • Learning to count everything
  • Traffic-sign detection and classification in the wild
  • Birdsnap: Large-scale fine-grained visual categorization of birds
  • Token cropr: Faster vits for quite a few tasks (opens arXiv in a new tab)
  • Attention is all you need
  • Statistical approach to inverse distance interpolation
  • Divprune: Diversity-based visual token pruning for large multimodal models
  • Lookwhen? fast video recognition by learning when, where, and what to compute (opens arXiv in a new tab)
  • Learning to rank patches for unbiased image redundancy reduction
  • Tuning computer vision models with task rewards
  • DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models
  • Proximal Policy Optimization Algorithms
  • Masked autoencoders are scalable vision learners
  • DINOv3
  • Vision transformer off-the-shelf: A surprising baseline for few-shot class-agnostic counting
  • Sigmoid loss for language image pre-training
  • Eva: Exploring the limits of masked visual representation learning at scale
  • Dynamicvit: Efficient vision transformers with dynamic token sparsification
  • Adavit: Adaptive vision transformers for efficient image recognition
  • Convex optimization
  • Lookhere: Vision transformers with directed attention generalize and extrapolate
  • Places: A 10 million image database for scene recognition
  • Mask2former for video instance segmentation (opens arXiv in a new tab)
  • Microsoft coco: Common objects in context
  • Yolo-llts: Real-time low-light traffic sign detection via prior-guided enhancement and multi-branch feature interaction
  • Maximum likelihood reinforcement learning (opens arXiv in a new tab)
  • Actor-critic algorithms
  • Continuous deep q-learning with model-based acceleration
  • Multi-criteria token fusion with one-step-ahead attention for efficient vision transformers
  • A-vit: Adaptive tokens for efficient vision transformer
  • Vision transformers need registers (opens arXiv in a new tab)
  • Decoupled weight decay regularization
  • Deit iii: Revenge of the vit
  • Randaugment: Practical automated data augmentation with a reduced search space
  • Exploring plain vision transformer backbones for object detection
  • Cutmix: Regularization strategy to train strong classifiers with localizable features
  • Adaptive patch selection to improve vision transformers through reinforcement learning