Search papers, labs, and topics across Lattice.
This paper introduces HiGram, a hierarchical graph memory framework designed for long-term reasoning in agents, addressing the inefficiencies of flat graph memory structures. By organizing memory into a coarse-to-fine architecture and employing path-level localization, HiGram reduces irrelevant context during retrieval and enhances the efficiency of memory updates. Experiments show that HiGram significantly improves answer quality and token efficiency in long-term conversational question answering tasks, outperforming existing methods in accuracy and evidence selection under various conflict scenarios.
HiGram cuts through irrelevant memory noise, boosting answer quality and efficiency in long-term reasoning tasks by leveraging a hierarchical structure and path-level localization.
Agents for long term reasoning require a memory that can be efficiently and effectively updated over time, as new facts and external feedback continue to arrive. Recently, graph memory has been adopted to offer structural organization for multi-hop retrieval and reasoning. However, existing methods store all memories in a flat graph, and accumulated historical memories can introduce irrelevant contexts and increase the cost of evidence selection during retrieval. Moreover, they typically update memory units independently, requiring repeated unit-wise rewrite to cover related changes. To address these issues, we propose HiGram, an evolving hierarchical graph memory framework with path-level localization and rewriting. Specifically, we first propose a hierarchical graph memory, which organizes the memory into coarse-to-fine architecture composed of upper-level nodes and MemoryUnits, thereby reducing the amount of irrelevant information during retrieval. We further propose MicroGraph-based path-level localization, which leverages query and update conditioned MicroGraphs to identify support subgraph and evidence path before rewrite. Finally, we propose a coordinated rewriting method that jointly revises intra-unit memory and inter-unit dependencies, enable valid dependency structures updating in the localized evidence path. Experiments on benchmarks for long-term conversational question answering and conflict-aware memory evaluation demonstrate that our method demonstrate substantial improvements over baselines in answer quality and token efficiency. Besides, our method improves answer accuracy and query-valid evidence selection under dynamic, static, and conditional conflicts.