Pith. sign in

REVIEW 1 cited by

AdaSplash: Adaptive Sparse Flash Attention

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2502.12082 v2 pith:7FEYZMGW submitted 2025-02-17 cs.CL cs.LG

classification cs.CLcs.LG
keywords alphaentmaxsparsityadaptiveattentionefficiencyimplementationsadasplash
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
abstract

The computational cost of softmax-based attention in transformers limits their applicability to long-context tasks. Adaptive sparsity, of which $\alpha$-entmax attention is an example, offers a flexible data-dependent alternative, but existing implementations are inefficient and do not leverage the sparsity to obtain runtime and memory gains. In this work, we propose AdaSplash, which combines the efficiency of GPU-optimized algorithms with the sparsity benefits of $\alpha$-entmax. We first introduce a hybrid Halley-bisection algorithm, resulting in a 7-fold reduction in the number of iterations needed to compute the $\alpha$-entmax transformation. Then, we implement custom Triton kernels to efficiently handle adaptive sparsity. Experiments with RoBERTa and ModernBERT for text classification and single-vector retrieval, along with GPT-2 for language modeling, show that our method achieves substantial improvements in runtime and memory efficiency compared to existing $\alpha$-entmax implementations. It approaches -- and in some cases surpasses -- the efficiency of highly optimized softmax implementations like FlashAttention-2, enabling long-context training while maintaining strong task performance.

Discussion (0). Sign in to comment.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. NABLA: Neighborhood Adaptive Block-Level Attention

    cs.CV 2025-07 conditional novelty 5.0 of 10

    NABLA builds content-aware block-sparse attention masks by pooling queries and keys and thresholding their softmax CDF, giving near-baseline video quality at up to 2.7x inference speedup and 1.46x pretraining speedup.

Pith tools