mindlab-research/delta-mem — explained in plain English
Analysis updated 2026-05-18
Add long-term memory to a language model without growing its context window.
Experiment with different memory write strategies (TSW, SSW, MSW) for an AI agent.
Benchmark memory-augmented models on long conversation and retrieval tasks.
Run the included interactive chat demo with a pretrained delta-Mem adapter.
| mindlab-research/delta-mem | 0c33/agentic-ai | adennng/stock_strategy_lab | |
|---|---|---|---|
| Stars | 14 | 14 | 14 |
| Language | Python | Python | Python |
| Setup difficulty | hard | hard | hard |
| Complexity | 4/5 | 4/5 | 4/5 |
| Audience | researcher | developer | researcher |
Figures from each repo's GitHub metadata at analysis time.
Requires an NVIDIA GPU and familiarity with PyTorch to run training or evaluation scripts.
delta-Mem is a research project introducing a new memory system for large language models, the AI systems that power chatbots and similar tools. The problem it addresses is that current models either keep growing their context window, which is expensive to process, or rely on static knowledge baked in during training. delta-Mem proposes a compact, updatable memory that the model can read and write during a conversation, without ballooning compute costs. The core mechanism is called delta-rule learning. As each new piece of information arrives, the model projects it into a smaller memory space and writes an update using a mathematical rule. This lets the model retain earlier conversation history without reprocessing everything each turn. The memory sits on top of an existing language model as a lightweight adapter, it does not replace the base model. Three write strategies called TSW, SSW, and MSW are included, differing in how memory updates get applied. The repository contains the delta-Mem implementation, training scripts, evaluation benchmarks, and an interactive chat demo. It is written in Python and designed to run on NVIDIA GPUs. A pretrained adapter is available for download and can be loaded with a short code snippet. The full README is longer than what was shown. This project is for researchers and engineers working on long context AI agents, memory augmented language models, or efficient inference for conversational systems. The evaluation suite in the repository covers several benchmarks, including LoCoMo, HotpotQA, IFEval, and GPQA, giving a broad picture of how the memory mechanism affects reasoning and retrieval quality across different task types.
A research project adding a compact, updatable memory to large language models so they can remember conversations without huge context windows.
Mainly Python. The stack also includes Python, PyTorch, CUDA.
CC BY 4.0: share and adapt freely, even commercially, as long as you give appropriate credit.
Setup difficulty is rated hard, with roughly 1h+ to a first successful run.
Mainly researcher.
This repo across BitVibe Labs
Verify against the repo before relying on details.