Daily AI News · Dec 2, 2026
Research

HeadMem uses a language model’s own attention heads for compact memory

Published · Source dated

In an arXiv preprint, the authors of HeadMem describe a way to store long documents and chat histories for questions that arrive later. The method uses a subset of the model’s attention heads to select which tokens to reread for each question, without additional training. On Llama-3.1-8B, the authors report that HeadMem used about one-290th of the memory of the full key-value cache and outperformed four cache compression methods on multi-question benchmarks.

Why it matters

The benchmark results show how a compact memory can support repeated questions about the same long input without scanning the full context each time.

Sources

More on this day

Comments