Explicit v.s. Implicit Memory: Exploring Multi-hop Complex Reasoning Over Personalized Information

Zeyu Zhang, Yang Zhang, Haoran Tan, Rui Li, Xu ChenarXiv 2025 · DOI

Abstract

Personalized AI agents have traditionally focused on aligning with user preferences or styles. However, real-world utility often demands reasoning over complex, private factual chains—a task termed Multi-hop Personalized Reasoning (MPR). This paper investigates the optimal memory representation for MPR, comparing explicit memory (Retrieval-Augmented Generation) and implicit memory (Supervised Fine-Tuning). Through the introduction of the MPR Dataset and a novel HybridMem approach, the authors demonstrate that while explicit memory is more reliable for factual storage, a hybrid strategy utilizing specialized adapters offers the best performance for long-hop reasoning.

The Challenge of Multi-hop Personalized Reasoning

Most current "personalized" agents excel at simple tasks like remembering a user's favorite cuisine or preferred email tone. Yet, they often fail when faced with queries requiring the connection of multiple private facts, such as "Which city does my husband's boss work in?"

Overview of Multi-hop Personalized Reasoning (MPR) tasks compared to previous personalization benchmarks.

The MPR task moves beyond simple preference alignment to evaluate how agents navigate a chain of private facts never seen during initial training. This presents two primary challenges: determining whether to store information as retrievable text (Explicit Memory) or within model weights (Implicit Memory), and managing the reasoning complexity inherent in multi-step factual navigation.

Memory Paradigms and Reasoning Architectures

The study systematically compares two fundamental memory paradigms across various reasoning structures:

Memory Paradigms

  • Explicit Memory: Utilizes RAG with backends including DenseRAG (embeddings), SparseRAG (keywords), TreeRAG, and GraphRAG.
  • Implicit Memory: Employs Supervised Fine-Tuning (SFT) via LoRA, testing "MaskSFT" (entity prediction) and "AskSFT" (QA-pair training).
  • HybridMem (Proposed): This novel approach clusters a user's personal statements and trains multiple small LoRA adapters. During inference, it retrieves relevant text while simultaneously activating the most pertinent adapter to provide both factual grounding and specialized reasoning intuition.
Comparison of Explicit Memory (RAG variants) and Implicit Memory (SFT variants) mechanisms.

Reasoning Structures

Beyond memory, the authors evaluated four reasoning frameworks: Naive (single-step), Sequential (Chain-of-Thought), Multi-path (Tree-of-Thought), and Decomposition (breaking questions into sub-parts).

The MPR Benchmark

To evaluate these approaches, the authors introduced the MPR Dataset, a massive benchmark comprising 108,000 QA tasks. Questions range from 2 to 10 "hops" of reasoning. The dataset is constructed from a "meta-graph" of entities and relations, ensuring that models cannot rely on general web knowledge to "cheat." Each simulated user possesses over 13,000 unique factual statements.

Core Findings: Retrieval vs. Fine-tuning

The research yielded several critical insights into the nature of personalized reasoning:

  • Explicit Memory Superiority for Facts: RAG is significantly more reliable for storing detailed factual information. In contrast, SFT struggles with accurate recall at scale and can degrade general reasoning capabilities if over-trained.
  • The Retrieval Mismatch Trap: In multi-hop tasks, standard RAG often fails because the initial retrieval step may not semantically resemble the final answer. Interestingly, keyword-based SparseRAG outperformed DenseRAG on long-hop questions by avoiding "semantic drift."
  • Structure Impacts Performance: Sequential (SR) and Multi-path (MR) reasoning structures consistently outperformed Naive and Decomposition methods by 10–20%, regardless of the memory type used.
  • The Strength of HybridMem: HybridMem's success suggests that implicit memory is best utilized for "contextual awareness" rather than raw fact storage. By "priming" the model with a specific LoRA adapter for a subset of facts, it gains the necessary intuition to reason effectively over retrieved data.

Performance Analysis

Accuracy drops sharply as reasoning complexity increases. For instance, DenseRAG accuracy fell from approximately 60% on 2-hop questions to 20% on 10-hop questions. However, HybridMem consistently outperformed standalone RAG or SFT, particularly in long-hop scenarios (7–10 hops), where it achieved the highest scores across nearly all reasoning structures.

While implicit memory offers faster inference due to the lack of retrieval overhead, its training cost is high. HybridMem balances this by adding manageable overhead for adapter loading while remaining more efficient than complex graph-based retrieval methods.

Future Directions

The current study focuses on static user information. Real-world applications will require handling dynamic data updates, which necessitates constant re-clustering and re-training of adapters. Future work should explore adaptive integration—allowing models to dynamically choose between internal memory and external retrieval—and expanding the MPR task to include multimodal information such as images and audio.

Summary updated

Abstract

In large language model-based agents, memory serves as a critical capability for achieving personalization by storing and utilizing users' information. Although some previous studies have adopted memory to implement user personalization, they typically focus on preference alignment and simple question-answering. However, in the real world, complex tasks often require multi-hop reasoning on a large amount of user information, which poses significant challenges for current memory approaches. To address this limitation, we propose the multi-hop personalized reasoning task to explore how different memory mechanisms perform in multi-hop reasoning over personalized information. We explicitly define this task and construct a dataset along with a unified evaluation framework. Then, we implement various explicit and implicit memory methods and conduct comprehensive experiments. We evaluate their performance on this task from multiple perspectives and analyze their strengths and weaknesses. Besides, we explore hybrid approaches that combine both paradigms and propose the HybridMem method to address their limitations. We demonstrate the effectiveness of our proposed model through extensive experiments. To benefit the research community, we release this project at https://github.com/nuster1128/MPR.
BibTeX
@misc{zhang2025explicit,
  author = {Zeyu Zhang and Yang Zhang and Haoran Tan and Rui Li and Xu Chen},
  title = {{Explicit v.s. Implicit Memory: Exploring Multi-hop Complex Reasoning Over Personalized Information}},
  year = {2025},
  eprint = {2508.13250},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.13250},
}
Figure