학술

GAAMA: Graph Augmented Associative Memory for Agents

arXiv CS.AI
CC BY
이 매체는 공공·자유 라이선스로 본문을 직접 표시합니다.

Abstract

AI agents that talk with users across many sessions need long-term memory to stay coherent and personalized.

Existing approaches use either flat retrieval-augmented generation (RAG) that ignores how memories connect, or entity-centric knowledge graphs.

Entity-centric graphs split each message into separate triples, which loses its context, and in conversations the speakers become hubs linked to almost every message, so propagation through them tells retrieval little.

We present GAAMA, a graph-augmented associative memory that organizes conversations around topics.

It keeps verbatim episodes, uses an LLM to distill them into atomic facts and topic concepts, and then synthesizes higher-order reflections.

These four node types are linked by five kinds of structural edges, and topic concepts supply the cross-cutting paths, so mega-hubs do not form.

Retrieval blends nearest-neighbor similarity search with Personalized PageRank whose transitions depend on edge type.

We also introduce GRAFT (Graph Repair by Augmenting Facts & Topology), an offline repair step: for questions whose retrieved evidence fell short, a bounded ReAct agent searches memory again and records the grounded answer as a fresh fact, so later questions find it directly without extra query-time cost.

On LoCoMo10, GAAMA achieves the highest average score of all compared methods (79.1%) and is competitive in every question category; GRAFT adds a small further gain.

In a controlled comparison, replacing GAAMA's concept-linked facts with entity relation triples lowers reward by 3.0 pp.

On MemoryArena, scored on what memory alone determines, GAAMA has the best score on average.

관련 뉴스