LookWhen? Fast Video Recognition by Learning When, Where, and What to Compute

Ali Salamatian, Anthony Fuller, Pritam Sarkar, James R. Green, Leonid Sigal, Evan Shelhamer

TL;DR

LookWhen is a selector-extractor framework that slashes the computational cost of video recognition by identifying and processing only the most "unique" tokens across space and time. By factorizing when, where, and what to compute, it achieves superior accuracy-efficiency trade-offs, running up to 6.7× faster than dense baselines like InternVideo2-B at equivalent accuracy levels.

What Problem Does This Paper Address?

Transformers have become the standard for video modeling, but they come with a steep price: computational cost scales superlinearly with the number of tokens. While videos are inherently redundant—neighboring frames and pixels often carry nearly identical information—standard models still process every single token.

Existing "adaptive computation" methods try to mitigate this by merging or pruning tokens. However, many of these methods are "reactive" (processing all tokens first before reducing them) or rely on complex operations that aren't hardware-friendly, leading to theoretical FLOP savings that don't translate to real-world speedups. Furthermore, selecting which tokens are important is difficult; standard attention maps often contain artifacts or focus on "high-norm" tokens that don't represent the actual content well.

Methods

The authors introduce LookWhen, which divides the problem into two specialized components:

  1. The Selector (When and Where): A shallow, efficient model that receives a downscaled version of the video. It scores every token in the full-resolution input based on its "uniqueness."
  2. The Extractor (What): A deep, expressive model that processes only the top-K tokens identified by the selector. Because it handles a sparse set of inputs, it can be much deeper and more accurate without increasing the total computational budget.
Figure 1: LookWhen’s shallow selector gets a downscaled video and scores tokens on their feature uniqueness (left). Target uniqueness is from our “top1-distance” algorithm, which computes each patch’s distance to its nearest neighbor in an image teacher’s feature space (bottom right). LookWhen’s extractor gets the top-K input tokens for sparse and deep processing. Target features are from a video teacher (top right) and an image teacher (bottom right); we normalize to emphasize within-video change. Teachers are only needed during pre-training, so inference and fine-tuning is efficient.

Key Innovations in Training:

  • Top1-Distance for Selection: Instead of training the selector to mimic a teacher's noisy attention maps, the authors use an image teacher (DINOv3) to calculate a "uniqueness score." This score is based on a patch's distance to its nearest neighbor in feature space. This ensures the model selects tokens that provide the most novel information.
  • Dual-Teacher Extraction: The extractor is trained to predict features from both a video teacher (InternVideo2) for global context and an image teacher (DINOv3) for fine-grained details.
  • Time-Normalization: To excel at fine-grained tasks, the authors normalize the image teacher's features over time. This forces the extractor to learn what changes within the video rather than just memorizing static background elements.

Datasets

The model was pre-trained on a combination of Kinetics-400 (K400) and Something-Something-v2 (SSv2).

Evaluation was conducted across six diverse benchmarks to ensure generalizability:

  • Kinetics-400: General action recognition.
  • Something-Something-v2: Fine-grained temporal interaction.
  • Epic-Kitchens-100: Egocentric kitchen activities.
  • Diving48: Fine-grained athletic maneuvers.
  • Jester: Hand gesture recognition.
  • Charades: Daily home activities.

Key Insights and Ideas

  • Attention is a Noisy Guide: As shown in Figure 2, standard video attention maps are often cluttered with artifacts. By switching to a feature-space "uniqueness" metric (top1-dist), LookWhen identifies content-rich regions much more reliably.
  • Factorization is Key: Separating the "where/when" (selection) from the "what" (extraction) allows for asymmetric architectures—a fast, low-res selector paired with a deep, high-res sparse extractor.
  • Real-World Throughput vs. FLOPs: The authors emphasize that FLOPs are a poor proxy for speed. LookWhen uses standard, highly optimized deep learning operations, allowing it to achieve massive practical speedups on modern GPUs (Figure 5).
Figure 2: When and where to compute for efficiency. InternVideo2 space-time attention maps suffer from artifacts. DINOv3 has cleaner attention but is strictly frame-wise. “Top1-dist” (each patch’s distance to its nearest neighbor in feature space) finds the unique patches across all frames; our selector predicts it. The wolf is partly visible in frame 1, runs away, then toward the camera.

Key Results

  • Pareto Dominance: LookWhen Pareto-dominates existing efficient models in accuracy-vs-FLOPs on 9 out of 12 evaluated settings.
  • Massive Speedups: In practical testing on an NVIDIA L40S GPU, LookWhen is 6.7× faster than InternVideo2-B at equal accuracy.
  • Feature Quality: The model shines in linear probing (using frozen features), showing a >10% accuracy improvement on the Diving48 dataset compared to dense baselines.
  • Efficiency at Scale: Even at 90% sparsity, LookWhen maintains high accuracy, achieving 82.6% on K400 with significantly fewer FLOPs than competitors (see Table 1).
LookWhen dominates baselines in mean accuracy versus measured throughput.

Limitations and Future Work

  • Teacher Dependency: The framework currently requires a teacher model with "positionally-grounded" features (like DINOv3) to effectively supervise the selector.
  • Model Scale: Due to compute constraints, the study focused on ViT-Base sized models. Testing the selector-extractor framework on massive-scale "foundation" models remains an open area.
  • Future Directions: The authors suggest extending this logic to long-form video ("LookThen"), multi-view setups ("LookHow"), and hyperspectral data ("LookWhich"), all of which suffer from extreme redundancy.

Summary updated

BibTeX
@inproceedings{salamatian2026lookwhen,
  author = {Ali Salamatian and Anthony Fuller and Pritam Sarkar and James R. Green and Leonid Sigal and Evan Shelhamer},
  title = {{LookWhen? Fast Video Recognition by Learning When, Where, and What to Compute}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=rzaezKzgbP},
}
Figure