Papers
Topics
Authors
Recent
Search
2000 character limit reached

Multi-Network Memory Graphs in MAS

Updated 7 January 2026
  • Multi-Network Memory Graphs is a hierarchical memory architecture that integrates interaction, query, and insight graphs for LLM-powered multi-agent systems.
  • It employs bi-directional memory traversal, embedding-based retrieval, and role-specific customization to improve dynamic memory retrieval and knowledge transfer.
  • Empirical evaluations indicate performance improvements up to 20.89% on benchmarks, underscoring its scalability and efficiency over flat memory approaches.

Multi-Network Memory Graphs (also known as hierarchical, agentic memory graph systems) constitute a graph-centric memory architecture designed for LLM-powered Multi-Agent Systems (MAS). This approach explicitly models cross-trial knowledge, agent-specific memory, and fine-grained interaction histories using an intertwined, three-tier graph structure. The G-Memory system, introduced for MAS and inspired by organizational memory theory, formalizes this methodology to support dynamic, scalable, and role-aware memory retrieval and update—outperforming prior flat or monolithic memory approaches in both embodied and knowledge-intensive benchmarks (Zhang et al., 9 Jun 2025).

1. Three-Tier Multi-Network Graph Architecture

G-Memory organizes MAS memory into three stratified, interconnected graph networks, each capturing a distinct granularity of historical system experience:

  • Interaction Graph (Utterance Graph):

For a single query QQ, the interaction graph Ginter(Q)=(U(Q),Eu(Q))G_{\mathrm{inter}}^{(Q)} = (U^{(Q)}, E_u^{(Q)}) encodes agent utterances and their dependencies for that query. Each node ui=(Ai,mi)u_i = (A_i, m_i) pairs an agent AiA_i with their message mim_i; directed edges (uj→uk)∈Eu(Q)(u_j \rightarrow u_k) \in E_u^{(Q)} indicate that utterance uku_k was explicitly inspired by uju_j. This level preserves temporally ordered, fine-grained inter-agent dialogue.

  • Query Graph:

The global query graph Gquery=(Q,Eq)G_{\mathrm{query}} = (Q, E_q) aggregates all prior queries and their associated trajectories. Each node qi=(Qi,Ψi,Ginter(Qi))q_i = (Q_i, \Psi_i, G_{\mathrm{inter}}^{(Q_i)}) encodes the user query Ginter(Q)=(U(Q),Eu(Q))G_{\mathrm{inter}}^{(Q)} = (U^{(Q)}, E_u^{(Q)})0, execution outcome Ginter(Q)=(U(Q),Eu(Q))G_{\mathrm{inter}}^{(Q)} = (U^{(Q)}, E_u^{(Q)})1, and the corresponding interaction subgraph. Edges Ginter(Q)=(U(Q),Eu(Q))G_{\mathrm{inter}}^{(Q)} = (U^{(Q)}, E_u^{(Q)})2 link queries based on semantic similarity, workflow dependencies, or sub-task overlap, supporting analogical retrieval for new user tasks.

  • Insight Graph:

The insight graph Ginter(Q)=(U(Q),Eu(Q))G_{\mathrm{inter}}^{(Q)} = (U^{(Q)}, E_u^{(Q)})3 abstracts high-level, distilled lessons of the MAS. Nodes Ginter(Q)=(U(Q),Eu(Q))G_{\mathrm{inter}}^{(Q)} = (U^{(Q)}, E_u^{(Q)})4 capture generalized insights (Ginter(Q)=(U(Q),Eu(Q))G_{\mathrm{inter}}^{(Q)} = (U^{(Q)}, E_u^{(Q)})5) and the supporting query set Ginter(Q)=(U(Q),Eu(Q))G_{\mathrm{inter}}^{(Q)} = (U^{(Q)}, E_u^{(Q)})6. Hyperedges Ginter(Q)=(U(Q),Eu(Q))G_{\mathrm{inter}}^{(Q)} = (U^{(Q)}, E_u^{(Q)})7 represent that insight Ginter(Q)=(U(Q),Eu(Q))G_{\mathrm{inter}}^{(Q)} = (U^{(Q)}, E_u^{(Q)})8 contextualizes Ginter(Q)=(U(Q),Eu(Q))G_{\mathrm{inter}}^{(Q)} = (U^{(Q)}, E_u^{(Q)})9 via query ui=(Ai,mi)u_i = (A_i, m_i)0, formalizing cross-trial, generalizable strategic knowledge.

2. Formal Framework and Traversal Algorithms

The hierarchical graph system is supported by a suite of embedding, retrieval, and update mechanisms:

2.1 Embedding and Similarity

User queries are mapped by ui=(Ai,mi)u_i = (A_i, m_i)1 (e.g., MiniLM) to dense vectors. Retrieval over the query graph identifies the ui=(Ai,mi)u_i = (A_i, m_i)2 most similar historical queries by cosine similarity:

ui=(Ai,mi)u_i = (A_i, m_i)3

2.2 Bi-Directional Memory Traversal

The retrieval process executes a coarse-to-fine, cross-graph traversal:

  1. Coarse Retrieval + Hop Expansion: ui=(Ai,mi)u_i = (A_i, m_i)4 (top-ui=(Ai,mi)u_i = (A_i, m_i)5 semantically similar queries) and their graph neighbors ui=(Ai,mi)u_i = (A_i, m_i)6 form the candidate pool.
  2. Upward Traversal to Insight Graph: ui=(Ai,mi)u_i = (A_i, m_i)7 collects all insights with supporting queries in ui=(Ai,mi)u_i = (A_i, m_i)8.
  3. Downward Traversal to Interaction Graph: Each candidate ui=(Ai,mi)u_i = (A_i, m_i)9 receives a relevance score AiA_i0. The top-AiA_i1 are selected; their interaction subgraphs are sparsified via LLM-prompted routines AiA_i2, yielding AiA_i3—the subset of utterances relevant to AiA_i4.
  4. Role-Specific Allocation: For each agent AiA_i5, memory AiA_i6 is instantiated, customizing the selected insights and sub-trajectories to agent role and current query.

2.3 Hierarchical Memory Update

Upon completion of query AiA_i7, the system updates all three graph tiers:

  • The new AiA_i8 is appended to the memory store.
  • Query graph node AiA_i9 and appropriate semantic/workflow links are added.
  • Insights are distilled via an LLM summarizer mim_i0 to generate new insight nodes mim_i1. Supporting sets and contextual edges are updated accordingly.

3. Cross-Tier Interoperation and Specialization

The multi-network approach enables complex, bidirectional information flow:

  • Retrieval Path:

New queries first identify semantically similar trials in the query graph, then extract high-level, generalizable insights via upward traversal, and finally obtain fine-grained, role-relevant dialogue snippets by downward traversal through the interaction graph.

  • Customization:

The mim_i2 function ensures memory is filtered and distilled according to the specific agent role and task requirements, supporting diverse agent specializations even within a single MAS instance.

  • Update Path:

Upon task conclusion, new data propagate through all graph layers—utterance histories augment interaction graphs, new task experiences form query nodes, and emergent strategies are formalized as new or refined insights. This cyclical, joint update nurtures progressive team evolution and continual knowledge accumulation across agent teams and trials.

4. Algorithmic Workflow

The core routines for retrieval and update can be abstracted by the following high-level structures:

mim_i4

The traversal and updating phases are explicitly designed for efficient role-aware memory initialization and continual, multi-level system evolution.

5. Experimental Evaluation and Impact

Extensive experimentation on well-established MAS benchmarks and frameworks demonstrates the empirical effectiveness of the multi-network graph approach:

  • Benchmarks:

ALFWorld, SciWorld (embodied), PDDL (planning games), HotpotQA, FEVER (knowledge QA).

  • Frameworks and Models:

Tested on AutoGen, DyLAN, MacNet; with LLM backbones including Qwen-2.5-7b, Qwen-2.5-14b, GPT-4o-mini.

  • Performance Gains:
    • On ALFWorld, using Qwen-14b with MacNet, success rates rose from 58.21% to 79.10% (mim_i3).
    • On HotpotQA and FEVER, accuracy improved by up to approximately 10%.
    • Ablation experiments verified the necessity of both the insight and interaction graph tiers, as removing either leads to performance drops in the 3–4% range.
    • The architecture achieves these gains with only modest token overhead, demonstrating strong token-efficiency and over twofold performance gains relative to baseline memory augmentation strategies.
Benchmark Framework LLM Backbone Baseline Score +G-Memory Score Δ (%)
ALFWorld MacNet Qwen-2.5-14b 58.21 79.10 20.89
HotpotQA AutoGen/DyLAN Qwen/GPT-4o-mini N/A +up to 10.12 ~10
FEVER MacNet Qwen-2.5-7b N/A +up to 10.12 ~10

A plausible implication is that multi-network memory graphs provide substantial improvements for MAS in both agent collaboration and knowledge transfer, without requiring architectural changes to foundational frameworks (Zhang et al., 9 Jun 2025).

6. Significance and Prospective Directions

G-Memory’s multi-network memory graphs represent a shift toward principled, explicitly structured memory systems in LLM-based MAS. By integrating cross-trial generalization, agent-specific customization, and fine-grained trajectory preservation, this framework supports both intra- and inter-trial reasoning at scale.

Key features distinguishing this approach include:

  • Scalability: Hierarchical graph storage accommodates growth in tasks, agents, and trial histories.
  • Role Awareness: Customizable memory views aligned with agent specialization and task context.
  • Resource Efficiency: Hierarchical, filtered retrieval delivers substantial gains with minimal additional token consumption.
  • Empirical Robustness: Results indicate that hierarchy and cross-trial memory are critical for advancing MAS reasoning beyond naïve context concatenation or single-network memory injection.

While current deployments assume LLM-powered agents within established MAS platforms, this architectural motif is extensible to broader agentic and decentralized AI contexts. A plausible implication is that future research may generalize these stratified graph methodologies for cross-domain continual learning, agent-level meta-learning, or explainable agent collaboration.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Multi-Network Memory Graphs.