DivPrune: Diversity-based Visual Token Pruning for Large Multimodal Models
Paper · 2025 · Saeed Ranjbar Alvar, Gursimran Singh, Mohammad Akbari et al.
Summary
An image or video can give a vision-and-language system far more input to process than the words of the request. The system turns the visual input into a sequence of vectors, called visual tokens, and processes them together with the text. Many visual tokens carry similar information. The difficulty is deciding which ones to keep when only a small fraction can go forward. A rule that retains the tokens with the highest attention scores can spend much of that allowance on similar vectors, leaving other parts of the visual input poorly represented. This is the problem DivPrune addresses in vision and language.
DivPrune chooses tokens according to how far apart their vectors are. It starts with a token whose nearest neighbor is farther away than the nearest neighbors of the other candidates. It then adds tokens one at a time, each time choosing the candidate farthest from its closest already retained token. This rule gives a candidate credit for being different from the whole retained set. In the default configuration, selection occurs after visual encoding and projection, before the language decoder begins processing the sequence. The authors use the existing system weights, with no additional training or calibration dataset, and release the implementation under the DivPrune name.
The main evaluation covers 16 image and video datasets. On COCO captioning with LLaVA 1.5-7B, the full system scores 1.10 CIDEr. At a reported compute ratio of 15.63% of the unpruned run, DivPrune scores 0.96, while FastV and VTW score 0.06 and 0.05 at their respective settings. The same experiment shows that the cost of discarding tokens depends on the task. DivPrune scores 56.85 exact match on GQA, where the unpruned system scores 61.96, while its POPE F1 slightly exceeds the unpruned result. On the video benchmarks, DivPrune leads both pruning baselines tested there, with the full-input system retaining an advantage on task scores.
In the video timing experiment, DivPrune records an end-to-end latency of 3.39 seconds and peak allocated GPU memory of 13.51 GB, compared with 4.37 seconds and 14.06 GB with the full input. It takes longer to process the input than either pruning baseline in that test, even though it completes the whole request sooner. The ablations help explain the quality results. Several distance measures give similar outcomes, while keeping widely separated tokens does better on the reported average than random selection or deliberately keeping a compact group. The experiments support diversity as a selection rule under tight budgets in the tested LLaVA systems. Its value depends on whether distance between visual vectors preserves the distinctions a task needs.
Deep dive: DivPrune: Diversity-based Visual Token Pruning for Large Multimodal Models
DivPrune keeps visually distinct tokens to reduce the cost of image and video understanding, with tests of answer quality, speed, and GPU memory. · about 36 minutes to read
The problem and its context
Why the visual input makes inference expensive
A request can be short even when the material needed to answer it is large. In the systems studied here, an image goes through a visual encoder that produces feature vectors. A projection layer converts these features into vectors the language decoder can use alongside representations of the words in the request. The paper calls the projected vectors visual tokens. They are the units the decoder can attend to, so the length of the sequence depends on how the picture or video is represented as well as on how much the user writes. The image-and-language setup used in the experiments belongs to the LLaVA line introduced in Visual Instruction Tuning.
Different inputs and system configurations lead to different amounts of visual material. A video representation can contain tokens for several sampled frames. An image system can represent a picture with more or fewer tokens depending on how it divides the image into patches. In both cases, every extra token in the decoder's input adds work. The paper emphasizes the quadratic dependence on sequence length that arises when attention considers pairs of positions. It also treats the calculations performed separately at each position as part of the cost. This makes sequence length a practical concern for speed and memory, even with the same decoder and the same task. The relevant mechanism is Transformer and attention.
The opportunity comes from repetition within the visual representation. The authors draw on earlier findings that many visual tokens are redundant and that discarding a substantial portion can accelerate inference. The question is how far that observation can be taken while preserving useful answers. A token may contain information also present in several neighbors. Removing it can leave the decoder with other ways to recover that information. Removing the only useful representative of a feature can have a different consequence, even when both removals save the same amount of decoder work.
The distinction becomes important when the budget is small. With a generous allowance, several nearly interchangeable tokens can survive alongside a reasonable spread of other tokens. With an aggressive budget, those copies occupy positions that could have represented something else. Pruning then becomes a question about the retained set as a whole. The authors want a criterion that accounts for how much each additional token overlaps with those already chosen. Their approach belongs to a wider effort in efficient systems and compression.
What earlier approaches changed
The paper describes several ways to reduce inference costs without framing all of them as token selection. One strand changes the decoder architecture or uses a smaller language component. Another trains a smaller system through distillation. The related work also includes skipping blocks during inference and speeding up generation through speculative decoding. These approaches operate on different parts of the overall process. Token pruning focuses on how much of the visual sequence the existing decoder has to process.
Among earlier pruning methods, attention is one way to decide what matters. An attention score reflects how strongly one position weights another in a particular computation. FastV uses scores from an earlier decoder layer to decide which visual tokens should survive at a later layer. PruMerge works on the vision side. The paper describes it as using sparsity in attention to guide the clustering and merging of visual tokens. Both approaches use attention to identify structure or importance, although they intervene at different points and produce their shorter visual sequences differently.
A high score can be compatible with substantial overlap. If several tokens depict similar content in the representation, each can receive a strong score. A rule that keeps each on the strength of its own score can leave the retained set concentrated in that part of the feature space. The paper also cites prior work questioning attention as a complete indicator of token importance. These concerns motivate a rule based on relationships among the tokens themselves.
Other approaches use calibration. A calibration dataset provides examples on which a pruning procedure can compare the behavior of different configurations before deployment. FitPrune uses observed changes in attention to work out a pruning recipe. Visual Tokens Withdrawal, or VTW, selects a point in the decoder after which it removes visual tokens entirely. In ordinary use it uses calibration to choose that point. This kind of procedure can tailor a configuration to the system or task, at the cost of an extra step when applying the method.
Fine-tuning offers another route. The paper describes Matryoshka Multimodal Models, abbreviated M³, as learning nested visual representations suitable for use at different sequence lengths. It also discusses a separate approach that trains a projector to place detailed visual information into a compact representation. Both rely on changing learned parameters. DivPrune is designed to work with vectors already produced by an existing system. The distinction concerns the mechanics of applying a pruning method and the resources needed for fine-tuning.
Why the retained set matters
The starting point for DivPrune is that importance depends partly on what remains available. Imagine several visual tokens that describe almost the same feature. Keeping one can be valuable. The benefit of keeping another is smaller if the decoder can recover the same evidence from the token already retained. A token in another part of the visual representation can then contribute more to the collection, even if its individual attention score is lower. This example explains the role of diversity without requiring the selector to recognize objects or name what any vector represents.
The authors use the distance between feature vectors to formalize this intuition. A set can contain some very different pairs while still including near duplicates. DivPrune gives special weight to that failure case by asking how close the closest pair is. The criterion therefore puts pressure on the selected group to spread out throughout the selection process. Its motivation is to preserve a wider assortment of visual information for captioning, visual reasoning, and question answering.
There is a second practical question about where to intervene. Pruning after a decoder layer gives the pruning rule representations that have already been processed inside the language component. It also means the early decoder layers have paid for the full sequence. Pruning before the first decoder layer makes the sequence shorter throughout the decoder and uses the projected visual representation to make the decision. The paper treats this point of intervention as part of the experimental question, alongside the selection rule itself.
The method, step by step
From an input request to a token budget
DivPrune receives its candidates after the system has encoded the visual input. The visual encoder extracts features from the image or video, and the projector produces the visual token vectors. In parallel, the text encoder prepares representations of the text. At this point the pruning rule can select from a common pool of visual vectors while leaving the text sequence intact. The decoder receives the retained visual tokens together with the text and produces its response one token at a time.
The budget is the requested size of the retained visual set. The selector has a specific job once that size is given. It has to find a group whose members contribute different visual features, using the available vectors as its evidence. For each input, it compares the visual vectors with each other and selects existing tokens. The procedure uses no answer labels and takes no attention score or text token as an argument to the selection rule. The text still conditions the answer when the shorter visual sequence reaches the decoder.
The method can also be placed inside the decoder. In that version, the full sequence first passes through the preceding layers. The candidates for selection are then the hidden states at the visual positions. Each hidden state is the vector that represents its position at that layer. The same comparison and selection logic applies to those vectors, and later layers process the shorter sequence. The default version uses projected image or video tokens instead of these intermediate states.
How DivPrune selects visual tokens before decoding
The steps in order.
The output the authors want to preserve
The paper first describes the full system as an autoregressive generator. Each output token has a probability conditioned on the input and on the part of the answer already generated. A complete answer sequence can be assigned a probability by multiplying those conditional probabilities.
P(y₁, …, yₙ̂ | Eₜ, Eᵥ) = ∏ᵢ₌₁ⁿ̂ P(yᵢ | y₍<ᵢ₎, Eₜ, Eᵥ)
Here P denotes a probability and the vertical bar means “given.” The input token collections are Eₜ for text and Eᵥ for vision. The symbol n̂ is the output length, yᵢ is the output token at position i, and y₍<ᵢ₎ is the prefix ending before that position. The subscripts on y₁ and yₙ̂ indicate the beginning and end of the output sequence, with the ellipsis standing for the intervening positions. The product symbol ∏ multiplies the next-token probabilities as i runs from 1 through n̂. The parentheses specify the arguments of each probability.
This formulation shows what a visual token can influence. Removing evidence from the decoder's input can alter its probability for an early output token. Subsequent probabilities also depend on whatever prefix the decoder actually generates. The effect of pruning can therefore appear in the whole response. Captioning, for instance, evaluates a generated description, while a multiple-choice task can ask the system to return an option. Both rely on conditioning the decoder on sufficient evidence from the input.
The authors express the ideal pruning task as choosing a mapping that minimizes a loss between the full-input and reduced-input outputs at a prescribed subset size. In the following expression, P and P̃ refer to the output probabilities under those input conditions.
min_f L(P, P̃), subject to f: Eᵥ → Ẽᵥ and |Ẽᵥ| = M̃
The notation min_f asks for the minimum over mappings f. The function f maps the original visual set Eᵥ to the selected subset Ẽᵥ, as indicated by the arrow. The vertical bars around Ẽᵥ denote the number of elements in that subset, and M̃ is the required retained count. The loss L measures the discrepancy between P, computed with the original visual set and the text, and P̃, computed with the retained visual subset and the same text. The tilde distinguishes the reduced case. The original visual set has size M, which exceeds M̃ in a pruning run.
An ideal loss of this kind expresses the goal independently of a particular selection algorithm. It says that preserving the output matters more than achieving a particular geometry among the input vectors. Computing the output discrepancy for many possible subsets would be a different procedure from the one the authors deploy. DivPrune instead uses a measurable property of a subset before it reaches the decoder. The experiments then test how well that property serves the original goal.
How the paper defines diversity
The subset criterion comes from the max–min diversity problem. Look at every pair of distinct tokens in a candidate subset and identify the smallest distance. That smallest distance is the subset's score. The optimization asks for a subset of the prescribed size with the largest possible score.
Ẽᵥ = arg maxₛ [min{d(γ, ω) | γ, ω ∈ S, γ ≠ ω}], with S ⊂ Eᵥ and |S| = M̃
The variable S is a candidate subset of the full visual set Eᵥ. The relation ⊂ restricts the candidates to subsets of Eᵥ, and |S| = M̃ fixes their cardinality at the requested size. The symbols γ and ω are members of S, as indicated by ∈. The condition γ ≠ ω excludes a token paired with itself. The vertical bar within the braces introduces the conditions on the pair passed to the distance function d. The inner min takes the shortest eligible distance. The outer arg maxₛ returns a subset that maximizes that value, and Ẽᵥ denotes the resulting retained set in the objective.
The order of the operations matters. The inner operation takes the distance between the least separated pair within a subset. The outer operation compares subsets by that weakest pair. A very far apart pair elsewhere in the same subset cannot compensate for a near duplicate under this criterion. If keeping another candidate would place it very close to an existing selection, it lowers the minimum separation that the augmented set can support. This focus on the closest pair differs in purpose from measuring the average spread of a group.
The default distance compares vector directions. It begins with cosine similarity, which is the dot product divided by the product of the vector lengths. Subtracting that similarity from 1 turns it into the distance used in the selection procedure.
d(γ, ω) = 1 − (γ · ω) / (‖γ‖ ‖ω‖)
The function d takes visual vectors γ and ω. The centered dot is their dot product, while the double bars denote the length of each vector. The slash divides the dot product by the product of those lengths. The constant 1 and the subtraction sign convert similarity into dissimilarity, so more similar directions receive a smaller distance. The expression uses vector lengths for normalization, giving direction the deciding role in the comparison.
A token in this formulation is a vector at a position in the visual sequence. Distance between tokens refers to this vector space. Physical proximity in the image, proximity between video frames, and similarity in the vectors are different properties. The method offers a way to measure the last one using the features the system already produces. It does not need spatial regions or semantic categories as additional annotations.
How the selector fills the budget
The authors' algorithm keeps a list of remaining candidates and a collection of selected tokens. At initialization all visual tokens are candidates and the selected collection is empty. The algorithm needs a special rule for the starting point because there is no retained token against which to compare a candidate. It temporarily uses the full candidate set as the reference and computes each token's distance to its closest other token. It moves the candidate with the largest such distance into the selected collection.
This seed is the token that looks most isolated under the nearest-neighbor criterion. An observation can be far from some tokens and still have several close neighbors. Those close neighbors limit its score in this first stage. Conversely, a candidate gets a high score if even its closest neighbor is relatively far away. The rule turns the same notion of avoiding near duplicates into a way to start selection.
After initialization, the reference set changes. For each remaining candidate, the algorithm now finds its closest neighbor among the selected tokens. It picks the candidate whose nearest selected neighbor is farthest away, moves that candidate to the selected set, and repeats. A remaining token can lose ground as the selection expands. A newly added token may be closer to it than any earlier selection, so its score can fall on the next iteration. The loop ends as soon as the requested number of tokens has been retained.
At each step, the closest selected token is the one that makes the strongest case for treating a candidate as redundant. A candidate may be far from most of the retained set and still make little contribution if it is close to one retained token. As the selected set expands, a token that covers a previously unrepresented part of the feature space can become the better choice. This behavior is how the paper connects the closest-pair objective to coverage in practice. The algorithm does not explicitly compute how well the selected set represents every discarded token.
The paper describes the result as an exact solution. Its pseudocode shows a greedy construction, with a fixed seed followed by irrevocable additions. Finding the best next addition given an existing set is a different optimization from finding the best complete subset across all possible choices. The stated objective and the implemented rule should therefore be read separately. The rule gives a concrete way to pursue the objective. The paper gives no optimality argument for the final subset, and the experimental comparisons evaluate the subset the procedure actually returns.
The same token distances are used throughout selection. The authors compute a pairwise matrix up front with a matrix multiplication and reuse its entries during the successive comparisons. With cosine distance, the vector comparisons come from normalized dot products. This design pays for the distance calculation once for an input. It still has to search the remaining candidates at each step, but it can retrieve distances from the matrix as the selected set grows. Once the budget is filled, the other visual tokens are discarded.
What is fitted and how compute is estimated
There is no training phase for the selector. The visual encoder, projection layer, and decoder come from the existing system. Applying DivPrune requires a retained count or corresponding pruning setting and a choice of where to apply it. For the main settings, the supplementary material gives a DivPrune pruning ratio of 90.2%. The PruMerge comparison uses a separate configuration that follows PruMerge's variable selection ratio. The method's decisions within an example depend on that example's visual vectors. A dataset used to evaluate the decisions plays a different role from a dataset used to learn or calibrate a pruning rule.
By default the calculation occurs during prefill, the processing of the request before the answer is generated, so its cost is paid once in the measured workflow. The authors also describe DivPrune as compatible with key–value caching. The cache stores attention information that can be reused when the decoder generates successive answer tokens. The pruning method changes which visual inputs the decoder works with, and caching can still serve its usual purpose during generation.
For benchmark comparisons, the paper estimates the fraction of original decoder computation using the sequence lengths before and after pruning. The estimator allocates one part of the layer stack to the full sequence and the rest to the reduced sequence.
[K × (4µd² − 2µ²d + 2µdm) + (T − K) × (4µ̃d² − 2µ̃²d + 2µ̃dm)] / [T × (4µd² − 2µ²d + 2µdm)]
The numerator, before the slash, is the estimated cost for the run with pruning. The denominator is the estimated cost when all decoder layers process the original sequence. In this expression T denotes the total number of Transformer decoder layers, and K counts the layers operating on the full sequence before pruning. The subtraction T − K counts the rest. The sequence length µ includes the N text tokens and M original visual tokens. The reduced length µ̃ includes the same N text tokens and the M̃ retained visual tokens. The letter d here is the decoder's hidden-state width, while m is the intermediate width of its feed-forward network. The × symbols indicate multiplication by a layer count, juxtaposed symbols within each group multiply, and the superscript ² indicates a square. The constants 4 and 2 are coefficients of the estimator's terms. The brackets group the numerator and denominator, and the parentheses group the work terms used for each sequence length.
The ratio is the quantity the paper uses to set comparable budget targets across pruning methods. It accounts for how long a sequence persists as well as how many visual tokens survive. A token allowance and a TFLOP ratio consequently describe different parts of the experiment. The allowance governs how much visual material the selector passes onward. The TFLOP ratio places the resulting configuration on the paper's decoder-compute scale. Wall-clock timings and peak allocated memory are measured separately.
Experiments and results
Systems, tasks, and comparison rules
The main image experiments use LLaVA 1.5-7B, LLaVA 1.5-13B, and LLaVA 1.6-7B, also called LLaVA-NeXT. The video experiments use LLaVA-NeXT-Video-7B. The image systems help probe what happens when the decoder size or the visual sequence changes within the LLaVA family. The video system lets the authors test a visual sequence built from multiple frames. All of these systems use the vision encoder from CLIP.
LLaVA 1.5 uses 576 visual tokens for an image. LLaVA 1.6 uses a variable number of patches per image, yielding 3-5 times as many visual tokens as LLaVA 1.5 according to the paper. In the video experiments, the input consists of 8 frames with 144 tokens per frame, for a reported total of 1152 visual tokens. These counts explain why the same pruning ratio can correspond to different reported TFLOP ratios. The total sequence also contains text, and the fraction of the decoder's work associated with the visual sequence varies with the setup.
The authors use 11 image-language datasets and 5 video-language datasets in the main evaluation, with further image question answering in the supplement. Image captioning is evaluated on COCO-2017, Flickr, and nocaps. The system receives an image and is asked for a sentence describing it. Caption quality is assessed with CIDEr, which compares generated descriptions with reference captions. This makes captioning a test of whether the retained set supports an overall description of a scene. The method for scoring that description is CIDEr.
The image tasks include a range of answer formats. GQA and OKVQA receive exact-match scores, which measure agreement with a reference answer under the benchmark procedure. MMBench and the image version of SeedBench use accuracy for multiple-choice answers. MMMU also reports accuracy, with a mixture of question formats in the dataset description. ScienceQA-IMG is scored by exact match, and MME uses a perception score. POPE is evaluated by F1, which combines precision and recall in the paper's assessment of object hallucination. These measurements pose different tests of the retained representation. Among the sources behind them are GQA, MMBench, and the POPE study.
For video question answering, ActivityNet reports an accuracy and a GPT-assisted score, while SeedBench-Video and EgoSchema report accuracy. The temporal VideoChatGPT evaluation uses a GPT-assisted score. NextQA reports Wu–Palmer similarity, abbreviated WUPS, which provides a similarity score for an answer instead of requiring an exact match. The benchmark setup follows default prompts from the lmms-evals package. Some prompts request an option letter and others a brief verbal answer. The evaluation uses gpt-4o-mini when a metric requires the ChatGPT API. The benchmark sources include ActivityNet-QA and Video-ChatGPT.
FastV and VTW are the main fixed-budget comparisons where they are applicable. The authors adjust baseline settings toward the required TFLOP ratio. If a baseline offers only certain ratios, they use the smallest available one that exceeds the target. VTW illustrates why this qualification matters. It normally calibrates the layer at which visual tokens are withdrawn. Where the experiment requires control of the TFLOP ratio, the authors select the layer for that budget instead. For PruMerge, whose reduction varies, they configure DivPrune to track PruMerge's selection ratio and use average sequence length to estimate average compute for a dataset. The tables identify the configurations that involve calibration or fine-tuning.
These rules make a comparison at a tight budget possible without forcing all methods into an identical mechanism. FastV can process some layers before reducing the visual sequence. VTW can remove the entire visual sequence at its chosen point. DivPrune can present a shorter visual sequence from the first decoder layer onward. Similar estimated costs may therefore correspond to different amounts of visual evidence at different stages. All main benchmark runs use a batch size of 1, with the experiments run on 8 × V100 GPUs with 32GB VRAM.
Image understanding at tight compute budgets
For LLaVA 1.5-7B, the paper reports 3.228 TFLOPs for the original system and 0.512 TFLOPs for DivPrune, with a listed ratio of 15.63%. FastV uses 0.514 TFLOPs at 15.69%, and VTW uses 0.603 TFLOPs at 18.46%. At these settings DivPrune leads both baselines on every image dataset in the main table. The size of the gap varies from task to task. Captioning gives an especially clear view of what happens when the retained visual input is too limited to support a description.
COCO captioning CIDEr with LLaVA 1.5-7B across pruning methods
DivPrune stays much closer to the full-input caption score than the attention and withdrawal baselines.
The numbers
| System or setting | CIDEr |
|---|---|
| Original | 1.10 |
| VTW | 0.05 |
| FastV | 0.06 |
| DivPrune (this paper) | 0.96 |
| FitPrune | 0.90 |
| M³ | 1.00 |
The captioning result has counterparts on Flickr and nocaps. With DivPrune, LLaVA 1.5-7B scores 0.62 CIDEr on Flickr and 0.92 on nocaps. The original scores are 0.75 and 1.06, respectively. FastV scores 0.03 on Flickr and 0.04 on nocaps, while VTW scores 0.03 on both. A similar pattern across the caption sets supports the claim that DivPrune preserves useful evidence for writing descriptions under this budget. It also leaves a visible gap from the full input on each set.
The question-answering figures give a more varied picture of how much evidence survives. GQA exact match is 56.85 with DivPrune, compared with 61.96 for the unpruned system, 38.73 with FastV, and 38.94 with VTW. MMBench accuracy is 59.19 with DivPrune, compared with 64.09 for the full system, 20.62 with FastV, and 21.31 with VTW. On MME, the perception score is 1328 with DivPrune and 1506 without pruning. The baseline perception scores are 696 for FastV and 681 for VTW. The different score scales make these useful as comparisons within each dataset.
ScienceQA-IMG is among the closer outcomes. Exact match is 68.27 with DivPrune and 69.41 with full input, with FastV at 65.15 and VTW at 65.29. POPE shows a different ordering. The DivPrune F1 is 86.02, while the full-input F1 is 85.84. FastV and VTW score 32.84 and 25.35. This establishes that the smaller sequence can preserve a benchmark score and occasionally improve it. It also illustrates why the practical effect of pruning needs to be examined for each task.
PruMerge is evaluated in a paired comparison that follows its variable selection ratio. The distinction matters because the ordinary DivPrune row uses a fixed configuration in the table. On LLaVA 1.5-7B, the ratio-matched DivPrune variant reaches 55.25 GQA exact match against PruMerge's 51.30, and 83.06 POPE F1 against 66.89. PruMerge has the advantage on ScienceQA-IMG, with 68.91 exact match against 67.87 for the matched DivPrune setting. These comparisons test the alternatives with a similar allowance for visual tokens under the paper's matching procedure.
The results also include methods that use additional calibration or training. FitPrune uses 0.513 TFLOPs at a reported ratio of 15.65%. On the LLaVA 1.5-7B run, its SeedBench image accuracy is 54.84, compared with 59.47 for DivPrune. FitPrune has a small lead on MMMU accuracy, with 36.00 against 35.89. The fine-tuned M³ baseline uses the same listed compute as fixed DivPrune in this comparison. It reaches 65.81 MMBench accuracy and 55.12 OKVQA exact match, while DivPrune reaches 59.19 and 46.98. DivPrune leads M³ on MMMU accuracy and ScienceQA-IMG exact match. The training-free method is competitive at the tested budgets, with several benchmark advantages still going to the trained alternative.
Changing the decoder and visual sequence
The LLaVA 1.5-13B comparison uses a DivPrune ratio of 15.71%, with 1.002 TFLOPs listed. The full-input run uses 6.281 TFLOPs. On GQA, the DivPrune exact-match score is 57.29, against 63.33 for the original, 44.98 for FastV, and 39.71 for VTW. On MMBench, the corresponding accuracy scores are 63.40, 68.64, 37.80, and 21.91. The results show that the contrast with these baselines survives the change in decoder size.
The variable-ratio comparison with PruMerge shows a similar pattern with exceptions. For instance, the matched DivPrune setting records 79.60 F1 on POPE while PruMerge records 64.36. On MMMU, PruMerge reaches 36.56 accuracy, ahead of 34.89 for the matched DivPrune configuration. PruMerge also has a higher ScienceQA-IMG exact-match result. The individual dataset rows matter here because a broad advantage across tasks can coexist with consistent exceptions for particular metrics or configurations.
LLaVA 1.6-7B supplies a longer visual sequence. DivPrune runs at a reported 10.79% of original compute, with 1.266 TFLOPs in the table against 11.849 TFLOPs for the full input. For OKVQA, its exact match is 41.92 and the original result is 44.20. FastV records 8.80 and VTW 8.66. On POPE, DivPrune scores 82.97 F1 compared with the original's 86.38, while FastV and VTW are at 7.78 and 7.13. The difference between the pruning baselines and DivPrune is especially pronounced on those metrics for this visual representation.
At the same 10.79% reported compute ratio, the fine-tuned M³ baseline reaches 69.16 MMBench accuracy and 57.49 OKVQA exact match. DivPrune records 63.49 and 41.92 on those metrics. MMMU again has a different ordering. The DivPrune accuracy of 37.11 exceeds the original system's 36.44 and M³'s 35.00. These outcomes illustrate two kinds of comparisons in the paper. One asks how well the training-free alternatives cope with severe pruning. The other asks how a training-free selector fares against a representation developed with compact token sets in mind.
Moving along the compute curve
The authors vary pruning configurations for LLaVA 1.5-7B to compare methods over a range of compute ratios. Their plot averages two question-answering measures, a captioning measure, and POPE F1. The components are COCO CIDEr, an OKVQA score identified as accuracy in the plot description, POPE F1, and MMBench accuracy. The plot description uses a common range of 0 to 1 for most components, with COCO CIDEr reaching 1.10 for this system. The resulting curve is a convenient overview of the budget tradeoff across these tasks. The individual benchmark tables give the metric names and scores used for dataset-level comparisons.
The LLaVA 1.5-7B plot shows the part of the curve at TFLOP ratios up to 45%. DivPrune's lead is most pronounced at ratios of 25% or below. Near the low end of the displayed budgets the baseline averages fall more sharply, with DivPrune retaining more of its score. At the higher ratios in this comparison, results draw closer to the original system, and FitPrune can edge ahead of DivPrune. This part of the curve helps specify the conditions under which the choice of selection method matters most.
A supplementary plot repeats the comparison for LLaVA 1.5-13B, showing the region up to a 40% TFLOP ratio. It uses the same benchmark mixture, with COCO CIDEr reaching 1.16 for the system tested there. DivPrune again has a larger lead at the tighter end. FitPrune is absent from this plot because the corresponding calibration samples and pruning setting are unavailable for that system. The two curves support a similar trend within the tested decoder sizes, with their baseline sets reflecting what the authors could run.
More image questions and qualitative checks
The supplementary image evaluation adds TextVQA, VizWiz, and VQAv2 with LLaVA 1.5-7B. All three report exact match. The fixed DivPrune row records 0.416 TFLOPs with a listed ratio of 13.29%. On TextVQA the original score is 46.08 and DivPrune reaches 35.97, ahead of the FastV score of 8.21 and the VTW score of 8.22. M³ reaches 44.31 at the same reported compute as DivPrune. That comparison makes TextVQA a case where the choice among training-free selectors matters and a trained baseline retains more of the original score.
On VizWiz, fixed DivPrune reaches 57.41 exact match compared with 54.24 for the original. The ratio-matched configuration reaches 57.43 against PruMerge's 56.31. On VQAv2, fixed DivPrune reaches 71.55 compared with 76.65 for full input, 41.71 for FastV, and 42.13 for VTW. Its matched configuration scores 69.59 while PruMerge achieves 65.01. The ratio-matched TextVQA comparison favors PruMerge, with 37.70 exact match against 35.00 for DivPrune. Additional datasets thus reinforce the low-budget advantage over FastV and VTW while identifying cases where the ordering changes.
The supplementary examples put some of those gradations in concrete terms. In the COCO examples, the authors compare a reference caption, the output with full visual input, and the answers from the pruning methods. The DivPrune captions tend to keep the scene description aligned with the full-input output, while the FastV and VTW captions are described as irrelevant to the pictured scene in these examples. The OKVQA illustrations compare answers to the same image and question. DivPrune produces the reference answer in the selected examples. The baselines sometimes give an incorrect answer and sometimes say the evidence is insufficient. These illustrations show the kinds of output failures that count toward the aggregate scores. The caption dataset comes from Microsoft COCO.
Video quality and the cost of a request
The video evaluation uses the same pruning ratio as the image experiments, with the larger visual sequence affecting the reported compute ratio. DivPrune uses 0.937 TFLOPs, or 14.10% on the table's scale, against 6.539 TFLOPs for the full-input run. FastV uses 0.943 TFLOPs at 14.20%, and VTW uses 1.124 TFLOPs at 16.97%. Across the video datasets in the main evaluation, DivPrune improves on both pruning baselines on the reported task measures.
EgoSchema accuracy with LLaVA-NeXT-Video-7B across pruning methods
DivPrune preserves more of the full-input accuracy than either video pruning baseline.
The numbers
| System or setting | Accuracy % |
|---|---|
| Original | 41.8 |
| VTW | 25.42 |
| FastV | 29.14 |
| DivPrune (this paper) | 39.76 |
ActivityNet accuracy is 45.90 for DivPrune and 48.10 for the original, with FastV at 33.91 and VTW at 26.84. On the GPT-assisted ActivityNet measure, the corresponding scores are 2.56, 2.67, 1.95, and 1.61. SeedBench-Video accuracy is 37.00 with DivPrune, while the original reaches 38.7. FastV scores 32.98 and VTW scores 29.39. The agreement across these reported metrics supports a finding about retention of useful visual evidence under the tested video budget.
The open-ended and similarity-based assessments give additional comparisons. On VideoChatGPT, DivPrune scores 1.92 against 2.16 for the original, 1.44 with FastV, and 1.19 with VTW. NextQA WUPS is 24.48 with DivPrune, 26.05 for full input, 22.51 for FastV, and 18.66 for VTW. The retained subset supports better answers than the tested pruning alternatives across these tasks, although the full visual sequence continues to give the highest scores in the video table.
The efficiency experiment uses 499 VideoChatGPT samples and reports prefill time, end-to-end time, and peak allocated GPU memory. Prefill is the initial pass over the request. The end-to-end measurement includes the time through generation of a response, so it reflects the overall cost of running the system with each pruning policy. For the original system the reported prefill time is 0.330 seconds. DivPrune uses 0.161 seconds, and VTW and FastV each use 0.150 seconds. The authors attribute DivPrune's extra prefill time relative to the pruning baselines to its distance calculation.
VideoChatGPT end-to-end latency with LLaVA-NeXT-Video-7B
DivPrune records the shortest request time in this experiment.
The numbers
| System or setting | Seconds |
|---|---|
| Original | 4.37 |
| VTW | 3.43 |
| FastV | 3.63 |
| DivPrune (this paper) | 3.39 |
With DivPrune, peak allocated GPU memory is 13.51 GB, against 14.06 GB for full input. FastV uses 13.57 GB and VTW uses 13.63 GB. The authors explain the timing ordering by where and how frequently the pruning-related work occurs in the measured implementations. DivPrune computes the distances during prefill and uses the retained selection during decoding. The baseline implementations perform their pruning-related calculations at decoding steps as well. The experiment thus shows how a method with more work up front can reduce whole-request time. It also shows why a low estimated TFLOP ratio needs a separate latency measurement. The costs that make up a real request differ from the sequence-length terms in the estimate.
What the ablations show
The point in the decoder changes the result
The first ablation applies the same broad selection rule to different representations. In the default layer 0 setting, DivPrune selects among projected visual token vectors before the first decoder layer. At layer 1, the full input passes through the first layer and the selector works on the resulting visual hidden states. Layer 2 and layer 3 repeat this idea after more full-sequence processing. The experiment asks whether the extra contextual processing before selection helps the diversity rule.
The layer settings have close reported TFLOP ratios, with 19.61% for layer 0, 19.65% for layer 1, 19.70% for layer 2, and 19.80% for layer 3. The table gives an average of 62.34 for layer 0, followed by 60.44, 56.99, and 38.60. The ordering favors pruning the visual representation before the decoder under this comparison. It also shows a particularly large deterioration by the last tested point. The averages are over the task scores shown in the table, which differ in their individual behavior.
POPE is especially sensitive to the pruning location. Its F1 is 86.02 with layer 0 selection, 80.67 at layer 1, 69.27 at layer 2, and 31.82 at layer 3. MMBench also shows a sharp drop by layer 3, where the accuracy is 23.97 compared with 59.19 for the default. MMMU accuracy declines from 35.89 at layer 0 to 32.67 at layer 3. ScienceQA-IMG provides an exception to a uniform ordering: layer 2 reaches 69.56 exact match, above the layer 0 score of 68.27.
One reason to keep the individual scores in view is that the same shift in pruning location can change the quality of the vectors available to the selector and the computation already spent on them. The table measures the effect of intervening at each location under a similar compute allowance. It supports layer 0 as the default in these experiments. The results leave open which properties of intermediate hidden states account for the weak later-layer outcomes, and how much of the change comes from configuring the token budget under each layer placement.
Distance choice matters less than the selection rule
The next ablation holds the reported TFLOP ratio at 19.61% and changes the way distance is measured. Cosine uses the normalized angle comparison. The ℓ₁ alternative uses the sum of the absolute coordinate differences, and ℓ₂ measures the usual Euclidean distance between vectors. These measures can order nearby candidates differently because they treat vector magnitude and coordinate differences differently. The question is whether the observed gain depends on the specific geometry chosen for the comparison.
On the reported benchmark average, cosine reaches 62.34, ℓ₁ reaches 61.94, and ℓ₂ reaches 62.22. MMBench accuracy is highest with ℓ₂ at 59.97, compared with 59.19 for cosine. Cosine has the highest POPE F1 at 86.02, with ℓ₂ at 85.64 and ℓ₁ at 85.40. On ScienceQA-IMG, cosine and ℓ₂ both yield 68.27 exact match. With this system and budget, the results support using cosine as a default. They also show that the overall score survives changes to the distance measure.
The authors then change the rule for assembling the set. Random selection gives each retained set a chance to cover different regions through sampling. It does not actively check whether a new token is redundant with the selected ones. The other control, min–max selection, aims to make the farthest pair within the chosen set as close as possible. This creates a compact group in the feature space. The max–min rule pursues spread by penalizing close pairs, so the min–max control directly tests a selection policy that encourages clustering.
Random selection averages 56.66 and min–max averages 46.53, compared with 62.34 for default DivPrune at the same listed ratio. On MMBench, the accuracy scores are 52.66 for random selection and 38.57 for min–max, with the default at 59.19. On POPE, the random subset records 72.78 F1, the min–max setting 49.26, and the default 86.02. The contrasts with alternative selection rules are larger than the differences among the distance functions in this table. They support the importance of how the available positions are distributed across the visual representation.
The randomized control helps distinguish diversity from token count. Every setting considered in this table has the same stated compute ratio, yet their quality differs. In the compact-set control, several tokens can be selected because they lie near each other, spending the budget in a restricted region of the feature space. Random selection can visit more regions without requiring them to be distinct. Max–min selection consistently rewards candidates with no close selected neighbor. The evaluation shows the consequence of those choices for the tasks measured in this ablation.
What the visualizations measure
The paper also checks whether DivPrune actually returns a geometrically different collection from FastV. For the analysis on LLaVA 1.5-7B, visual vectors have 4096 dimensions. The authors use t-SNE to project them into a plane for inspection, and show which original token positions each method retains in the projected view. In the main SeedBench example, both methods prune 90% of the visual tokens. The plot lets a reader see how the retained sets are distributed among the apparent clusters.
In that example, DivPrune retains points across all the visible clusters, while FastV leaves the upper cluster without any selected points and places several selections close together elsewhere. The supplementary SeedBench and GQA examples show similar patterns. The pictures are illustrations of the effect the paper is trying to measure. The method compares the original vectors using its distance matrix. The appearance of clusters in a projection is evidence about those displayed examples.
The authors also measure the minimum pairwise distance in each selected subset directly. The SeedBench histogram uses 1000 randomly drawn samples. Its distribution shows higher achieved minimum distances for DivPrune than for FastV. A supplementary histogram uses 1000 randomly selected GQA samples and supports the same finding there. This moves the geometric comparison beyond a single projection. It measures a property of the selected vectors that the DivPrune rule is designed to increase.
Taken together, the analyses address related but distinct questions. The histograms establish that the two methods differ in the achieved minimum separation on the sampled inputs. The task ablations show that deliberately concentrating the selected set produces weaker scores than the default spread-seeking rule in the tested configuration. The projected examples show what such concentration can look like for a reader. None of these measurements identifies the individual tokens a decoder used as evidence for a particular answer, so the strongest explanation operates at the level of subset geometry and observed task behavior.
Limitations
Boundaries reported by the authors
The paper presents DivPrune as applicable wherever projected visual tokens or visual hidden states can be selected before further decoder processing. Its empirical demonstration covers the named LLaVA configurations, all with CLIP vision encoders. Within that family the authors vary decoder size, visual input size, and image versus video input. This is a narrower test of portability than the architectural claim. It establishes a range of settings in which the method works with existing weights.
The authors explicitly note that some baselines cannot be configured to exactly the same TFLOP ratio. The chosen comparison point can give a baseline slightly more estimated compute than DivPrune. PruMerge has a variable count, so the authors match its selection ratio with another DivPrune configuration and estimate average compute from average sequence length. VTW's calibration can be bypassed for budget matching, making the corresponding row a comparison with the budget-configured version of VTW. Baseline availability also varies across systems and tasks. These conditions define which comparisons can support claims about relative quality.
The measured efficiency advantage has a specific setting. The VideoChatGPT latency comparison uses the stated video system, hardware, and batch size. DivPrune spends some prefill time on visual distances, and the authors observe a longer prefill than FastV or VTW in that measurement. The whole-request latency favors DivPrune under the measured implementations. The benchmark establishes an efficiency result for those runs, with decoder TFLOPs, maximum allocated GPU memory, and response latency each describing a different property.
The paper reports exceptions to its broader performance pattern. Several scores remain below full-input quality, and fine-tuned M³ is stronger on some benchmarks at the same listed budget. PruMerge wins some individual comparisons when the selection ratios are matched. At higher compute ratios in the plotted region, the training-free methods approach the original performance and the calibrated FitPrune variant can slightly exceed DivPrune. The evidence for a large gain is concentrated in the tighter-budget regimes and depends on the baseline class.
Limits that follow from the experimental design
The max–min objective is a proxy for preserving what the decoder needs. When several tokens are close in feature space, their similarity gives a reason to suspect overlap. The distance itself does not measure the contribution of each token to the answer. An isolated token could be irrelevant to the request, while two nearby vectors could encode a distinction important to it. The default selector chooses the visual subset using relations within the visual set, with the text introduced to the selection's output during decoding. How well the same subset serves different questions about the same material is an open issue under that design.
The mathematical objective also specifies separation within the retained set. A group can be widely separated while leaving some portion of the original set poorly represented. An explicit coverage objective would ask about the distance from discarded tokens to the retained set as well. The authors provide plots in which wider separation accompanies broader cluster representation, alongside task results favoring the proposed rule. That is an empirical association for the settings evaluated. A guarantee of coverage would require a property beyond the closest-pair score.
The paper's use of the word exact has a separate limitation. Computing every pairwise distance exactly for the current vectors can support exact comparisons between candidates within a step. The rule still commits to a particular initial token and never revises earlier choices. Accordingly, the global claim would require an argument connecting those commitments to the best fixed-size subset. The task scores and distance histograms compare actual outputs of the pruning procedures. They furnish evidence for a useful greedy selector while leaving absolute optimality of its subsets unestablished.
The full distance matrix is practical in the tested settings, but its size grows with the number of token pairs. This makes the video setup important when assessing the scope of the timing result. The experiment samples 8 frames and constructs its representation from those frames. Very long video inputs, different frame sampling policies, or different visual encoders could change both the work required for selection and the amount of relevant evidence captured by the retained subset. The paper evaluates pruning after a particular input representation has already been made. Questions about which frames enter that representation belong to a different part of the system.
The scope of the ablations is also specific. Both core ablations use LLaVA 1.5-7B. The pruning-location table displays MMBench, MMMU, POPE, and ScienceQA-IMG scores, although the accompanying prose describes 5 datasets. The table lists nearby TFLOP ratios for the layer variants, with small differences among them despite the fixed-ratio wording in the discussion. The displayed comparisons establish the ordering of the reported averages at those configurations. Extending that ordering to other architectures or isolating the effect of the layer itself would require additional controls.
Finally, some summary numbers combine scores from different tasks. The average over COCO, OKVQA, POPE, and MMBench provides an overview of behavior at different compute budgets. Its components measure different qualities, and the plotted CIDEr component has a different stated range. The main table also calls the OKVQA measure exact match, while the curve description calls it accuracy. Reading the individual benchmark entries alongside the averages preserves the distinctions among task scores. Improvements on a particular set, including POPE and VizWiz, directly establish improvements on those evaluations. Broader claims about when removing visual information improves an answer remain open.
What came after
Later citations place DivPrune in work on adaptive pruning, visual redundancy, and the comparison of pruning methods. The titles establish those connections at the level of research questions. They leave the details of reuse open, including whether a citing paper implements DivPrune, compares against it, or discusses it as an example of diversity-based selection.
TrimTokenator takes adaptive visual token pruning as its subject. DivPrune already adapts the identities of the retained tokens to each input, since the distances depend on that input's vectors. Its default rule takes the retained count as a parameter. This makes the relation between the two questions concrete. A pruning policy can adapt which tokens survive, and adaptivity can also concern the budget or the circumstances under which pruning occurs. TrimTokenator's title establishes its broader focus on adaptive pruning. The specific role of DivPrune's rule in its method is unspecified.
From Inheritance to Saturation examines how visual redundancy evolves in connection with architecture-aware inference acceleration. DivPrune provides a pertinent comparison through its pruning-location ablation. The diversity rule operates on projected visual tokens at the entrance to the decoder or on different visual hidden states inside it, and the choice changes the results. The later work's stated focus concerns how redundancy changes and how architecture bears on acceleration. Its citation establishes the connection to DivPrune without specifying an extension of that ablation.
Reducing Token Redundancy in LVLMs is a systematic review of token-pruning methods and cites DivPrune in that wider area. DivPrune contributes an example in which the selection criterion is a property of the retained subset, specifically its minimum pairwise distance. The review's scope places that approach alongside a wider body of pruning research. Its citation record does not specify how it classifies the method or what conclusions it draws about the reported comparisons.
Cite
Cite as Saeed Ranjbar Alvar, Gursimran Singh, Mohammad Akbari and Yong Zhang. 2025. DivPrune: Diversity-based Visual Token Pruning for Large Multimodal Models. arXiv:2503.02175.
@misc{alvar2025divprune,
title = {{DivPrune: Diversity-based Visual Token Pruning for Large Multimodal Models}},
author = {Saeed Ranjbar Alvar, Gursimran Singh, Mohammad Akbari and Yong Zhang},
year = {2025},
doi = {10.48550/arxiv.2503.02175},
eprint = {2503.02175},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.2503.02175}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/alvar-2025-divprune-diversity-based-visual-token/