视觉令牌剪枝的AI4AI框架
研究论文 · 2026/08/14
视觉标记剪枝可以显著降低多模态大语言模型(MLLM)的推理成本,但现有方法主要依赖固定的手工启发式规则和昂贵的专家试错。随着剪枝目标、预算和模型架构的多样化,手动导航不断扩展的设计空间变得越来越困难。本文旨在通过解决一个自然问题来构建用于视觉标记剪枝的AI4AI框架:大型语言模型能否自动设计有效的视觉标记减少算法?尽管LLM拥有广泛的算法知识和强大的推理能力,但将这种通用知识转化为针对特定任务的有效解决方案仍然具有挑战性。我们认为关键在于设计合适的搜索状态表示,将LLM的内部知识与视觉标记剪枝的结构要求和约束联系起来。基于这一见解,我们提出了AutoPrune,一个无需训练的LLM驱动的视觉标记剪枝策略设计框架。其核心是引入一种标记剪枝领域特定语言(TPDSL),包含131个可重用原子,用于预算控制、标记评分、选择约束和标记重组。TPDSL的一个关键特性是它将每个搜索状态表示为强基础策略的残差修改。这种残差公式缩小了搜索空间,并将LLM的注意力引向对性能影响最大的策略组件。在14个多模态基准和三个MLLM骨干上的实验证明了AutoPrune的有效性、效率和可迁移性。即使移除94.4%的视觉标记,AutoPrune仍能保留超过99%的全标记性能,同时将FLOPs减少9.9倍,预填充延迟减少6.4倍。
该论文提出了一种创新的AI4AI框架,利用LLM自动设计视觉标记剪枝策略,解决了手工设计依赖和搜索空间大的问题。其残差搜索状态表示和TPDSL设计具有理论新颖性,实验证明在极高剪枝率下仍能保持性能,显著降低计算成本,对多模态大模型的效率优化有重要价值。
Visual-token pruning can substantially reduce the inference cost of multimodal large language models (MLLMs), yet existing methods largely rely on fixed, handcrafted heuristics and costly expert trial and error. As pruning objectives, budgets, and model architectures diversify, manually navigating the expanding design space becomes increasingly difficult. This paper aims to build an AI4AI framework for visual-token pruning by addressing a natural question: Can large language models automatically design effective visual-token reduction algorithms? Although LLMs possess broad algorithmic knowledge and strong reasoning capabilities, translating such general knowledge into effective solutions for a specialized task remains nontrivial. We argue that the key lies in designing an appropriate search-state representation that connects the internal knowledge of LLMs with the structural requirements and constraints of visual-token pruning. Based on this insight, we propose AutoPrune, a training-free framework for LLM-driven visual-token pruning policy design. At its core, AutoPrune introduces a Token Pruning Domain-Specific Language (TPDSL) comprising 131 reusable atoms for budget control, token scoring, selection constraints, and token reassembly. A key property of TPDSL is that it represents each search state as a residual modification of a strong base policy. This residual formulation narrows the search space and directs the LLM's attention toward the policy components that are most consequential for performance. Experiments on 14 multimodal benchmarks and three MLLM backbones demonstrate the effectiveness, efficiency, and transferability of AutoPrune. Even when removing 94.4% of visual tokens, AutoPrune preserves more than 99% of full-token performance while reducing FLOPs by 9.9x and prefill latency by 6.4x.