Δ-Mem: Efficient Online Memory for Large Language Models
TL;DR Highlight
An 8×8 online memory state lifted average score to 1.10× the frozen backbone
Who Should Read
LLM developers adding memory to long-running assistants or agents who find extending the context window too costly
Core Mechanics
- Bigger context is costly and underused
- Long-term assistants and agents need to accumulate and reuse history.
- Simply expanding the context window is costly and often fails to be used effectively.
- Past info goes into a fixed-size state
- δ-mem adds a small online associative memory state to a frozen full-attention backbone.
- The state matrix is updated by delta-rule learning (overwrite by the error).
- Readout corrects attention
- During generation, the memory readout produces low-rank corrections to the backbone's attention computation.
- Average score 1.10× with 8×8 state
- That is 1.10× the frozen backbone on average.
- It is 1.15× the strongest non-δ-mem memory baseline.
- Bigger gains on memory benchmarks
- 1.31× on MemoryAgentBench and 1.20× on LoCoMo.
- General capabilities are largely preserved.
- No full fine-tuning needed
- Achieved without backbone replacement or explicit context extension.
Community Reactions
- Opinion: fixed size doesn't fix capacity
- One commenter said there is a fundamental limit on how much information fits.
- They argued small input variations change activations a lot, so caching doesn't improve, and contextual search is what's needed.
- Assessment: not very novel
- One commenter said it basically adds DeltaNet hypernetworks to existing LLMs.
- They called it moderately interesting but not groundbreaking.
- Questions about cost and overfitting
- One commenter skimmed and found no mention of cost.
- They also wanted to check it isn't a fancy form of overfitting or training on test data.
- Experience: want proven memory for coding agents
- One commenter tried several memory plugins for coding agents.
- They want something proven useful in practice.
- Another asked how to make an agent remember repo guidelines without feeding four markdown files each session.
How to Apply
- Measure a baseline for your current memory
- Pick 5-10 long-conversation scenarios and record scores with no memory today.
- Rerun them with your current approach and compare.
- Build a LoCoMo-style memory eval
- Write questions about facts from earlier in the conversation.
- Record accuracy and context token count together.
- Make a cost checklist before adopting memory
- The abstract gives no cost numbers.
- For each candidate, measure and note memory size, latency, and extra training needs.
Try It
# Paste into Claude or ChatGPT (simplified version of the paper's method: overwrite a fixed-size memory each turn)
You manage a fixed-size memory note. The note has at most 8 lines.
Each turn, read the new conversation and update the note. If something conflicts with existing content, overwrite with the new info; if lines overflow, delete the least important line.
[Current memory note]
{{memory note}}
[New conversation]
{{new conversation}}
Output only the updated note, 8 lines or fewer.Terminology
Related Papers
Frostbite: A new CPU architecture discovered, designed and verified by AI
AI agents designed a CPU from scratch, claiming 4.59x perf/W over a traditional core
Restricting AI agents in mobile operating systems platforms from capturing data
Signal now blocks OS-level AI agents from reading its screen on iOS 27 and Android
Actions Speak Louder than Words: Stateful Privacy Sniffing of LLM Agents via Behavioral Covert Channels in Web Interactions
Agents' link choices alone let attackers rebuild user queries at F1 0.89; SOR cuts it to 0.39.
Tracking and Limiting Unsupported Claim Propagation in Multi-Agent LLM Systems: A Provenance-Aware Framework
Passing claims with source, evidence and history kept equivalence at 5 agent stages at 96% versus 31%.
LLM assisted reverse engineering
Pointing an agent at binaries with skills and MD notes made years-long hacks feasible
Metrics-in-the-Loop: Complexity Feedback Reshapes Agent-Written Code
Injecting per-turn complexity reports into coding agents cut code erosion without changing correctness
Why is Gemini 4 Carbon taking so long?
Carbon took nearly an hour on bug fixes that Astra and Opus finished in minutes, mostly from extra unrequested work.
Weight-Space Programming builds neural networks like a 1990s researcher
LLM hand-wrote MNIST weights to 91.3%, using 1990s-style techniques