cd /news/artificial-intelligence/elastic-threshold-attention-learned-… · home topics artificial-intelligence article
[ARTICLE · art-135529] src=machinebrief.com ↗ pub= topic=artificial-intelligence verified=true sentiment=↑ positive

Elastic Threshold Attention: Learned Contextual Sparsity for Long-Context Decoding

Researchers introduced Elastic Threshold Attention (ETA), an end-to-end trainable sparse attention architecture that predicts dynamic, contextual thresholds from query representations to speed up long-context decoding without sacrificing dense model quality. A 1.45B pretrained ETA model matched dense attention on language modeling, commonsense reasoning, and long-context needle retrieval at approximately 85% training sparsity and approximately 38% active decode density, and a custom Triton decode kernel delivered up to 2.5x wall-clock decode speedups over FlashAttention-2 on sequences up to 512K tokens. An offline calibration algorithm that freezes per-head constant thresholds cut attention compute by an additional 27% for domain-specific deployments.

by read1 min views1 publishedSep 21, 2026

arXiv:2609.20888v1 Announce Type: new Abstract: Massive KV caches can cause severe memory-bandwidth bottlenecks during long-context decoding. Sparse attention methods mitigate this via selective , but that comes at a cost: rigid heuristics drop necessary context, leading to quality degradation. We introduce \textbf{Elastic Threshold Attention (ETA)}, an end-to-end trainable architecture that achieves hardware-accelerated decoding speed without sacrificing dense model quality. ETA predicts dynamic, contextual thresholds directly from query representations, allowing the model to allocate dense-like context to difficult retrieval or reasoning steps while pruning routine tokens. To learn this policy from scratch without representation collapse, ETA \emph{multiplicatively suppresses} sub-threshold logits toward zero during training rather than deleting them. Training against this smooth uniform attention floor provides a distributed probability reservoir that \textbf{causes localized attention sinks on initial tokens to disappear}. It also enables the model to hard-prune uninformative KV blocks at inference time and absorb incidental tokens co-admitted by coarse GPU block selection. As a result, a 1.45B pretrained ETA model rivals dense attention across language modeling, commonsense reasoning, and long-context needle retrieval at $\approx 85%$ training sparsity and $\approx 38%$ active decode density. At inference time, we implement a custom decode kernel in Triton that screens KV blocks in $O(1)$ time using cached geometric-probabilistic bounds, delivering up to $2.5\times$ wall-clock decode speedups over FlashAttention-2 on sequences up to 512K tokens. Finally, we introduce an offline calibration algorithm for domain-specific deployments that freezes per-head constant thresholds to eliminate predictor overhead, cutting attention compute by an additional $27%$.

── more in #artificial-intelligence 4 stories · sorted by recency
── more on @elastic threshold attention 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/elastic-threshold-at…] indexed:0 read:1min 2026-09-21 ·