Skip to content
Preprint

DART: Decoded Attention over Recurrent States for Efficient Long-Context Sequence Modeling

Aug 2026 · 0 citations · 48 references
Computer Science

TL;DR

DART (Decoded Attention over Recurrent sTates), which retains the chunk state contributions produced by the Mamba-2 chunked scan as chunk state memories, decodes token-conditioned keys and values from these memories, and performs state-memory attention (SMA) over the resulting KV pairs.

Abstract

Modern language models are built primarily from Transformers, recurrent models, and their hybrid architectures. Transformers rely on token-level attention memories, while recurrent models such as state space models (SSMs) and linear attention maintain compact recurrent states. These architectures are typically instantiated separately or interleaved at the layer level, leaving open whether a shared memory representation can support both recurrent compression and attention-style retrieval. We study this question through the state space duality (SSD) view of Mamba-2, where the SSM state can be interpreted as a compressed associative key--value (KV) cache. We observe that Mamba-2 decodes token-conditioned values from this state but does not decode token-conditioned keys. Based on this observation, we propose DART (Decoded Attention over Recurrent sTates), which retains the chunk state contributions produced by the Mamba-2 chunked scan as chunk state memories, decodes token-conditioned keys and values from these memories, and performs state-memory attention (SMA) over the resulting KV pairs. The retrieved output is then combined with the native Mamba-2 output through a gated residual connection. DART supports practical training by reusing the Mamba-2 chunked scan and implementing SMA as a FlashAttention-style computation. Our analysis and experiments show that DART substantially reduces the length-dependent inference cache compared with a matched attention baseline (e.g., $75\%$ savings when the chunk size is $S=256$ and the state size is $N=128$). Compared with Mamba-2, DART substantially improves associative recall and retrieval while preserving general language-modeling quality.

View source

Similar papers

Preprint Aug 2026

Bole: Efficient Tree Speculation for Hybrid-Attention Language Models

Bole is presented, a kernel--runtime co-design that enables efficient tree speculation for hybrid-attention LLMs and couples efficient state management with a batch-wide verification budget calibrated to the complete hybrid forward.

Li Wang, Yi Su, Xiabao Wu et al. · 1 citation
Preprint Aug 2026

DeltaLog: Deferred Materialization of Recurrent States for Linear Attention Decoding

DeltaLog is presented, a recurrent-state decoding scheme that reduces this overhead without changing the model semantics, and is implemented for GDN, KDA, and RWKV6 and integrated into a prototype serving stack.

Jun-Qing Lin, Jing-Wei Sun, Guang-Zhong Sun · 1 citation
Jul 2026

SpecLA: Efficient Speculative Decoding for Linear-Attention Models

SpecLA is presented, a speculative decoding runtime for stateful linear-attention models that verifies chains and trees with topology-aware kernels, stores compact factors produced during verification to recover accepted states, and uses confidence pruning plus a target-aligned EAGLE-style drafter to feed useful candid...

Zhibin Wang, Xuying Han, Zhaohua Yang et al. · 1 citation
Preprint Aug 2026

Mamba with Hierarchical Memory: Solving Representation Bottleneck in Long Sequence Modeling

Hierarchical Memory Mamba integrates a lightweight working memory that extracts slow paragraph-level semantics from the fast sensory memory embedded in the backbone's hidden states and endows HMM cross-task generalization through parametric learning, which is not observed in other long-context enhanced Mamba variants.

Qinwen Wang, Jieping Luo, Ao-Xiang Qin et al. · 0 citations
Jul 2026

TransMem: Transforming Hidden States into Memory for Large Language Models

TransMem is proposed, a lightweight inference-time parametric memory module that transforms sparse historical hidden states from a frozen LLM backbone into reusable memory representations and introduces evidence-conditioned self-distillation to learn transferable memory utilization rather than task-specific knowledge.

Haodong Lei, Junming Liu, Yirong Chen et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.