FlashSloth : Lightning Multimodal Large Language Models via Embedded Visual Compression

Bo Tong, Bokai Lai, Yiyi Zhou, Gen Luo, Yunhang Shen, Ke Li, Xiaoshuai Sun, Rongrong Ji

Abstract

Current Multimodal Large Language Models (MLLMs) often suffer from significant latency and memory overhead due to the large number of visual tokens required for high-resolution image processing. We present FlashSloth, a "tiny" MLLM that utilizes two novel embedded compression techniques: Spatial Attention Pooling (SAP) and an Embedded Query Module (EmbQ). These methods reduce visual tokens by up to 89% and accelerate response times by 2–5x while maintaining competitive performance across standard benchmarks.

Introduction

Multimodal Large Language Models (MLLMs) are increasingly powerful but often act as "sloths"—slow to respond and memory-intensive. Even smaller models (2–3B parameters) like InternVL2 or Qwen2-VL frequently utilize over 1,000 tokens to represent a single image. This abundance of tokens creates a bottleneck in the self-attention mechanism, leading to high Time to First Token (TTFT) and excessive GPU memory consumption. FlashSloth addresses this by compressing visual tokens without sacrificing the fine-grained details necessary for instruction following.

Methods

FlashSloth introduces a two-pronged approach to visual compression that is integrated directly into the model architecture.

The FlashSloth architecture featuring Spatial Attention Pooling and the Embedded Query Module.

Spatial Attention Pooling (SAP)

Unlike traditional average pooling or pixel shuffling, SAP employs a lightweight two-layer MLP to identify and preserve visually salient regions. It compresses high-density feature maps (e.g., 576 tokens) into a much smaller set (e.g., 81 tokens) by focusing on the most informative parts of the image.

Embedded Query Module (EmbQ)

To compensate for potential information loss during compression, the Embedded Query Module is integrated into the LLM's internal layers (specifically the 8th layer). EmbQ uses learnable query tokens that interact with both the text instruction and the original uncompressed image features. This allows the model to "re-capture" task-relevant details that might have been discarded by the initial SAP compression.

Results

FlashSloth demonstrates significant efficiency gains over existing tiny MLLMs by optimizing the trade-off between speed and accuracy.

Performance vs. Inverse of Response Time comparison across various MLLMs.

Efficiency and Speed

FlashSloth achieves an 80–89% reduction in token count compared to competitors, using only 90 tokens versus 400–1,600. This results in a 2x to 5x faster Time to First Token (TTFT). Furthermore, the model reduces training memory usage by 61–80% and inference FLOPs by 70–98%.

Benchmark Performance

Despite aggressive compression, FlashSloth-3.2B remains competitive. It matches or exceeds the performance of its peers on benchmarks such as MMB (73.0) and GQA (61.1). The high-resolution variant, FlashSloth-HD, further improves performance on OCR-intensive tasks like DocVQA by utilizing a sub-image tiling strategy.

Conclusion

FlashSloth proves that visual redundancy in MLLMs can be effectively managed through intelligent, instruction-aware compression. By combining saliency-based pooling with an embedded query mechanism, FlashSloth achieves "lightning" speeds and low memory overhead without the typical performance trade-offs associated with token reduction. Future work will explore optimal layer placement for the EmbQ module and potential integration with dynamic token pruning methods.

Summary updated

BibTeX
@inproceedings{tong2025flashsloth,
  author = {Bo Tong and Bokai Lai and Yiyi Zhou and Gen Luo and Yunhang Shen and Ke Li and Xiaoshuai Sun and Rongrong Ji},
  title = {{FlashSloth : Lightning Multimodal Large Language Models via Embedded Visual Compression}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.01358},
}
Figure