Skip to content
HN On Hacker News ↗

$δ$-mem: Efficient Online Memory for Large Language Models

▲ 239 points 60 comments by 44za12 1w ago HN discussion ↗

Pangram verdict · v3.3

We believe that this document is fully human-written

9 %

AI likelihood · overall

Human
100% human-written 0% AI-generated
SEGMENTS · HUMAN 1 of 1
SEGMENTS · AI 0 of 1
WORD COUNT 196
PEAK AI % 9% · §1
Analyzed
May 16
backend: pangram/v3.3
Segments scanned
1 windows
avg 196 words each
Distribution
100 / 0%
human / AI fraction
Verdict
Human
Pangram v3.3

Article text · 196 words · 1 segments analyzed

Human AI-generated
§1 Human · 9%

View PDF Abstract:Large language models increasingly need to accumulate and reuse historical information in long-term assistants and agent systems. Simply expanding the context window is costly and often fails to ensure effective context utilization. We propose $\delta$-mem, a lightweight memory mechanism that augments a frozen full-attention backbone with a compact online state of associative memory. $\delta$-mem compresses past information into a fixed-size state matrix updated by delta-rule learning, and uses its readout to generate low-rank corrections to the backbone's attention computation during generation. With only an $8\times8$ online memory state, $\delta$-mem improves the average score to $1.10\times$ that of the frozen backbone and $1.15\times$ that of the strongest non-$\delta$-mem memory baseline. It achieves larger gains on memory-heavy benchmarks, reaching $1.31\times$ on MemoryAgentBench and $1.20\times$ on LoCoMo, while largely preserving general capabilities. These results show that effective memory can be realized through a compact online state directly coupled with attention computation, without full fine-tuning, backbone replacement, or explicit context extension. Subjects: Artificial Intelligence (cs.AI) Cite as: arXiv:2605.12357 [cs.AI]   (or arXiv:2605.12357v1 [cs.AI] for this version)   https://doi.org/10.48550/arXiv.2605.12357 arXiv-issued DOI via DataCite (pending registration) Submission history From: Jingdi Lei [view email] [v1] Tue, 12 May 2026 16:31:44 UTC (609 KB)