Lune

ACL Findings2026

Topology Matters: Measuring Memory Leakage in Multi-Agent LLMs

Jinbo Liu, Defu Cao, Yifei Wei, Tianyao Su, Yuan Liang, Yushun Dong, Yan Liu, Yue Zhao, Xiyang Hu

Abstract

Graph topology is a fundamental determinant of memory leakage in multi-agent LLM systems, yet its effects remain poorly quantified. We introduce MAMA (Multi-Agent Memory Attack), a controlled evaluation framework for comparing topology-conditioned memory leakage in multi-agent LLM systems. MAMA operates on synthetic documents containing labeled Personally Identifiable Information (PII) entities, from which we generate sanitized task instructions. We execute a two-phase protocol: Engram (seeding private information into a target agent's memory) and Resonance (multiround interaction where an attacker attempts extraction). Over 10 rounds, we measure leakage using a two-stage recovery criterion that combines exact-match extraction with LLMbased inference over the attacker's final output. We evaluate six canonical topologies (complete, circle, chain, tree, star, star-ring) across n ∈ 4, 5, 6, attacker-target placements, and base models. Results are consistent: denser connectivity, shorter attacker-target distance, and higher target centrality increase leakage; most leakage occurs in early rounds and then plateaus; model choice shifts absolute rates but preserves broad structural trends; spatiotemporal/location attributes leak more readily than identity credentials or regulated identifiers. We distill practical guidance for system design: favor sparse or hierarchical connectivity, maximize attacker-target separation, and restrict hub/shortcut pathways via topology-aware access control. Our code is available at https: //github.com/llll121/mama-eval.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Memory Injection Attacks on LLM Agents via Query-Only Interaction cites AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Bases
  • G-Safeguard: A Topology-Guided Security Lens and Treatment on LLM-based Multi-agent Systems cites AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Bases
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. MINIM: Privacy-Aware Minimal View for Agents via Trusted Local SanitizationHexuan Yu, Chaoyu Zhang, Heng Jin, Shanghao Shi et al.ICML 2026

Builds on5

  1. AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge BasesZhaorun Chen, Zhen Xiang, Chaowei Xiao, Dawn Song et al.NeurIPS 2024 · 539 citations
  2. Memory Injection Attacks on LLM Agents via Query-Only InteractionShen Dong, Shaochen Xu, Pengfei He, Yige Li et al.NeurIPS 2025 · 146 citations
  3. G-Safeguard: A Topology-Guided Security Lens and Treatment on LLM-based Multi-agent SystemsShilong Wang, Guibin Zhang, Miao Yu, Guancheng Wan et al.ACL 2025 · 37 citations
  4. SafeSearch: Automated Red-Teaming of LLM-Based Search AgentsJianshuo Dong, Sheng Guo, Hao Wang, Xun Chen et al.ICML 2026 · 3 citations
  5. On the Resilience of LLM-Based Multi-Agent Collaboration with Faulty AgentsJen-tse Huang, Jiaxu Zhou, Tailin Jin, Xuhui Zhou et al.ICML 2025

Related papers

  1. MaMa: A Game-Theoretic Approach for Designing Safe Agentic SystemsJonathan Nöther, Adish Singla, Goran RadanovicICML 2026
  2. CIA: Inferring the Communication Topology from LLM-based Multi-Agent SystemsYongxuan Wu, Xixun Lin, He Zhang, Nan Sun et al.ACL 2026
  3. NetSafe: Exploring the Topological Safety of Multi-agent SystemMiao Yu, Shilong Wang, Guibin Zhang, Junyuan Mao et al.ACL Findings 2025 · 4 citations
  4. Proactive Privacy Amnesia for Large Language Models: Safeguarding PII with Negligible Impact on Model UtilityMartin Kuo, Jingyang Zhang, Jianyi Zhang, Minxue Tang et al.ICLR 2025
  5. MASLeak: Investigating and Exposing Intellectual Property Leakage Vulnerabilities in Multi-Agent SystemsLiwen Wang, Wenxuan Wang, Shuai Wang, Zongjie Li et al.USENIX Security 2026
Dusk over the sea between two cliffs drawn in fine vertical lines