LAST: The Last Query Token Guides Visual Token Pruning for Edge-Cloud Collaborative MLLM Inference
Feng Yang, Xinrui Ju, Keyang Zhang, Xiandong Meng, Rongqun Lin, Howard Leung, Shiqi Wang, Haoliang Li, Chris Xing Tian
Abstract
Multimodal foundation models are reshaping edge-cloud visual intelligence from task-specific feature pipelines into token-based interfaces, where edge devices encode visual inputs into tokens for a general-purpose cloud MLLM. However, dense visual-token sequences increase cloud-side inference costs. Existing pruning methods mainly target centralized inference: vision-driven methods can operate before cloud execution but are typically query-agnostic, whereas query-guided methods often rely on internal states of the target MLLM and cannot determine token relevance before transmission. Compact guidance models offer an alternative, but existing designs may require costly attention aggregation or auxiliary generation. We propose LAST, a training-free framework for query-dependent visual token pruning in edge-cloud collaborative MLLM inference. LAST uses a compact edge-side VLM as a guidance proxy and derives a lightweight importance signal from the last query token's attention to visual tokens. Under causal attention, the last query token can attend to the full visual sequence and the entire query context, enabling query-aware pruning without cloud-model access, autoregressive generation, or costly aggregation over multiple query positions. LAST then retains a diverse set of query-relevant visual tokens under a fixed token budget. We evaluate LAST on 11 multimodal benchmarks under multiple token budgets against pruning methods with different guidance strategies. Experiments show that LAST consistently achieves the strongest performance, preserving 95.4% of the full-token accuracy while retaining only 12.5% of the visual tokens, with low edge-side selection overhead and reduced cloud-side computation.
Create a lesson
Metadata
- Categories
- cs.CV, cs.AI
Related papers
PURA: Video Token Pruning via Unified Spatiotemporal Redundancy Assessment
Shared title terminologycs.CVYuyao Sun, Hongli Yuan, Shuang Li et al.
SPARC: Geometry-Guided Attention Pruning for Long-Horizon Camera-Controlled Video Generation
Shared title terminologycs.CVZesong Yang, Weikai Chen, Liyuan Cui et al.
ORCA: ORgan-Centroid Aggregation for Training-Free 3D CT Visual Token Compression
Shared title terminologycs.CVRenjie Liang, Zijian Xu, Jinqian Pan et al.
Interpretability-Guided Soft Pruning of Attention Heads in Vision Transformers
Shared title terminologycs.CVKamil Książek, Piotr Suszyński, Michał Jan Włodarczyk et al.
ReToken: Improving Long-Context VLMs with Visual Retrieval Token
Shared title terminologycs.CVYao Xiao, Reuben Tan, Zhen Zhu et al.
VisualRouter: Query-Grounded Visual Sampling for Long Video Understanding
Shared title terminologycs.CVHaiyue Zhang, Yi Bin, Xun Jiang et al.