Video large language models (Video LLMs) incur substantial computational overhead from excessive visual tokens. Most existing video token compression methods rely on training-free, hand-crafted heuristics, limiting their adaptability to diverse video content. Although recent learnable approaches introduce trainable mechanisms for token compression, they often remain constrained by predefined compression rules or require additional alignment training. To address these limitations, we propose COMPACT, a novel learnable framework for video token COMpression via Prototype-guided Adaptive ClusTering. Specifically, COMPACT first constructs representative visual prototypes through position-aware cross-frame clustering and subsequently refines them through attention-based interactions among prototypes and with the dense visual tokens. Based on the refined prototypes, COMPACT combines the initial token-to-prototype similarities with learned affinities to obtain differentiable soft assignments, which guide the weighted aggregation of original visual tokens into compact representations. By retaining the original visual feature space, this design eliminates the need for additional alignment training. Extensive experiments on five video understanding benchmarks and three representative Video LLMs demonstrate that COMPACT consistently achieves state-of-the-art performance across various visual token retention ratios, substantially outperforming existing methods, particularly under extremely aggressive compression. Our code is available at https://github.com/xiaozhang79/COMPACT.
翻译:暂无翻译