MindLab-Research / delta-Mem
PublicRepo of Paper: delta-Mem: Efficient Online Memory for Large Language Models
δ-mem (delta-Mem) is a research project that adds an efficient online memory system to large language models. Instead of treating each conversation as completely new, this system allows an AI to remember and build on previous interactions. When you chat with the AI, it writes important information into a compact memory space using a learning technique called delta-rule learning. Later, when you ask follow-up questions, the AI can retrieve and use this stored memory to provide more contextual responses. The project includes pre-trained memory adapters for popular AI models, an interactive chat demo, and evaluation benchmarks to measure memory performance. It supports three different memory writing strategies (TSW, SSW, MSW) and can be trained on custom data for specific applications.
How It Works
After chatting with an AI assistant for a while, you notice it can't remember things you discussed earlier in the conversation.
You find a research project that adds persistent memory to AI assistants, so they can remember and build on past interactions.
You download a pre-trained memory module from the internet that's designed to work with your chosen AI model.
Have a conversation with the AI and see it remember details from earlier messages.
Test how well the memory works on standard question-answering benchmarks.
If you want custom memory for your specific use case, you can train the memory module on your own data.
Your assistant can remember past conversations, answer questions about earlier topics, and maintain context over long interactions.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.