Glance2Gaze: Efficient Vision-Language Models from Glance Fusion to Gaze Compression

Juan Chen, Honglin liu, Yingying Ao, Ting Zhang, Yan Huang, Xudong Liu, Biao Li, Jintao FangNeurIPS 2025

TL;DR

Glance2Gaze is a cognitively inspired framework that makes Vision-Language Models (VLMs) significantly more efficient by mimicking the human "glance-then-gaze" process. By fusing multi-layer visual features and progressively compressing visual tokens using a novel query-guided mechanism, it achieves state-of-the-art performance while reducing computational costs (FLOPs) by up to 90%.

What Problem Does This Paper Address?

Modern VLMs, such as LLaVA, have a "visual token explosion" problem. To understand fine details or process high-resolution images and videos, these models generate thousands of visual tokens. Because the Large Language Models (LLMs) at their core have a quadratic computational complexity relative to the number of tokens, this leads to massive memory usage and slow inference.

Existing solutions usually prune tokens either at the vision encoder stage (risking the loss of important details) or inside the LLM (often requiring full attention matrices that are incompatible with speed-up kernels like FlashAttention). The authors argue that these methods miss a fundamental aspect of human vision: we don't just "delete" parts of our field of view; we first take a global glance to understand the context and then gaze intently at the most relevant regions.

Methods

The Glance2Gaze framework consists of two primary modules designed to emulate this two-stage biological process:

  1. Glance Fusion: Instead of relying solely on the final layer of a Vision Transformer (ViT), this module aggregates features from multiple intermediate layers. It uses a "text-aware attention" mechanism where the user's instruction (e.g., "What is the title of the book?") acts as a guide to weight different visual layers. This ensures the model starts with a semantically enriched global representation without increasing the initial token count.
  2. Gaze Compression: As data flows through the LLM's decoder layers, the model progressively reduces the number of visual tokens. Unlike simple pruning, it uses a shared learnable query pool. At specific layers, the model performs cross-attention between these queries and the current visual tokens, effectively "distilling" the most relevant information into a smaller set of tokens.
The Glance2Gaze architecture showing the Glance Fusion and Gaze Compression stages.

The authors found that shallow LLM layers are sensitive to token loss, while deeper layers are highly robust. Consequently, they keep the full token set in early layers and start the "gaze" compression only after a predefined layer index.

Key Insights and Ideas

  • Layer-Specific Utility: The authors observed that different ViT layers respond differently to instructions. As seen in the attention maps, early layers might capture textures while later layers capture objects. Fusing them provides a more holistic "glance."
  • Progressive Redundancy: Visual information becomes increasingly redundant as it moves deeper into an LLM. By the time the data reaches the final layers, a tiny fraction of the original tokens is often sufficient to generate the correct answer.
  • The Power of Shared Queries: Using a shared query pool for compression (rather than layer-specific queries) prevents the model from over-fitting to specific layers and forces the queries to learn general patterns for extracting relevant visual information.
  • Efficiency without Sacrifice: Because the gaze compression uses cross-attention with a fixed number of queries, it remains compatible with efficient attention implementations like FlashAttention, unlike many pruning-based methods.
Attention maps across layers and ablation study showing accuracy retention.

Key Results

Glance2Gaze consistently outperformed existing efficiency-focused methods like FastV, SparseVLM, and VisionZip:

  • LLaVA-1.5-7B: At 33% of the original FLOPs, it maintained 99.9% of the baseline performance. Even at an extreme compression of 11% FLOPs, it retained 95.6% performance, far exceeding SparseVLM's 89.0%.
  • High-Resolution (LLaVA-NeXT): The model achieved a 3.15x speedup in overall latency and a 3.14x improvement in throughput while maintaining superior accuracy on complex tasks like TextVQA.
  • Video-LLaVA: On video tasks, which are notoriously token-heavy, the model achieved 96.2% of the baseline performance using only 6% of the original FLOPs.

Datasets

The authors evaluated Glance2Gaze across a massive battery of benchmarks:

  • Image Understanding: TextVQA, POPE, GQA, VQAv2, SEEDBench, MMBench, MME, ScienceQA, MMVet, and LLaVA-Bench.
  • Video Understanding: TGIF, MSVD, MSRVTT, and ActivityNet.
  • Backbones: The method was integrated into LLaVA-1.5-7B, LLaVA-NeXT-7B (for high-res), and Video-LLaVA.

Limitations and Future Work

While the framework is "cognitively inspired," the authors admit that the internal mechanisms (like the specific layer selection for fusion) remain somewhat heuristic. They suggest that future work could involve:

  • Tighter Cognitive Integration: Moving beyond inspiration to explicitly model biological vision processes.
  • Interpretability: Exploring what the learnable queries actually "see" during the gaze phase to improve model transparency.
  • Dynamic Compression: Adjusting the compression ratio on-the-fly based on the complexity of the image or the difficulty of the question.

Summary updated

BibTeX
@inproceedings{chen2025glance,
  author = {Juan Chen and Honglin liu and Yingying Ao and Ting Zhang and Yan Huang and Xudong Liu and Biao Li and Jintao Fang},
  title = {{Glance2Gaze: Efficient Vision-Language Models from Glance Fusion to Gaze Compression}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=gm65gK3uOJ},
}
Figure