iLLaVA: An Image is Worth Fewer Than 1/3 Input Tokens in Large Multimodal Models

Lianyu Hu, Liqing Gao, Fanhua Shang, Liang Wan, Wei Feng

TL;DR

iLLaVA accelerates Large Vision-Language Models (LVLMs) by jointly reducing visual tokens in both the image encoder and the Large Language Model (LLM). By introducing a novel token merging strategy that "recycles" information from discarded tokens, iLLaVA achieves up to a 2× throughput boost and a 4× reduction in prefilling time while maintaining over 95% of the original model's performance.

What Problem Does This Paper Address?

Large Vision-Language Models (LVLMs) like GPT-4o or InternVL are powerful but computationally expensive. A major bottleneck is the sheer number of visual tokens generated from images and videos. Because the self-attention mechanism in these models has $O(n^2)$ complexity, doubling the tokens quadruples the computation.

Most existing efficiency research focuses on pruning or compressing tokens just before or during the LLM stage. However, the authors of iLLaVA point out two overlooked issues:

  1. The Image Encoder Bottleneck: The image encoder itself consumes a significant portion of inference time (up to 45% in video tasks), as shown in Figure 1(b).
  2. Compounding Redundancy: The image encoder is the source of the tokens. Reducing redundancy early in the pipeline not only speeds up the encoder but also drastically lightens the load for every subsequent layer in the LLM.
Figure 1: (a) Visualizations for the attention scores of different layers in the image encoder. (b) Proportion of inference time for each component in LVLMs across different tasks.

Methods

The core of the paper is iLLaVA, a two-stage token reduction framework that applies a novel Token Merging strategy.

Two-Stage Reduction

Unlike prior work, iLLaVA performs token reduction in both the image encoder (typically a Vision Transformer or ViT) and the LLM.

  • In the Encoder: Token merging modules are inserted after the attention modules of specific encoder blocks.
  • In the LLM: Merging occurs after specific transformer blocks to gradually decrease the sequence length as the data flows deeper into the model.

Token Merging vs. Pruning

Standard "pruning" simply deletes tokens deemed unimportant. iLLaVA instead uses "merging" to recycle information. The process works in two steps:

  1. Selection: It uses attention scores to identify "informative tokens" (the most important ones) and "recycled tokens" (secondary tokens that will act as cluster centers).
  2. Recycling: The remaining "discarded" tokens are not just thrown away. Instead, they are grouped with the most similar recycled tokens and merged via a weighted sum based on their attention scores. This ensures that even "less important" background details contribute to the final representation.
Figure 2: (a) Visualizations for the token merging process across different blocks in the image encoder. The red region denotes selected tokens and the black regions represent discarded tokens. (b) The framework overview for iLLaVA. We apply token merging at the intermediate layers of both the image encoder and the language model to accelerate the forward pass.

Datasets

The authors evaluated iLLaVA across more than 10 benchmarks to ensure broad applicability:

  • Image Understanding: MMMU, MMBench, MMStar, MMVet, MuirBench, and RealWorldQA.
  • Video Understanding: VideoMME, MVBench, EgoSchema, and MLVU.
  • Backbone Models: The method was tested on state-of-the-art open-source models including Qwen2.5-VL (3B/7B), InternVL-2.5 (8B/26B), MiniCPM-V2.6, and LLaVA-Onevision.

Key Insights and Ideas

  • Visual Redundancy is Layer-Dependent: As seen in Figure 1(a), attention maps show that the encoder focuses on specific areas (like a bird in a field) more intensely in deeper layers. This suggests that token reduction should be distributed unevenly across the network.
  • Early Reduction is More Efficient: Reducing tokens in the image encoder provides a +25.3% throughput boost compared to reducing the same number of tokens only within the LLM.
  • Larger Models Can Be Faster: A particularly striking result is that iLLaVA allows a larger model (InternVL-2.5 26B) to achieve higher throughput than a smaller vanilla model (InternVL-2.5 8B) while still delivering superior accuracy.

Key Results

  • Speed & Efficiency: iLLaVA achieved a 2.12× throughput improvement and a 4.46× reduction in prefilling time (the time to generate the first token). It also reduced memory usage by 1.59×.
  • Performance Retention: Even when reducing visual tokens by nearly 90%, iLLaVA maintained 95.2% of the vanilla model's performance on the MMMU benchmark, significantly outperforming other state-of-the-art pruning methods like FastV or VisionZip.
  • Video Superiority: On video tasks, where token counts are massive, iLLaVA outperformed the previous best method (VisionZip) by 1.7% at a 95% token reduction ratio.

Limitations and Future Work

The authors identify two primary limitations:

  • Fine-Grained Document Understanding: In tasks like DocVQA or ChartQA, which require reading small text or parsing dense charts, aggressive token merging can lead to noticeable performance drops because critical fine-grained details might be merged away.
  • Small Object Detection: Similarly, very small objects that occupy only a few pixels may be lost during the reduction process, leading to inferior performance compared to vanilla models in highly detailed scenes.

Future work may involve developing more adaptive merging strategies that can detect when high-density information (like text) is present and preserve those tokens more carefully.

Summary updated

Abstract

Recent methods have made notable progress in accelerating Large Vision-Language Models (LVLMs) by exploiting the inherent redundancy in visual inputs. Most existing approaches, however, focus narrowly on reducing image tokens before or within the Large Language Model (LLM) stage to lower computational cost. This overlooks other major bottlenecks, particularly the image encoder, which itself requires substantial computation. As a result, these methods fall short of achieving true end-to-end acceleration. Importantly, the image encoder is the primary contributor of input tokens to the LLM. Thus, reducing visual redundancy at the encoder stage not only speeds up the encoder itself but also significantly lightens the workload for the subsequent LLM. Motivated by this, we investigate how to jointly optimize the image encoder and the LLM along with other LVLM components for comprehensive acceleration. To mitigate the risk of performance degradation from token reduction, we propose a novel token merging strategy that recycles useful information from otherwise discarded tokens. Our approach, iLLaVA, delivers consistent improvements across both image and video understanding tasks, achieving up to a 2 times throughput boost and a 4 times reduction in prefilling time. Notably, iLLaVA enables a larger model (e.g., InternVL-2.5 26B) to surpass a smaller counterpart (e.g., InternVL-2.5 8B) in both accuracy and efficiency. Extensive comparisons with state-of-the-art token pruning and merging techniques demonstrate the clear superiority of our method. Finally, we provide detailed visualizations for the merging steps of iLLaVA , offering deeper insights into how different LVLM components contribute to efficient computation.
BibTeX
@inproceedings{hu2026illava,
  author = {Lianyu Hu and Liqing Gao and Fanhua Shang and Liang Wan and Wei Feng},
  title = {{iLLaVA: An Image is Worth Fewer Than 1/3 Input Tokens in Large Multimodal Models}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=svKk3PkjZn},
}
Figure