Computer Science > Computation and Language
[Submitted on 2 Dec 2026]
Title:DLA: Decomposed Latent Attention for Looped Language Models
View PDF HTML (experimental)Abstract:Looped language models increase test-time computation by repeatedly applying shared Transformer layers, but storing key-value (KV) states from multiple loops introduces substantial inference memory overhead. We introduce Decomposed Latent Attention (DLA), which stores the full-dimensional mean across loops and compresses the remaining variation into low-dimensional contrast codes. Each loop reconstructs its historical KV states on demand. To address the discrepancy between parallel training and token-sequential inference, we further introduce DLA-SW, a sliding-window variant that retains exact KV states for recent tokens and completed compressed codes for distant history. When the training block fits within the window, block-parallel training preserves the cache dependencies of tokenwise decoding on the same prefix. DLA and DLA-SW are trained with the task loss only, without additional reconstruction supervision. We evaluate DLA and DLA-SW on Ouro-1.4B-Thinking and Huginn-3.5B across MATH-500, MBPP+, and QASPER using fixed cache hyperparameters. Averaged over these six settings, DLA reduces resident memory by 23.5% relative to LLA, while DLA-SW reduces by 15.2% relative to HLA. Across all twelve paired comparisons, the DLA variants improve task scores by 2.29 points on average.
Loading...
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Code, Data and Media Associated with this Article
alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
ScienceCast (What is ScienceCast?)
Recommenders and Search Tools
Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.