Full Attention Strikes Back: Transferring Full Attention into Sparse within Hundred Training Steps

Hugging Face Daily Papers Papers

Summary

RTPurbo leverages intrinsic sparsity in full-attention LLMs to achieve efficient long-context inference with minimal training overhead, enabling significant speedups while maintaining near-lossless accuracy.

Long-context inference in large language models is bottlenecked by the quadratic cost of full attention. Existing efficient alternatives often rely either on native sparse training or on heuristic token eviction, creating an undesirable trade-off among efficiency, training cost, and accuracy. In this work, we show that full-attention LLMs are already intrinsically sparse and can be transformed into highly sparse models with only minimal adaptation. Our approach is built on three observations: (1) only a small subset of attention heads truly requires full long-context processing; (2) long-range retrieval is governed primarily by a low-dimensional subspace, allowing relevant tokens to be retrieved efficiently with a 16-dimensional indexer; and (3) the useful token budget is strongly query-dependent, making dynamic top-p selection more suitable than fixed top-k sparsification. Based on these insights, we propose RTPurbo, which retains the full KV cache only for retrieval heads and introduces a lightweight token indexer for sparse attention. By exploiting the model's intrinsic sparsity, RTPurbo achieves sparsification with only a few hundred training steps. Experiments on long-context benchmarks and reasoning tasks show that RTPurbo preserves near-lossless accuracy while delivering substantial efficiency gains, including up to a 9.36times prefill speedup at 1M context and about a 2.01times decode speedup. These results suggest that strong sparse inference can be obtained from standard full-attention training without expensive native sparse pretraining.
Original Article
View Cached Full Text

Cached at: 05/22/26, 06:23 AM

Paper page - Full Attention Strikes Back: Transferring Full Attention into Sparse within Hundred Training Steps

Source: https://huggingface.co/papers/2605.16928

Abstract

RTPurbo leverages intrinsic sparsity in full-attention LLMs to achieve efficient long-context inference with minimal training overhead, enabling significant speedups while maintaining near-lossless accuracy.

Long-context inferencein large language models is bottlenecked by the quadratic cost offull attention. Existing efficient alternatives often rely either on native sparse training or on heuristic token eviction, creating an undesirable trade-off among efficiency, training cost, and accuracy. In this work, we show that full-attention LLMs are already intrinsically sparse and can be transformed into highly sparse models with only minimal adaptation. Our approach is built on three observations: (1) only a small subset ofattention headstruly requires full long-context processing; (2) long-range retrieval is governed primarily by a low-dimensional subspace, allowing relevant tokens to be retrieved efficiently with a 16-dimensional indexer; and (3) the useful token budget is strongly query-dependent, makingdynamic top-p selectionmore suitable than fixed top-k sparsification. Based on these insights, we proposeRTPurbo, which retains the fullKV cacheonly for retrieval heads and introduces a lightweighttoken indexerforsparse attention. By exploiting the model’sintrinsic sparsity,RTPurboachieves sparsification with only a few hundred training steps. Experiments on long-context benchmarks and reasoning tasks show thatRTPurbopreserves near-lossless accuracy while delivering substantial efficiency gains, including up to a 9.36timesprefill speedupat 1M context and about a 2.01timesdecode speedup. These results suggest that strong sparse inference can be obtained from standard full-attention training without expensive native sparse pretraining.

View arXiv pageView PDFAdd to collection

Get this paper in your agent:

hf papers read 2605\.16928

Don’t have the latest CLI?curl \-LsSf https://hf\.co/cli/install\.sh \| bash

Models citing this paper0

No model linking this paper

Cite arxiv.org/abs/2605.16928 in a model README.md to link it from this page.

Datasets citing this paper0

No dataset linking this paper

Cite arxiv.org/abs/2605.16928 in a dataset README.md to link it from this page.

Spaces citing this paper0

No Space linking this paper

Cite arxiv.org/abs/2605.16928 in a Space README.md to link it from this page.

Collections including this paper0

No Collection including this paper

Add this paper to acollectionto link it from this page.

Similar Articles

[GUIDE, update] Inkling 2 Mini on a single RTX 5080 16GB + 12 GB RAM: 490 tok/s structured output, ~250 tok/s chat, 10,500 tok/s prompt reads, 240K context (Basalt 0.6.0 + DFlash 2 + 4 open PRs)

Reddit r/LocalLLaMA

Updated guide showing how Basalt 0.6.0 plus the DFlash 2 drafter runs Inkling 2 Mini on a single 16 GB RTX 5080, delivering 490 tok/s structured output, ~250 tok/s chat, and 10,500 tok/s prompt reads at 240K context, with double-digit speedups over the previous build across all context depths.

A new tool to map the relationships among features [P]

Reddit r/MachineLearning

A new tool called Ontolo helps users map relationships among variables in tabular datasets, offering interactive 3D maps, HDBSCAN-based clustering, autoencoder and information-theory-driven nonlinear analysis, plus an LLM layer for interpreting results and comparing findings with existing literature.

@NFT_Chen: Awesome! Qwen3.5-0.8B’s continued pretraining data efficiency jumps straight to 1.4×! ByteDance Seed’s new MoLT paper takes the practicality of Loop Transformers up another notch! They revisit a fundamental question: what exactly should be passed between two loops?! The answer isn’t the traditional H…

X AI KOLs Timeline

ByteDance Seed and the HUST team propose Mixture-of-Loops Transformer (MoLT), which uses KV as reusable memory across loops, and design a U-shaped architecture, U-MoLT. It achieves 1.4× data efficiency in continued pretraining of Qwen3.5-0.8B and 1.7× cross-entropy (CE) data efficiency in pretraining a 700M model, while matching the inference latency of the non-looped baseline.

Verified Garbage: An experimental formally verified cryptography library

Lobsters Hottest

Verified Garbage is an experimental formally verified cryptography library that writes all algorithms in assembly and uses LLMs to prove correctness, well-definedness, and constant-timeness across multiple ISAs, matching or beating OpenSSL performance while covering every algorithm used by pyca/cryptography.