G-Memory: Tracing Hierarchical Memory for Multi-Agent Systems

Gui-Min Zhang, Muxin Fu, Guancheng Wan, Miao Yu, Kun Wang, Shuicheng Yan

arXiv:2506.07398 · 2026-09-12 공개 · arXiv · PDF

multi-agent-systems hierarchical-memory agent-evolution llm-backbones embodied-action interaction-graphs graph-hierarchy organizational-memory

Abstract

Large language model (LLM)-powered multi-agent systems (MAS) have demonstrated cognitive and execution capabilities that far exceed those of single LLM agents, yet their capacity for self-evolution remains hampered by underdeveloped memory architectures. Upon close inspection, we are alarmed to discover that prevailing MAS memory mechanisms (1) are overly simplistic, completely disregarding the nuanced inter-agent collaboration trajectories, and (2) lack cross-trial and agent-specific customization, in stark contrast to the expressive memory developed for single agents. To bridge this gap, we introduce G-Memory, a hierarchical, agentic memory system for MAS inspired by organizational memory theory, which manages the lengthy MAS interaction via a three-tier graph hierarchy: insight, query, and interaction graphs. Upon receiving a new user query, G-Memory performs bi-directional memory traversal to retrieve both $\textit{high-level, generalizable insights}$ that enable the system to leverage cross-trial knowledge, and $\textit{fine-grained, condensed interaction trajectories}$ that compactly encode prior collaboration experiences. Upon task execution, the entire hierarchy evolves by assimilating new collaborative trajectories, nurturing the progressive evolution of agent teams. Extensive experiments across five benchmarks, three LLM backbones, and three popular MAS frameworks demonstrate that G-Memory improves success rates in embodied action and accuracy in knowledge QA by up to $20.89\%$ and $10.12\%$, respectively, without any modifications to the original frameworks. Our codes are available at https://github.com/bingreeky/GMemory.

한국어 요약

한 줄 요약

G-Memory는 다중 에이전트 시스템(MAS)의 자기 진화 능력을 향상시키기 위해 계층적 그래프 메모리 구조를 도입한 새로운 메모리 아키텍처이다.

핵심 기여도

핵심 아이디어

기존 MAS 메모리는 단순하며, 에이전트 간 협력 경로나 크로스-트라이얼 지식을 고려하지 못해 자기 진화 능력이 제한된다. G-Memory는 조직 메모리 이론을 기반으로, 인사이트 그래프(고수준 일반화 지식), 쿼리 그래프(현재 작업 관련 정보), 인터랙션 그래프(세부 협력 경로)로 구성된 3단계 계층 구조를 도입한다. 이는 새로운 사용자 쿼리에 대해 양방향 메모리 탐색을 수행하여, 과거 경험과 현재 작업을 모두 활용할 수 있도록 한다. 특히, 인터랙션 그래프는 세부적인 대화 수준의 맥락을 유지함으로써, 협력의 질을 높인다.

기술적 접근법

주요 결과

의의 및 한계

G-Memory는 MAS의 자기 진화 능력을 향상시키는 데 기여하며, 기존 프레임워크에 통합 가능하다는 점에서 실용적 가치가 있다. 특히, 인사이트와 인터랙션의 병렬 활용이 성능 향상에 기여함을 실험적으로 입증했다. 그러나 현재는 3개 도메인과 5개 벤치마크에서만 평가되었으며, 의료 QA 등 더 다양한 작업에서의 검증이 필요하다는 한계가 있다.

실용적 활용

G-Memory는 협업이 필요한 자율 시스템, 예를 들어 로봇 협업, 자율 주행, 코드 생성 등에 적용 가능하다. 특히, 다중 에이전트가 복잡한 작업을 반복적으로 수행하는 환경에서 지속적인 성능 향상을 기대할 수 있다.