Papers
Topics
Authors
Recent
Search
2000 character limit reached

Progressive Sparse Attention (PSA)

Updated 9 March 2026
  • Progressive Sparse Attention (PSA) is a dynamic family of attention mechanisms that adaptively allocate sparse computations based on query relevance and data structure.
  • It employs hierarchical selection and progressive budgeting to minimize memory footprint and computational cost, achieving significant efficiency gains in LLMs and video models.
  • Empirical results show PSA maintains high accuracy with 15–25% fewer key-value accesses while boosting throughput and reducing GPU memory fragmentation.

Progressive Sparse Attention (PSA) refers to a family of efficient attention mechanisms characterized by hierarchical or adaptively evolving sparse computation patterns that scale for long sequences, reduce memory/compute requirements, and maintain fidelity in LLMs, video understanding, and autoregressive generation. PSA mechanisms are distinguished by their progressive allocation of attention resources—either in space, time, or block importance—based on the structure and statistical properties of the underlying data, yielding substantial improvements over fixed top-kk or block-sparse attention with hard masking.

1. Algorithmic Formulation and Theoretical Underpinnings

Progressive Sparse Attention addresses the inefficiency of quadratic complexity in standard dense attention by dynamically selecting subregions of the key-value (KV) cache or feature space according to per-query relevance. In the LLM context, the method divides the KV cache into BB blocks, each with block-level “metadata” (mean summaries). For each query Q(l,i)R1×dkQ^{(l,i)} \in \mathbb{R}^{1 \times d_k} (layer ll, token ii), block criticality scores sj=Q(l,i)mj/dks_j = Q^{(l,i)} \cdot m_j / \sqrt{d_k} (for each block jj) are computed and used to prioritize block access. Rather than fixing the number of nonzero entries (as in top-kk sparse attention), PSA incrementally accumulates attention mass by traversing blocks in descending order of sjs_j, ceasing collection when the softmax attention mass exceeds a global threshold ϵ\epsilon (e.g., ϵ=0.95\epsilon=0.95). The algorithm thus allocates a dynamic budget Bl,iB_{l,i} for each query and each layer, adjusting memory and compute adaptively (Zhou et al., 1 Mar 2025).

Approximation guarantees follow from softmax concentration results: restricting attention to a subset covering at least ϵ\epsilon of the total attention probability ensures P~P11ϵ\|\tilde{P} - P^*\|_1 \leq 1-\epsilon, bounding the output error by (1ϵ)maxjVj2(1-\epsilon) \max_j \|V_j\|_2.

2. Progressive, Multilevel, and Hierarchical Sparsity in Diverse Modalities

The “progressive” paradigm extends to attention design in vision and autoregressive video modeling. In video transformers, Pyramid Sparse Attention (also abbreviated PSA) employs a multi-level quantization mask: each block-pair's relevance determines the granularity of pooling (fine or coarse). By constructing HH-level pyramids of mean-pooled KV representations and assigning each (Qi,Kj)(Q_i, K_j) pair a level hh (with h=1h=1 the finest, h=Hh=H the coarsest, h=0h=0 for dropped blocks), the mechanism interpolates between all-or-nothing (binary) blockwise selection and full attention, expanding the effective receptive field and improving quality at high sparsity (Li et al., 3 Dec 2025).

Similarly, in autoregressive video diffusion, Light Forcing introduces a progressive sparsity schedule via "Chunk-Aware Growth" (CAG), allocating lower sparsity (higher density) to early chunks and allowing later chunks to be sparser by quantifying per-chunk error sensitivity. Hierarchical Sparse Attention (HSA) further enables a two-stage selection—first by frames, then by spatial blocks within frames—coarse-to-fine, tightly controlling error at each chunk, and ensuring constant per-step complexity regardless of generation history (Lv et al., 4 Feb 2026).

3. System Co-design: Memory, Execution, and Hardware Alignment

Efficient system design is integral to practical PSA deployment. In LLM serving, PSA reduces GPU HBM fragmentation by pooling KV cache slots across all layers into a unified memory pool managed with LRU eviction, rather than statically partitioning per layer. This mitigates stratification due to varied Bl,iB_{l,i} across layers and empirical measurement shows a 10–20% increase in available HBM for batch expansion (Zhou et al., 1 Mar 2025).

For execution, PSA interleaves block transfer and compute using multiple CUDA streams: one for prefetching and one for computation. A custom GPU verifier kernel monitors when the attention mass threshold is reached, triggering an asynchronous halt in further block fetch, reducing CPU-GPU synchronization overhead. In video attention, decoupling logical and hardware tile sizes in the kernel ensures high utilization of tensor cores even as block access patterns vary dynamically in sparsity or pooling level (Li et al., 3 Dec 2025).

