ConceptioArchivearXiv CS
arXiv CSopen access

Make Your LVLM KV Cache More Lightweight

2026 · arxiv_cs
arXiv CS · Papers · License: Open Access · 2026
Open Source ↗Direct PDF ↓
neural-networks
machine learning, deep learning, neural networks

Published in Transactions on Machine Learning Research (04/2026)

Make Your LVLM KV Cache More Lightweight Xihao Chen

[email protected]

Integrative Sciences and Engineering Programme, National University of Singapore School of Computing, National University of Singapore

Yangyang Guo∗

[email protected]

School of Computing, National University of Singapore

arXiv:2605.00789v1 [cs.CV] 1 May 2026

Roger Zimmermann

[email protected]

School of Computing, National University of Singapore Reviewed on OpenReview: https: // openreview. net/ forum? id= n77IeySrQl

Abstract Key-Value (KV) cache has become a de facto component of modern Large Vision-Language Models (LVLMs) for inference. While it enhances decoding efficiency in Large Language Models (LLMs), its direct adoption in LVLMs introduces substantial GPU memory overhead due to the large number of vision tokens processed during the prefill stage. To tackle this problem, we propose LightKV, a novel approach that reduces KV cache size by exploiting the redundancy among vision-token embeddings. Guided by text prompts, LightKV employs cross-modality message passing to aggregate informative messages across vision tokens and progressively compress them during prefill. This prompt-aware guidance distinguishes our method from prior vision-only compression strategies. We evaluate LightKV on eight open-source LVLMs across eight public benchmark datasets, e.g., MME and SeedBench. Experimental results demonstrate that with only 55% of the original vision tokens, LightKV (a) halves the vision-token KV cache size, (b) reduces computation by up to 40%, and (c) preserves general-purpose performance while significantly outperforming existing baselines. Our code is publicly available at https://github.com/howtoosee/LightKV.

1

Introduction

Benefiting from the rapid advancements in Large Language Models (LLMs) (Vicuna Team, 2023; OpenAI, 2024; Llama Team, 2024), Large Vision-Language Models (LVLMs) (Alayrac et al., 2022; Li et al., 2023b; Dai et al., 2023; Bai et al., 2023; Liu et al., 2023a; 2024b;c; Lu et al., 2024; Chen et al., 2024d;c; Wang et al., 2025; Chen et al., 2025) have recently garnered extensive attention. For example, LLaVA (Liu et al., 2023a) and DeepSeek-VL (Lu et al., 2024) have achieved impressive performance on a multitude of general-purpose multi-modal benchmarks (Fu et al., 2024; Yu et al., 2024; Li et al., 2023c). However, the efficiency of LVLMs remains a significant bottleneck for researchers and practitioners in resource-constrained environments. Key-Value (KV) cache (Pope et al., 2023; Kwon et al., 2023) serves as a fundamental technique in optimizing the inference efficiency of mainstream LLMs and LVLMs. However, although KV caching improves inference speed without compromising model performance, it substantially increases GPU memory consumption. This limitation is especially severe with longer sequences generated (Yang et al., 2024; Liu et al., 2024a; Li et al., 2024d). To alleviate this issue, some training-based methods, such as MQA (Hu et al., 2025) and GQA (Ainslie et al., 2023), introduce the sharing of keys and values across different attention heads. As such, the overall KV cache size is accordingly reduced. These approaches, however, suffer from the requirement of heavy model retraining. In contrast, other methods, such as H2O (Zhang et al., 2023b), MiniCache (Liu et al., 2024a), and ElasticCache (Liu et al., 2024d) focus on pruning tokens within the KV cache during inference after the ∗ Corresponding author.

1

Published in Transactions on Machine Learning Research (04/2026)

prefill stage. These methods offer greater flexibility and can be seamlessly applied to existing decoder-only LVLM models with minimal degradation in performance. Given this, our work primarily focuses on the reduction of vision tokens during inference time. 140 120

Memory Breakdown during Inference Model KV - Vision KV - System + User prompt

A100-80

80 60

A100-40

Memory (GB)

100

40 20 0

B B B B B -7B -7B V 13B V -13 5-7 5-7 V -13 -13 V uniaghtK nai-ghtK icuna v1.ightK icuna 1.5 1.5ightK A-v1. c u i v v c A i V V V L V V L VA VA + L LLaV XT- + L XT- + -NeXT LLa + eXTLLa LLa -Ne N Ne A A V V A A V V LLa LLa LLa LLa

Figure 1: Breakdown of memory consumption in LLaVA models during prefill shows the substantial reduction in KV cache usage with LightKV. As LLaVA-NeXT uses approximately 4× the vision tokens as LLaVA-v1.5, there is a sharp increase in memory consumption. Unlike LLMs, reducing the cost of memory-bound KV cache is challenging in LVLMs due to the following two factors: (a) Tokens in LVLMs are heterogeneous, representing both image patches and text. Determining which tokens should be pruned thus becomes more difficult; (b) The number of tokens computed during the prefill stage is significantly larger than that in LLMs. Each image or video frame in LVLMs is embedded into hundreds to thousands of tokens upfront (e.g., 576 in LLaVA-v1.5 (Liu et al., 2023a) and 7,290 in LLaVA-OneVision (Li et al., 2024a)), a considerable amount compared to the context lengths of LLMs (see Fig. 1) (Llama Team, 2024; Jiang et al., 2023; Vicuna Team, 2023). As a result, current LVLMs are limited by significantly heavier GPU memory usage than their LLM counterparts during prefill. A few recent studies have proposed addressing the first challenge on token heterogeneity (Chen et al., 2024a; Li et al., 2024c). However, existing research on solving the second challenge remains sparse. In this paper, we propose LightKV, a novel method for optimizing KV cache storage in LVLMs during the prefill stage without retraining. To this end, we leverage cross-modal prompt guidance to compress vision tokens. Our method follows a three-step design. First, we conceptually map each vision token to a graph node, constructing a bipartite graph with edges representing a feature divergence (FD) metric between the connected nodes. Nonetheless, computing FD in a pairwise manner is still expensive, especially with a large number of vision tokens. To alleviate this problem, second, we split the vision tokens into sub-windows based on their original spatial locations. This allows us to reduce the complexity of computing FD and aggregating information across tokens, thus improving efficiency. Third, our method does not follow existing studies (Chen et al., 2024b) to perform vision token reduction independently, as the text prompts offer more informative signals for vision token importance. Consequently, we leverage on-the-fly cross-modal attention scores between vision tokens and prompt tokens for informed token updates. We find that although this approach has been largely ignored by the existing literature, it delivers superior results to state-of-the-art baselines. We apply LightKV to eight state-of-the-art LVLM models: LLaVA-v1.5-13B, LLaVA-v1.5-7B (Liu et al., 2023a), LLaVA-NeXT-13B, LLaVA-NeXT-7B (Liu et al., 2024b), InternVL2-8B (Chen et al., 2024c), EVE7B-v1, EVE-7B-v1-HD (Diao et al., 2025), Qwen2.5-VL (Bai et al., 2025), and conduct extensive experiments across eight benchmarks, e.g., MME (Fu et al., 2024) and SeedBench (Li et al., 2024b). Our results 2

Published in Transactions on Machine Learning Research (04/2026)

demonstrate that LightKV can reduce the KV memory of vision tokens by 50% while maintaining, sometimes even surpassing, the vanilla LVLM performance. Furthermore, when constrained with the same token length generation budget, the inference cost in FLOPs is reduced by 40%. In summary, LightKV reduces the KV cache footprint in LVLMs by compressing vision tokens during the prefill stage under the guidance of text prompts. This prompt-aware design distinguishes it from existing SOTA vision-only methods, delivering (1) greater efficiency and (2) superior benchmark performance. Importantly, LightKV is entirely training-free and can be seamlessly applied to a wide range of LVLMs, including both vision encoder-based and encoder-free models.

2

Related work

Large vision-language models Following the success of large language models (LLMs) in the language domain (Vicuna Team, 2023; OpenAI, 2024; Llama Team, 2024), large vision-language models (LVLMs) have shown substantial progress on various multimodal tasks (Team, 2024b;a; Driess et al., 2023). Current LVLMs primarily fall into the following three directions: (a) Fusion-based methods directly inject vision information into the LLM decoders using cross-attention (Alayrac et al., 2022; Awadalla et al., 2023; Li et al., 2023a; Gong et al., 2023). (b) Query-based LVLMs extract vision information with learnable query tokens, which are then concatenated with text tokens (Li et al., 2023b; Dai et al., 2023; Zhu et al., 2024; Li et al., 2024c; Zhang et al., 2023a). (c) Projection-based methods directly map the encoded tokens from a vision encoder into the text space (Liu et al., 2023a; 2024b;c; Li et al., 2024a; Bai et al., 2023; Huang et al., 2023; Diao et al., 2025). However, despite their simplicity, such a projection substantially increases the memory footprint of the input sequence.

KV cache optimization KV cache has been widely used in LLMs and LVLMs to improve their inference efficiency (Dao et al., 2022; Pope et al., 2023; Kwon et al., 2023; Lee et al., 2024). The core idea is to store the key and value tokens to reduce future redundant computations. However, in situations with long contexts, keeping the KV cache imposes an increased burden on GPU memory. Existing approaches addressing this can be roughly categorized into two groups: (a) KV-sharing-based and (b) token-reduction-based. Specifically, methods from (a) improve the multi-headed attention mechanism to achieve efficiency. For instance, MQA (Hu et al., 2025) and GQA (Ainslie et al., 2023) share keys and values across attention heads (Vaswani et al., 2017), reducing the amount of KV needed to be cached. In contrast, methods from (b) improve KV cache size by pruning or merging tokens based either on minimal importance (Zhang et al., 2023b; Li et al., 2024d; Cai et al., 2024) or attention consistency across layers (Liu et al., 2023b; 2024d; Yang et al., 2024). Beyond LLMs, some initial efforts have been devoted to optimizing the KV cache for LVLMs. In particular, LLaVolta (Chen et al., 2024a), IVTP (Huang et al., 2024) and FastV (Chen et al., 2024b) propose pruning vision tokens in the LLM decoder backbone. The first two require model retraining; FastV, though training-free, prunes vision tokens without cross-modality guidance, yielding inconsistent results across models and benchmarks. In contrast, LightKV leverages guidance from text tokens to deliver more consistent and superior performance across a diverse set of benchmarks.

Vision token compression Tokens in vision transformers (ViTs) (Dosovitskiy et al., 2021) often exhibit high redundancy (Bolya et al., 2023; Pan et al., 2022; Chen et al., 2024b). To address this, some approaches train modules to identify and discard less important tokens (Rao et al., 2021; Bonnaerens & Dambre, 2023; Yin et al., 2022; Fayyaz et al., 2022; Wei et al., 2023; Chen et al., 2023; Zhang et al., 2024; Mao et al., 2025). Some other typical methods first group tokens based on similarity or distance (Bolya et al., 2023; Tran et al., 2024; Kim et al., 2024; Alvar et al., 2025) or image segmentation (Xu et al., 2022; Lu et al., 2023) and then prune or merge the tokens with the maximum similarity. These methods either (a) require the training of additional module(s), or (b) do not support the vision-language joint reasoning as in LVLMs. 3

Published in Transactions on Machine Learning Research (04/2026)

(2) Select edges

(3) Message passing

(4) Eliminate nodes

𝜉

𝜉

𝜉

Vision tokens from 𝒜

Vision tokens from ℬ

𝜉

(5) Reorder into sequence

𝜉

(1) Construct graph

𝜉

Graph Message Passing

𝜉

Prompt guidance weight

Updated vision token

Eliminated vision token

< Sequence of vision tokens >

