# DLA: Decomposed Latent Attention for Looped Language Models

> Source: <https://arxiv.org/abs/2612.02990>
> Published: 2026-12-03 05:00:00+00:00

**Recommendation:** For looped models with growing KV caches, compress cross-loop variation into low-dimensional contrast codes and keep exact KV only for a recent sliding window; the authors measured 23.5% less resident memory with a 2.29-point average score gain.
More in the playbook "Inference and self-hosting": <https://wpnews.pro/playbooks/inference-serving>

arXiv:2612.02990v1 Announce Type: new 
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.
