Beyond Attention or Similarity: Maximizing Conditional Diversity for Token Pruning in MLLMs

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Zhang, Qizhe, Liu, Mengzhen, Li, Lichen, Lu, Ming, Zhang, Yuan, Pan, Junwen, She, Qi, Zhang, Shanghang
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866909669632507904
author Zhang, Qizhe
Liu, Mengzhen
Li, Lichen
Lu, Ming
Zhang, Yuan
Pan, Junwen
She, Qi
Zhang, Shanghang
author_facet Zhang, Qizhe
Liu, Mengzhen
Li, Lichen
Lu, Ming
Zhang, Yuan
Pan, Junwen
She, Qi
Zhang, Shanghang
contents In multimodal large language models (MLLMs), the length of input visual tokens is often significantly greater than that of their textual counterparts, leading to a high inference cost. Many works aim to address this issue by removing redundant visual tokens. However, current approaches either rely on attention-based pruning, which retains numerous duplicate tokens, or use similarity-based pruning, overlooking the instruction relevance, consequently causing suboptimal performance. In this paper, we go beyond attention or similarity by proposing a novel visual token pruning method named CDPruner, which maximizes the conditional diversity of retained tokens. We first define the conditional similarity between visual tokens conditioned on the instruction, and then reformulate the token pruning problem with determinantal point process (DPP) to maximize the conditional diversity of the selected subset. The proposed CDPruner is training-free and model-agnostic, allowing easy application to various MLLMs. Extensive experiments across diverse MLLMs show that CDPruner establishes new state-of-the-art on various vision-language benchmarks. By maximizing conditional diversity through DPP, the selected subset better represents the input images while closely adhering to user instructions, thereby preserving strong performance even with high reduction ratios. When applied to LLaVA, CDPruner reduces FLOPs by 95\% and CUDA latency by 78\%, while maintaining 94\% of the original accuracy. Our code is available at https://github.com/Theia-4869/CDPruner.
format Preprint
id arxiv_https___arxiv_org_abs_2506_10967
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Beyond Attention or Similarity: Maximizing Conditional Diversity for Token Pruning in MLLMs
Zhang, Qizhe
Liu, Mengzhen
Li, Lichen
Lu, Ming
Zhang, Yuan
Pan, Junwen
She, Qi
Zhang, Shanghang
Computer Vision and Pattern Recognition
Artificial Intelligence
In multimodal large language models (MLLMs), the length of input visual tokens is often significantly greater than that of their textual counterparts, leading to a high inference cost. Many works aim to address this issue by removing redundant visual tokens. However, current approaches either rely on attention-based pruning, which retains numerous duplicate tokens, or use similarity-based pruning, overlooking the instruction relevance, consequently causing suboptimal performance. In this paper, we go beyond attention or similarity by proposing a novel visual token pruning method named CDPruner, which maximizes the conditional diversity of retained tokens. We first define the conditional similarity between visual tokens conditioned on the instruction, and then reformulate the token pruning problem with determinantal point process (DPP) to maximize the conditional diversity of the selected subset. The proposed CDPruner is training-free and model-agnostic, allowing easy application to various MLLMs. Extensive experiments across diverse MLLMs show that CDPruner establishes new state-of-the-art on various vision-language benchmarks. By maximizing conditional diversity through DPP, the selected subset better represents the input images while closely adhering to user instructions, thereby preserving strong performance even with high reduction ratios. When applied to LLaVA, CDPruner reduces FLOPs by 95\% and CUDA latency by 78\%, while maintaining 94\% of the original accuracy. Our code is available at https://github.com/Theia-4869/CDPruner.
title Beyond Attention or Similarity: Maximizing Conditional Diversity for Token Pruning in MLLMs
topic Computer Vision and Pattern Recognition
Artificial Intelligence
url https://arxiv.org/abs/2506.10967