Figure 2: Method overview of intra-window token compression. Step 1: Construct a bipartite graph by partitioning the vision tokens into non-overlapping sets A (blue) and B (orange), weight each edge by an FD metric, defined in Eq. 5. Step 2: Select edges with the smallest ⌊ρv/2⌋ FD values and delete the rest. The unconnected nodes are left unchanged. Step 3: Pass messages from nodes in A to connected nodes in B, weighted by their corresponding attention scores ξ, as computed in Eq. 7. Then, aggregate messages and update nodes in B. Step 4: Eliminate the now-redundant nodes from A. Step 5: Reorder the remaining nodes into a sequence of vision tokens, serving as input to the next decoder layer.

3

Method

3.1

Preliminaries

Recent LLMs often operate in an autoregressive fashion: given a sequence of p text prompt tokens [x1 , . . . , xp ] (including both system prompt and user prompt), and t − p previously generated tokens [xp+1 , . . . , xt ], an LLM with parameters Θ predicts the next token xt+1 with:  (1) PΘ xt+1 | x1 , . . . , xp , xp+1 , . . . , xt . {z } | {z } | Prompt tokens Generated tokens

The above process is often implemented in two stages: prefill and generation (Golden et al., 2024). During prefill, the model tokenizes all p prompt tokens and computes the queries Qp = [q1 , q2 , . . . , qp ], similarly for keys Kp and values Vp (Vaswani et al., 2017). In contrast, during generation, when a new token arrives, the model first obtains the query qt+1 , key kt+1 , and value vt+1 vectors. It then computes the attention matrix by applying qt+1 to the full set of keys Kt+1 :  p  ⊤ A = softmax qt+1 Kt+1 / dk , (2) where dk represents the embedding dimension. In practice, the attention output would be a concatenation of matrices A = [A1 , . . . , AH ] from H independent attention heads. KV cache From the above, we observe that the autoregressive nature of LLMs allows for the previously computed keys Kt and values Vt to be reused in future time steps during generation. This operation reduces the computational overhead by preventing the recomputation of key and value tokens (Xu et al., 2025). However, an increased consumption of GPU memory is usually induced by the growing size of the KV cache. This is often manifested as: (a) generating lengthy sequences and (b) caching many contexts during prefill. In this work, we primarily focus on improving the second. LVLMs LVLMs build on LLMs by extending their architecture to process visual information. A common paradigm in LVLMs is to first map the split image patches into tokens using ViT-based encoders (Dosovitskiy et al., 2021; Radford et al., 2021; Bao et al., 2022), and then concatenate these tokens with the prompt tokens to form the input sequence. In general, LVLMs generate tokens by conditioning on both text prompt tokens and vision tokens:  PΘ xt+1 | x1 , . . . , xp , xp+1 , . . . , xp+v , xp+v+1 , . . . , xt . (3) | {z } | {z } | {z } Prompt tokens

Vision tokens

4

Generated tokens

Published in Transactions on Machine Learning Research (04/2026)

We denote Xv as the sequence of v vision tokens in Eq. 3. Similar to LLMs, KV cache is a key component in speeding up inference in LVLMs. In this paper, we focus primarily on compressing vision tokens for two reasons: (a) as shown in Fig. 1, vision tokens greatly outnumber text prompt tokens; (b) preliminary studies showed that reducing text tokens causes severe performance degradation. 3.2

LightKV

As illustrated in Fig. 2, the pipeline of LightKV functions as follows: At each specified decoder layer during the prefill stage, given a sequence of vision tokens, we first reconstruct their grid structure as in the original image. These tokens are then partitioned into w × w small, non-overlapping windows, each containing an equal number of tokens. Within each window, we perform message passing to compress vision tokens, simultaneously reducing KV size and the length of the vision input to the next decoder layer (see Sec. 3.2.1). This is repeated in later layers with larger effective windows to achieve inter-window compression (see Sec. 3.2.2). 3.2.1

Intra-window token compression

