TwinPrune: Density-Aware Two-Phase Token Pruning for Vision-Language Models
Kai Liu ⋅ Anqi Li ⋅ Junxian Li ⋅ Zhixin Wang ⋅ Zhikai Chen ⋅ Renjing Pei ⋅ Yulun Zhang
Abstract
We propose a unified spatial-density signal that scores token importance for \emph{both} phases of inference, instantiated as density-tilted selection during prefill and a KV eviction during decode, with measurable gains in each phase. To verify the two phases independently, we partition benchmarks into two diagnostic roles by their scoring rule. \emph{Prefill probes} such as first-token evaluations of MMBench, POPE, and ScienceQA score only the first decoded token, so their accuracy reflects only the argmax of prefill logits, computed before any decode-phase KV eviction takes effect. \emph{Full-pipeline probes} such as TextVQA, DocVQA, and MM-Vet score the full decoded sequence and therefore reveal both phases. We expose a fundamental evaluation flaw: published claims of decode-phase token pruning validated only on prefill probes have measured prefill quality, not decode quality. Empirically, removing all visual KV at decode leaves prefill-probe accuracy essentially unchanged while collapsing TextVQA and MM-Vet by tens of points, and the insensitivity is a property of the scoring rule, not of the compression strength. Across six model variants from the InternVL-3.5, Qwen3-VL, and LLaVA-1.5 families and the three full-pipeline-probe benchmarks, we deliver a three-axis study over compute, memory, and accuracy. Density-based prefill compression is competitive on the accuracy frontier; density scoring scales linearly in the visual-token count. On the decode side, density top-$k$ KV eviction wins every TextVQA cell and two of three MM-Vet cells against the strongest published baselines H2O, SnapKV, and StreamingLLM across three keep ratios. The advantage widens to $9.96$ percentage points over H2O at $12.5\%$ keep on TextVQA and holds $9.37$ to $11.12$ percentage points across the InternVL-3.5 series from 2B to 38B. Compression also scales gracefully with model size: four of six matched 8B-to-38B transitions reduce the accuracy loss. We recommend MM-Vet or DocVQA as the minimum full-pipeline-probe test for any decode-phase claim. Our code is available at \url{https://github.com/Kai-Liu001/TwinPrune}.
Successful Page Load