LiCoMemory: Lightweight and Cognitive Agentic Memory for Efficient Long-Term Reasoning

Zhengjun Huang, Zhoujin Tian, Qintian Guo, Fangyuan Zhang, Yingli Zhou, Di Jiang, Xiaofang Zhou · OpenReview

Abstract

Large Language Model (LLM) agents exhibit remarkable conversational and reasoning capabilities but remain constrained by limited context windows and the lack of persistent memory. Recent efforts address these limitations via external memory architectures, often employing graph-based representations, yet most adopt flat, entangled structures that intertwine semantics with topology, leading to redundant representations, unstructured retrieval, and degraded efficiency and accuracy. To resolve these issues, we propose LiCoMemory, an end-to-end agentic memory framework for real-time updating and retrieval, which introduces CogniGraph, a lightweight hierarchical graph that utilizes entities and relations as semantic indexing layers, and employs temporal and hierarchy-aware search with integrated reranking for adaptive and coherent knowledge retrieval. Experiments on long-term dialogue benchmarks, LoCoMo and LongMemEval, show that LiCoMemory not only outperforms established baselines in temporal reasoning, multi-session consistency, and retrieval efficiency, but also notably reduces update latency.

Introduction: The Challenge of Persistent Agent Memory

Large Language Model (LLM) agents are highly capable but suffer from finite context windows. Once information exits this window, the agent loses track of past interactions. While standard Retrieval-Augmented Generation (RAG) retrieves raw text chunks, it often lacks global context. Existing graph-based RAG methods attempt to solve this by building relational maps, but they are frequently "heavy" and "flat." These systems bake massive amounts of text directly into graph nodes, resulting in slow updates, expensive queries, and redundant retrieval. Some state-of-the-art graph systems can take up to 20 minutes to process a single dialogue session.

LiCoMemory addresses the limitations of existing graph-based frameworks by introducing a lightweight, hierarchical CogniGraph structure, significantly improving retrieval accuracy and speed.

Methodology: The CogniGraph Architecture

The core innovation of LiCoMemory is CogniGraph, a hierarchical structure that organizes memory into three distinct layers, transforming agent memory from a simple data repository into a navigable semantic index:

  1. Session Level: Stores high-level summaries and distilled keywords to provide a "big picture" view of interactions.
  2. Entity-Relation (E-R) Level: A lightweight knowledge graph of triples (e.g., User -> Bought -> Shirt). These nodes act as a semantic scaffold rather than containing verbose text.
  3. Chunk Level: Contains the original raw dialogue text, hyperlinked to the layers above for precise retrieval.
The LiCoMemory workflow includes hierarchical structure definition, real-time query processing, unified reranking, and continuous memory updates.

Unified Reranking and Temporal Awareness

Retrieval in LiCoMemory utilizes a Unified Reranking mechanism that evaluates information based on semantic similarity, hierarchical context, and temporal relevance. A key feature is the Weibull-based decay function, which allows the system to penalize outdated information while preserving relevant "long-tail" memories. This enables the agent to distinguish between a temporary fact (like a current location) and a persistent trait (like a user's name).

Experimental Results

LiCoMemory was evaluated on the LongMemEval and LoCoMo benchmarks, testing multi-session consistency and complex temporal reasoning.

  • Accuracy: LiCoMemory achieved up to a 23% boost in reasoning accuracy over the second-best baseline.
  • Efficiency: On the LoCoMo benchmark, it reduced token consumption by 45% and retrieval latency by 10% compared to Mem0.
  • Update Speed: Construction latency was slashed by over 90%. While competing systems required hundreds of seconds to index new dialogues, LiCoMemory completed the task in just 21 seconds, enabling true real-time interaction.

Conclusion and Future Work

LiCoMemory demonstrates that decoupling knowledge organization (the graph) from storage (the chunks) allows for efficient, real-time agentic memory. While currently limited to text-only modalities and dependent on LLM calls for graph construction, future work will explore multi-modal integration and multi-agent memory sharing.

Official code and data: https://github.com/EverM0re/LiCoMemory

Summary updated

BibTeX
@inproceedings{huang2026licomemory,
  author = {Zhengjun Huang and Zhoujin Tian and Qintian Guo and Fangyuan Zhang and Yingli Zhou and Di Jiang and Xiaofang Zhou},
  title = {{LiCoMemory: Lightweight and Cognitive Agentic Memory for Efficient Long-Term Reasoning}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2026},
  doi = {10.18653/v1/2026.findings-acl.1835},
}
Figure