AsyncTLS: Efficient Generative LLM Inference with Asynchronous Two-level Sparse Attention

Yuxuan Hu, Jianchao Tan, Jiaqi Zhang, Wen Zan, Pingwei Sun, Yifan Lu, Yerui Sun, Yuchen Xie, Xunliang Cai, Jing ZhangarXiv 2026

TL;DR

AsyncTLS introduces a hierarchical sparse attention framework that solves the long-context LLM bottleneck by combining coarse-grained block filtering with fine-grained token selection. Paired with an asynchronous offloading engine that exploits temporal locality, it maintains full-attention accuracy while delivering up to 10× operator speedups and 4.7× end-to-end throughput improvements on contexts up to 96k tokens.

What Problem Does This Paper Address?

As Large Language Models (LLMs) scale to handle ultra-long contexts (hundreds of thousands of tokens), they run into a massive hardware bottleneck: the self-attention mechanism's quadratic computational complexity and linear memory growth. During the decoding phase, storing the Key-Value (KV) cache dominates memory consumption, often exceeding high-bandwidth GPU memory and requiring offloading to slower CPU memory.

To mitigate this, researchers use sparse attention mechanisms. However, existing solutions present a frustrating trade-off:

  • Token-level sparse attention is highly accurate because it selects individual important tokens, but its runtime indexing overhead is computationally expensive.
  • Block-level sparse attention groups tokens into contiguous chunks to reduce indexing overhead, but its coarse nature introduces retrieval noise by keeping irrelevant tokens and dropping critical ones.

Methods

AsyncTLS bridges this gap with a two-level hierarchical sparse attention architecture and a specialized asynchronous offloading engine:

  1. Two-Level Sparse Attention:
    • Stage 1 (Coarse-grained Block Selection): The KV cache is partitioned into blocks. AsyncTLS reformulates block-importance scoring into standard General Matrix Multiplication (GEMM) operations. This allows the system to fully utilize GPU Tensor Cores, making it highly efficient even for shared-KV architectures like Grouped-Query Attention (GQA) and Multi-head Latent Attention (MLA).
  2. Stage 2 (Fine-grained Token Selection): Within the top scoring blocks, the system applies token-level selection (using channel selection and quantization) to isolate the exact tokens needed for actual attention computation.
Figure 1: Illustration of Two-Level Sparse Attention. We construct hierarchical indices for KV blocks at two granularities (Block-level and Token-level). The decoding process first selects Top-Kb blocks via block-level indexing, then selects Top-Kt tokens within these blocks via token-level indexing for sparse attention computation.
  1. Hierarchical KV Cache Management & Asynchronous Offloading:
    • Prefetching with Temporal Overlap: Because attention patterns change slowly between consecutive decoding steps (temporal locality), the block selection from the current step reliably predicts what will be needed next. AsyncTLS uses a staggered execution strategy: while computing token-level attention for the current step, it concurrently prefetches the KV blocks required for the next step.
  2. Incremental Block Transmission: Instead of re-shipping entire caches, AsyncTLS tracks a "resident cache" on the GPU and transmits only the difference (delta) between consecutive steps, drastically reducing PCIe bandwidth bottlenecks.
Figure 2: Workflow of AsyncTLS. During prefilling, we first construct hierarchical indices for the input sequence. Based on the query representation of the final token, we retain critical KV pairs in the GPU resident cache and offload the remaining KV cache to the host (CPU) memory. During decoding, we perform sparse attention by retrieving KV pairs from the resident cache using token-level indexing. Concurrently, we asynchronously prefetch additional KV blocks from host memory via block-level indices to update the resident cache.

Datasets

The authors evaluated AsyncTLS across two major long-context benchmarks using state-of-the-art models like Qwen3-8B, Qwen3-14B, and GLM-4.7-Flash:

  • LongBench: A suite of 14 tasks covering narrative comprehension, scientific understanding, multi-hop reasoning, and document summarization.
  • RULER: A benchmark designed to evaluate long-context in-context retrieval capabilities (e.g., needle-in-a-haystack variants).

Key Insights and Ideas

  • GEMM-fying Block Selection: Previous block-selection methods (like Quest) used custom reduction operations that didn't map well to hardware accelerators. By mathematically restructuring the scoring into standard matrix multiplications ($Q^{max \top}K^{max} + Q^{min \top}K^{min}$), AsyncTLS unlocks massive Tensor Core utilization.
  • Pipelining the Future: Exploiting the fact that attention blocks exhibit high temporal stability ($M_{t-1} \approx M_t$) allows memory transfer latencies to be completely hidden behind the model's computation time.
  • Sparsity Enables Batching: By drastically shrinking the GPU memory footprint of the KV cache through offloading and token pruning, AsyncTLS allows serving systems to increase batch sizes (e.g., from a batch size of 1 up to 6), which is the real key to high-throughput production deployment.

Key Results

  • Accuracy: Across both LongBench and RULER, AsyncTLS achieved accuracy nearly indistinguishable from full attention, significantly outperforming block-level baselines like Quest under identical token budgets.
  • Kernel Speedups: AsyncTLS achieved 1.7×–6.2× speedups over Full Attention and 1.2×–4.0× over token-level sparse attention (DS) for GQA. For MLA architectures, it achieved up to 10.0× speedups over Full Attention.
Figure 4: Latency comparison of full attention (FA), token-level sparse attention (DS), block-level sparse attention (Quest), and two-level sparse attention (AsyncTLS) kernels across varying batch sizes and sequence lengths.
  • End-to-End Throughput: When cache offloading was enabled on 96k context lengths, AsyncTLS delivered 1.84× and 4.70× higher throughput than Full Attention on Qwen3-8B and GLM4.7-Flash, respectively.

Limitations and Future Work

The authors do not include a dedicated limitations section. However, looking closely at the evaluation metrics, under extremely tight token budgets (e.g., 512 tokens), performance on highly complex multi-hop reasoning tasks can still experience minor degradation compared to full attention.

Promising future directions include exploring adaptive token budget allocations dynamically across different layers, as lower layers and higher layers in LLMs are known to utilize contextual information differently.

Summary updated

BibTeX
@misc{hu2026asynctls,
  author = {Yuxuan Hu and Jianchao Tan and Jiaqi Zhang and Wen Zan and Pingwei Sun and Yifan Lu and Yerui Sun and Yuchen Xie and Xunliang Cai and Jing Zhang},
  title = {{AsyncTLS: Efficient Generative LLM Inference with Asynchronous Two-level Sparse Attention}},
  year = {2026},
  eprint = {2604.07815},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.07815},
}
Figure