Research map / Multi-agent systems and games / LLM agents
Forgetting is Not Always Bad: A Neuro-Inspired Memory Repair Mechanism for Poisoned LLM Agents
Lei Liu, Yunji Liang, Xiaowen Zhang, Jingqi Liu, Qi Li, Bin Guo, Zhiwen Yu
Northwestern Polytechnique University · Northwestern Polytechnical University · National University of Singapore · Harbin Engineering University
Read the paperPlace an idea next to itCheck your own paper ↗
Proposes DREAM, a training-free, agent-intrinsic memory repair method that uses Gaussian perturbation probing, multi-dimensional activation scoring, and discrete-time weight decay to selectively suppress poisoned memories in LLM agents.
AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Problem
Memory-poisoning attacks (backdoor and injection) hijack memory-augmented LLM agents; existing defenses rely on costly external auditing or dual-memory isolation that harm memory continuity and utility.
Approach
Weak isotropic Gaussian perturbation of memory embeddings reveals structurally fragile poisoned entries; a score combining cosine stability, retrieval competitiveness and a Boltzmann-like coherence energy flags suspicious memories, whose retrieval weights are then decayed exponentially while benign ones are reconsolidated, giving selective functional forgetting without deletion or parameter update
Key results
- On EHRAgent eICU with GPT-5.4-mini under AgentPoison, DREAM reduces ASR-t from 100% to 2.14% and raises ACC from 70.83% to 85.03%.
- Under MINJA with Claude-Haiku-4.5 on eICU, DREAM reduces ASR to 0.00% while ACC rises from 54.17% to 62.50%.
- Compared with A-MemGuard, DREAM cuts runtime by 53.1% and token consumption by 37.7% on a 10-query batch.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| apply DREAM instead of no defense | GPT-5.4-mini EHRAgent · EHRAgent eICU AgentPoison | ASR-t (%): 100.00 -> 2.14 | Improved |
| apply DREAM instead of no defense | GPT-5.4-mini EHRAgent · EHRAgent eICU AgentPoison | ACC (%): 70.83 -> 85.03 | Improved |
| apply DREAM instead of no defense | Claude-Haiku-4.5 EHRAgent · EHRAgent eICU AgentPoison | ACC (%): 45.83 -> 75.00 | Improved |
| apply DREAM instead of A-MemGuard | GPT-5.4-mini EHRAgent · EHRAgent eICU AgentPoison | ASR-t (%): 65.24 -> 2.14 | Improved |
| apply DREAM instead of no defense under MINJA | GPT-5.4-mini EHRAgent · EHRAgent eICU MINJA | ASR (%): 90.71 -> 1.60 | Improved |
| apply DREAM instead of LLM Auditor on ReAct StrategyQA under MINJA | GPT-5.4-mini ReAct · ReAct StrategyQA MINJA | ASR (%): 0.00 -> 12.00 | Hurt |
| apply DREAM in multi-agent system | MAS with malicious memory injection · MISINFOTASK MAS | TSR (%): 70.69 -> 92.96 | Improved |
| use DREAM instead of A-MemGuard for efficiency | batch of 10 queries · Efficiency | token reduction: 37.7% fewer tokens, 53.1% less runtime | Improved |
| add semantic coherence energy term E_coh (ablation) | DREAM · EHRAgent eICU AgentPoison | ASR-t (%): 77.00 -> 2.14 | Improved |
| add geometric stability term sim (ablation) | DREAM · EHRAgent eICU AgentPoison | ACC (%): 65.78 -> 85.03 | Improved |
| add competitive retrieval term p_ret (ablation) | DREAM · EHRAgent eICU AgentPoison | ACC (%): 77.54 -> 85.03 | Improved |
| add p_ret or sim term (ablation) | DREAM on ReAct · ReAct StrategyQA AgentPoison | ASR-a (%): 100.00 -> 0.00 | Improved |
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.
- A-MemGuard — A-MemGuard: A Proactive Defense Framework For LLM-Based Agent Memory (ICML 2026) · better on 7 of 7 shared results
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Surprising findings
- The isotropic Gaussian term sim(v~, v) alone shows heavy overlap between benign and poisoned memories, yet it is retained as a geometric anchor in the combined score.
- Removing the coherence term E_coh drives EHRAgent ASR-a to about 81%, showing that individual components matter very unequally.
Limitations
- Probe-aware adaptive attacker that optimizes poisoned memories to remain stable under the probe is not evaluated and is described as theoretically possible.
- On ReAct under REALM, reasoning-stage ASR-a remains at 34%, so residual reasoning-chain attacks persist.
- Results are reported on a small number of backbones and tasks, with sensitivity to hyperparameters (notably on ReAct).
Open problems this paper states
- “Probe-aware adaptive attacker that optimizes poisoned memories to remain stable under the probe is not evaluated and is described as theoretically possible.” → Defenses are tested only against fixed attacks, not adaptive attackers. (an open problem in agent safety and attack benchmarks)
- “Results are reported on a small number of backbones and tasks, with sensitivity to hyperparameters (notably on ReAct).” → Attacks and defenses are tested on a few models, leaving larger or closed ones untested. (an open problem in agent safety and attack benchmarks)
Open problems in agent safety and attack benchmarks
Do agent attacks and defenses still hold against adaptive attackers, on deployed systems and at low cost?
- Evidence comes from sandboxes and synthetic data, not deployed agent systems. · 24 papers state it
- Attack and safety scores depend on LLM judges with little human checking. · 20 papers state it
- Defenses are tested only against fixed attacks, not adaptive attackers. · 18 papers state it
Experimental setup
Datasets: eICU MIMIC-III StrategyQA MISINFOTASK
Benchmarks: eICU MIMIC-III StrategyQA MISINFOTASK
Metrics: ASR-r ASR-a ASR-t ACC TSR runtime token consumption
Baselines: No defense PPL filter LLM Auditor Distil Classifier A-MemGuard ARGUS
Builds on: AgentPoison MINJA A-MemGuard Ebbinghaus forgetting curve
Closest papers by meaning
- A-MemGuard: A Proactive Defense Framework For LLM-Based Agent Memory (ICML 2026 · similarity 0.88)
- Asynchronous Agentic Poisoning (NeurIPS 2026 · similarity 0.87)
- MemPoison: Uncovering Persistent Memory Threats and Structural Blind Spots in LLM Agents (NeurIPS 2026 · similarity 0.86)
- MemSkill: Learning and Evolving Memory Skills for Self-Evolving Agents (NeurIPS 2026 · similarity 0.85)
- Memory Injection Attacks on LLM Agents via Query-Only Interaction (NeurIPS 2025 · similarity 0.85)
- MetaCipher: A Time-Persistent and Universal Multi-Agent Framework for Cipher-Based Jailbreak Attacks for LLMs (AAAI 2026 · similarity 0.85)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.