potentialpaper

Looped Latent Attention: Cross-Loop Key-Value Compression For Looped Transformers

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 19:46 UTC · e94fbcb654bd ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "JcQlSCOUlH"
- }
- ],
- "title": "Looped Latent Attention: Cross-Loop Key-Value Compression For Looped Transformers",
- "authors": [],
- "abstract": "Looped, weight-tied Transformers reduce parameters by reusing a single block, but decoding still stores a\nseparate key/value (KV) cache for every recurrence step. We show this loop-indexed cache is highly structured:\nfor a fixed token, layer and head, the per-loop K/V vectors trace a short low-rank trajectory across loops, while\nthe head and layer axes stay much flatter. We introduce Looped Latent Attention (\\lla{}), a post-training cache\ncodec that stores compact K and V latents and reconstructs loop-specific vectors only when attention reads them.\nThe codec is initialized from the SVD of teacher activations and refined by logit and attention-output\ndistillation; an \\lla{}-2D variant folds heads into one latent for the extreme-compression regime. At matched\ncache budget, per-head \\lla{} beats head-axis MLA, cross-layer sharing, KV quantization and zero-parameter\nfinal-loop reuse; the last result shows that an unadapted endpoint cannot replace the loop trajectory. The advantage\nholds on Ouro-2.6B-Thinking and transfers to Huginn-3.5B, where an SVD codec is near-lossless to $32\\times$ on\ndecoder-independent fidelity. The same full-RoPE codecs that produce the accuracy results also serve: with a\nfused latent-read kernel, \\lla{} decodes end to end on one B200 at $1.2\\times$ the teacher's fixed-batch throughput\nand $2.6$--$5.9\\times$ its peak throughput while caching $4$--$21\\times$ less, with decoder-independent quality\nunchanged. Serving through the streaming latent store exposes a train/serve mismatch, which we trace to drift of the\nstored K/V of generated tokens and remove by fitting the codec under the served semantics with an exact 64-token\nwindow: served GSM8K rises from $0.31$ to $0.67$ at $3.8\\times$ on Ouro-1.4B (oracle re-forward $0.79$) and from\n$0.41$ to $0.84$ on Ouro-2.6B, matching the oracle, with the same fused kernel. An absorbed variant, LLA-D, reads latents without reconstruction and reaches $21\\times$ the teacher's peak throughput. On\nstudent-generated prefixes, on-policy refinement raises MATH-500 at $4\\times$ from 0.43 to 0.64--0.66 across two\nruns and reduces no-answer generations.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "272d8805-9b33-46eb-b575-59b28104019a"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "Looped Latent Attention: Cross-Loop Key-Value Compression For Looped Transformers",
+ "authors": [],
+ "abstract": "Looped, weight-tied Transformers reduce parameters by reusing a single block, but decoding still stores a\nseparate key/value (KV) cache for every recurrence step. We show this loop-indexed cache is highly structured:\nfor a fixed token, layer and head, the per-loop K/V vectors trace a short low-rank trajectory across loops, while\nthe head and layer axes stay much flatter. We introduce Looped Latent Attention (\\lla{}), a post-training cache\ncodec that stores compact K and V latents and reconstructs loop-specific vectors only when attention reads them.\nThe codec is initialized from the SVD of teacher activations and refined by logit and attention-output\ndistillation; an \\lla{}-2D variant folds heads into one latent for the extreme-compression regime. At matched\ncache budget, per-head \\lla{} beats head-axis MLA, cross-layer sharing, KV quantization and zero-parameter\nfinal-loop reuse; the last result shows that an unadapted endpoint cannot replace the loop trajectory. The advantage\nholds on Ouro-2.6B-Thinking and transfers to Huginn-3.5B, where an SVD codec is near-lossless to $32\\times$ on\ndecoder-independent fidelity. The same full-RoPE codecs that produce the accuracy results also serve: with a\nfused latent-read kernel, \\lla{} decodes end to end on one B200 at $1.2\\times$ the teacher's fixed-batch throughput\nand $2.6$--$5.9\\times$ its peak throughput while caching $4$--$21\\times$ less, with decoder-independent quality\nunchanged. Serving through the streaming latent store exposes a train/serve mismatch, which we trace to drift of the\nstored K/V of generated tokens and remove by fitting the codec under the served semantics with an exact 64-token\nwindow: served GSM8K rises from $0.31$ to $0.67$ at $3.8\\times$ on Ouro-1.4B (oracle re-forward $0.79$) and from\n$0.41$ to $0.84$ on Ouro-2.6B, matching the oracle, with the same fused kernel. An absorbed variant, LLA-D, reads latents without reconstruction and reaches $21\\times$ the teacher's peak throughput. On\nstudent-generated prefixes, on-policy refinement raises MATH-500 at $4\\times$ from 0.43 to 0.64--0.66 across two\nruns and reduces no-answer generations.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}