paper-with-me

홈 › Papers

Twilight: Adaptive Attention Sparsity with Hierarchical Top-$p$ Pruning

2025-02-04 · Chaofan Lin, Jiaming Tang, Shuo Yang, Hanshuo Wang, Tian Tang, Boyu Tian, Ion Stoica, Song Han, Mingyu Gao

Leveraging attention sparsity to accelerate long-context large language models (LLMs) has been a hot research topic. However, current algorithms such as sparse attention or key-value (KV) cache compression tend to use a fixed budget, which presents a significant challenge during deployment because it fails to account for the dynamic nature of real-world scenarios, where the optimal balance between accuracy and efficiency can vary greatly. In this paper, we find that borrowing top-$p$ sampling (nucleus sampling) to sparse attention can surprisingly achieve adaptive budgeting. Based on this, we propose Twilight, a framework to bring adaptive sparsity to any existing sparse attention algorithm without sacrificing their accuracy. Empirical results show that Twilight can adaptively prune at most 98% of redundant tokens, leading to $15.4\times$ acceleration in self-attention operations and $3.9\times$ acceleration in end-to-end per token latency in long context LLM decoding.

📄 PDF Abstract BibTeX arXiv:2502.02770

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음

Similar Papers 제목 키워드 기반

HALO: Learning to Prune Neural Networks with Shrinkage

2020-08-24 · Skyler Seto, Martin T. Wells, Wenyu Zhang

Deep neural networks achieve state-of-the-art performance in a variety of tasks by extracting a rich set of features from unstructured data, however this performance is closely tied to model size. Modern techniques for i…

Network Pruning

HiPP-Prune: Hierarchical Preference-Conditioned Structured Pruning for Vision-Language Models

2026-03-06 · Lincen Bai, Hedi Tabia, Raul Santos-Rodriguez arxiv

Pruning vision-language models (VLMs) for efficient deployment is challenging because compression can affect not only task utility but also visual grounding, often amplifying object hallucinations even at the same sparsi…

Visual Grounding

Efficient Diffusion-Based 3D Human Pose Estimation with Hierarchical Temporal Pruning

2025-08-29 · Yuquan Bi, Hongsong Wang, Xinli Shi, Zhipeng Gui 외 arxiv

Diffusion models have demonstrated strong capabilities in generating high-fidelity 3D human poses, yet their iterative nature and multi-hypothesis requirements incur substantial computational cost. In this paper, we prop…

3D Human Pose Estimation

Layer-adaptive sparsity for the Magnitude-based Pruning

2020-10-15 · ICLR 2021 1 · Jaeho Lee, Sejun Park, Sangwoo Mo, Sungsoo Ahn 외

Recent discoveries on neural network pruning reveal that, with a carefully chosen layerwise sparsity, a simple magnitude-based pruning achieves state-of-the-art tradeoff between sparsity and performance. However, without…

image-classificationImage ClassificationNetwork Pruning

Hierarchical Adaptive Eviction for KV Cache Management in Multimodal Language Models

2026-02-02 · Xindian Ma, Yidi Lu, Peng Zhang, Jing Zhang arxiv

The integration of visual information into Large Language Models (LLMs) has enabled Multimodal LLMs (MLLMs), but the quadratic memory and computational costs of Transformer architectures remain a bottleneck. Existing KV …

Story Generation