SheafPrune: Sheaf-Guided Graph Propagation for Visual Token Pruning
Organizations: PHOENIX Lab Hangzhou Dianzi University Hangzhou, 310018, China
Abstract
Multimodal large language models process the complete visual token sequence, increasing prefill cost even when many tokens are irrelevant to the instruction. Token-wise saliency captures limited inter-token dependence; graph-based selection instead depends on how relations govern importance propagation and ranking. We study support-constrained propagation with node-degree correction. Inspired by sheaf geometry, SheafPrune uses modality-specific maps and a sparse text--visual graph to transfer relevance, then propagates scores on a separate visual graph and corrects them for degree. It retains a hard top- subset once before the frozen language model. The selector has about M parameters and is trained end-to-end through the frozen LLaVA-NeXT-8B backbone using only the language-modeling objective. Explicit retention-ratio conditioning lets one checkpoint serve every budget. Across four backbones, ten benchmarks and seven pruning ratios, with all baselines re-implemented under one protocol, SheafPrune achieves the best retention at of backbone--budget settings, with monotonically growing margins in the moderate-to-aggressive regime. On LLaVA-NeXT, retaining of visual tokens yields a net prefill speedup and an end-to-end FLOPs reduction. Together with component ablations, these results support graph-constrained importance propagation and degree correction as a design for visual token selection across the evaluated backbones and tokenization schemes, improving the trade-off between accuracy retention and inference cost. code:https://github.com/Bob0817912/SheafPrune_ICLR_2027
Figures & tables
| General VQA | MLLM benchmarks | Text-oriented VQA | High-resolution | Avg | |||||||||||
| Model | Method | GQA | VQAv2 | MME | POPE | MMB | ChartQA | DocVQA | TextVQA | HR-4K | HR-8K | acc | lat | RA% | LR% |
| LLaVA-NeXT-8B | No prune | 65.0 | 82.1 | 38.4 | 83.6 | 77.0 | 69.7 | 72.6 | 66.7 | 51.2 | 46.1 | 65.2 | 149.4 | – | – |
| FastV | 63.5 | 81.0 | 37.7 | 82.5 | 76.1 | 59.2 | 55.2 | 61.7 | 51.4 | 45.5 | 61.4 | 55.7 | 94.5 | 62.7 | |
| SparseVLM | 58.5 | 76.5 | 37.1 | 83.0 | 76.8 | 45.0 | 46.4 | 46.9 | 51.0 | 46.1 | 56.7 | 63.3 | 87.8 | 57.6 | |
| PyramidDrop | 62.2 | 80.8 | 37.8 | 85.0 | 76.1 | 45.4 | 49.3 | 55.5 | 52.1 | 45.6 | 59.0 | 63.0 | 91.0 | 57.8 | |
| ToMe | 64.5 | 80.8 | 37.8 | 82.4 | 76.3 | 52.1 | 48.7 | 60.5 | 50.0 | 42.5 | 59.6 | 52.6 | 91.6 | 64.8 | |
| RA (%) | Text | |||||||
|---|---|---|---|---|---|---|---|---|
| Arm | Norm. | |||||||
| Random selection | — | — | 92.12 | 86.32 | 73.38 | 39.20 | ||
| Degree only | — | 95.77 | 92.14 | 81.38 | 57.09 | |||
| Dense normalization | dense | 91.74 | 85.78 | 72.68 | 38.10 | |||
| No degree correction | support | 91.88 | 85.97 | 72.80 | 38.30 | |||
| Uniform initial score | support | 98.50 | 96.72 | 88.19 | 73.32 | |||
Appendix figures & tables12 assets
Supplementary material from the paper’s appendix.
Appendix
| Component | Symbol | Default | Component | Symbol | Default |
|---|---|---|---|---|---|
| training-interface dimension | visual-graph relation ratio | ||||
| text bottleneck | propagation steps | ||||
| text-encoder layers | degree exponent | ||||
| text-encoder heads | – | fusion mode | – | early | |
| max selector text length | – | visual cosine centering | – | false | |
| comparison dimension | propagation normalization | – | masked |
| Group | Benchmark | #Samples | Split | Metric |
|---|---|---|---|---|
| OCR / document / chart | ChartQA | 2,500 | test | relaxed accuracy |
| DocVQA | 5,349 | validation | ANLS | |
| TextVQA | 5,000 | validation | VQA accuracy | |
| HR-Bench 4K | 800 | full | option accuracy | |
| HR-Bench 8K | 800 | full | option accuracy | |
| General VQA / perception | GQA | 12,578 | testdev-balanced | exact-match accuracy |
| Method | Role in the comparison |
|---|---|
| G-Prune | Visual graph propagation and ranking. |
| FastV | Decoder-attention-based token selection. |
| PyramidDrop | Staged removal within the decoder. |
| SparseVLM | Text-informed visual token sparsification. |
| ToMe | Token merging rather than pure deletion. |
| VisionZip | Visual importance and contextual compression. |
| Method | Backbones | Budgets | Scope |
|---|---|---|---|
| FastV, ToMe, G-Prune | All four | – | Evaluated across the reported grid. |
| PyramidDrop, SparseVLM | All four | – | Under the implemented staged schedule, layer-averaged retention has a floor of . |
| FasterVLM, VisionZip, PruMerge | LLaVA-1.5 | – | Reported for this backbone; the present comparison does not evaluate their other backbone integrations. |
| Setting | Stage A: initial alignment | Stage B: ratio conditioning |
|---|---|---|
| Data | Strong-signal subset | Source-weighted K mixture |
| Duration | Approximately of an epoch | Approximately epochs |
| Retention | Fixed | Four uniformly sampled steps from , then one additional step at |
| STE temperature | Fixed | Cosine annealing, |
| Loss | Target-answer cross-entropy | Target-answer cross-entropy |
| Category | Task characteristics | Weight |
|---|---|---|
| Strong | Fine-grained localization; OCR and text recognition; chart understanding; grounding and referring tasks | |
| Regular | General VQA; GPT-4V-generated visual questions, answers and descriptions | |
| Weak | Generic descriptions and summaries; dialogue with peripheral visual content | |
| Excluded | Text-only samples without an image field |
| Method | General VQA | MLLM benchmarks | Text-oriented VQA | High-resolution | Aggregate | Efficiency | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| (%) | GQA | VQA2 | MME | POPE | MMB | Chart | Doc | Text | HR-4K | HR-8K | Avg | RA | lat | LR | tok/s | FLOPs | ||
| LLaVA-NeXT-8B | ||||||||||||||||||
| No prune | 65.0 | 82.1 | 1074.21 | 83.6 | 77.0 | 69.7 | 72.6 | 66.7 | 51.2 | 46.1 | 65.2 | – | 149.4 | – | – | 66.5 | 0.0 | |
| Random | 64.9 | 82.4 | 1076.44 | 83.0 | 77.2 | 67.8 | 70.8 | 66.3 | 51.5 | 46.4 | 64.9 | 99.5 | – | – | – | – | – | |
| Random | 64.5 | 82.1 | 1056.92 | 82.9 | 76.8 | 62.4 | 62.1 | 64.0 | 50.5 | 45.2 | 62.8 | 96.4 | – | – | – | – | – | |
| Random | 64.4 | 80.0 | 1075.43 | 82.2 | 77.3 | 56.5 | 51.3 | 57.0 | 47.1 | 44.6 | 59.9 | 92.1 | – | – | – | – | – | |
| Configuration | Ten-benchmark RA (%) | At | ||||||||
| Arm | Prop. | Norm. | Text | OCR | Gen. | |||||
| Random selection | — | — | — | 92.12 | 86.32 | 73.38 | 39.20 | 54.98 | 91.77 | |
| Degree only | uniform | — | 95.77 | 92.14 | 81.38 | 57.09 | 69.03 | 93.74 | ||
| Visual prior only | — | 91.13 | 84.40 | 70.23 | 34.10 | 49.88 | 90.57 | |||
| Relevance only † | — | 91.81 | 85.80 | 72.58 | 38.00 | 53.78 | 91.37 | |||
| Uniform initial score | uniform | support | 98.50 | 96.72 | 88.19 | 73.32 | 81.54 | 94.63 | ||
| Configuration | |||||||
| B: no norm, no graph | 99.24 | 96.66 | 94.71 | 92.75 | 89.54 | 85.85 | 77.60 |
| N: norm, no graph | 99.52 | 97.00 | 89.38 | 83.23 | 74.62 | 59.48 | 53.72 |
| U: uniform, graph | 99.41 | 99.38 | 98.40 | 97.88 | 96.06 | 93.47 | 82.39 |
| F: norm, graph | 99.43 | 99.30 | 98.43 | 97.88 | 95.96 | 93.48 | 82.39 |
| F U (value of the norm prior) | |||||||
| U B (value of the diffusion) |
| (a) Propagation depth | (b) Similarity threshold | ||
| Mean | Mean | ||
| 54.06 | 49.11 | ||
| 54.23 | 53.61 | ||
| 53.85 | 53.85 | ||
| 53.85 | 51.18 | ||
| 53.06 | 44.90 | ||
| Random | Ours | ||
|---|---|---|---|
| GQA | |||
| VQAv2 | |||
| DocVQA | |||
| HR-Bench |
Visual Token Pruning
Visual token pruning reduces the image and video patches processed by transformers to lower inference cost while preserving task-relevant information.
See all 276 papers