MutMem: Cryptographically Authorized Mutation in Persistent Agent Memory
MutMem is a cryptographically authorized mutation protocol for persistent agent memory that ensures integrity and traceability by signing weight transitions and evidence, achieving high retrieval accuracy and robust resistance to poisoning attacks without compromising historical continuity.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are building a robot friend that never forgets. It remembers your favorite pizza topping, the name of your third-grade teacher, and the time you promised to walk the dog. But here's the tricky part: people change. Maybe you decide you hate pineapple on pizza now, or you realize your third-grade teacher was actually named "Mrs. Smith," not "Ms. Jones." If your robot friend just overwrites its old memories with new ones, how do you know it didn't get hacked? How do you prove that the change was a genuine update from you, and not a sneaky virus pretending to be you? This is the problem of "persistent memory" in artificial intelligence. Scientists are trying to build AI that learns and adapts over years, but they need a way to make sure those changes are authorized and trackable, like a digital diary that can't be secretly edited without leaving a fingerprint.
This paper introduces a clever system called MutMem (short for "Mutable Memory") designed for a robot brain engine named HOM-AIMOS. Think of MutMem as a super-secure, magical ledger for an AI's memory. Instead of erasing old facts when new information arrives, MutMem keeps the old memory safe but adds a "signed note" next to it. This note says, "Hey, we updated the importance of this memory because of this new event, and here is the cryptographic proof that the update was authorized." It's like if you wrote a correction in the margin of a library book, but the correction was signed with a unique, unbreakable wax seal that proves you did it, not a thief. The system also has a special way of handling "poisoned" information—fake facts planted by hackers. Instead of deleting the fake facts (which would hide the evidence of the attack), MutMem keeps them but stamps them with a giant, signed "SUSPICIOUS" label. This way, the AI knows to ignore the fake info, but researchers can still study the attack later.
The researchers tested this system in three main ways. First, they checked if the robot could actually answer questions correctly using its memory. On a tough test called LongMemEval, the robot got 91.8% of the answers right. On another long-term memory test called LoCoMo, it got 74.12% right. These numbers show the memory system works well for normal tasks.
Second, they tested the security. They ran a specialized suite of tests where they tried to trick the system into making unauthorized changes or deleting memories. The system successfully detected every tamper attempt in these specific scenarios, such as trying to reuse signatures across different memories or altering the digital seals. Every time a change was made, it was locked down with a digital signature. If anyone tried to tamper with the memory in these tests, the system would spot the broken seal immediately. The process of making a secure update was also very fast, taking only about 4.865 milliseconds on average—faster than a human blink.
Third, they tested how well the system handles "poisoned" data. They simulated an attack where hackers injected 500 fake, misleading passages into the robot's memory. The system didn't delete these fake passages; instead, it kept them but marked them as "poison_likely" with a signed label. When the robot was asked questions that the hackers tried to trick it with, the system successfully ignored the fake info 97% of the time (only 3% of the time did the robot accidentally use the poisoned info). Crucially, the system didn't get confused or lose its ability to answer normal questions correctly; its accuracy stayed high even under attack.
The paper also ran a special experiment to see why the system worked so well against the poison. They found that the "signed labels" were the hero. When the robot used these labels to ignore the fake info, its accuracy on trick questions jumped from 40% up to 65%. Without the labels, the robot was easily fooled.
However, the author is very careful to say what this system doesn't do. It doesn't prove that the memory is actually "true" in the real world. A robot can have a perfectly signed, authorized memory that is still factually wrong (like remembering you hate pineapple when you actually love it). The system only proves that the memory was updated by the right person and that the history of changes is honest. It's a system for trust and tracking, not for finding the absolute truth.
In the end, MutMem shows that we can build AI memories that are flexible enough to learn and change, but secure enough to prove who made the changes and what was changed. It keeps the history of every update, every suspicion, and every correction, all locked down with unbreakable digital seals, ensuring that even if an AI's brain is huge and complex, we can always trace the path of its thoughts.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.