paper-with-me

홈 › Papers

AIM: Adaptive Inference of Multi-Modal LLMs via Token Merging and Pruning

2024-12-04 · Yiwu Zhong, Zhuoming Liu, Yin Li, LiWei Wang

Large language models (LLMs) have enabled the creation of multi-modal LLMs that exhibit strong comprehension of visual data such as images and videos. However, these models usually rely on extensive visual tokens from visual encoders, leading to high computational demands, which limits their applicability in resource-constrained environments and for long-context tasks. In this work, we propose a training-free adaptive inference method for multi-modal LLMs that can accommodate a broad range of efficiency requirements with a minimum performance drop. Our method consists of a) iterative token merging based on embedding similarity before LLMs, and b) progressive token pruning within LLM layers based on multi-modal importance. With a minimalist design, our method can be applied to both video and image LLMs. Extensive experiments on diverse video and image benchmarks demonstrate that, our method substantially reduces computation load (e.g., a $\textbf{7-fold}$ reduction in FLOPs) while preserving the performance of video and image LLMs. Further, under a similar computational cost, our method outperforms the state-of-the-art methods in long video understanding (e.g., $\textbf{+4.6}$ on MLVU). Additionally, our in-depth analysis provides insights into token redundancy and LLM layer behaviors, offering guidance for future research in designing efficient multi-modal LLMs. Our code will be available at https://github.com/LaVi-Lab/AIM.

📄 PDF Abstract BibTeX arXiv:2412.03248

Code (1)

lavi-lab/aim 공식 구현 jax

Tasks

Video Understanding

Methods 이 논문이 사용한 방법론

Pruning 설명 없음

Similar Papers 제목 키워드 기반

ReGATE: Learning Faster and Better with Fewer Tokens in MLLMs

2025-07-29 · Chaoyu Li, Yogesh Kulkarni, Pooyan Fazli arxiv

The computational cost of training multimodal large language models (MLLMs) grows rapidly with the number of processed tokens. Existing efficiency methods mainly target inference via token reduction or merging, offering …

MACS: Modality-Aware Capacity Scaling for Efficient Multimodal MoE Inference

2026-04-19 · Bo Li, Chuan Wu, Shaolin Zhu arxiv

Mixture-of-Experts Multimodal Large Language Models (MoE MLLMs) suffer from a significant efficiency bottleneck during Expert Parallelism (EP) inference due to the straggler effect. This issue is worsened in the multimod…

MadaKV: Adaptive Modality-Perception KV Cache Eviction for Efficient Multimodal Long-Context Inference

2025-06-06 · Kunxi Li, Zhonghua Jiang, Zhouzhou Shen, Zhaode Wang 외

This paper introduces MadaKV, a modality-adaptive key-value (KV) cache eviction strategy designed to enhance the efficiency of multimodal large language models (MLLMs) in long-context inference. In multimodal scenarios, …

Stage-adaptive Token Selection for Efficient Omni-modal LLMs

2026-05-19 · Zijie Xin, Jie Yang, Ruixiang Zhao, Tianyi Wang 외 arxiv

Omni-modal large language models (om-LLMs) achieve unified audio-visual understanding by encoding video and audio into temporally aligned token sequences interleaved at the window level. However, processing these dense n…

FlowMM: Cross-Modal Information Flow Guided KV Cache Merging for Efficient Multimodal Context Inference

2025-10-29 · Kunxi Li, Yufan Xiong, Zhonghua Jiang, Yiyun Zhou 외 arxiv

Traditional KV cache eviction strategies, which discard less critical KV-pairs based on attention scores, often degrade generation quality, causing context loss or hallucinations. Recent efforts shift toward KV merging, …