Jointly erase private facts from an LLM agent's weights and persistent memory to stop recontamination

February 6, 20267 min

Overview

Decision SnapshotNeeds Validation

The idea is practical and validated on three public medical QA datasets; implementation needs engineering (index rebuilding, dependency tracking) and evaluation beyond simulated datasets for production use.

Citations0

Evidence Strength0.70

Confidence0.85

Risk Signals9

Trust Signals

Findings with numeric evidence: 4/4

Findings with evidence refs: 4/4

Results with explicit delta: 5/5

Reproducibility

Status: Partial assets available

Open source: Partial

At A Glance

Cost impact: 50%

Production readiness: 60%

Novelty: 60%

Authors

Bin Wang, Fan Wang, Pingping Wang, Jinyu Cong, Yang Yu, Yilong Yin, Zhongyi Han, Benzheng Wei

Links

Abstract / PDF / Data

Why It Matters For Business

If your product uses agents with persistent memory, forgetting must remove data from both memory stores and model weights; otherwise retrieval can re-expose deleted facts and cause re-encoding, creating compliance and reputational risk.

Who Should Care

Summary TLDR

This paper defines "agentic unlearning": removing specified information from both a memory-augmented LLM's parameters (weights) and its persistent external memory to stop a retrieval→generation→rewrite feedback loop called backflow. The authors propose Synchronized Backflow Unlearning (SBU): a dual-pathway protocol that first blocks and prunes dependent memory artifacts, then applies an entropy-regularized parameter update (KL-to-random) so the model becomes uncertain on forgotten items. On medical QA tests SBU raises privacy metrics (MIA Score) by ~24.8% while keeping test accuracy >90% on evaluated benchmarks. The system enforces a blocklist, dependency graph with reference counts, hybrid(

Problem Statement

Memory-augmented LLM agents store sensitive info in two places: explicit external memory and implicit model parameters. Deleting only parameters or only memory can fail because retrieval can re-expose forgotten facts and cause the model to re-encode them (backflow). Existing unlearning methods target stateless models and do not prevent this cross-pathway recontamination.

Main Contribution

Formalize agentic unlearning and identify parameter-memory backflow as the core failure mode for memory-augmented agents.

Introduce Synchronized Backflow Unlearning (SBU), a dual-pathway protocol that (1) dependency-prunes external memory and (2) aligns model outputs on forget queries to a high-entropy random prior.

Key Findings

SBU improves privacy vs. strong baselines on MedQA (QF=100).

NumbersMIA Score 0.8953 vs baseline 0.7167 (+24.8% rel)

Practical UseUse synchronized memory+parameter unlearning to substantially lower membership leakage on evaluated medical QA sets.

Evidence RefTable 2

SBU preserves downstream utility while forgetting.

NumbersTest acc 92.50% and Gen. 90.50% (MedQA, QF=100)

Practical UseYou can remove targeted data without large accuracy loss on retained medical QA tasks in these experiments.

Evidence RefTable 2

Results

MetricValueBaselineDeltaSplit / DatasetEvidenceEvidence Ref
Accuracy92.50% ± 2.12Original/Sequential LoRA ~88.67%+≈3.8 pp vs. baselineMedQA test (QF=100)SBU retains test accuracy while improving privacyTable 2
MedQA generalization (Gen.)90.50% ± 0.71Baseline ~87.00%+≈3.5 pp vs. baselineMedQA Gen (QF=100)High retained capability after unlearningTable 2

What To Try In 7 Days

Add a persistent blocklist and simple dependency graph to your memory store to tag and traverse derived artifacts.

Implement a retrieval filter that checks the blocklist before returning results; rebuild the index periodically when blocked count grows.

Prototype a KL-to-random parameter-step: train model outputs on forget queries toward a random-like prior while preserving retain-set loss in mixed batches.

Agent Features

Memory
dependency graph (M,S,R,K)episodic / semantic / reflection layersreference counting for provenance
Tool Use
vector storehybrid search (semantic + keyword)blocklisttamper-evident audit log
Frameworks
Synchronized Backflow Unlearning (SBU)
Is Agentic

Yes

Architectures
memory-augmented LLM agentretrieval-augmented agent

Optimization Features

Infra Optimization
Reported lower GPU memory usage vs baselines in experiments
Model Optimization
Entropy-regularized KL-to-random alignment on forget queries
System Optimization
Periodic vector-index rebuild when |B| > τ to prevent stale vectorsO(k·r) filtering overhead for topk results
Training Optimization
Mixed-batch trainer combining retain and forget samplesLambda (λF) controls forgetting-utility tradeoff
Inference Optimization
Blocklist enforced at retrieval time to filter results

Reproducibility

Code AvailableNo
Data AvailableYes
Open Source StatusPartial
LicenseUnknown

Data URLs

MedQA, MedMCQA, MedReason (public datasets referenced in paper)

Risks & Boundaries

Limitations

Dependency tracking may not capture cross-agent flows in shared knowledge graphs.

Index rebuilds and graph cleanup add operational cost and complexity.

When Not To Use

Stateless models without external memory (no retrieval pathway).

Environments with many collaborating agents sharing a global KG (cross-agent flows unsupported).

Failure Modes

Over-unlearning if λF is too large, degrading task accuracy (paper reports test drop for large λF).

Incomplete deletion if dependency graph is incomplete or derived artifacts are missed.

Core Entities

Models

II-Medical-8BQwen3-8Btext-embedding-ada-002 (OpenAI)

Metrics

AccuracyMIA AUCMIA Score

Datasets

MedMCQAMedQAMedReason

Benchmarks

MedQA evaluationMedMCQA evaluationMedReason evaluation