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?"
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.
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