atlas

Research map / Architectures and efficiency / Attention and transformers

AdaSplash: Adaptive Sparse Flash Attention

ICML 2025 · Architectures and efficiency › Attention and transformers · approach: Block-sparse attention kernels · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes AdaSplash, a hybrid Halley-bisection solver and fused Triton kernels that make alpha-entmax attention efficient enough to rival FlashAttention-2 for long-context training.

Problem

Adaptive sparse attention via alpha-entmax is data-dependent and sparse, but existing implementations are slow, memory-hungry, and cannot exploit sparsity to save runtime or memory at long context lengths.

Approach

A hybrid Halley-bisection root solver that needs about 7x fewer iterations than bisection to compute the alpha-entmax threshold, combined with a FlashAttention-style Triton kernel that skips null blocks via dynamically built block-mask lookup tables in forward and backward passes.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace Torch bisection with hybrid Halley-bisectionα-entmax computation · Random tensors, sequence length n=8192runtime: 36.67 ms -> 2.38 msHelped
Replace Torch bisection with hybrid Halley-bisectionα-entmax computation · Random tensors, sequence length n=8192memory usage: 896.15 MB -> 512 MBHelped
Use α-entmax attention (α=1.5) instead of dense attentionModernBERT · BEIR SciFact, NFCorpus, FiQA, and TREC-COVIDnDCG@10: 57.7 -> 58.4; 22.4 -> 25.7; 25.7 -> 29.6; 67.6 -> 75.2Helped
Use α-entmax attention (α=1.5) instead of dense attentionRoBERTa · ECtHR long document classification, sequence lengths 512–4096F1 micro: 71.5 -> 71.8; 74.4 -> 75.5; 75.1 -> 76.4; 77.9 -> 78.0Helped
Use α-entmax attention (α=1.5) instead of dense attentionRoBERTa · ECtHR long document classification, sequence length 8192F1 micro: 79.2 -> 78.6Hurt
Use α-entmax attention (α=1.5) instead of softmaxGPT-2 · GPT-2 language modelingvalidation loss: 3.283 -> 3.263Helped
Use α-entmax attention (α=1.5) instead of softmaxGPT-2 · HellaSwagaccuracy: 30.4 -> 30.6Helped
Use α-entmax attention (α=1.5) instead of softmaxGPT-2 · GPT-2 trainingruntime per step: 0.98 -> 1.03Hurt
Use α-entmax attention (α=1.5) instead of softmaxGPT-2 · GPT-2 trainingpeak memory per GPU: 52.5 -> 52.5No clear effect
Use AdaSplash instead of Torch bisectionModernBERT-base · Sequence length 8192runtime: 4.99 -> 1.53Helped
Use α-entmax attention (α=2.0) instead of dense attentionModernBERT · GLUE averageaverage score: 83.7 -> 83.7No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: FineWeb-Edu FineWeb ECtHR GLUE MS MARCO HellaSwag

Benchmarks: GLUE BEIR (SciFact, NFCorpus, FiQA, TREC-COVID) ECtHR long document classification HellaSwag

Metrics: runtime peak memory nDCG@10 F1 micro accuracy validation loss

Baselines: FlashAttention-2 Torch bisection Torch sorting softmax attention

Builds on: FlashAttention entmax sparsemax Triton

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy