Live intelligence

Latest AI updates

2 updates
Research Editor selected

HeadMem: Turning an LLM's Retrieval Heads into a Compact Memory for Later Question

HeadMem proposes using an LLM's retrieval heads, detected once per model, as a compact long-context memory. It stores only the compressed keys of these heads, using 290x less memory than the KV cache of Llama-3.1-8B, with no training and no additional model. For each question, the heads' softmax selects tokens for the model to re-read, and the method reportedly beats four KV compression approaches on multi-question RULER-style contexts. It can share a token budget with StreamingLLM or SnapKV and, when fused with BM25 or a dense retriever, outperforms BM25 and reranked dense RAG at 128k tokens.

Why it matters: It offers a training-free way to reduce long-context memory costs while preserving evidence retrieval, with reported compatibility with existing KV compression and RAG methods.

LLM memoryKV cachelong-context retrieval
Research Editor selected

DAMI: Dual-Axis Memory Initialization Boosts Long-Context Retrieval in Gated Linear Attention

DAMI is a new initialization method for gated linear attention models that configures gate parameters and input activations before training to improve long-context retrieval. It assigns geometric timescales across heads and a low-high-low input-sensitivity profile across layers, calibrated with a small activation sample. Across five model families, DAMI improves RULER-style retrieval accuracy by 5.29 to 16.71 percentage points over random initialization baselines, while keeping language modeling and reasoning performance comparable.

Why it matters: This paper presents a practical, training-free initialization technique that yields significant retrieval gains across multiple state-of-the-art linear attention models, offering immediate value for researchers and practitioners working on long-context AI.

Gated Linear AttentionLong-Context RetrievalModel Initialization