Skip to main content
Back

Cyber Monday Deal: Get 20% off all AlphaSignal Pro subscriptions. Subscribe here. Use discount code LAUNCH2026. Ends soon.

Imperial College's aViT Cuts Vision AI Compute 10x to Run on Phones

A foveated attention method lets pretrained vision transformers like DINOv3 run up to 10x cheaper while matching ViT-B/L quality on edge hardware.

Pro

  • Active Vision Transformers adapt frozen ViTs like DINOv3 to run on foveated glimpses with a persistent spatial memory.
  • Up to 10x cheaper than full ViT-B/L encoders with comparable feature quality on segmentation and depth.
  • VGGT-Omega encoder runs at 37 fps on an iPhone 13 using the method.
  • Fine-tuned via teacher-student distillation in 22 hours on one GPU; any glimpse policy works at inference.
  • Random-zoom training plus RoPE keeps segmentation quality steady across zoom factors, unlike learned position embeddings.
  • Code, weights, and paper are public.

Vision transformers produce strong visual features, but uniform patch grids create long token sequences. In the authors’ setup, a 512 × 512 frame expands to 2,025 patches, putting full-size encoders beyond the practical compute and power budgets of many phones, drones, robots, and sensors. Researchers from Imperial College London and the University of Manchester address that cost with Active Vision Transformers, or aViTs, which process a few foveated glimpses and accumulate their features in persistent spatial memory.

Each glimpse preserves detail around selected fixation points and represents the periphery at lower resolution. The approach aims to retain the downstream quality of full ViT-B and ViT-L encoders, the base and large versions of the architecture, while cutting compute by as much as 10 times.

Measure Reported result
Tokens per 512 × 512 frame About 108 with one fixation and 160 with two, compared with 2,025 for the full grid
Compute Up to a 10-fold reduction at comparable downstream quality
Mobile throughput 37 frames per second for VGGT-Omega’s encoder on an iPhone 13
Main training run 22 hours on one GPU

Uniform grids spend tokens blindly

A standard vision transformer divides every image into equal patches, assigning the same token budget to a flat wall and a detailed object. Human vision allocates resolution unevenly: the fovea captures a small area in high detail, peripheral vision supplies coarse context, and rapid eye movements collect detail from new locations.

Earlier active-vision and glimpse-based systems often required training from scratch, limiting their access to the semantic representations learned by foundation models such as DINOv3. Edge applications face a related constraint: downsampling removes useful detail, while encoding the complete patch grid increases latency, memory use, and power consumption.

Foveation shortens the sequence

The aViT tokenizer builds a variable-resolution tiling around one or more fixation points. Small patches cover areas near each fixation, increasingly large patches cover more distant regions, and the resulting tiles still span the full image. In the reported 512 × 512 configuration, two fixations reduce the sequence from 2,025 tokens to roughly 160.

Variable-resolution image tiles concentrated around two fixation points
Fine patches cluster around the fixation points, with larger tiles representing peripheral regions.

Memory joins the glimpses

A lightweight spatial memory stores dense features across successive frames and fixations. Each glimpse contributes high-resolution information from a limited area, and the memory preserves earlier observations as the model examines other parts of the scene. Ablations reported by the authors attribute a substantial share of the gain over CanViT to retaining this state across frames.

Training follows a teacher-student distillation scheme. A frozen foundation model, including DINOv3 or VGGT-Omega, generates target features from the full image. The aViT student learns to reproduce those features from sparse, foveated inputs, allowing the teacher to remain unchanged.

Random fixation points during training keep the model independent of a single selection policy. At inference time, applications can use fixed patterns, task-specific logic, or object-centered locations supplied by a detector such as YOLO. The reported comparisons include YOLO’s compute cost when it selects the fixations.

Position encoding becomes especially important when image scale changes. Training with random zoom and rotary position embeddings, commonly called RoPE, preserves segmentation quality across the tested zoom factors. Learned position embeddings degrade more sharply under the same scale shifts.

Dense tasks test the trade-off

The evaluation emphasizes tasks that depend on spatial detail and therefore expose the cost of sparse sampling:

  • Video object segmentation: DAVIS results use J&F, which combines region overlap with boundary accuracy.
  • Semantic segmentation: ADE20K results use mean intersection over union, or mIoU, across object and scene classes.
  • Depth estimation: NYUv2 results report root mean square error against Marigold pseudo-ground-truth. Error falls around the fovea as each fixation adds local detail.
  • Image classification: An aViT-B trained for 1.5 hours on a desktop GPU is compared with CanViT-B, an earlier canvas-based active-vision model.
Compute, pixel budget, memory, and latency curves comparing aViT with CanViT across glimpse counts
The reported curves compare quality and resource use as the number of glimpses increases.

Across one, two, four, eight, and 16 glimpses per frame, aViT delivers higher quality at comparable compute or similar quality with fewer floating-point operations than CanViT. The performance-retention ratio, calculated by dividing the student’s score by the teacher’s score, remains close to 1 across several teacher models. A ratio near 1 indicates that the sparse student retains most of the full encoder’s measured downstream quality.

Coverage and policy set the limits

Foveated sampling loses information outside the detailed regions, so one glimpse can miss small objects or fine structure distributed across the frame. Additional fixations improve coverage but also increase token count, latency, and memory traffic.

Deployment quality also depends on the fixation policy. Object-centered sampling with YOLO performs well in the reported experiments, but unfamiliar domains may require a specialized detector or another selection strategy. The published evidence centers on 2D segmentation, depth, and classification; broader video and 3D evaluations remain limited.

Sampling first changes the cost

Many token-pruning systems calculate an initial set of patch features and then discard low-priority tokens. aViT creates the shorter sequence before the transformer encoder runs, so omitted fine-grid patches consume no encoder computation. Distillation also transfers features from an existing frozen model without retraining that teacher.

The result is a practical adaptation recipe for applications that need dense foundation-model features under constrained compute. The authors have released the implementation, model weights, and interactive demos, providing the components needed to test the method on mobile devices, robots, and always-on cameras.