atlas

Research map / Architectures and efficiency / Attention and transformers

TidalDecode: Fast and Accurate LLM Decoding with Position Persistent Sparse Attention

ICLR 2025 · Architectures and efficiency › Attention and transformers · approach: Sparse attention for long-context LLMs · 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 TidalDecode, which runs full attention and exact top-k token selection in only two layers and reuses the selected tokens across all other layers (position persistent sparse attention), with periodic KV cache correction, to speed up long-context LLM decoding.

Problem

Long-context LLM decoding is memory-bound due to KV cache access, and existing selection-based sparse attention methods pick tokens independently per layer, which is costly and often misses the truly top-attended tokens.

Approach

Tokens with highest attention scores overlap strongly across consecutive layers, so only a few token selection layers (early and one middle layer) perform full attention with exact top-k selection, and all other layers reuse the pre-selected token set for sparse attention, plus a periodic KV cache correction step.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
replace per-layer token estimation with position-persistent token reuseTidalDecode versus Quest · LongBench, LLaMA-3-8B-Instruct-Gradient-1048k, K=4096average score: 31.13 -> 32.86Helped
replace Quest with TidalDecode token selectionLLaMA-3.1-8B-Instruct · LongBench average, K=4096score: 37.76 -> 38.32Helped
replace full attention with TidalDecodeLLaMA-3.1-8B-Instruct · LongBench average, K=4096score: 39.02 -> 38.32Hurt
use sparse attention with TidalDecode instead of full attentionLLaMA-2-7B · decoding latency, 100K context, K=512latency: 45.70 -> 21.13Helped
use TidalDecode instead of QuestLLaMA-2-7B · decoding latency, 100K context, K=512latency: 24.84 -> 21.13Helped
use layer 13 rather than layer 15 for token re-selection (ablation)TidalDecode on LLaMA-3-8B · Needle-in-the-Haystack, 100K, K=128accuracy: 92% -> 100%Helped
use layer 13 rather than layer 14 for token re-selection (ablation)TidalDecode on LLaMA-3.1-8B · Needle-in-the-Haystack, 32K, K=64accuracy: 98% -> 100%Helped
use layer 14 rather than layer 31 for token re-selection (ablation)TidalDecode on LLaMA-3-70B · Needle-in-the-Haystack, 32K, K=64accuracy: 98% -> 82%Mixed
choose the re-selection layer based on model and task (ablation)TidalDecode · Needle-in-the-Haystack sensitivity studiesaccuracyMixed
use layer 12 rather than layer 13 for token re-selection (ablation)TidalDecode on LLaMA-3.2-3B-Instruct · Needle-in-the-Haystack, 10K, K=128accuracy: 94% -> 96%Helped
use layer 7 rather than layer 13 for token re-selection (ablation)TidalDecode on LongChat-7b-v1.5-32k · Needle-in-the-Haystack, 3K, K=32accuracy: 5% -> 80%Helped

Surprising findings

Limitations

Experimental setup

Datasets: PG-19 PG-19-mini

Benchmarks: Needle-in-the-Haystack PG-19 LongBench

Metrics: accuracy perplexity F1 end-to-end decoding latency

Baselines: Quest H2O TOVA StreamingLLM FlashInfer full attention

Builds on: Quest FlashInfer

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