mlsanityData to 14 Oct 2026

Parameter-free Adaptive Sparse Attention via Compression-Based Content Selection

arXiv 2607.21752 ↗First posted 23 Jul 2026cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Data-adaptive sparse attention masks substantially outperform fixed patterns (e.g., BigBird and Longformer) and can even exceed dense attention on long sequences. Existing adaptive approaches---including SBM-Transformer, Dynamic Mask Attention, and NSA---typically require additional learnable parameters, custom gradient estimators, or specialized CUDA kernels. We show that classical data compression provides an effective masking signal with no additional parameters. By computing per-block gzip compression ratios, we identify non-redundant content blocks and route long-range attention selectively through them. Intuitively, blocks that gzip cannot compress contain information not predictable from local repetition, making them natural long-range attention targets. Because the compression profile is input-dependent, the resulting sparse mask adapts dynamically to content without learned parameters, auxiliary losses, or custom kernels. On PG-19 byte-level language modeling at 92M parameters with 8K context, our method achieves 1.71 bits-per-byte (BPB), outperforming dense attention (2.89), BigBird (2.34), Longformer (3.21), and a reimplemented SBM-Transformer (3.38)---the only learned-mask baseline---by up to 1.67 BPB while adding no parameters. The advantage grows with sequence length, with the gap over BigBird widening from 0.05 BPB at 4K context to 0.63 BPB at 8K, while convergence is 3.3× faster.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 11 of its 16 references that are in the map. First posted on arXiv 23 Jul 2026.

Builds on

11 of 16 references.

References · 11

  1. 2020Longformer: The Long-Document Transformercited by 3,413
  2. 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,079
  3. 2020Big Bird: Transformers for Longer Sequencescited by 1,684
  4. 2019Generating Long Sequences with Sparse Transformerscited by 1,546
  5. 2019Compressive Transformers for Long-Range Sequence Modellingcited by 726
  6. 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 700
  7. 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 471
  8. 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 407
  9. 2024What is Wrong with Perplexity for Long-context Language Modeling?cited by 69
  10. 2024Sparser is Faster and Less is More: Efficient Sparse Attention for Long-Range Transformerscited by 52
  11. 2024Neural Normalized Compression Distance and the Disconnect Between Compression and Classificationcited by 3

Built on by

Not cited yet.