To address redundancy in vision tokens, we utilize message passing to aggregate information among tokens with low feature divergence (FD) (see Eq. 5), and subsequently eliminate redundant nodes within each window ω. The message passing and update procedure is applied independently to each window. For notational clarity, we omit the subscript ω and use v to denote the number of tokens in a window in Sec. 3.2.1. Graph construction We map the vision tokens within each window to a bipartite graph. For notational simplicity, we slightly abuse notation and use x to denote the embedding of a vision node. Step 1: In each window, we first map each token x to a graph node, with X = {x|x ∈ Xv }. Next, we partition the set of nodes into two near-equal subsets, XA and XB (shown in blue and orange, respectively, in Fig. 2), by assigning tokens in an alternating manner: odd-indexed tokens to XA and even-indexed tokens to XB . We then construct a bipartite graph between the two subsets with edges E:  E = XA × XB = (xα , xβ ) | ∀ xα ∈ XA , ∀ xβ ∈ XB , (4) where × denotes set cross product. We modify the FD in (Tran et al., 2024; Wang et al., 2024) to weight each edge in the graph: ⟨xα , xβ ⟩ FD(α, β) = 1 − , (5) ||xα || ||xβ || where ⟨·, ·⟩ denotes the inner product and || · || is the L2 -norm. Step 2: We compute the feature divergence FD(α, β) for all bipartite pairings between XA and XB . These pairs are subsequently ranked in ascending order, and we construct the candidate set Tρ by selecting the ⌊ρv/2⌋ pairs with the lowest FD values, where ρ denotes the ratio of tokens removed. Note that one-to-one matching is not enforced in Tρ : multiple nodes in XA may connect to the same node in XB . We then define the adjacency matrix M ∈ {0, 1}|XA |×|XB | as ( 1, if (α, β) ∈ Tρ , Mα,β = (6) 0, otherwise. Edges not in Tρ are temporarily removed and unconnected nodes XR = {xr | ∄ β s.t.(r, β) ∈ Tρ } are unchanged. Token message passing In LVLMs, the heterogeneity of tokens introduces a challenge in evaluating the importance of each vision token, and prior works often disregard this by compressing tokens uniformly without accounting for their relative significance. Instead, LightKV reuses the attention weights from the LLM decoder to estimate token importance, which are readily available during prefill without additional computation, as shown in Eq. 2. This serves as a signal to preserve the visual features most relevant to the prompt, as measured by how strongly each vision token attends to the prompt tokens, and is used as guidance in the message-aggregation process. Step 3: Given the H-headed attention matrix A ∈ RH×(p+v)×(p+v) , for a vision token with index i, we accumulate the attention of each vision token towards the prompt tokens: ξi =

H X X h=1 j∈J

5

A[h, i, j],

(7)

Published in Transactions on Machine Learning Research (04/2026)

where J is the set of indices for the p prompt tokens. Here, A[h, i, j] denotes the attention weight where the query corresponds to vision token i and the key corresponds to prompt token j. Thus, ξi captures how strongly each vision token aligns with the prompt semantics. Next, we gather the attention for each window ω into vectors ξA ∈ R|XA | and ξB ∈ R|XB | with the same partitions as XA and XB . We update XB by accumulating messages from its adjacent tokens:   −1 × XB ⊙ ξB + M⊤ ( XA ⊙ ξA ) , XB = ξB + M ⊤ ξ A | {z } | {z } | {z } (3) Normalize by sum of attentions

(1) Prompt-guidance for B

(1) Prompt-guidance for A

|

{z

}

(2) Message passing over edges M

where (·)−1 denotes element-wise inverse and ⊙ is the Hadamard product. This can be broken down into three parts: (1) Messages from each token xi are weighted by its attention ξi . (2) Next, messages from the tokens in XA are passed to those in XB through the edges defined in M , updating tokens in XB . The choice of direction is arbitrary, and the reverse direction can be defined analogously. (3) Finally, tokens in XB are normalized to remain scale-invariant. Importantly, our aggregation operation utilizes the attention ξ as guidance, ensuring the preservation of visual information that is most relevant to the prompt and the generation of the final response. Step 4: After the update, the now-redundant nodes in XA \ XR are deleted. Step 5: Finally, the unchanged tokens XR and the updated XB are concatenated to form the final sequence of tokens for window ω. Complexity In contrast to computing fully pairwise FD among v vision tokens in each window (which requires 12 v(v − 1) computations), the bipartite strategy reduces this by half to ∼ 41 v 2 . We further validate this lower cost empirically in Table 13. Difference from ToMe LightKV adopts a bipartite matching approach, similar to ToMe (Bolya et al., 2023), to reduce the cost of pairwise calculations. However, ToMe and subsequent methods assume all tokens are equally important, merging them without differentiation. In contrast, LightKV uses crossmodality attention to guide message passing and aggregation, preserving the most relevant information during compression, yielding superior results (see Sec. 4). 3.2.2

Inter-window token compression < Layers 𝜆# + 1 to 𝐿 >

In this section, the subscript ω is used to denote variables specific to an individual spatial window.

GMP

Window partitioning As discussed above, we split the entire set of vision tokens into window partitions < Layers 𝜆 + 1 to 𝜆 > in a non-overlapping manner. Specifically, each window ω contains vω = v/(w × w) vision tokens. This … GMP GMP reduces the total number of operations involved in 1 computing FD measures from the original 2 v(v − 1) to 12 wv2 ( wv2 − 1) × w2 → 12 v( wv2 − 1). Moreover, since < Layers 𝜆 + 1 to 𝜆 > spatially adjacent patches typically share semantic similarities, our window-based method confines message aggregation to within a small locality, preserving GMP GMP GMP GMP … the positional information of tokens in the original image (Song et al., 2024; Norouzi et al., 2024). A < Layers 1 to 𝜆 > global message passing strategy might inadvertently aggregate information from tokens representing unrelated entities, compromising locality and semantic Figure 3: After each compression step, w is reduced to allow message passing across greater spatial distances. coherence (Xu et al., 2022; Pan et al., 2022). "

#

!

"

!

Hierarchical structure We adopt a hierarchical compression strategy to improve efficiency, inspired by Swin-Transformer (Liu et al., 2021). Prior studies have shown that LLMs and LVLMs exhibit a layer-wise 6

Published in Transactions on Machine Learning Research (04/2026)

semantic hierarchy, where earlier layers tend to capture more local semantics while later layers progressively encode more global relations (Du et al., 2025; Li et al., 2026). Motivated by this observation, we design an iterative vision-token compression strategy that combines intra-window compression in earlier stages with progressively broader inter-window information aggregation in later stages. Given an LVLM with L layers, we perform s compression iterations (where s < L), governed by three scheduling hyperparameters: Λ = [λ1 , . . . , λs ],

W = [w1 , . . . , ws ],

P = [ρ1 , . . . , ρs ].

The hyperparameters Λ, W, and P define the layer, window partition, and compression schedules, respectively. For the i-th iteration, λi denotes the target decoder layer, wi2 represents the number of window partitions, and ρi specifies the per-step ratio in token reduction. Specifically, the vision tokens exiting the decoder layer λi are partitioned into wi2 partitions. Within each window, vision tokens are compressed such that only a fraction (1 − ρi ) remains for subsequent layers. By enforcing wi > wi+1 , we progressively expand the spatial scope of message passing across iterations, thus achieving hierarchical compression shown in Fig. 3. 3.3

Complexity analysis

Without any compression, the prefill stage processes in total v × L vision tokens.1 With s compression steps, the number of vision tokens processed during prefill now reduces to: ! s  i−1 s  X Y Y v× λ1 + (λi − λi−1 ) (1 − ρj ) + (L − λs ) (1 − ρj ) . (8) i=2

|{z} (1)

|

j=1

j=1

{z

}

(2)

|

{z

(3)

}

If we consider the number of vision tokens in each layer independently, then the total number of vision tokens processed in L decoder layers in a vanilla LVLM is simply v × L. However, the number of vision tokens reduces at every compression layer λi (note that message passing and accumulation occur after each Qi−1 decoder layer λi ). v × j=1 (1 − ρj ) denotes the number of remaining vision tokens after i − 1 accumulation steps. Then, between   each pair of accumulation layers λi−1 and λi , the number of vision tokens processed is Qi−1 v × j=1 (1 − ρj ) × (λi − λi−1 ). Therefore, Eq. 8 can be broken down into: (1) number of vision tokens processed before the first accumulation step, (2) number of vision tokens processed between the first and the last accumulation step, and (3) number of vision tokens processed after the last accumulation step. For example, in an LVLM with L = 40 decoder layers, choosing Λ = [10, 20, 30] and P = [0.5, 0.5, 0.5] reduces the vision token count to 46.9% of the baseline.

4

Experiments

4.1

Experimental settings

LVLM base models We evaluated the efficiency and performance of LightKV by applying it to eight open-source LVLMs: LLaVA-v1.5-13B, LLaVA-v1.5-7B, LLaVA-NeXT-13B, LLaVA-NeXT-7B, InternVL2-8B, EVE-7B-v1, EVE-7B-v1-HD, and Qwen2.5-VL-7B-Instruct. LLaVA-v1.5 encodes 576 vision tokens per image, while LLaVA-NeXT uses 2,144. In contrast, InternVL2 and Qwen2.5-VL adopt dynamic vision encoding, with token counts determined by image resolution. It is worth noting that, unlike other models, which employ a dedicated image encoder, EVE is vision encoder-free. These base models are labeled as Vanilla. Datasets We utilized eight publicly available large-scale benchmark datasets for evaluation: Coco Caption (Lin et al., 2014), GQA (Hudson & Manning, 2019), MME (Fu et al., 2024), NoCaps (labeled “NC”) (Agrawal et al., 2019), Pope (Li et al., 2023c), SeedBench (“Seed”) (Li et al., 2024b), ScienceQA (“SQA”) (Lu et al., 2022), and VizWiz (“VW”) (Gurari et al., 2018). These benchmarks cover a wide range of tasks, from general, everyday image understanding to fine-grained image reasoning. MME, Pope, SeedBench, and ScienceQA are limited to single-choice answers, while Coco Caption, GQA, NoCaps, and VizWiz involve open-ended responses comprising long sentences. 1We omit the double estimation of key and value cache for simplicity.

7

Published in Transactions on Machine Learning Research (04/2026)

Table 1: Results of LightKV on LLaVA models at 55% vision token retention in the KV cache. Avg % denotes the average of all performance metrics normalized against the Vanilla model. Methods are grouped by category and sorted by average score. “NC” and “VW” denote NoCaps and VizWiz, respectively. FLOPs

Mem

TTFT

Tera ↓

GB ↓

sec ↓

Vanilla

19.4

0.55

0.130

Elastic Rand ImgRand ToMe (C)

19.3 19.0 19.0 19.0

0.31 0.31 0.31 0.33

0.598 0.134 0.134 0.141

ToFu PiToMe ToMe (P) LightKV FastV

12.6 12.6 12.6 12.6 12.4

0.37 0.37 0.37 0.37 0.36

0.094 0.093 0.094 0.098 0.085

295.4 1532.0 Post prefill 0.96 295.4 1534.5 0.48 295.4 1532.9 0.95 295.4 1532.9 1.00 295.4 1532.9 During prefill 1.14 292.1 1535.7 1.14 297.5 1529.0 1.16 297.5 1529.9 1.15 302.1 1543.8 1.16 308.9 1546.6

Vanilla

10.2

0.35

0.078

1.10

Elastic Rand ToMe (C) ImgRand

10.2 9.9 10.0 9.9

0.20 0.21 0.20 0.20

0.449 0.081 0.086 0.082

HiRED ToMe (P) PiToMe ToFu FastV LightKV

6.6 6.6 6.6 5.3 6.6

0.23 0.23 0.23 0.22 0.23

0.058 0.058 0.058 0.052 0.065

355.7 1509.6 Post prefill 0.41 350.4 1508.9 0.13 350.4 1508.9 0.13 350.4 1508.9 0.22 350.4 1508.9 During prefill 1.03 335.0 1452.0 1.09 319.6 1490.5 1.08 341.0 1498.5 1.09 340.0 1482.3 1.10 351.1 1513.7 1.11 357.5 1519.8

Vanilla

65.0

1.75

0.656

1.02

Elastic Rand ToMe (C) ImgRand

60.8 61.3 60.8

0.91 0.93 0.91

2.302 0.651 0.683 0.652

ToMe (P) ToFu PiToMe FastV LightKV

37.3 37.3 37.3 36.1 37.3

1.05 1.05 1.05 1.04 1.05

0.394 0.394 0.396 0.321 0.383

318.9 1575.1 Post prefill OOM OOM OOM 0.06 318.9 1575.1 0.07 318.9 1575.1 0.07 318.9 1575.1 During prefill 0.97 308.5 1551.0 0.97 305.0 1539.5 0.98 311.9 1558.2 0.91 311.1 1477.5 0.96 326.1 1576.5

Vanilla

34.8

1.12

0.397

1.00

Elastic Rand ImgRand ToMe (C)

34.7 32.2 32.2 32.5

0.58 0.58 0.58 0.60

1.693 0.397 0.397 0.416

FastV HiRED ToMe (P) ToFu PiToMe LightKV

18.5 21.1 20.0 20.0 22.3

0.65 0.67 0.67 0.67 0.67

0.197 0.245 0.245 0.247 0.259

LLaVA-NeXT-7B

LLaVA-NeXT-13B

LLaVA-v1.5-7B

LLaVA-v1.5-13B

Method

Coco

MME C

P

1.16

330.0 1528.2 Post prefill 0.02 332.1 1519.3 0.02 322.5 1523.2 0.02 322.5 1523.2 0.03 322.5 1523.2 During prefill 0.88 265.4 1341.3 0.73 297.9 1398.9 0.93 292.9 1419.0 0.93 295.4 1427.2 0.94 292.1 1415.5 0.98 338.6 1517.3

NC

Pope

Seed

VW

Avg %

0.86

0.69

0.57

100.00

0.43 0.46 0.69 0.79

0.96 0.89 0.91 0.88

OOM 0.70 0.70 0.70

0.14 0.13 0.19 0.18

68.54 70.53 85.09 87.10

1.08 1.07 1.07 1.08 1.09

0.86 0.87 0.87 0.87 0.86

0.86 0.85 0.86 0.86 0.85

0.38 0.38 0.39 0.69 0.68

0.55 0.55 0.55 0.56 0.57

93.36 93.42 93.96 99.94 100.22

1.05

0.87

0.86

0.66

0.54

100.00

0.30 0.10 0.09 0.16

0.30 0.74 0.87 0.86

0.93 0.87 0.86 0.86

OOM 0.66 0.66 0.66

0.09 0.11 0.18 0.16

52.95 65.80 69.02 70.27

1.00 1.01 1.02 1.02 1.04 1.03

0.85 0.87 0.86 0.86 0.85 0.87

0.83 0.86 0.85 0.85 0.83 0.86

0.66 0.66 0.65 0.66 0.66 0.66

0.53 0.52 0.51 0.52 0.54 0.53

96.45 97.52 97.63 97.98 99.03 99.79

0.88

0.88

0.86

0.69

0.64

100.00

OOM 0.04 0.05 0.05

OOM 0.82 0.87 0.87

OOM 0.86 0.86 0.86

OOM 0.69 0.69 0.69

OOM 0.08 0.08 0.08

0.00 64.51 65.48 65.50

0.84 0.83 0.86 0.81 0.83

0.87 0.88 0.87 0.82 0.87

0.86 0.87 0.86 0.78 0.86

0.34 0.36 0.34 0.68 0.69

0.60 0.60 0.60 0.61 0.61

90.96 91.31 91.56 93.80 98.12

0.88

0.88

0.86

0.68

0.61

100.00

0.01 0.01 0.02 0.02

0.18 0.65 0.85 0.87

0.90 0.87 0.87 0.86

OOM 0.68 0.68 0.68

0.08 0.08 0.08 0.08

42.67 61.08 64.06 64.33

0.78 0.67 0.78 0.78 0.79 0.83

0.81 0.88 0.88 0.88 0.88 0.88

0.77 0.87 0.87 0.87 0.87 0.86

0.69 0.66 0.65 0.66 0.65 0.69

0.58 0.58 0.57 0.57 0.58 0.58

90.37 90.68 94.18 94.52 94.58 98.85

Acc

F1

1.09

0.87

0.87 0.46 0.86 0.92

Compared baselines We adapted two existing techniques from other related domains: ToMe (Bolya et al., 2023) (labeled “ToMe (C)”) and ElasticCache (Liu et al., 2024d). For comparison, we implemented two 8

Published in Transactions on Machine Learning Research (04/2026)

Table 2: Results of LightKV on InternVL2-8B at two vision token retention rates in KV cache. “Avg %” denotes the average of all metrics normalized against the Vanilla model. Methods are sorted by average score. “VW” denotes VizWiz. FLOPs

Mem

TTFT

Tera ↓

GB ↓

sec ↓

Acc

F1

Vanilla

35.7

0.24

FastV ToFu PiToMe ToMe (P) LightKV

24.8 22.1 22.1 22.1 23.1

0.15 0.15 0.15 0.15 0.15

0.460 0.90 0.63 587.5 1623.8 0.88 During prefill, retain 60% vision tokens 0.520 0.80 0.50 569.6 1610.9 0.47 0.395 0.81 0.62 502.1 1575.5 0.87 0.396 0.99 0.60 461.8 1545.3 0.87 0.397 0.87 0.62 551.4 1621.8 0.87 0.391 0.91 0.63 590.0 1623.8 0.88

FastV PiToMe ToMe (P) ToFu LightKV

22.9 22.1 22.1 22.1 23.1

0.14 0.15 0.15 0.15 0.15

During prefill, retain 55% vision tokens 0.517 0.68 0.47 582.1 1611.1 0.56 0.396 1.00 0.61 442.9 1575.5 0.87 0.397 0.81 0.62 503.9 1570.0 0.87 0.395 0.75 0.62 541.8 1619.1 0.87 0.391 0.88 0.62 590.0 1623.8 0.88

Coco

MME

GQA

C

Table 3: Results of LightKV on EVE-7B-v1 models at 55% retention of vision tokens in the KV cache. “NC” and “VW” denote NoCaps and VizWiz, respectively. Method

Vanilla FastV LightKV Vanilla FastV LightKV

Coco

MME C

P

NC

Pope Acc

F1

VW

Avg %

0.96 0.85 1.00

269.2 259.3 269.3

EVE-7B-v1 1230.8 0.94 0.84 1144.5 0.78 0.80 1203.1 0.93 0.84

0.83 0.77 0.83

0.46 0.44 0.43

100.00 92.07 99.20

1.05 0.97 0.97

EVE-7B-v1-HD 304.6 1314.1 1.02 0.86 290.3 1238.6 0.93 0.83 291.4 1308.9 0.94 0.86

0.85 0.82 0.85

0.56 0.55 0.54

100.00 94.90 96.61

Pope P

SQA

VW

Avg %

0.87

0.97

0.61

100.00

0.87 0.86 0.86 0.86 0.87

0.49 0.94 0.90 0.95 0.97

0.53 0.60 0.60 0.60 0.61

81.90 95.49 95.99 97.86 100.19

0.85 0.86 0.86 0.85 0.87

0.46 0.90 0.95 0.95 0.97

0.48 0.57 0.60 0.60 0.61

79.49 95.54 95.62 95.82 99.58

Relative Performance on Retention Rate

105

Relative performance (%)

Method

103.7%

100

Vanilla (100) 99.2%

101.1% 99.3%

95

90

Average VQA

0.20

0.30

0.40

Vision token retention rate

Reason Hallucinate

0.55

Figure 4: Effect of varying retention rates on Qwen2.5-VL. The “Average” curve summarizes the overall performance trend across Reasoning, VQA, Hallucination and Captioning.3

random-eviction baselines: Rand and ImgRand. Rand and ElasticCache prune both text and vision tokens, whereas ImgRand and ToMe reduce vision tokens only. It is important to note that the previously mentioned methods perform token reduction after the prefill stage. Additionally, for token reduction during prefill, we implemented ToMe (labeled “ToMe (P)”) and four recent SOTA strategies: FastV (Chen et al., 2024b), PiToMe (Tran et al., 2024), ToFu (Kim et al., 2024) and HiRED (Arif et al., 2025).2 Implementation details In our experiments, we retain the default parameters of the LVLM backbones and use greedy decoding for reproducibility. For FastV, we adopt the reported optimal setting of K = 2 and vary only R to control the KV cache pruning ratio. For other methods, we adapted them to work with the LVLM backbones as faithfully as possible. To ensure consistency, we fix the schedule of LightKV’s compression layers Λ, compression ratios P, and window sizes W across all benchmarks for each LVLM model. We utilized lmms-eval (Zhang et al., 2025) for all benchmark evaluations. We profiled the time-to-first-token (TTFT) and the generation latency for 100 tokens by averaging over 10 runs on an NVIDIA A100 GPU. 2 HiRED uses the same model but with HuggingFace optimizations; efficiency metrics are omitted for fairness. 3 The Captioning trend is omitted because its performance remains above 105%, exceeding the current vertical axis range.

9

Published in Transactions on Machine Learning Research (04/2026)

Table 4: Comparison of prompt-guided weighting to uniform and random variants at 55% vision token retention.

4.2

MME

Method

Coco

Uniform Random Prompt

1.14 1.14 1.15

299.6 300.0 302.1

Uniform Random Prompt

0.98 0.97 0.96

311.0 311.1 326.1

C

Pope

Seed

VW

Avg %

LLaVA-v1.5-13B 1535.0 1.06 0.87 0.86 1534.5 1.07 0.87 0.85 1543.8 1.08 0.87 0.86

0.39 0.39 0.69

0.55 0.56 0.56

93.78 93.96 99.94

LLaVA-NeXT-13B 1547.3 0.85 0.86 0.85 1542.3 0.84 0.86 0.86 1576.5 0.83 0.87 0.86

0.35 0.34 0.69

0.60 0.59 0.61

91.18 90.65 98.12

P

NC

Acc

F1

Main results

We compare the performance of LightKV with other SOTA methods on LLaVA models (Table 1), InternVL (Table 2), EVE (Table 3) and Qwen2.5-VL (Fig. 4 and Table 10 in the appendix). For each LVLM model, we selected the optimal configurations of Λ and W based on performance on Coco and MME, and applied these hyperparameters to the remaining benchmarks. We also profiled efficiency metrics, including FLOPs, KV cache memory (from prompt, vision, and generated tokens), and time to first token (TTFT) when generating 100 tokens (standard deviation reported in the supplementary). Our key findings are summarized as follows: • Tables 1, 2, 3 and 10 show that LightKV consistently preserves the performance of the base LVLMs across most benchmarks. In some cases, our method surpasses the performance of LVLMs without compression. • Compared to methods applied during the prefill stage (see Table 1), LightKV either outperforms or achieves highly competitive results, ranking first in 3 out of 4 LLaVA models and second in the remaining one. Furthermore, baseline methods often obtain lower FLOPs or memory at the cost of larger performance degradation, whereas LightKV provides a stronger performance-efficiency tradeoff. • Our method yields the most consistent performance across the models, while others exhibit inconsistent rankings due to substantial degradations. For example, FastV performs well on LLaVA-v1.5 models, but shows substantial drops on LLaVA-NeXT models. We attribute this to its pruning strategy, which removes vision tokens solely based on early-layer visual attention scores. Given that LLaVA-v1.5 encodes only 576 vision tokens while LLaVA-NeXT processes 2,144, early-layer attention in the latter is far sparser and less reliable as an importance signal, causing FastV to prematurely discard tokens that later contribute to cross-modal reasoning, a shortfall mitigated by our hierarchical strategy. • At even more aggressive compression ratios (e.g., retaining 20% and 30%), LightKV is capable of retaining 99% average performance across multiple benchmarks on Qwen2.5-VL (Fig. 4 and Table 10 in the appendix), further highlighting its robustness. • LightKV is compatible not only with vision encoder-based LVLMs, but also with encoder-free models such as EVE, which seek to reduce the strong inductive bias in the vision encoders. As shown in Table 3, our approach substantially outperforms FastV at the same compression rate, and is better at preserving the original capabilities of the LVLMs. • Post-prefill approaches substantially degrade performance on open-ended tasks, e.g., Coco and NoCaps. Additionally, they yield minimal improvements in efficiency, since the prefill stage remains the dominant memory and latency bottleneck. In contrast, LightKV operates during prefill within the decoder layers, resulting in significantly lower compute cost and memory footprint while achieving stronger performance.

10

Published in Transactions on Machine Learning Research (04/2026)

Table 5: TTFT (ms) and 100-token generation latency (s) ± Std. Dev. on LLaVA 13B models. Method

TTFT (ms)

Gen latency (s)

Vanilla LightKV

LLaVA-v1.5-13B 130 ± 0.393 2.89 ± 0.004 98 ± 1.045 2.80 ± 0.004

TTFT (ms)

Gen latency (s)

LLaVA-NeXT-13B 656 ± 1.479 3.79 ± 0.013 383 ± 0.878 3.29 ± 0.002

Table 6: Effect of varying window sizes w at different compression layers on the performance of InternVL-8B across benchmarks. “VW” denotes VizWiz. W

Coco

GQA

Vanilla

-

0.90

1 2 4 1 2 4

LightKV

Method

4.3

MME

Pope

SQA

VW

0.87

0.97

0.61

0.87 0.87 0.87

0.86 0.86 0.85

0.95 0.96 0.95

0.60 0.60 0.60

0.87 0.87 0.88

0.86 0.86 0.86

0.97 0.97 0.97

0.61 0.61 0.61

C

P

Acc

F1

0.63

587.5

1623.8

0.88

0.80 0.83 0.90

0.62 0.59 0.60

547.5 555.0 546.8

0.89 0.90 0.92

0.62 0.62 0.62

λ= 3 1602.5 1621.1 1594.8 λ= 14 577.1 1615.8 577.1 1620.3 577.9 1617.5

Additional experiments

Effect of prompt guidance To isolate the specific contribution of prompt-aware guidance within LightKV, we conduct an ablation study comparing our approach against variants utilizing uniform and random attention weights. As reported in Table 4, substituting our prompt-guided mechanism with these simpler weighting schemes results in consistent performance degradation across benchmarks. These findings validate the performance gains stemming from the cross-modal signals during compression. Latency profiling Table 5 illustrates the reduction in TTFT and generation latency over 100 tokens achieved by LightKV. As our approach requires explicit attention matrices, it is incompatible with I/Ooptimized mechanisms like FlashAttention (Dao et al., 2022). To overcome this, we selectively switch to eager computation in the small subset (s ≪ L) of layers where compression is applied, while retaining the optimized attention implementation for the majority. The marginal overhead is offset by the increased throughput achieved by processing fewer vision tokens in the downstream layers. See Sec. A.3.3 for more details. Influence of hierarchical compression We conducted experiments at the same compression layer λ while varying W, as presented in Table 6. Across different compression layers λ, the results show a similar general trend: there is more pronounced degradation with a global compression strategy w = 1, likely due to the inadvertent destruction of spatial locality (Xu et al., 2022; Pan et al., 2022; Song et al., 2024; Norouzi et al., 2024). We further evaluate the relative merits of our hierarchical compression in Table 7. We conduct additional experiments that perform compression directly on the full set of vision tokens (global-only), and only within fixed windows (local-only). Our results demonstrate that both variants underperform when compared to our strategy. This suggests that the efficacy of LightKV stems from the progressive expansion of the compression scope across stages, which balances local feature preservation with integration of global semantics. Lastly, we summarize the FLOPs and KV cache memory usage for different inference configurations in Table 8, which shows that changing W has limited impact on aggregated FLOPs and memory under the same compression schedule. 11

Published in Transactions on Machine Learning Research (04/2026)

Table 7: Performance comparison to global-only and local-only compression at 55% vision token retention. MME

Strategy

Coco

Global-only Local-only Ours

1.15 1.15 1.15

299.6 290.0 302.1

Global-only Local-only Ours

0.98 0.97 0.96

311.1 318.5 326.1

C

P

NC

Pope Acc

F1

LLaVA-v1.5-13B 1530.2 1.08 0.87 0.85 1529.9 1.08 0.87 0.85 1543.8 1.08 0.87 0.86 LLaVA-NeXT-13B 1549.8 0.85 0.87 0.86 1543.8 0.85 0.87 0.86 1576.5 0.83 0.87 0.86

Seed

VW

Avg %

0.39 0.38 0.69

0.55 0.56 0.56

93.92 93.55 99.94

0.34 0.34 0.69

0.60 0.60 0.61

91.31 91.44 98.12

Method

Λ

W

LLaVA-v1.5-13B FLOPs Mem

LLaVA-NeXT-13B FLOPs Mem

Vanilla

-

-

19.4

0.55

65.0

1.75

LightKV

Table 8: Profiling results by varying compression layers Λ and window sizes W on LLaVA 13B models.

15,23,31

4,2,1 6,4,2 4,2,1 6,4,2

12.6 12.6 13.1 13.1

0.37 0.37 0.38 0.38

37.3 37.3 39.0 39.0

1.05 1.05 1.09 1.09

17,24,31

Influence of compression layers We investigate the impact of varying layers for token compression, as illustrated in Figure 6 in the appendix. Trends between the compression layer and model performance reveal that compressing in the shallow layers has a more substantial impact on performance. This effect is particularly pronounced in VizWiz, where LVLMs must refrain from answering (e.g., when the ground truth is “unanswerable”). Compression in the deeper layers yields performance nearly identical to the base LVLM models, but offers little reduction in memory usage. Additional ablation studies, including bipartite vs. full pairwise matching for computing FD (Tables 12 and 13), similarity metrics (Table 16), and FastV under hyperparameter tuning (Table 18) are provided in Appendix Sec. A.3.2.

5

Conclusion

In this paper, we present LightKV, a novel training-free approach for optimizing KV cache storage for generalpurpose LVLMs. It leverages text-prompt-guided graph message passing and aggregation to informatively compress vision tokens during the prefill stage of inference. Our method is designed to be: (i) memoryefficient: by progressively and dynamically compressing vision tokens through a hierarchical process; and (ii) compute-efficient: by employing window-based graph partitioning and bipartite matching to accelerate message aggregation. The experimental results demonstrate that our approach: (a) largely preserves the general-purpose performance of the base LVLM across multiple benchmarks, and (b) outperforms existing baselines in performance-efficiency trade-off. Limitations We acknowledge two limitations: (a) LightKV leverages a bipartite graph matching algorithm, which splits vision tokens into two disjoint sets, then finds low-FD pairings between nodes across the two sets. This limits the compression rate to a maximum of 50% per step, thus requiring multiple iterations to achieve higher overall reduction. (b) Furthermore, our method explicitly computes attention matrices for cross-modality guidance during a small number of compression steps, similar to prior approaches (Chen et al., 2024b; Liu et al., 2023a). These steps are less compatible with IO-efficient implementations such as FlashAttention (Dao et al., 2022), which do not expose the full attention matrix. However, layers where compression is not applied remain fully compatible with FlashAttention. 12

Published in Transactions on Machine Learning Research (04/2026)

Acknowledgments We gratefully acknowledge the support of the NUS Artificial Intelligence Institute (NAII) through seed grant number NAII-SG-2025-027.

References Harsh Agrawal, Karan Desai, Yufei Wang, Xinlei Chen, Rishabh Jain, Mark Johnson, Dhruv Batra, Devi Parikh, Stefan Lee, and Peter Anderson. Nocaps: Novel object captioning at scale. In CVPR, pp. 8948–8957, 2019. Joshua Ainslie, James Lee-Thorp, Michiel de Jong, Yury Zemlyanskiy, Federico Lebrón, and Sumit Sanghai. Gqa: Training generalized multi-query transformer models from multi-head checkpoints. arXiv preprint arXiv:2305.13245, 2023. doi: 10.48550/arXiv.2305.13245. Jean-Baptiste Alayrac, Jeff Donahue, Pauline Luc, Antoine Miech, Iain Barr, Yana Hasson, Karel Lenc, Arthur Mensch, Katherine Millican, Malcolm Reynolds, Roman Ring, Eliza Rutherford, Serkan Cabi, Tengda Han, Zhitao Gong, Sina Samangooei, Marianne Monteiro, Jacob L. Menick, Sebastian Borgeaud, Andy Brock, Aida Nematzadeh, Sahand Sharifzadeh, Mikołaj Bińkowski, Ricardo Barreira, Oriol Vinyals, Andrew Zisserman, and Karén Simonyan. Flamingo: A visual language model for few-shot learning. In NeurIPS, pp. 23716–23736, 2022. Saeed Ranjbar Alvar, Gursimran Singh, Mohammad Akbari, and Yong Zhang. Divprune: Diversity-based visual token pruning for large multimodal models. In CVPR, 2025. doi: 10.48550/arXiv.2503.02175. Kazi Hasan Ibn Arif, JinYi Yoon, Dimitrios S. Nikolopoulos, Hans Vandierendonck, Deepu John, and Bo Ji. Hired: Attention-guided token dropping for efficient inference of high-resolution vision-language models. In AAAI, volume 39 of AAAI’25/IAAI’25/EAAI’25, pp. 1773–1781, 2025. ISBN 978-1-57735-897-8. doi: 10.1609/aaai.v39i2.32171. Anas Awadalla, Irena Gao, Josh Gardner, Jack Hessel, Yusuf Hanafy, Wanrong Zhu, Kalyani Marathe, Yonatan Bitton, Samir Gadre, Shiori Sagawa, Jenia Jitsev, Simon Kornblith, Pang Wei Koh, Gabriel Ilharco, Mitchell Wortsman, and Ludwig Schmidt. Openflamingo: An open-source framework for training large autoregressive vision-language models. arXiv preprint arXiv:2308.01390, 2023. doi: 10.48550/arXiv.2308.01390. Jinze Bai, Shuai Bai, Shusheng Yang, Shijie Wang, Sinan Tan, Peng Wang, Junyang Lin, Chang Zhou, and Jingren Zhou. Qwen-vl: A versatile vision-language model for understanding, localization, text reading, and beyond. arXiv preprint arXiv:2308.12966, 2023. Shuai Bai, Keqin Chen, Xuejing Liu, Jialin Wang, Wenbin Ge, Sibo Song, Kai Dang, Peng Wang, Shijie Wang, Jun Tang, Humen Zhong, Yuanzhi Zhu, Mingkun Yang, Zhaohai Li, Jianqiang Wan, Pengfei Wang, Wei Ding, Zheren Fu, Yiheng Xu, Jiabo Ye, Xi Zhang, Tianbao Xie, Zesen Cheng, Hang Zhang, Zhibo Yang, Haiyang Xu, and Junyang Lin. Qwen2.5-vl technical report. arXiv preprint arXiv:2502.13923, 2025. doi: 10.48550/arXiv.2502.13923. Hangbo Bao, Li Dong, Songhao Piao, and Furu Wei. Beit: Bert pre-training of image transformers. In ICLR, 2022. Daniel Bolya, Cheng-Yang Fu, Xiaoliang Dai, Peizhao Zhang, Christoph Feichtenhofer, and Judy Hoffman. Token merging: Your vit but faster. In ICLR, 2023. Maxim Bonnaerens and Joni Dambre. Learned thresholds token merging and pruning for vision transformers. TMLR, 2023. Zefan Cai, Yichi Zhang, Bofei Gao, Yuliang Liu, Tianyu Liu, Keming Lu, Wayne Xiong, Yue Dong, Baobao Chang, Junjie Hu, and Wen Xiao. Pyramidkv: Dynamic kv cache compression based on pyramidal information funneling. arXiv preprint arXiv:2406.02069, 2024. 13

Published in Transactions on Machine Learning Research (04/2026)

Jieneng Chen, Luoxin Ye, Ju He, Zhao-Yang Wang, Daniel Khashabi, and Alan Yuille. Efficient large multi-modal models via visual context compression. In NeurIPS, pp. 73986–74007, 2024a. Liang Chen, Haozhe Zhao, Tianyu Liu, Shuai Bai, Junyang Lin, Chang Zhou, and Baobao Chang. An image is worth 1/2 tokens after layer 2: Plug-and-play inference acceleration for large vision-language models. In Aleš Leonardis, Elisa Ricci, Stefan Roth, Olga Russakovsky, Torsten Sattler, and Gül Varol (eds.), ECCV, pp. 19–35, 2024b. ISBN 978-3-031-73004-7. doi: 10.1007/978-3-031-73004-7_2. Mengzhao Chen, Wenqi Shao, Peng Xu, Mingbao Lin, Kaipeng Zhang, Fei Chao, Rongrong Ji, Yu Qiao, and Ping Luo. Diffrate : Differentiable compression rate for efficient vision transformers. In ICCV, pp. 17118–17128, 2023. doi: 10.1109/ICCV51070.2023.01574. Zhe Chen, Weiyun Wang, Hao Tian, Shenglong Ye, Zhangwei Gao, Erfei Cui, Wenwen Tong, Kongzhi Hu, Jiapeng Luo, Zheng Ma, Ji Ma, Jiaqi Wang, Xiaoyi Dong, Hang Yan, Hewei Guo, Conghui He, Botian Shi, Zhenjiang Jin, Chao Xu, Bin Wang, Xingjian Wei, Wei Li, Wenjian Zhang, Bo Zhang, Pinlong Cai, Licheng Wen, Xiangchao Yan, Min Dou, Lewei Lu, Xizhou Zhu, Tong Lu, Dahua Lin, Yu Qiao, Jifeng Dai, and Wenhai Wang. How far are we to gpt-4v? closing the gap to commercial multimodal models with open-source suites. arXiv preprint arXiv:2404.16821, 2024c. doi: 10.48550/arXiv.2404.16821. Zhe Chen, Jiannan Wu, Wenhai Wang, Weijie Su, Guo Chen, Sen Xing, Muyan Zhong, Qinglong Zhang, Xizhou Zhu, Lewei Lu, Bin Li, Ping Luo, Tong Lu, Yu Qiao, and Jifeng Dai. Intern vl: Scaling up vision foundation models and aligning for generic visual-linguistic tasks. In CVPR, pp. 24185–24198, 2024d. doi: 10.1109/CVPR52733.2024.02283. Zhe Chen, Weiyun Wang, Yue Cao, Yangzhou Liu, Zhangwei Gao, Erfei Cui, Jinguo Zhu, Shenglong Ye, Hao Tian, Zhaoyang Liu, Lixin Gu, Xuehui Wang, Qingyun Li, Yimin Ren, Zixuan Chen, Jiapeng Luo, Jiahao Wang, Tan Jiang, Bo Wang, Conghui He, Botian Shi, Xingcheng Zhang, Han Lv, Yi Wang, Wenqi Shao, Pei Chu, Zhongying Tu, Tong He, Zhiyong Wu, Huipeng Deng, Jiaye Ge, Kai Chen, Kaipeng Zhang, Limin Wang, Min Dou, Lewei Lu, Xizhou Zhu, Tong Lu, Dahua Lin, Yu Qiao, Jifeng Dai, and Wenhai Wang. Expanding performance boundaries of open-source multimodal models with model, data, and test-time scaling. arXiv preprint arXiv:2412.05271, 2025. doi: 10.48550/arXiv.2412.05271. Wenliang Dai, Junnan Li, Dongxu Li, Anthony Tiong, Junqi Zhao, Weisheng Wang, Boyang Li, Pascale N. Fung, and Steven Hoi. Instructblip: Towards general-purpose vision-language models with instruction tuning. In NeurIPS, pp. 49250–49267, 2023. Tri Dao, Dan Fu, Stefano Ermon, Atri Rudra, and Christopher Ré. Flashattention: Fast and memory-efficient exact attention with io-awareness. In NeurIPS, pp. 16344–16359, 2022. Haiwen Diao, Yufeng Cui, Xiaotong Li, Yueze Wang, Huchuan Lu, and Xinlong Wang. Unveiling encoder-free vision-language models. In NeurIPS, pp. 52545–52567, 2025. ISBN 979-8-3313-1438-5. Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, Jakob Uszkoreit, and Neil Houlsby. An image is worth 16x16 words: Transformers for image recognition at scale. In ICLR, 2021. Danny Driess, Fei Xia, Mehdi S. M. Sajjadi, Corey Lynch, Aakanksha Chowdhery, Brian Ichter, Ayzaan Wahid, Jonathan Tompson, Quan Vuong, Tianhe Yu, Wenlong Huang, Yevgen Chebotar, Pierre Sermanet, Daniel Duckworth, Sergey Levine, Vincent Vanhoucke, Karol Hausman, Marc Toussaint, Klaus Greff, Andy Zeng, Igor Mordatch, and Pete Florence. Palm-e: An embodied multimodal language model. arXiv preprint arXiv:2303.03378, 2023. Jason Du, Kelly Hong, Alishba Imran, Erfan Jahanparast, Mehdi Khfifi, and Kaichun Qiao. How gpt learns layer by layer. arXiv preprint arXiv:2501.07108, 2025. doi: 10.48550/arXiv.2501.07108. Mohsen Fayyaz, Soroush Abbasi Koohpayegani, Farnoush Rezaei Jafari, Sunando Sengupta, Hamid Reza Vaezi Joze, Eric Sommerlade, Hamed Pirsiavash, and Jürgen Gall. Adaptive token sampling for efficient vision transformers. In ECCV, pp. 396–414, 2022. ISBN 978-3-031-20082-3. doi: 10.1007/978-3-031-20083-0_24. 14

Published in Transactions on Machine Learning Research (04/2026)

Chaoyou Fu, Peixian Chen, Yunhang Shen, Yulei Qin, Mengdan Zhang, Xu Lin, Jinrui Yang, Xiawu Zheng, Ke Li, Xing Sun, Yunsheng Wu, and Rongrong Ji. Mme: A comprehensive evaluation benchmark for multimodal large language models. arXiv preprint arXiv:2306.13394, 2024. doi: 10.48550/arXiv.2306.13394. Alicia Golden, Samuel Hsia, Fei Sun, Bilge Acun, Basil Hosmer, Yejin Lee, Zachary DeVito, Jeff Johnson, Gu-Yeon Wei, David Brooks, and Carole-Jean Wu. Generative ai beyond llms: System implications of multi-modal generation. In ISPASS, pp. 257–267, 2024. doi: 10.1109/ISPASS61541.2024.00032. Tao Gong, Chengqi Lyu, Shilong Zhang, Yudong Wang, Miao Zheng, Qian Zhao, Kuikun Liu, Wenwei Zhang, Ping Luo, and Kai Chen. Multimodal-gpt: A vision and language model for dialogue with humans. arXiv preprint arXiv:2305.04790, 2023. Danna Gurari, Qing Li, Abigale J. Stangl, Anhong Guo, Chi Lin, Kristen Grauman, Jiebo Luo, and Jeffrey P. Bigham. Vizwiz grand challenge: Answering visual questions from blind people. In CVPR, pp. 3608–3617, 2018. Wenbo Hu, Zi-Yi Dou, Liunian Li, Amita Kamath, Nanyun Peng, and Kai-Wei Chang. Matryoshka query transformer for large vision-language models. In NeurIPS, pp. 50168–50188, 2025. Kai Huang, Hao Zou, Ye Xi, BoChen Wang, Zhen Xie, and Liang Yu. Ivtp: Instruction-guided visual token pruning for large vision-language models. In ECCV, pp. 214–230, 2024. Shaohan Huang, Li Dong, Wenhui Wang, Yaru Hao, Saksham Singhal, Shuming Ma, Tengchao Lv, Lei Cui, Owais Khan Mohammed, Barun Patra, Qiang Liu, Kriti Aggarwal, Zewen Chi, Nils Bjorck, Vishrav Chaudhary, Subhojit Som, Xia Song, and Furu Wei. Language is not all you need: Aligning perception with language models. In NeurIPS, pp. 72096–72109, 2023. Drew A. Hudson and Christopher D. Manning. Gqa: A new dataset for real-world visual reasoning and compositional question answering. In CVPR, pp. 6693–6702, 2019. doi: 10.1109/CVPR.2019.00686. Albert Q. Jiang, Alexandre Sablayrolles, Arthur Mensch, Chris Bamford, Devendra Singh Chaplot, Diego de las Casas, Florian Bressand, Gianna Lengyel, Guillaume Lample, Lucile Saulnier, Lélio Renard Lavaud, Marie-Anne Lachaux, Pierre Stock, Teven Le Scao, Thibaut Lavril, Thomas Wang, Timothée Lacroix, and William El Sayed. Mistral 7b. arXiv preprint arXiv:2310.06825, 2023. doi: 10.48550/arXiv.2310.06825. Minchul Kim, Shangqian Gao, Yen-Chang Hsu, Yilin Shen, and Hongxia Jin. Token fusion: Bridging the gap between token pruning and token merging. In WACV, pp. 1372–1381, Waikoloa, HI, USA, 2024. ISBN 979-8-3503-1892-0. doi: 10.1109/WACV57701.2024.00141. Woosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng, Lianmin Zheng, Cody Hao Yu, Joseph Gonzalez, Hao Zhang, and Ion Stoica. Efficient memory management for large language model serving with pagedattention. In SOSP, pp. 611–626, 2023. ISBN 979-8-4007-0229-7. doi: 10.1145/3600006.3613165. Wonbeom Lee, Jungi Lee, Junghwan Seo, and Jaewoong Sim. Infinigen: Efficient generative inference of large language models with dynamic kv cache management. In OSDI, pp. 155–172, 2024. ISBN 978-1-939133-40-3. Bo Li, Peiyuan Zhang, Jingkang Yang, Yuanhan Zhang, Fanyi Pu, and Ziwei Liu. Otterhd: A high-resolution multi-modality model. arXiv preprint arXiv:2311.04219, 2023a. doi: 10.48550/arXiv.2311.04219. Bo Li, Yuanhan Zhang, Dong Guo, Renrui Zhang, Feng Li, Hao Zhang, Kaichen Zhang, Peiyuan Zhang, Yanwei Li, Ziwei Liu, and Chunyuan Li. Llava-onevision: Easy visual task transfer. arXiv preprint arXiv:2408.03326, 2024a. doi: 10.48550/arXiv.2408.03326. Bohao Li, Yuying Ge, Yixiao Ge, Guangzhi Wang, Rui Wang, Ruimao Zhang, and Ying Shan. Seedbench: Benchmarking multimodal large language models. In CVPR, pp. 13299–13308, 2024b. doi: 10.1109/CVPR52733.2024.01263. Bozhou Li, Yushuo Guan, Haolin Li, Bohan Zeng, Yiyan Ji, Yue Ding, Pengfei Wan, Kun Gai, Yuanxing Zhang, and Wentao Zhang. Semantic routing: Exploring multi-layer llm feature weighting for diffusion transformers. arXiv preprint arXiv:2602.03510, 2026. doi: 10.48550/arXiv.2602.03510. 15

Published in Transactions on Machine Learning Research (04/2026)

Junnan Li, Dongxu Li, Silvio Savarese, and Steven Hoi. Blip-2: Bootstrapping language-image pre-training with frozen image encoders and large language models. In ICML, pp. 19730–19742, 2023b. Yanwei Li, Chengyao Wang, and Jiaya Jia. Llama-vid: An image is worth 2 tokens in large language models. In Aleš Leonardis, Elisa Ricci, Stefan Roth, Olga Russakovsky, Torsten Sattler, and Gül Varol (eds.), ECCV, pp. 323–340, 2024c. ISBN 978-3-031-72952-2. doi: 10.1007/978-3-031-72952-2_19. Yifan Li, Yifan Du, Kun Zhou, Jinpeng Wang, Xin Zhao, and Ji-Rong Wen. Evaluating object hallucination in large vision-language models. In Houda Bouamor, Juan Pino, and Kalika Bali (eds.), EMNLP, pp. 292–305, 2023c. doi: 10.18653/v1/2023.emnlp-main.20. Yuhong Li, Yingbing Huang, Bowen Yang, Bharat Venkitesh, Acyr Locatelli, Hanchen Ye, Tianle Cai, Patrick Lewis, and Deming Chen. Snapkv: Llm knows what you are looking for before generation. In NeurIPS, pp. 22947–22970, 2024d. Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollár, and C. Lawrence Zitnick. Microsoft coco: Common objects in context. In David Fleet, Tomas Pajdla, Bernt Schiele, and Tinne Tuytelaars (eds.), ECCV, pp. 740–755, Cham, 2014. ISBN 978-3-319-10602-1. doi: 10.1007/978-3-319-10602-1_48. Akide Liu, Jing Liu, Zizheng Pan, Yefei He, Gholamreza Haffari, and Bohan Zhuang. Minicache: Kv cache compression in depth dimension for large language models. In NeurIPS, pp. 139997–140031, 2024a. Haotian Liu, Chunyuan Li, Qingyang Wu, and Yong Jae Lee. Visual instruction tuning. In NeurIPS, pp. 34892–34916, 2023a. Haotian Liu, Chunyuan Li, Yuheng Li, and Yong Jae Lee. Improved baselines with visual instruction tuning. arXiv preprint arXiv:2310.03744, 2024b. doi: 10.48550/arXiv.2310.03744. Haotian Liu, Chunyuan Li, Yuheng Li, Bo Li, Yuanhan Zhang, Sheng Shen, and Yong Jae Lee. Llava-next: Improved reasoning, ocr, and world knowledge. https://llava-vl.github.io/blog/2024-01-30-llava-next/, 2024c. Ze Liu, Yutong Lin, Yue Cao, Han Hu, Yixuan Wei, Zheng Zhang, Stephen Lin, and Baining Guo. Swin transformer: Hierarchical vision transformer using shifted windows. In ICCV, pp. 10012–10022, 2021. Zichang Liu, Aditya Desai, Fangshuo Liao, Weitao Wang, Victor Xie, Zhaozhuo Xu, Anastasios Kyrillidis, and Anshumali Shrivastava. Scissorhands: Exploiting the persistence of importance hypothesis for llm kv cache compression at test time. In NeurIPS, pp. 52342–52364, 2023b. Zuyan Liu, Benlin Liu, Jiahui Wang, Yuhao Dong, Guangyi Chen, Yongming Rao, Ranjay Krishna, and Jiwen Lu. Efficient inference of vision instruction-following models with elastic cache. In Aleš Leonardis, Elisa Ricci, Stefan Roth, Olga Russakovsky, Torsten Sattler, and Gül Varol (eds.), ECCV, pp. 54–69, 2024d. ISBN 978-3-031-72643-9. doi: 10.1007/978-3-031-72643-9_4. Llama Team. The llama 3 herd of models. arXiv preprint arXiv:2407.21783v3, 2024. doi: 10.48550/arXiv. 2407.21783. Chenyang Lu, Daan de Geus, and Gijs Dubbelman. Content-aware token sharing for efficient semantic segmentation with vision transformers. In CVPR, pp. 23631–23640, 2023. doi: 10.1109/CVPR52729.2023. 02263. Haoyu Lu, Wen Liu, Bo Zhang, Bingxuan Wang, Kai Dong, Bo Liu, Jingxiang Sun, Tongzheng Ren, Zhuoshu Li, Hao Yang, Yaofeng Sun, Chengqi Deng, Hanwei Xu, Zhenda Xie, and Chong Ruan. Deepseekvl: Towards real-world vision-language understanding. arXiv preprint arXiv:2403.05525, 2024. doi: 10.48550/arXiv.2403.05525. Pan Lu, Swaroop Mishra, Tony Xia, Liang Qiu, Kai-Wei Chang, Song-Chun Zhu, Oyvind Tafjord, Peter Clark, and Ashwin Kalyan. Learn to explain: Multimodal reasoning via thought chains for science question answering. In NeurIPS, pp. 2507–2521, 2022. 16

Published in Transactions on Machine Learning Research (04/2026)

Junzhu Mao, Yang Shen, Jinyang Guo, Yazhou Yao, Xiansheng Hua, and Hengtao Shen. Prune and merge: Efficient token compression for vision transformer with spatial information preserved. TMM, pp. 1–14, 2025. ISSN 1941-0077. doi: 10.1109/TMM.2025.3535405. Narges Norouzi, Svetlana Orlova, Daan De Geus, and Gijs Dubbelman. Algm: Adaptive local-then-global token merging for efficient semantic segmentation with plain vision transformers. In CVPR, pp. 15773–15782, 2024. doi: 10.1109/CVPR52733.2024.01493. OpenAI. Gpt-4 technical report. arXiv preprint arXiv:2303.08774, 2024. doi: 10.48550/arXiv.2303.08774. Zizheng Pan, Bohan Zhuang, Haoyu He, Jing Liu, and Jianfei Cai. Less is more: Pay less attention in vision transformers. In AAAI, volume 36, pp. 2035–2043, 2022. doi: 10.1609/aaai.v36i2.20099. Reiner Pope, Sholto Douglas, Aakanksha Chowdhery, Jacob Devlin, James Bradbury, Anselm Levskaya, Jonathan Heek, Kefan Xiao, Shivani Agrawal, and Jeff Dean. Efficiently scaling transformer inference. In MLSys, pp. 606–624, 2023. Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, Gretchen Krueger, and Ilya Sutskever. Learning transferable visual models from natural language supervision. In ICML, pp. 8748–8763, 2021. Yongming Rao, Wenliang Zhao, Benlin Liu, Jiwen Lu, Jie Zhou, and Cho-Jui Hsieh. Dynamicvit: Efficient vision transformers with dynamic token sparsification. In NeurIPS, pp. 13937–13949, 2021. Woomin Song, Seunghyuk Oh, Sangwoo Mo, Jaehyung Kim, Sukmin Yun, Jung-Woo Ha, and Jinwoo Shin. Hierarchical context merging: Better long context understanding for pre-trained llms. In ICLR, 2024. Gemini Team. Gemini 1.5: Unlocking multimodal understanding across millions of tokens of context. arXiv preprint arXiv:2403.05530, 2024a. doi: 10.48550/arXiv.2403.05530. Gemini Team. Gemini: A family of highly capable multimodal models. arXiv preprint arXiv:2312.11805, 2024b. doi: 10.48550/arXiv.2312.11805. Hoai-Chau Tran, Duy M. Nguyen, TrungTin Nguyen, Ngan Le, Pengtao Xie, Daniel Sonntag, James Zou, Binh T. Nguyen, and Mathias Niepert. Accelerating transformers with spectrum-preserving token merging. In NeurIPS, pp. 30772–30810, 2024. Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Ł ukasz Kaiser, and Illia Polosukhin. Attention is all you need. In NeurIPS, volume 30, pp. 6000–6010, 2017. Vicuna Team. Vicuna: An open-source chatbot impressing gpt-4 with 90% chatgpt quality. https://lmsys.org/blog/2023-03-30-vicuna, 2023. Shuoyuan Wang, Yixuan Li, and Hongxin Wei. Understanding and mitigating miscalibration in prompt tuning for vision-language models. arXiv preprint arXiv:2410.02681, 2024. doi: 10.48550/arXiv.2410.02681. Weiyun Wang, Zhe Chen, Wenhai Wang, Yue Cao, Yangzhou Liu, Zhangwei Gao, Jinguo Zhu, Xizhou Zhu, Lewei Lu, Yu Qiao, and Jifeng Dai. Enhancing the reasoning ability of multimodal large language models via mixed preference optimization. arXiv preprint arXiv:2411.10442, 2025. doi: 10.48550/arXiv.2411.10442. Siyuan Wei, Tianzhu Ye, Shen Zhang, Yao Tang, and Jiajun Liang. Joint token pruning and squeezing towards more aggressive compression of vision transformers. In CVPR, pp. 2092–2101, 2023. doi: 10.1109/CVPR52729.2023.00208. Daliang Xu, Hao Zhang, Liming Yang, Ruiqi Liu, Gang Huang, Mengwei Xu, and Xuanzhe Liu. Fast on-device llm inference with npus. In ASPLOS, ASPLOS ’25, pp. 445–462, 2025. ISBN 979-8-4007-0698-1. doi: 10.1145/3669940.3707239. Jiarui Xu, Shalini De Mello, Sifei Liu, Wonmin Byeon, Thomas Breuel, Jan Kautz, and Xiaolong Wang. Groupvit: Semantic segmentation emerges from text supervision. In CVPR, pp. 18113–18123, 2022. ISBN 978-1-6654-6946-3. doi: 10.1109/CVPR52688.2022.01760. 17

Published in Transactions on Machine Learning Research (04/2026)

Dongjie Yang, Xiaodong Han, Yan Gao, Yao Hu, Shilin Zhang, and Hai Zhao. Pyramidinfer: Pyramid kv cache compression for high-throughput llm inference. In Lun-Wei Ku, Andre Martins, and Vivek Srikumar (eds.), ACL Findings, pp. 3258–3270, 2024. doi: 10.18653/v1/2024.findings-acl.195. Hongxu Yin, Arash Vahdat, Jose M. Alvarez, Arun Mallya, Jan Kautz, and Pavlo Molchanov. A-vit: Adaptive tokens for efficient vision transformer. In CVPR, pp. 10809–10818, 2022. Weihao Yu, Zhengyuan Yang, Linjie Li, Jianfeng Wang, Kevin Lin, Zicheng Liu, Xinchao Wang, and Lijuan Wang. Mm-vet: Evaluating large multimodal models for integrated capabilities. In ICML, volume 235, pp. 57730–57754, 2024. Hang Zhang, Xin Li, and Lidong Bing. Video-llama: An instruction-tuned audio-visual language model for video understanding. In Yansong Feng and Els Lefever (eds.), EMNLP, pp. 543–553, 2023a. doi: 10.18653/v1/2023.emnlp-demo.49. Kaichen Zhang, Bo Li, Peiyuan Zhang, Fanyi Pu, Joshua Adrian Cahyono, Kairui Hu, Shuai Liu, Yuanhan Zhang, Jingkang Yang, Chunyuan Li, and Ziwei Liu. Lmms-eval: Reality check on the evaluation of large multimodal models. arXiv preprint arXiv:2407.12772, 2025. doi: 10.48550/arXiv.2407.12772. Shaolei Zhang, Qingkai Fang, Zhe Yang, and Yang Feng. Llava-mini: Efficient image and video large multimodal models with one vision token. In ICLR, 2024. Zhenyu Zhang, Ying Sheng, Tianyi Zhou, Tianlong Chen, Lianmin Zheng, Ruisi Cai, Zhao Song, Yuandong Tian, Christopher Re, Clark Barrett, Zhangyang Wang, and Beidi Chen. H2o: Heavy-hitter oracle for efficient generative inference of large language models. In NeurIPS, pp. 34661–34710, 2023b. Deyao Zhu, Jun Chen, Xiaoqian Shen, Xiang Li, and Mohamed Elhoseiny. Minigpt-4: Enhancing visionlanguage understanding with advanced large language models. In ICLR, 2024.

18

Published in Transactions on Machine Learning Research (04/2026)

A

Appendix

A.1

Summary of notations

Table 9 provides an overview of the notations used in this paper. Table 9: Summary of notations. Notation L s λi Λ = [λ1 , . . . , λs ] wi wi2 W = [w1 , . . . , ws ] ρi P = [ρ1 , . . . , ρs ] Xv v ω v vω = w×w x X = {x | x ∈ Xv } XA , XB E = XA × XB M ∈ {0, 1}|XA |×|XB | FD(α, β) Tρ XR A ∈ RH×(p+v)×(p+v) H p J ξi ξA , ξB

A.2 A.2.1

Definition Total number of decoder layers in the LVLM Number of compression iterations, with s < L Decoder layer where the i-th compression step is performed Schedule of compression layers Number of window partitions along each axis used at stage i Number of window partitions used at stage i Schedule of window partitions, with wi > wi+1 Compression ratio applied at stage i Schedule of compression rates Sequence / set of vision tokens Number of vision tokens Index for an individual window Number of vision tokens in window ω Embedding of a vision token / graph node Set of graph nodes formed from vision tokens Two near-equal subsets of nodes in the bipartite graph Edges of the bipartite graph Rectangular adjacency matrix for selected bipartite edges Feature divergence between two nodes with indices α and β Set of the ⌊ρvω /2⌋ selected token pairs with smallest FD values Unconnected nodes left unchanged after edge selection Multi-head attention matrix during prefill Number of attention heads Number of prompt tokens Index set of prompt tokens Prompt-guidance weight / accumulated attention for vision token i Prompt-guidance weights corresponding to XA and XB

Method Method overview

As illustrated in Fig. 5, we insert graph message passing-based compression between two selected decoder layers in the LVLM, simultaneously reducing KV cache size and the number of vision tokens processed by downstream layers. Compression is performed three times to achieve the overall compression ratio. 19

Published in Transactions on Machine Learning Research (04/2026)

< output > Decoder Layers … Decoder Layer Decoder Layer Decoder Layer 𝑖 +𝑖𝑖1

Graph Message Passing DecoderLayer Layer 𝑖𝑖𝑖 Decoder Layer Decoder …

P tokens

Original V tokens

V tokens from 𝒜

V tokens from ℬ

Updated V tokens

Eliminated V tokens

Figure 5: LightKV dynamically compresses vision tokens between two consecutive LVLM decoder layers. The key and value tokens are compressed simultaneously for later layers, reducing the memory used by KV cache. A.2.2

Adjacency matrix

In Sec. 3.2, we defined for our bipartite graph with edges M ∈ {0, 1}|XA |×|XB | , whose rows correspond to nodes in XA and columns to nodes in XB . However, as the two subsets need not contain the same number of nodes, M is generally rectangular. Conventionally, for a standard graph, the adjacency matrix is square with side length equal to the total number of nodes. The analogous square adjacency matrix for our bipartite graph is:   0 M , (9) M⊤ 0 where the upper-left and lower-right blocks are zero by definition. Throughout our paper, we work directly with M , as this rectangular form is sufficient for message passing between the two partitions. A.3 A.3.1

Additional results Additional backbones

Qwen2.5-VL We also evaluated LightKV on Qwen2.5-VL-7B-Instruct (Bai et al., 2025) across multiple compression ratios. The results in Table 10 demonstrate that LightKV yields substantial improvements compared to baseline approaches, preserving accuracy more effectively and delivering stronger overall performance under compression. Notably, as presented in Table 11, at more aggressive compression ratios, LightKV still delivers near-identical performance to the vanilla model. 20

Published in Transactions on Machine Learning Research (04/2026)

Table 10: Results of LightKV on Qwen2.5-VL-7B-Instruct model at 55% vision token retention in the KV cache. Avg % denotes the average of all performance metrics normalized against the Vanilla model. Methods are then sorted by average score. “NC” and “VW” denote NoCaps and VizWiz, respectively. Method

Coco

GQA

Vanilla FastV ToMe PiToMe ToFu LightKV

0.319 0.339 0.329 0.389 0.383 0.389

0.604 0.587 0.591 0.584 0.587 0.591

MME C

P

638.21 625.35 640.71 624.64 657.86 647.50

1695.25 1687.78 1687.75 1671.09 1683.05 1706.38

NC 0.372 0.386 0.425 0.433 0.418 0.435

Pope Acc

F1

0.875 0.869 0.862 0.860 0.857 0.863

0.862 0.853 0.782 0.842 0.839 0.846

Seed

VW

Avg %

0.790 0.744 0.782 0.774 0.788 0.780

0.704 0.698 0.683 0.691 0.696 0.694

100.00 98.77 100.04 100.24 100.75 101.37

Table 11: Results of LightKV on Qwen2.5-VL-7B-Instruct model at various retention rates of vision tokens in the KV cache. Avg % denotes the average of all performance metrics normalized against the Vanilla model. “NC” and “VW” denote NoCaps and VizWiz, respectively.

A.3.2

Rate

Coco

GQA

Vanilla 55% 40% 30% 20%

0.319 0.389 0.370 0.361 0.356

0.604 0.591 0.586 0.581 0.569

MME C

P

638.21 647.50 611.78 588.93 591.78

1695.25 1706.38 1632.64 1574.34 1612.83

NC 0.372 0.435 0.450 0.455 0.458

Pope Acc

F1

0.875 0.863 0.851 0.833 0.835

0.862 0.846 0.830 0.806 0.809

Seed

VW

Avg %

0.790 0.780 0.754 0.732 0.730

0.704 0.694 0.666 0.670 0.667

100.00 101.37 101.01 98.89 99.24

Additional ablation studies

Bipartite vs. full pairwise matching We provide additional ablation studies to analyze the design choice of bipartite matching compared to full pairwise matching. We evaluate both approaches from two perspectives: (1) downstream task performance and (2) computational efficiency. While bipartite matching does not guarantee globally optimal pair assignments, we empirically observe that its impact on downstream performance is marginal. The results are shown in Table 12: across all benchmarks, bipartite matching achieves comparable performance to full pairwise matching. We hypothesize that this behavior is due to our multi-stage compression strategy. Although globally optimal pairs may not be matched in early stages (e.g., when tokens fall into the same partition), these tokens are likely to be reassigned into different partitions in later stages, where they can then be matched and merged. This progressively mitigates the sub-optimality introduced by bipartite partitioning. We further compare the computational cost of the two matching strategies. As derived in Sec. 3.2.1, bipartite 2 2 matching reduces the number of similarity comparisons from O(vw /2) to O(vw /4), effectively halving the pairwise operations. In practice, however, we observe an even larger gap in runtime cost. As shown in Table 13, full pairwise matching incurs approximately 4× higher FLOPs than bipartite matching across different numbers of vision tokens. This is due to additional overhead in computing and maintaining the full similarity matrix. The increased computation also translates to higher memory (VRAM) usage. Overall, bipartite matching provides a favorable trade-off between performance and efficiency. Influence of window schedule Table 14 studies the effect of window schedule W, which is closely related to the number of vision tokens used by the LVLM. A larger initial window size is appropriate when the model encodes images at high resolution, e.g., LLaVA-NeXT encodes an image into 2,144 tokens. In contrast, 21

Published in Transactions on Machine Learning Research (04/2026)

Table 12: Performance comparison between bipartite matching and full pairwise matching on LLaVA-v1.5 when retaining 55% of vision tokens.

MME

Method

C

Pope P

Avg %

Acc.

F1

Bipartite Full Pairwise

LLaVA-v1.5-13B 302.1 1543.8 0.87 298.9 1532.0 0.87

0.86 0.86

100.75 100.31

Bipartite Full Pairwise

LLaVA-v1.5-7B 357.5 1519.8 0.87 371.0 1522.2 0.86

0.86 0.85

100.30 100.71

Table 13: FLOPs comparison of bipartite and full pairwise matching across vision-token counts. # Vision tokens

Method Bipartite Full Pairwise

512

1024

2048

4096

0.134 0.538

0.538 2.151

2.151 8.603

8.602 34.410

Table 14: Performance comparison across various combinations of W on LLaVA-13B models at 55% vision token retention. “NC” and “VW” denote NoCaps and VizWiz, respectively. Method

Coco

Vanilla LightKV W=[4,2,1] LightKV W=[6,4,2]

1.16 1.15 1.14

Vanilla LightKV W=[4,2,1] LightKV W=[6,4,2]

1.02 0.96 0.96

MME C

P

NC

Pope

SQA

Seed

VW

Avg %

0.86 0.86 0.86

0.73 0.72 0.72

0.69 0.69 0.69

0.57 0.56 0.56

100.00 99.80 99.67

0.86 0.86 0.86

0.73 0.59 0.59

0.69 0.69 0.69

0.64 0.61 0.61

100.00 95.68 96.20

Acc

F1

295.36 302.14 301.79

LLaVA-v1.5-13B 1532.0 1.09 0.87 1543.8 1.08 0.87 1541.1 1.08 0.87

318.93 311.43 326.07

LLaVA-NeXT-13B 1575.1 0.88 0.88 1576.3 0.83 0.87 1576.5 0.83 0.87

a smaller value of w is more favorable when there are fewer vision tokens, e.g., LLaVA-v1.5, which uses 576 vision tokens per image. In our experiments, we used W = [6, 4, 2] for LLaVA-NeXT and W = [4, 2, 1] for LLaVA-v1.5. We found that using a large window size with fewer vision tokens overly restricts token matching, often resulting in mismatches. Influence of compression layers We investigate the impact of varying layers for token compression, as illustrated in Fig. 6. Trends between the compression layer and model performance reveal that compressing in the shallow layers has a more substantial impact on performance. This effect is particularly pronounced in VizWiz, where LVLMs must refrain from answering (e.g., when the ground truth is “unanswerable”). Compression in the deeper layers yields performance nearly identical to the base LVLM models, but offers little reduction in memory usage. Overall robustness to compression schedule The compression schedule in our method is designed heuristically rather than learned from data. This choice is intentional: our goal is to provide a training-free, 22

Published in Transactions on Machine Learning Research (04/2026)

Normalized metrics for LLaVA-NeXT-13B COCO VizWiz

Normalized Metric

1.00

1.00

0.98

0.95

0.96

0.90

0.94

Ours Vanilla

Ours Vanilla

0.85

5 10 15 20 25 30 35 40 Compression layer

5 10 15 20 25 30 35 40 Compression layer

Figure 6: Performance comparison on LLaVA-NeXT-13B under different compression layer choices λ. Table 15: Performance comparison across different schedules by varying Λ and W at 55% vision token retention. Our method is robust to the layer and window schedules. Λ

W

Coco

15, 23, 31 15, 23, 31 9, 19, 29 9, 19, 29

4, 2, 1 6, 4, 2 4, 2, 1 6, 4, 2

1.15 1.15 1.17 1.17

12, 18, 24 12, 18, 24

6, 4, 2 4, 2, 1

1.11 1.11

MME C

NC

P

Pope

Seed

VW

Avg %

0.86 0.86 0.86 0.86

0.69 0.69 0.69 0.68

0.56 0.57 0.52 0.53

99.94 99.92 97.32 97.38

0.86 0.85

0.66 0.67

0.53 0.53

99.79 99.66

Acc

F1

302.1 295.5 263.6 263.7

LLaVA-v1.5-13B 1543.8 1.08 0.87 1530.8 1.08 0.88 1518.9 1.07 0.87 1518.9 1.07 0.87

357.5 354.3

LLaVA-v1.5-7B 1519.8 1.03 0.87 1512.6 1.04 0.87

plug-and-play solution that can be readily applied to arbitrary LVLMs without incurring additional training cost or requiring a learned policy for schedule selection. To promote generalization and avoid task-specific bias, we determine the schedule parameters using a subset of benchmarks (COCO and MME), and then fix them across all remaining tasks. This protocol reduces the risk of implicitly overfitting the schedule to any particular evaluation setting. While learning an adaptive scheduler is an interesting direction for future work, our results suggest that such complexity may not be necessary for strong performance. As shown in Table 15, performance remains stable across a range of Λ and W configurations, indicating that the method is robust to the choice of schedule. Influence of similarity metrics We evaluate the impact of different similarity metrics used in the token-pairing process of LightKV, as first described in Sec. 3.2.1. Table 16 compares the results of cosine similarity to Euclidean distance and L2-Squared distance. Overall, cosine similarity consistently achieves the best and most stable performance across benchmarks. In contrast, Euclidean and L2-Squared distances lead to noticeable degradation, particularly on tasks such as SeedBench and MME. Based on these observations, we adopt cosine similarity as the default metric for token pairing in LightKV. A.3.3

Additional latency profiles

We evaluate model responsiveness using two latency metrics: time-to-first-token (TTFT) and generation latency for 100 tokens. As shown in Table 17, TTFT highlights the overhead of the prefilling stage and directly reflects user-perceived responsiveness, while generation latency characterizes decoding efficiency. Together, these results provide a comprehensive view of both initial response delay and sustained throughput.

23

Published in Transactions on Machine Learning Research (04/2026)

Table 16: Performance comparison of using cosine similarity, Euclidean distance and L2-Squared distance at 55% vision token retention. Metric

Coco

Euclidean L2-Squared Cosine

1.15 1.15 1.15

Euclidean L2-Squared Cosine

0.96 0.98 0.96

MME C

Pope

Seed

VW

Avg %

0.86 0.86 0.86

0.39 0.39 0.69

0.55 0.55 0.56

93.85 93.77 99.94

LLaVA-NeXT-13B 1553.9 0.84 0.87 0.86 1554.7 0.84 0.87 0.86 1576.5 0.83 0.87 0.86

0.34 0.35 0.69

0.59 0.60 0.61

90.96 91.29 98.12

P

NC

Acc

F1

297.5 292.5 302.1

LLaVA-v1.5-13B 1529.2 1.07 0.87 1530.0 1.08 0.87 1543.8 1.08 0.87

316.0 308.5 326.1

Table 17: Latency comparison across LLaVA models. TTFT = Time to First Token. Gen latency = latency for generating 100 tokens. Lower is better.

A.3.4

Method

TTFT (ms)

Gen latency (s)

TTFT (ms)

Gen latency (s)

Vanilla FastV PiToMe ToFu ToMe (P) LightKV

LLaVA-v1.5-13B 130 ± 0.393 2.89 ± 0.004 85 ± 0.450 2.59 ± 0.003 93 ± 0.768 2.79 ± 0.017 94 ± 1.152 2.83 ± 0.009 94 ± 0.278 2.77 ± 0.003 98 ± 1.045 2.80 ± 0.004

LLaVA-v1.5-7B 78 ± 0.827 2.09 ± 0.008 52 ± 0.316 1.85 ± 0.004 58 ± 1.543 2.14 ± 0.010 58 ± 0.428 2.14 ± 0.004 58 ± 0.647 2.13 ± 0.003 65 ± 3.054 2.11 ± 0.006

Vanilla FastV PiToMe ToFu ToMe (P) LightKV

LLaVA-NeXT-13B 656 ± 1.479 3.79 ± 0.013 321 ± 2.142 3.03 ± 0.003 396 ± 1.109 3.30 ± 0.004 394 ± 0.968 3.30 ± 0.003 394 ± 1.280 3.30 ± 0.004 383 ± 0.878 3.29 ± 0.002

LLaVA-NeXT-7B 397 ± 1.337 2.43 ± 0.005 197 ± 1.207 2.03 ± 0.004 247 ± 0.633 2.34 ± 0.005 245 ± 0.757 2.35 ± 0.005 245 ± 0.722 2.32 ± 0.002 259 ± 0.643 2.30 ± 0.004

Performance comparison to FastV

We provide additional experiments to ensure a fair comparison with the FastV baseline. In our main experiments, we followed the default FastV configuration as described in its original implementation, where pruning is performed at an early transformer layer (specifically, layer index K = 2). While this is a key design choice of FastV, it may not fully reflect its best achievable performance under different configurations. To account for this, we conduct a more comprehensive evaluation by varying the pruning layer K ∈ {1, 2, 4, 8}. To ensure a controlled comparison, we adjust the retention ratio R such that all variants maintain the same overall retention rate of vision tokens in the KV cache (55%). The results are summarized in Table 18. Across both LLaVA-v1.5-7B and LLaVA-NeXT-7B, LightKV consistently achieves competitive or superior performance compared to FastV under different choices of K. Notably, while certain configurations of FastV (e.g., larger K) can partially recover performance, they still do not consistently surpass LightKV under the same compression budget. A.3.5

Visualization

We provide visualization cases for vision token compression of Coco images in Fig. 7 for a 3-stage compression on LLaVA-v1.5-13B, reducing the number of tokens from 576 → 288 → 145 → 77. Unlike conventional vision encoders, vision tokens in LVLMs incorporate prompt information. As a result, visually similar patches may 24

Published in Transactions on Machine Learning Research (04/2026)

Table 18: Performance comparison between LightKV and FastV under different pruning layers K at 55% vision token retention. Coco

K=1 K=2 K=4 K=8 LightKV

1.08 1.10 1.10 1.10 1.11

K=1 K=2 K=4 K=8 LightKV

0.96 0.88 0.98 0.96 0.98

FastV

FastV

Method

MME C

Pope

Seed

VW

Avg %

0.81 0.83 0.81 0.84 0.86

0.57 0.66 0.66 0.65 0.66

0.54 0.54 0.54 0.53 0.53

95.45 99.03 98.06 99.13 99.79

LLaVA-NeXT-7B 1495.2 0.85 0.86 0.84 1341.3 0.78 0.81 0.77 1504.5 0.86 0.87 0.85 1505.7 0.84 0.87 0.84 1517.3 0.83 0.88 0.86

0.68 0.69 0.68 0.67 0.69

0.60 0.58 0.59 0.60 0.58

97.87 90.37 97.38 96.52 98.85

P

NC

Acc

F1

337.8 351.1 339.2 371.7 357.5

LLaVA-v1.5-7B 1469.7 1.02 0.83 1513.7 1.04 0.85 1500.0 1.04 0.84 1502.0 1.02 0.85 1519.8 1.03 0.87

326.0 265.4 298.9 293.2 338.6

differ significantly in the embedding space, making it plausible to aggregate non-adjacent patches. To this end, our intra-window strategy imposes constraints on this aggregation process to maintain spatial coherence during compression. Pre-processed image

Layer 15

Layer 23

Layer 31

Pre-processed image

Layer 15

Layer 23

Layer 31

576 tokens

288 tokens

145 tokens

77 tokens

576 tokens

288 tokens

145 tokens

77 tokens

Figure 7: Visualization of a 3-stage vision token compression, halving tokens at each stage and achieving 55% vision token retention in the KV cache. Distant patches may be compressed into a single token.

25

Record · ID 151717 · SHA-256 9aaade562e7d818c
Retrieved via Conceptio — every document is proof-bundled with source, license, and retrieval metadata.