4. Empirical Results and Comparative Evaluation

Extensive benchmarking demonstrates the benefits of progressive sparse attention across modalities:

  • In LLM serving (e.g., vllm on LWM-Text-7B and Llama-3.1-8B), PSA reduces KV cache consumption by up to 2.4×2.4\times over prior dynamic sparse attention (DSA) and up to 8.8×8.8\times over dense baselines, while matching or slightly improving accuracy (2%\leq 2\% degradation at 98%98\% accuracy). End-to-end throughput (QPS) is improved by up to 2.0×2.0\times over dense and 1.4×1.4\times over block top-kk sparse attention (Zhou et al., 1 Mar 2025).
  • In video understanding/generation (Pyramid Sparse Attention), PSA closes the gap to full attention on PSNR/SSIM/LPIPS at >>90% sparsity, yielding 3%\ll 3\% relative error in the attention map, increasing receptive field size under a fixed compute budget, and outperforming or matching legacy methods in VBench and Video-MME (Li et al., 3 Dec 2025).
  • In autoregressive video diffusion (Light Forcing), chunk-level progressive sparsity and HSA deliver 1.21.3×1.2{-}1.3\times speedup while matching or modestly surpassing dense attention in sample quality (VBench score 84.5 vs. 84.1) and achieving real-time throughput with full pipeline optimization (19.7 FPS on RTX 5090 with FP8 quantization and LightVAE) (Lv et al., 4 Feb 2026).

Ablation studies confirm that progressive budgeting yields 15–25% fewer KV blocks compared to fixed top-kk for equivalent accuracy, and that pipelined execution and unified memory pool provide an additional 10–12% throughput gain (Zhou et al., 1 Mar 2025).

5. Methodological Variants: Locality, Pooling, and Coarse-to-Fine Masking

Distinct PSA mechanisms use different progressive selection principles:

  • In Progressive Sparse Local Attention for video object detection (Guo et al., 2019), spatial neighborhoods around each query position are probed with increasingly larger stride, focusing on fine spatial correspondence near the query and sparser distant sampling. For each point, softmax-normalized affinities are computed over a 1-centered, $8d$-sized progressive grid (with d=4d=4 for 33 total neighbors), maintaining local sensitivity while minimizing compute. This module enables feature tracking without optical flow, and has a favorable speed–accuracy–model size profile compared to FlowNet-warped and nonlocal baselines.
  • In Pyramid Sparse Attention (Li et al., 3 Dec 2025), the multi-level pooled representations enable more nuanced attention at high sparsity than rigid block-dropping. Analogy is drawn to fixed-point quantization (more bits for important blocks) and Feature Pyramid Networks (routing to scale-appropriate features).
  • In Light Forcing (Lv et al., 4 Feb 2026), chunk-wise CAG and HSA allow explicit control over the progression and spatial allocation of sparsity throughout iterative AR video generation.

6. Practical Considerations and Limitations

PSA implementations require per-query/block criticality scoring and dynamic mask generation, which incurs some overhead but is offset by substantial gains in memory and FLOPs. Hyperparameters such as threshold ϵ\epsilon (LLMs), number of pyramid levels HH (video PSA), and block size/tile granularity must be tailored to the workload and hardware. Pooling-based representation assumes local token similarity and may degrade if the embedding distribution is highly unstructured; block sizes that are too coarse can induce feature distortion.

Empirically, typical choices are ϵ[0.95,0.98]\epsilon \in [0.95, 0.98], 4 pooling levels (H=4), and block sizes {32,64,128}\in \{32,64,128\}. Inference pipelines can leverage existing FlashAttention2 infrastructure with minimal adaptation (Li et al., 3 Dec 2025, Zhou et al., 1 Mar 2025).

7. Impact and Future Directions

Progressive Sparse Attention establishes a paradigm for context- and modality-adaptive sparse attention. This approach resolves fixed-budget trade-offs, adapts to varying importance, supports high throughput via co-designed memory/execution systems, and generalizes across LLMs, video transformers, and AR diffusion pipelines.

Pending directions include dynamic/user- or content-adaptive thresholding, end-to-end learned sparsity schedules, exploration of pooling operators beyond mean, and integration with non-standard transformer architectures. The approach's success in system-level throughput, memory scaling, and quality preservation in both sequential language and high-dimensional vision tasks underpins its utility in state-of-the-art large model deployment (Zhou et al., 1 Mar 2025, Li et al., 3 Dec 2025, Lv et al., 4 Feb 2026, Guo et al., 2019).

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Progressive Sparse Attention (PSA).