arXiv

Topology Matters: Measuring Memory Leakage in Multi-Agent LLMs

Topology Matters: Measuring Memory Leakage in Multi-Agent LLMs

While graph topology is a critical factor influencing memory leakage in multi-agent Large Language Model (LLM) systems, its specific impact has historically been difficult to quantify. To address this gap, we present MAMA (Multi-Agent Memory Attack), a structured evaluation framework designed to compare topology-dependent memory leakage across various multi-agent LLM configurations.

MAMA utilizes synthetic documents containing labeled Personally Identifiable Information (PII) to generate sanitized task instructions. The framework employs a two-stage protocol: the "Engram" phase, which seeds private data into a target agent’s memory, and the "Resonance" phase, where an attacker engages in multi-round interactions to attempt data extraction. Leakage is quantified over ten rounds using a dual-stage recovery metric that assesses both exact-match extraction and LLM-based inference on the attacker’s final output.

Our evaluation spans six standard topologies—complete, circle, chain, tree, star, and star-ring—across varying node counts ($n\in{4,5,6}$), different attacker-target placements, and various base models. The findings are consistent: leakage rates increase with denser connectivity, shorter distances between the attacker and target, and higher centrality of the target node. Additionally, the majority of leakage occurs during the initial rounds before plateauing. While the specific base model influences absolute leakage rates, it does not alter the overarching structural trends. Furthermore, spatiotemporal and location-based attributes prove more susceptible to leakage than identity credentials or regulated identifiers.

Based on these results, we offer practical recommendations for system architecture: prioritize sparse or hierarchical network structures, maximize the separation between attackers and targets, and implement topology-aware access controls to limit hub and shortcut pathways. The source code for this study is publicly available at https://github.com/llll121/mama-eval.


Source: arXiv Generated at: 2026-06-04 00:00:00 UTC

Related Articles

Reuters

Foxconn announces strategic collaboration with Intel on next-gen AI infrastructure

Foxconn and Intel announced a strategic partnership to develop next-generation AI infrastructure. This collaboration aim...

SpaceX Seeks to Raise $75 Billion in Record IPO (Video)
Bloomberg

SpaceX Seeks to Raise $75 Billion in Record IPO (Video)

SpaceX aims for a record $75 billion valuation through an initial public offering. This historic IPO marks a significant...

Broadcom AI Chip Outlook Disappoints Investors
Bloomberg

Broadcom AI Chip Outlook Disappoints Investors

Broadcom’s AI chip projections disappointed investors, dampening market sentiment. The outlook fell short of expectation...

Reuters

Europe's tech 'liberation day'? Computer says not yet

Europe’s expected tech breakthrough remains unrealized, as current systems indicate that a true "liberation day" has not...

Hiranandani Group CEO on Powering India's Digital Future
Bloomberg

Hiranandani Group CEO on Powering India's Digital Future

Hiranandani Group CEO discusses driving India's digital transformation.

Cerebras Says It’s Working With All AI Gear Makers Except Nvidia
Bloomberg

Cerebras Says It’s Working With All AI Gear Makers Except Nvidia

Cerebras confirmed partnerships with all major AI hardware vendors except Nvidia. This broad engagement positions Cerebr...