Conceptio › Archive › arXiv CS
arXiv CS open access

rEDMRec: Distilling Large Language Model Reasoning into an Editable Experience Memory for Recommendation

2026 · arxiv_cs
arXiv CS · Papers · 2026
Open Source ↗Direct PDF ↓
knowledge-representationreasoning
Conceptio Open Archive

Analyze & explore related research in Conceptio

Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.

rEDMRec: Distilling Large Language Model Reasoning into an Editable Experience Memory for Recommendation Minh Hoang Nguyena,b , Tung Lea,b and Huy Tien Nguyena,b,∗ a Faculty of Information Technology, University of Science, Ho Chi Minh City, Vietnam

arXiv:2608.18952v1 [cs.IR] 19 Aug 2026

b Vietnam National University, Ho Chi Minh City, Vietnam

ARTICLE INFO

ABSTRACT

Keywords: LLM-based recommendation reasoning distillation experience memory memory-augmented agents multi-agent debate retrieval-augmented generation

Large language models (LLMs) can improve recommendation quality by reasoning explicitly over user history and candidate items – for example, extracting a user’s preferences or explaining why one item fits better than another – rather than mapping history directly to a ranked list. This reasoning, however, is expensive to repeat on every ranking request and, once produced, is typically consumed once and discarded, leaving it neither reusable across future requests nor easy to inspect or correct as user tastes drift. Our insight is that reasoning does not need to be regenerated at every call if it can instead be compressed once into a compact, structured memory that a lightweight model retrieves from. We propose rEDMRec, which distills a teacher LLM’s reasoning into four typed, editable experience channels – long-term preference, short-term context, item-perception, and counterfactual hard-negative comparisons – maintained by an LLM memory controller that performs Add/Delete/Modify/Keep operations and refines entries via 𝐾-agent debate. A lightweight student LLM (3B–20B parameters) then ranks candidates purely by retrieving from this memory, without invoking the teacher again, decoupling online inference cost from reasoning depth. Across ML1M, Amazon Beauty, and Steam and ten student backbones, rEDMRec improves HR@1 over zeroshot, few-shot, and RAG on every backbone, and over GraphRAG on most backbones (exceptions: Llama 3.1 8B and GPT OSS 20B), with Impv up to 13.3% vs. the second-best baseline on ML-1M, following the relative-improvement protocol of RDRec (Wang et al., 2024b). Channel ablations show that short-term context is the only channel that helps consistently across capacity tiers, whereas longterm, item-perception, and counterfactual contributions are capacity-dependent (and can reverse on the strongest students); debate-based memory optimization lowers bank duplication by 7.4 percentage points while raising downstream HR@1 by up to +0.029 over six optimization epochs.

1. Introduction Large language models (LLMs) are increasingly used as recommenders – via prompting, instruction tuning, collaborative-signal fusion, or generative item prediction (Wu et al., 2024; Lin et al., 2025; Bao et al., 2023; Liao et al., 2024; Hou et al., 2024) – and, more recently, as explicit reasoners over user history and candidate items (Wei et al., 2022). An LLM can extract preferences, judge item fit, or contrast a candidate against a hard negative, then use that reasoning to guide ranking. This paper studies a concrete bottleneck that follows from that capability: once such reasoning has been produced for a user, how can it be reused across future ranking requests, rather than regenerated from scratch every time? Reasoning-augmented recommenders face a tension between reasoning depth and inference cost. Zero-shot and few-shot prompting, and retrieval-augmented generation (RAG) over raw interaction history (Lewis et al., 2020), are cheap but skip explicit preference-level reasoning, so ranking remains opaque and brittle under short histories. Closer to our setting, ReasoningRec (Bismay et al., 2025) uses a teacher LLM to synthesize user profiles, ∗ Corresponding author

24C15049@student.hcmus.edu.vn (M.H. Nguyen); lttung@fit.hcmus.edu.vn (T. Le); ntienhuy@fit.hcmus.edu.vn (H.T.

Nguyen) ORCID (s): 0009-0004-1384-3856 (M.H. Nguyen); 0000-0002-9900-7047 (T. Le); 0000-0002-9948-1048 (H.T. Nguyen)

M.H. Nguyen et al.: Preprint submitted to Elsevier

item descriptions, and human-interpretable explanatory reasoning, then instruction-tunes a smaller model on those traces; R2Rec (Zhao et al., 2025) similarly builds interaction-of-thought chains and internalizes them with supervised fine-tuning and reinforcement learning; and 𝑅4 ec (Gu et al., 2025) iterates actor reasoning with a reflection model that critiques and refines preference/item knowledge before feeding a recommendation backbone. These lines treat reasoning primarily as a per-request or training-time signal: competence lives in regenerated traces or model weights, cannot be updated entry-by-entry when new interactions arrive or low-quality reasoning accumulates, and revision requires another costly reasoning loop or retraining rather than a targeted memory edit. Related distillation methods compress rationales or prompts into smaller generators (Wang et al., 2024b; Li et al., 2023), yet still treat the distilled artifact as a fixed model rather than as a typed bank. The remaining challenge is therefore architectural: keep the benefit of teacher-level reasoning while making that reasoning reusable across requests and editable over time, without retraining the backbone whenever the underlying knowledge must change. As illustrated in Figure 1, consider a user whose history is dominated by family and animation titles (e.g., Toy Story, The Lion King, Shrek, Finding Nemo) and who must rank Frozen against The Dark Knight. If the recommender focuses solely on explicit item titles or undifferentiated history text, it struggles to surface the subtle connection across these Page 1 of 25

rEDMRec: Reasoning Distillation into Experience Memory

Figure 1: Example of four-channel experience memory distilled from a user’s history for ranking Frozen vs. The Dark Knight. Offline, teacher reasoning is stored as typed lt/st/ip/cf entries; online, a frozen student LLM retrieves those channels and produces the recommendation list without calling the teacher.

interactions – that the user consistently prefers light family entertainment over dark crime – and has no structured place to store a hard-negative contrast that would push The Dark Knight down when that pattern holds. In this case, the latent preference is not a single keyword but a typed bundle of signals: long-term taste (stable family/animation preference; dislike of dark crime tone), short-term session context (franchise- or buddy-friendly titles), item-perception that grounds why Frozen matches the history while The Dark Knight mismatches, and a counterfactual that records when the dark-action alternative would have ranked higher. Existing reasoning-augmented methods either regenerate such comparisons per request or absorb them into weights, so they cannot keep these four signals as independently retrievable and independently editable memory entries across future ranking calls. We address this challenge with rEDMRec. The basic idea is illustrated in Figure 1: instead of asking an LLM to both reason and rank on every inference call, we use the LLM as a teacher reasoning generator and distill its outputs into a structured, retrievable, and updatable Experience Memory that a lightweight student consumes at ranking time. Concretely, the teacher produces four typed experience signals – long-term preference, short-term context, item perception, and counterfactual hard-negative comparisons – and a distillation adapter normalizes each signal into a channel-indexed memory entry (vector store for the first three channels; hybrid vector–graph store for counterfactuals). At inference, a frozen student (3B–20B) retrieves the top-𝑚 entries per channel, composes a ranking prompt, and scores candidates without re-invoking the teacher, so accuracy gains are attributable to the memory rather than to student-parameter adaptation. A remaining difficulty is that a bank filled once from teacher extractions accumulates near-duplicates and low-specificity entries as interactions grow. Inspired by Training-Free GRPO (Youtu-Agent Team, 2025), which steers a frozen policy by maintaining an experiential knowledge library with Add/Delete/Modify/Keep operations rather than gradient updates, our second contribution is an LLM memory controller that applies the same edit operators – optionally guided by 𝐾-agent debate M.H. Nguyen et al.: Preprint submitted to Elsevier

and an arbiter – to revise the recommendation experience bank over optimization epochs. Together, these components separate an expensive, infrequent reasoning-compression process from a cheap, frequent retrieval-and-rank process. We evaluate rEDMRec on ML-1M, Amazon Beauty, and Steam with ten student LLMs (3B–20B), comparing against zero-shot, few-shot, RAG, and GraphRAG (Edge et al., 2024). rEDMRec improves HR@1 over zero-shot, few-shot, and RAG on every backbone, and over GraphRAG on most backbones (exceptions: Llama 3.1 8B and GPT OSS 20B), reaching Impv = 13.3% vs. GraphRAG on Qwen2.5 3B under the RDRec relative-improvement protocol (Wang et al., 2024b) (Section 5.1). Channel ablations show that short-term context is the only consistently helpful channel across capacity tiers, whereas long-term, itemperception, and counterfactual effects are capacitydependent (Section 5.2). A teacher-distillation study further shows that bank duplicate rate is a leading indicator of downstream gain, bounded by student capacity. Finally, debate-based optimization lowers bank duplication by 7.4 percentage points while raising downstream HR@1 by up to +0.029 over six epochs, validating the controller as a functional component of the architecture (Section 5.4). This paper makes the following contributions: 1. An editable, channel-structured experience memory that distills teacher LLM reasoning into four typed, independently retrievable and independently editable channels, rather than a single undifferentiated reasoning trace (Section 3.6). 2. A debate-based LLM memory controller that revises the bank after each student prediction via Add/Delete/Modify/Keep operations guided by ranking reward models and 𝐾-agent debate, with bank-quality gains shown to propagate into ranking accuracy without updating the frozen student (Sections 3.6, 3.8; Section 5.4). 3. A comprehensive empirical study across ten student backbones and three datasets, including channel ablations that explain when ablating a channel can improve accuracy, a teacher-distillation study isolating teacher quality from student capacity, and a qualitative case study of entry-level edits over optimization epochs (Sections 5.1–5.5).

2. Related Work 2.1. LLM-based Recommendation Before LLM recommenders, neural models already encoded dual-scale user interest, review text, and cold-start evaluation – but they stored that structure in parameters or in the corpus, not in an editable experience bank. Sequential news recommenders such as Co-NAML-LSTUR (Nguyen et al., 2025) jointly learn multi-view item encodings with long- and short-term user representations, showing that separating durable taste from recent browsing improves ranking even without an LLM. Review-based models such as RRS (Nguyen et al., 2024) replace ID-only collaborative Page 2 of 25

rEDMRec: Reasoning Distillation into Experience Memory

filtering with deep encoders over user-written text, so item semantics enter ranking through review content rather than through a retrieved, typed memory entry. Complementary dataset work such as ViHoRec (Nguyen, 2026; Nguyen and Thiet, 2025) shows that, on sparse Vietnamese hotel interactions with a temporal cold-start split, neighborhood methods can outperform learned latent-factor models on users with short histories. These lines motivate the same signal types that rEDMRec stores as channels – long-term preference, short-term context, and item-level text – yet they cannot persist teacher-generated reasoning or Add/Delete/Modify a typed entry after a ranking failure. rEDMRec keeps that factorization, but as a non-parametric bank that a frozen student retrieves from, rather than as a neural user/item tower. Recent surveys organize LLM recommenders into prompting, tuning, collaborative fusion, generative recommendation, and system-enhancement paradigms (Wu et al., 2024; Lin et al., 2025; Wang et al., 2024a; Liu et al., 2025; Li et al., 2024). Prompting and instruction-following methods cast ranking as natural-language generation or zeroshot ordering (Gao et al., 2023; Zhang et al., 2023; Hou et al., 2024; Yue et al., 2023; Lyu et al., 2024), while alignment frameworks such as TALLRec and LLaRA adapt LLMs to recommendation with efficient fine-tuning (Bao et al., 2023; Liao et al., 2024). A parallel line injects collaborative or ID structure into the language space – CoLLM, BinLLM, TokenRec, and related models encode interaction signals as text-like or tokenized representations (Zhang et al., 2025a; 2024b; Qu et al., 2024) – and enhancement methods use LLMs for graph augmentation, tool use, or query generation around a classical backbone (Wei et al., 2024; Zhao et al., 2024; Han et al., 2025). Across these paradigms, any intermediate reasoning (when present) remains either ephemeral prompt context or knowledge absorbed into parameters. rEDMRec instead materializes teacher reasoning as a non-parametric, typed memory that survives across sessions and can be revised without re-tuning the student.

2.2. Reasoning, Distillation, and Preference Utilization A narrower line makes LLM reasoning itself the object of design. ReasoningRec (Bismay et al., 2025) synthesizes user profiles, item descriptions, and explanatory rationales with a teacher LLM, then instruction-tunes a smaller model for both prediction and human-interpretable explanation – an extraction-then-fine-tune pipeline rather than a durable memory architecture. R2Rec (Zhao et al., 2025) samples interaction chains, builds interaction-of-thought traces, and internalizes them with SFT and RL; LatentR3 (Zhang et al., 2025b) similarly reinforces latent reasoning inside the model, while SPRec (Gao et al., 2025) uses self-play to debias generative recommenders. 𝑅4 ec (Gu et al., 2025) pushes toward System-2 deliberation by pairing an actor that proposes preference/item knowledge with a reflection model that judges and triggers refinement until the knowledge M.H. Nguyen et al.: Preprint submitted to Elsevier

is deemed rational, then injects the refined text into a recommendation backbone – still a per-case reasoning loop rather than a persistent, editable experience bank. Distillation work such as RDRec, POD, and LEADER compresses rationales or teacher signals into smaller recommendation models (Wang et al., 2024b; Li et al., 2023; Liu et al., 2024). Retrieval baselines (RAG, GraphRAG) ground ranking in raw history or graph summaries without teacher-compressed experience (Lewis et al., 2020; Edge et al., 2024). Relative to these methods, rEDMRec neither stops at one-shot feature utilization nor freezes reasoning into weights: it distills reasoning into a channel-typed bank with entry-level Add/Delete/Modify/Keep.

2.3. Memory-Augmented Agents and Recommendation Memory External memory lets LLM agents operate beyond a single context window. MemGPT (Packer et al., 2023) pages context like an OS virtual-memory manager; Generative Agents (Park et al., 2023) maintain a retrieve-and-reflect memory stream for long-horizon behavior. Closest to our controller design, Training-Free GRPO (Youtu-Agent Team, 2025) improves a frozen LLM by iteratively distilling experiential knowledge into a non-parametric library updated with Add/Delete/Modify/Keep operations – a training-free alternative to gradient-based GRPO. In recommendation, AutoMR retrieves stored experiences for generative ranking (Wang et al., 2025), long-term planners model durable taste (Shi et al., 2024), and related work motivates separating long- versus shortterm interest (Zheng et al., 2024; Zhang et al., 2024a), item-level semantics (Ren et al., 2024; Zhang et al., 2026), hard-negative contrast (Song et al., 2026; Li et al., 2026), and user-controllable profiles (Woźniak et al., 2025). These designs retrieve history, profiles, or generic agent traces; they are not organized as teacher-distilled, fourchannel recommendation experience with debate-driven bank maintenance. rEDMRec adopts the Training-Free GRPO principle of editing an external experience library instead of model weights, but specializes the schema to recommendation signal types and pairs each channel with a matching store (vector vs. hybrid graph–vector).

2.4. Multi-Agent Debate and Self-Refinement Iterative critique improves LLM outputs without additional supervised labels. Self-Refine (Madaan et al., 2023) has a model revise its own text from self-feedback; multiagent debate (Du et al., 2023) improves factuality by having several instances propose and critique answers; and in recommendation, 𝑅4 ec (Gu et al., 2025) couples actor and reflection models to refine preference/item knowledge before backbone prediction. These lines evaluate a single artifact – one answer, one document, or one knowledge string per case – and do not measure how repeated refinement of a growing collection affects duplicate accumulation or retrieval quality at bank scale. rEDMRec applies critique-andrevise to the experience bank: 𝐾 debating personas critique Page 3 of 25

rEDMRec: Reasoning Distillation into Experience Memory

3.1. Problem Formulation

Table 1 Notation used in Section 3. Symbol

Meaning

𝑢, 𝐻𝑢

user; chronological interaction history item catalog; metadata text of item 𝑖 20-item candidate set; a candidate in 𝐶𝑢 positive target; hard-negative contrast; predicted item ranking prompt; 𝐾 in-context demonstrations (few-shot) generic LLM parameters; student likelihood under LLM𝑆 shared text encoder; cosine similarity query embedding Enc(prompt(𝑢, 𝐶𝑢 )); embedding dim. channel set {lt, st, ip, cf }; a channel extraction-pass set {pref , ctx, reas, cf }; a pass; raw output experience memory bank (Eq. 8) channel-𝑘 entries for user 𝑢 after metadata filter memory entry: text, embedding 𝐯𝑒 = Enc(𝜏), metadata distill routed fields into 𝑒𝑘 ; select fields for channel 𝑘 truncated text rendering of the bank for LLM𝐶 insight batch (teacher or arbiter) consumed by LLM𝐶 edit ops {Add, Delete, Modify, Keep}; commit 𝑜 to 𝐸 retrieval depth; top-𝑚 entries from 𝐸𝑘𝑢 (Eq. 11) student ranked list; 1-based position of 𝑖+ in 𝐿̂ 𝑢 post-prediction reward vector (Eq. 13) #debate agents; rounds/epoch; optimization epochs debate transcript; critique of agent 𝑗; 𝑗-th debate agent arbiter-proposed entry; max commits/case; case batch teacher, frozen student, controller, arbiter

, 𝑀(𝑖) 𝐶𝑢 ⊂ , 𝑐 𝑖+ , 𝑖− , 𝑖̂ 𝑥 𝑢 , 𝐷𝐾 𝜃, 𝑃𝑆 Enc(⋅), sim 𝐪𝑢 , 𝑑 , 𝑘 , 𝑝, 𝑟𝑝 𝐸 = {𝐸𝑘 }𝑘∈ 𝐸𝑘𝑢 ⊂ 𝐸𝑘 𝑒 = (𝜏, 𝐯𝑒 , 𝜇) Adapt, route𝑘 snapshot(𝐸) 𝐵 = {(𝜏, 𝑘, 𝑢)} 𝑜, Apply

𝑚, 𝑅𝑘 (𝑢, 𝐶𝑢 ) 𝐿̂ 𝑢 , rank 𝑟(𝑢) 𝐾, 𝑛𝑟 , 𝑇  , 𝑔𝑗 , LLM𝑗 𝑒, ̃ 𝑛max , 𝑈 LLM𝑇 , LLM𝑆 , LLM𝐶 , LLM𝐴

a case, an arbiter synthesizes revisions, and the controller commits Add/Delete/Modify/Keep operations, with banklevel duplicate rate and specificity linked to downstream HR@1 (Section 5.4).

3. Method We formalize next-item ranking as conditional generation (Section 3.1), restate the dominant prompting and retrieval paradigms in the same notation to make the technical gap precise (Section 3.2), then specify rEDMRec’s components as LLM operators over a typed non-parametric memory (Sections 3.4–3.8). Table 1 collects the notation used throughout.

M.H. Nguyen et al.: Preprint submitted to Elsevier

We cast next-item recommendation as conditional generation: given user 𝑢, history 𝐻𝑢 , and a candidate set 𝐶𝑢 , a language model with parameters 𝜃 assigns a score to each candidate 𝑐 ∈ 𝐶𝑢 by the likelihood of emitting 𝑐 under a constructed prompt. The predicted item is ( ) 𝑖̂ = arg max 𝑃𝜃 𝑐 ∣ context(𝑢) , (1) 𝑐 ∈ 𝐶𝑢

and is evaluated against the held-out positive 𝑖+ using HR@𝑘, NDCG@𝑘, and MRR (Section 4.4). Methods differ in what enters context(𝑢); we make this explicit below.

3.2. Preliminaries: Prior Paradigms as Conditional Generation Zero-/few-shot prompting (Brown et al., 2020) conditions the LLM on a natural-language prompt 𝑥𝑢 and 𝐾 in-context demonstrations 𝐷𝐾 = {(𝑥𝑗 , 𝑦𝑗 )}𝐾 , with no 𝑗=1 parameter update: ) ( 𝑃FS (𝑐 ∣ 𝑢) = 𝑃𝜃 𝑐 ∣ 𝑥𝑢 , 𝐷𝐾 ,

𝑥𝑢 = prompt(𝐻𝑢 , 𝑀(𝐶𝑢 )). (2)

𝐾=0 recovers zero-shot. Every token of 𝑥𝑢 and 𝐷𝐾 is reencoded by 𝜃 at every request. RAG (Lewis et al., 2020) retrieves a top-𝑘 evidence set 𝑍 and conditions generation on it: ( ) 𝑃RAG (𝑐 ∣ 𝑢) = 𝑃𝜃 𝑐 ∣ 𝑥𝑢 , 𝑍 , 𝑍 = Top-𝑘(𝑥𝑢 ). (3) In our RAG baseline, 𝑍 ranges over raw interaction/review records and is recomputed for every (𝑢, 𝐶𝑢 ). GraphRAG (Edge et al., 2024) builds a corpus graph, partitions it into communities {𝑆𝑙 } with LLM-written summaries 𝜎(𝑆𝑙 ), and answers by a map–reduce over community answers 𝑎𝑙 : ) ( , 𝑃GRAG (𝑐 ∣ 𝑢) = LLM 𝑥𝑢 , 𝑐, {𝑎𝑙 }𝐿 𝑙=1

( ) 𝑎𝑙 = LLM 𝑥𝑢 , 𝜎(𝑆𝑙 ) . (4)

{𝜎(𝑆𝑙 )} is static once built and is not typed, per-user, or editable at the granularity of a single fact. Equations (2)–(4) share a property that motivates our design: the conditioning set (𝐷𝐾 , 𝑍, or {𝜎(𝑆𝑙 )}) is either rebuilt/rescored at every request, or, once built, exposes no operator for targeted, entry-level edits. Section 3.3 replaces this with a persistent structure 𝐸 built off the inference critical path and equipped with an explicit edit operator (Section 3.6).

3.3. Overview rEDMRec factorizes ranking into an offline construction of a typed experience memory 𝐸 and an online, teacher-free generative lookup, as illustrated in Figure 2: ( ) ⋃ | 𝑃𝑆 (𝑐 ∣ 𝑢) = 𝑃𝑆 𝑐 | 𝑥𝑢 , 𝑘∈ 𝑅𝑘 (𝑢, 𝐶𝑢 ) , | (5) 𝐸 ← Apply(𝐸, 𝑜), Page 4 of 25

rEDMRec: Reasoning Distillation into Experience Memory

Figure 2: Overall architecture of rEDMRec on a concrete case (target Frozen, hard negative The Dark Knight), aligned with Sections 3.4–3.8. ① LLM Teacher as Knowledge Extractor: frozen LLM𝑇 emits preference / perception / evidence / counterfactual traces; Knowledge Distillation (Adapt) writes four-channel entries that the Memory Controller LLM𝐶 commits via Add/Delete/Modify/Keep. ② Editable Experience Memory Bank 𝐸 = {𝐸lt , 𝐸st , 𝐸ip , 𝐸cf }. Candidate Filter forms 𝐶𝑢 with shared Enc. ③ LLM Student as Ranker: frozen LLM𝑆 retrieves top-𝑚 entries per channel and ranks without calling the teacher. ④ Experience Memory Optimization: Reward Models 𝑟(𝑢) and Debate and Arbiter (LLM𝐴 ) revise 𝐸 while LLM𝑆 stays fixed.

where 𝑃𝑆 denotes generation under the frozen student LLM𝑆 , 𝑅𝑘 (Eq. 11) is a deterministic top-𝑚 dense lookup (not a per-request marginalized set as in Eq. (3)), and Apply commits edit ops 𝑜 produced offline by teacher extraction (Section 3.5) and distillation (Section 3.6), or online by debate-based optimization after each student prediction (Section 3.8). This is the central contrast with Eqs. (2)–(4): reasoning cost is paid when writing 𝐸, the frozen student only retrieves, and memory edits – not weight updates – amortize future ranking. Concretely, Figure 2 decomposes the pipeline into the Method subsections that follow. ① LLM Teacher as Knowledge Extractor (Section 3.5): given (𝑢, 𝐻𝑢 , 𝑖, 𝑀), LLM𝑇 runs four extraction passes and Knowledge Distillation Adapt (Section 3.6.1) normalizes each routed signal into a channel-indexed entry 𝑒 = (𝜏, 𝐯𝑒 , 𝜇), which the Memory Controller LLM𝐶 commits with Add/Delete/Modify/Keep. ② Editable Experience Memory Bank (Section 3.6): 𝐸 = {𝐸lt , 𝐸st , 𝐸ip , 𝐸cf } stores stable taste, session context, candidate-grounded perception, and counterfactual hard-negative edges as independently retrievable typed snippets. Before online ranking, Candidate Filter (Section 3.4) forms 𝐶𝑢 and shares Enc with memory indexing. ③ LLM Student as Ranker (Section 3.7): frozen LLM𝑆 encodes the current query, retrieves the top-𝑚 entries per channel, and produces 𝐿̂ 𝑢 without invoking LLM𝑇 or updating student weights. ④ Experience Memory Optimization (Section 3.8): Reward Models 𝑟(𝑢) score 𝐿̂ 𝑢 against 𝑖+ , then Debate and Arbiter LLM𝐴 propose revisions

M.H. Nguyen et al.: Preprint submitted to Elsevier

that Adapt and Apply write back into 𝐸, so future retrievals improve while LLM𝑆 stays fixed.

3.4. Candidate Filter Motivation: a generative student cannot score the full catalog  at each request, and retrieval plus memory indexing must share one dense text space rather than operating over raw strings. Design: candidate sets 𝐶𝑢 are formed by a lightweight recency/popularity/retrieval-score filter over  (not a learned projector). The same encoder maps any text span to a 𝑑-dimensional retrieval vector, 𝐯 = Enc(text),

sim(𝐯, 𝐯′ ) =

𝐯⊤ 𝐯′ , ‖𝐯‖ ‖𝐯′ ‖

(6)

with Enc a sentence-transformer (Reimers and Gurevych, 2019). 𝐯 is reused for memory indexing (Eq. 9) and retrieval (Eq. 11). Advantage: 𝐶𝑢 is formed without a learned projector, and one shared Enc lets 𝐸 be queried directly with candidate or user vectors, with no separate alignment step.

3.5. LLM Teacher as Knowledge Extractor Motivation: conflating “understand the user” (stable) with “score this candidate list” (per-request) forces the former to be redone every request; rEDMRec queries the teacher only for the former, and only to extract, never to rank. Design: following ReasoningRec (Bismay et al., 2025) and R2Rec (Zhao et al., 2025), which show that structured preference profiles, item-level perceptions, and explanatory rationales improve recommendation when distilled from a strong LLM, teacher LLM𝑇 runs four extraction passes Page 5 of 25

rEDMRec: Reasoning Distillation into Experience Memory Table 2 Teacher extraction passes 𝑝 ∈ : output fields and routed channel(s) 𝑘 (Section 3.6.1). 𝑝

Key output fields

Routed to 𝑘

pref

long_term_preferences, dislikes, short_term_preferences user_history_perception, candidate_perception steps[1..5], reasoning_summary counterfactual_condition/outcome, rationale

lt, st

ctx reas cf

𝑝 ∈ , each a prompted generation, ( ) 𝑟𝑝 = LLM𝑇 prompt 𝑝 (𝑢, 𝑖, 𝐻𝑢 , 𝑀) , 𝑝 ∈ .

ip ip cf

3.6. Editable Experience Memory Bank Motivation: Eq. (7) yields free-form JSON that cannot be reused across sessions or revised entry-by-entry once committed. Design: adapting the training-free experientialknowledge library of Training-Free GRPO (Youtu-Agent Team, 2025) to recommendation, rEDMRec materializes teacher output into a persistent, typed non-parametric memory 𝐸 = {𝐸𝑘 }𝑘∈ ,

(7)

whose output fields are later routed to one or more memory channels 𝑘 ∈  by Adapt (Table 2, Section 3.6.1); the routing is not one-to-one, since two passes jointly populate the item-perception channel. Prompt templates and example one-line outputs for all four channels are given in Appendix I; full Beauty/Steam prediction traces (history, candidates, 𝑅𝑘 , ranked list) appear in Appendix J. Unlike ReasoningRec/R2Rec, which consume these traces as training targets or one-shot prompt features, we never update student parameters from 𝑟𝑝 : each field is committed into the editable bank 𝐸 of Section 3.6. Preference extraction (pref ). Simulates a recurrent, batch-by-batch update over 𝐻𝑢 (oldest→newest): for each history batch it re-estimates a long-term preference state and the current-batch short-term interest, plus an explicit dislike list; the final long-term/dislike fields route to channel lt and the short-term field routes to channel st. Context extraction (ctx). For every history item and candidate, produces three layers – an objective factual description, a first-person “as this user” comment, and (candidates only) key phrases; both the history-perception and candidate-perception fields route to the item-perception channel ip. Reasoning extraction (reas). Runs a five-step chainof-thought that identifies shared themes across liked items, scores each candidate against them, contrasts the top two candidates, and states a final recommendation; its summary field also routes to ip, complementing ctx with an explicit comparative rationale rather than a per-item description. Counterfactual extraction (cf ). Given an anchor (chosen) item and a contrast (hard-negative) item, produces whypreferred / why-rejected rationales and a hypothetical condition under which the contrast item would outrank the anchor; routes entirely to channel cf as a graph edge (Section 3.6.2). An optional single-pass multi-agent refinement critiques the 𝑟cf output with three fixed personas before distillation, merging by “last full critique wins” with no arbiter; this is a lighter-weight precursor to the arbiter-based optimization of Section 3.8, which instead revises already-committed entries across all four channels using downstream reward signals. Advantage: separating extraction into four typed passes, rather than one undifferentiated call, lets Section 3.6.1 edit M.H. Nguyen et al.: Preprint submitted to Elsevier

a single routed claim without touching the other channels of the same interaction.

𝐸𝑘 = {𝑒 ∣ 𝑒.memory_type = 𝑘}, (8)

where each entry 𝑒 = (𝜏, 𝐯𝑒 , 𝜇) carries distilled text 𝜏, embedding 𝐯𝑒 = Enc(𝜏), and channel-specific metadata 𝜇. Population follows a two-stage commit path – Adapt (field routing and schema normalization) and Apply via controller LLM𝐶 (batch edit ops) – detailed in Section 3.6.1; channel semantics and retrieval are in Section 3.6.2.

3.6.1. Knowledge Distillation: Adapter and Memory Controller Distillation adapter Adapt. Adapt maps routed teacher fields (Table 2) into a typed entry and dispatches it to the correct physical store: ( ) 𝑒𝑘 = Adapt route𝑘 ({𝑟𝑝 }𝑝∈ ) (9) ) ( 𝑘 ∈ . = 𝜏𝑘 , Enc(𝜏𝑘 ), 𝜇𝑘 , Here route𝑘 (⋅) selects and concatenates the field(s) assigned to channel 𝑘 (many-to-one: pref → {lt, st}; ctx, reas → ip; cf → cf ). Adapt then (i) normalizes 𝜏𝑘 into a channel schema (𝜇𝑘 holds typed fields such as long_term_preferences, dislikes, steps, anchor_item), (ii) encodes 𝜏𝑘 with the shared Enc of Eq. (6), and (iii) writes to 𝐸lt , 𝐸st , or 𝐸ip (Vector database) or, for 𝑘 = cf , to 𝐸cf as a Graph database A NCHOR

CONTRAST

edge pair (𝑢)←←←←←←←←←←←←←←←→ ← (𝑖+ )∧(𝑢)←←←←←←←←←←←←←←←←←←→ ← (𝑖− ) plus a rationale embedding (Listing 3). Initial extraction (distill_to_memory) and debate optimization (Section 3.8) both call the same Adapt. Memory controller LLM𝐶 . Raw Adapt output is not appended blindly: controller LLM𝐶 inspects a text snapshot of the bank against a batch of new insights 𝐵 = {(𝜏, 𝑘, 𝑢)} and emits structured edit ops 𝑜, which Apply commits in order: ( ) 𝑜 = LLM𝐶 snapshot(𝐸), 𝐵 , 𝑜𝑖 ∈ {A DD, D ELETE, M ODIFY, K EEP},

(10)

𝐸 ← Apply(𝐸, 𝑜). Apply implements each op on the underlying stores: A DD calls Adapt then appends; D ELETE removes by entry_id; M ODIFY re-encodes revised 𝜏 and replaces metadata in-place; K EEP is a no-op. These four operators mirror the experience-library update rule in TrainingFree GRPO (Youtu-Agent Team, 2025), specialized here to typed recommendation channels rather than general Page 6 of 25

rEDMRec: Reasoning Distillation into Experience Memory Table 3 Four experience-memory channels: role, teacher source, storage, and retrieval filter. 𝑘

Semantic role

Source 𝑝

Storage / filter

lt

Stable cross-session taste Session-level trend / drift Item impression vs. user Contrastive “if. . . ” edge

pref

vector DB; user_id= 𝑢

pref

vector DB + timestamp; user_id= 𝑢 vector DB; user_id= 𝑢, item= 𝑐 graph DB + vector DB; user_id= 𝑢

st ip cf

ctx, reas cf

agent rollouts. The controller prompt enforces a maximum library size, deduplication (merge over add), and ≤60-word actionable entries. Advantage: Eqs. (9)–(10) decouple what to remember (teacher or arbiter) from how to commit it; refinement cost scales with |𝑜|, not |𝐸|.

3.6.2. Four Experience-Memory Channels We factor experience into four typed channels because prior LLM and sequential recommenders show that longhorizon taste (Shi et al., 2024; Wang et al., 2025), recent sequential context (Zheng et al., 2024; Zhang et al., 2024a), item-level semantics (Ren et al., 2024; Zhang et al., 2026), and hard-negative contrast (Song et al., 2026; Li et al., 2026) each contribute distinct ranking signal – and because storing them separately lets 𝑅𝑘 retrieve only the evidence class needed for a decision. Table 3 summarizes the four channels. Each 𝐸𝑘 is independently indexed, independently retrievable, and independently editable – the ablation in Section 5.2 drops individual 𝑘 at inference without retraining LLM𝑆 . Long-term preference (lt). Motivated by evidence that long-horizon preference modeling improves recommendation beyond next-click prediction (Shi et al., 2024) and that external memory retrieval is needed when the LLM context window alone drops long-term history (Wang et al., 2025), this channel stores durable taste statements distilled from long_term_preferences and dislikes (pref pass), optionally with supporting reasoning. Entries are user-global: retrieval over 𝐸lt𝑢 = {𝑒 ∈ 𝐸lt ∣ 𝜇.user_id = 𝑢} answers “what does this user generally like/dislike?” without binding to a specific candidate. Short-term context (st). Motivated by sequential recommenders that show recent interactions dominate next-item prediction (Zheng et al., 2024) and that jointly modeling long- and short-term interests outperforms either alone (Zhang et al., 2024a), this channel captures transient interest from short_term_preferences (pref pass) plus optional context_reasoning. Each entry carries a timestamp in 𝜇, enabling the bank to represent taste drift within a session or across recent batches while lt remains stable. Retrieval filters on user_id only. Item perception (ip). Motivated by work showing that item-text representation quality drives LLM recommendation (Ren et al., 2024) and that token-centric attention M.H. Nguyen et al.: Preprint submitted to Elsevier

{ "user_id": "...", "anchor_preference": "prefers animation, family-friendly tone", "target_item": "Frozen", "contrast_item": "The Dark Knight", "counterfactual_condition": "if user prefers dark, action-heavy stories", "counterfactual_outcome": "The Dark Knight would rank higher", "rationale_text": "...", "embedding": [], "timestamp": "..." }

Figure 3: Distilled 𝑒cf : the graph-edge instantiation of Eq. (9).

under-models item-level collaborative relations (Zhang et al., 2026), this is the most granular channel: (i) percandidate impressions from candidate_perception (ctx), (ii) per-history-item descriptions from user_history_perception (ctx), and (iii) comparative reasoning from the five-step chain and reasoning_summary (reas). Candidate-specific entries additionally index target_movie_id in 𝜇, so retrieval for (𝑢, 𝑐) returns impressions scoped to 𝑐 rather than unrelated items. Counterfactual (cf ). Motivated by recent LLM recommenders that separate hard negatives from noisy negatives (Song et al., 2026) and that use self-hard negatives to sharpen preference learning (Li et al., 2026), this channel stores hard-negative contrast rationales as typed graph edges: for anchor item 𝑖+ and contrast 𝑖− , 𝜇 records why_anchor_preferred, why_contrast_rejected, counterfactual_condition, and counterfactual_outcome. Dense retrieval runs over rationale_text embeddings; a graph-augmented pass appends any user-specific edges not surfaced by vector search. Listing 3 shows the instantiated schema. Retrieval. At inference, the student queries each active channel with a shared query embedding 𝐪𝑢 = Enc(prompt(𝑢, 𝐶𝑢 )) and returns the top-𝑚 entries by dense similarity: ( ) 𝑅𝑘 (𝑢, 𝐶𝑢 ) = Top-m sim 𝐪𝑢 , 𝐯𝑒 , (11) 𝑒 ∈ 𝐸𝑘𝑢

where 𝐸𝑘𝑢 ⊆ 𝐸𝑘 applies the filters in Table 3 (candidate scope 𝑐 is applied only for ip), and sim is Eq. (6). Default 𝑚=5 per channel. Advantage: typed channels let 𝑅𝑘 return only the evidence class needed for a ranking decision – stable taste (lt), recent drift (st), candidate fit (ip), or boundary conditions (cf ) – rather than one undifferentiated reasoning blob.

3.7. LLM Student as Ranker Motivation: if ranking gains required adapting student parameters, it would be unclear whether accuracy came Page 7 of 25

rEDMRec: Reasoning Distillation into Experience Memory

from the editable experience memory or from parameter adaptation; moreover, a per-backbone adapted student would need re-adaptation for every backbone, undermining the claim that 𝐸 helps any teacher–student pair. Design: student LLM𝑆 is a frozen pretrained LLM (3B–20B in our study). At inference it ranks solely by prompting with retrieved experience – never a fresh teacher call and never a weight update – following Eq. (5): 𝑖̂ = arg max 𝑃𝑆 (𝑐 ∣ 𝑢) 𝑐 ∈ 𝐶𝑢

(

| = arg max 𝑃𝑆 𝑐 | 𝑥𝑢 , | 𝑐 ∈ 𝐶𝑢

⋃

) 𝑅 (𝑢, 𝐶 ) 𝑢 . 𝑘∈ 𝑘

(12)

⋃ Here 𝑥𝑢 = prompt(𝑢, 𝐶𝑢 ) and 𝑘 𝑅𝑘 are concatenated into the student context; LLM𝑆 is held fixed across bank updates. Unlike Eq. (3), retrieval is deterministic, and no student objective is optimized. Advantage: gains over zero-/fewshot and RAG – and over GraphRAG on most backbones (Section 5.1) – are attributable to the content and editability of 𝐸, not to student adaptation – the same frozen LLM𝑆 improves when 𝐸 improves (Section 5.4), and the protocol transfers across teacher–student pairs without per-student training (Section 5.3).

3.8. Experience Memory Optimization Motivation: a bank populated once from teacher extraction can accumulate generic or conflicting entries; after the student ranks a case, the mismatch between the predicted list and the ground-truth target is a direct signal that 𝐸 should be revised. Design: mirroring Training-Free GRPO (YoutuAgent Team, 2025)’s loop of rollout → reward → semantic advantage → library edit – but specialized to recommendation ranking and enriched with 𝐾-agent debate – we update 𝐸 after each student prediction: the student emits a ranked list under Eq. (12), reward models score that list against 𝑖+ , 𝐾 debating agents critique the case conditioned on those rewards, an arbiter synthesizes revised experience entries, and the same distillation controller commits them. This closes a loop predict → reward → debate → edit → 𝐸 without changing LLM𝑆 .

3.8.1. Reward Models Motivation: a single scalar (e.g., only Hit@1) is too coarse for debate agents to diagnose why a ranking failed – missing the top item, burying it just outside the top-𝑘, or placing it deep in the list require different memory edits. Design: given the student’s ordered list 𝐿̂ 𝑢 = (𝑐(1) , … , 𝑐(𝐿) ) and ground-truth target 𝑖+ , let rank ∈ {1, … , 𝐿} ∪ {∅} be the 1-based position of 𝑖+ in 𝐿̂ 𝑢 (∅ if absent). We pack four complementary IR-style rewards in [0, 1] into the debate/arbiter prompt: ( 𝑟(𝑢) = 𝟏[rank=1], 𝟏[rank ≤ 𝑘], ) min(1, 1∕rank), 1∕ log2 (rank + 1) ∈ [0, 1]4 , (13) with all components zero if rank = ∅ (default 𝑘=10). Design rationale. The four components are HR@1, HR@𝑘, M.H. Nguyen et al.: Preprint submitted to Elsevier

Algorithm 1 Experience Memory Optimization after student prediction (one epoch) Require: case batch 𝑈, frozen student {LLM1 , … , LLM𝐾 }, arbiter LLM𝐴 , rounds 𝑛𝑟 1: for 𝑢 ∈ 𝑈 do 2: Rank 𝐿̂ 𝑢 with frozen LLM𝑆 via Eq. (12) 3: 𝑟(𝑢) ← reward models on (𝐿̂ 𝑢 , 𝑖+ ) 4:  ←∅ 5: for round = 1, … , 𝑛𝑟 ; agent 𝑗 = 1, … , 𝐾 do 6:  ←  ‖ LLM𝑗 (persona𝑗 ,  , 𝑢, 𝐿̂ 𝑢 , 𝑟(𝑢)) 7: end for 8: {𝑒̃1 , … , 𝑒̃𝑛 } ← LLM𝐴 ( , 𝑢, 𝐿̂ 𝑢 , 𝑟(𝑢)) 9: for 𝑒̃ ∈ {𝑒̃1 , … , 𝑒̃𝑛 } do 10: 𝑒 ← Adapt(𝑒); ̃ 𝐸 ← Apply(𝐸, 𝑜) 11: end for 12: end for

LLM𝑆 ,

agents

⊳ Eq. (13)

⊳ Eq. (14) ⊳ Eq. (15) ⊳ Eqs. (9),(10)

reciprocal rank, and DCG-style position discount: they flag strict top-rank failure, near-misses, and graded credit when 𝑖+ appears but not first. Importantly, 𝑟(𝑢) is not a training loss on LLM𝑆 and is not used to arg max among agent proposals; it conditions the natural-language critique so that edits target the observed ranking failure mode. Advantage: the same four signals transfer across datasets and students because they depend only on (𝐿̂ 𝑢 , 𝑖+ ), keeping the optimization loop student-agnostic.

3.8.2. Debate and Arbiter after Each Prediction Design lineage. The procedure combines the training-free experience-library update of Training-Free GRPO (Youtu-Agent Team, 2025) with iterative selfcritique (Madaan et al., 2023) and multi-persona debate (Du et al., 2023), but applies them at memory-bank granularity and triggers them from the student’s post-prediction reward vector (Section 3.8.1). Group computation. Over 𝑛𝑟 rounds, 𝐾 fixed-persona agents append free-form critiques to a shared transcript  : ( ) 𝑔𝑗 = LLM𝑗 persona𝑗 ,  , 𝑢, 𝐿̂ 𝑢 , 𝑟(𝑢) , (14)  ←  ‖ 𝑔𝑗 . No entry is committed during Eq. (14). After 𝑛𝑟 𝐾 turns, a single arbiter call synthesizes the experience set to commit: ( ) {𝑒̃1 , … , 𝑒̃𝑛 } = LLM𝐴  , 𝑢, 𝐿̂ 𝑢 , 𝑟(𝑢) , (15) 𝑛 ≤ 𝑛max . Eq. (15) is an LLM synthesis, not a programmatic vote or an arg max𝑗 over {𝑔𝑗 } by reward. Optimizing. Algorithm 1 runs, for each case: student ranking (Eq. 12) → reward models (Eq. 13) → debate/arbiter (Eqs. 14–15) → commit via Adapt and Apply. Section 5.4 tracks bank-quality signals and downstream HR@1/MRR over 𝑇 such epochs. Reuse of Knowledge Distillation. Each synthesized 𝑒̃ is committed by the same operators as regular extraction (Section 3.6.1): 𝑒 = Adapt(𝑒) ̃ (Eq. 9) and 𝐸 ← Apply(𝐸, 𝑜) (Eq. 10). Optimization does not update LLM𝑆 ; it only revises 𝐸. Page 8 of 25

rEDMRec: Reasoning Distillation into Experience Memory

4. Experimental Setup 4.1. Datasets We evaluate on three recommendation datasets that span the explicit-implicit feedback spectrum. ML-1M (Harper and Konstan, 2015) provides 1–5 star explicit ratings and is a standard benchmark for LLM-based recommendation. Amazon Beauty (Ni et al., 2019) provides explicit ratings and review text but is substantially sparser per user, which stresses the memory bank’s ability to compensate for weak collaborative signal. Steam (Kang and McAuley, 2018) is an implicit-feedback dataset: it logs which games a user played rather than an explicit rating, so every logged interaction is treated as an equally-weighted positive signal (rating fixed to 1.0, positive threshold 0.0) instead of being thresholded from a graded rating scale. For all three datasets we apply a 𝑘-core filter (𝑘=20 on ML-1M; 𝑘=5 on Beauty and Steam), build a chronological train/validation/test split, and construct 20-candidate ranking samples (1 positive, 19 sampled negatives). Dataset statistics after filtering are reported in Appendix H (Table 20).

4.2. Baselines We compare against four prompting/retrieval baselines and rEDMRec, formalized in Eqs. (2)–(4) (Section 3.2): Zero-shot and Few-shot (Brown et al., 2020) (𝐾=0 and 𝐾>0 in Eq. 2); RAG (Lewis et al., 2020) (Eq. 3), which retrieves raw historical interactions or reviews rather than distilled reasoning; and GraphRAG (Edge et al., 2024) (Eq. 4), which retrieves from a co-occurrence/knowledge graph built over items.

4.3. Models Unless noted otherwise, the teacher is gpt-5.4-mini. We evaluate ten open student backbones spanning 3B–20B parameters: Qwen2.5 3B, Llama 3.1 8B (Touvron et al., 2023), Gemma-4-12B (Gemma Team, 2024), Minimax M2.5, Mixtral 8x7B (Jiang et al., 2024), Qwen3-14B (Yang et al., 2024), DeepSeek-R1-Distill-Qwen-14B (DeepSeekAI, 2025), Phi-4, Llama 4 Scout, and GPT OSS 20B. Each student is used frozen (Section 3.7), so that cross-backbone gains isolate the contribution of the editable experience memory. The teacher-distillation study (Section 5.3) additionally fixes the student to gpt-5-mini (strong) or Qwen2.5 3B (small) while varying the teacher across seven backbones, to isolate the teacher’s contribution from the student’s.

4.4. Metrics and Protocol We report Hit Rate at rank 𝑘 (HR@𝑘, 𝑘 ∈ {1, 5, 10}), Normalized Discounted Cumulative Gain (NDCG@𝑘, 𝑘 ∈ {5, 10}), and Mean Reciprocal Rank (MRR), all computed over the fixed 20-candidate set per evaluation sample. For RQ1 tables we report Impv (%), the relative HR@1 improvement of rEDMRec over the second-best baseline on the same student (Impv = (Ours − SecondBest)∕SecondBest × 100), following RDRec (Wang et al., 2024b), together with M.H. Nguyen et al.: Preprint submitted to Elsevier

a McNemar 𝑝-value on HR@1 vs. that second-best method (approximate 2×2 contingency reconstructed from the table HR@1 rates at the full held-out sizes 𝑛ML−1M =49893, 𝑛Beauty =1460, 𝑛Steam =1460; ∗ marks 𝑝<0.05 when rEDMRec is ahead). Every (model, method, dataset) cell is evaluated on the full held-out test split (chronological train/validation/test; 20 candidates per sample with sampling seed 42), not a pilot subsample. The cross-dataset comparison in Section 5.1 (Amazon Beauty, Steam), the bank-scale analysis in Section 5.2, and the 𝑘EPOCH and number-of-agents curves in Section 5.4 follow the same full-split evaluation protocol at each reported dataset, bank scale, and epoch/agent-count setting.

5. Results We organize results around four research questions: does distilling reasoning into memory improve ranking over prompting-only and retrieval-only baselines (RQ1, Section 5.1)? which memory channel drives that improvement (RQ2, Section 5.2)? does teacher quality causally affect bank quality and downstream gain (RQ3, Section 5.3)? and does debate-based memory optimization measurably improve bank quality and downstream ranking (RQ4, Section 5.4)? We close with a qualitative case study of how individual memory entries evolve over training (Section 5.5).

5.1. RQ1: Does rEDMRec Improve Ranking Across Students and Datasets? Table 4 reports HR@𝑘, NDCG@𝑘, and MRR for four representative students spanning our capacity range (Qwen2.5 3B, Llama 3.1 8B, Mixtral 8x7B, Qwen3-14B) on ML-1M; the full ten-model table is given in Appendix A. rEDMRec improves HR@1 over Zero-shot, Few-shot, and RAG for every student. Following RDRec (Wang et al., 2024b), Table 4 reports Impv (%) vs. the second-best baseline (typically GraphRAG): the largest relative gain is on the smallest student (Qwen2.5 3B, Impv = 13.3% over GraphRAG), consistent with structured memory helping most when parametric capacity is limited. Llama 3.1 8B is the clearest failure case – Impv is negative because GraphRAG remains ahead (Impv = −11.1%) – which we attribute to weak instruction-following rather than a deficiency of the memory itself (Section 4.3; Section 6); GPT OSS 20B similarly trails GraphRAG slightly (Impv = −3.3%), so the claim relative to GraphRAG is most, not all, students. Table 5 reports Zero-shot vs. rEDMRec on Amazon Beauty and Steam for all ten student models under HR@1, NDCG@10, and MRR (full five-method matrices in Appendix B–C). The same ordering as on ML-1M holds: rEDMRec improves HR@1 over Zero-shot for every model on both datasets, and NDCG@10 / MRR rise in lockstep except on the weakest Llama 3.1 8B backbone, where ranking beyond top-1 remains flat. Absolute scores are lower than on ML-1M – as expected for sparser Amazon Beauty and Page 9 of 25

rEDMRec: Reasoning Distillation into Experience Memory Table 4 Main results on ML-1M for four representative students (full ten-model table in Appendix A). Impv (%) is the relative HR@1 gain of rEDMRec over the second-best baseline on the same student, Impv = (Ours − SecondBest)∕SecondBest × 100, following RDRec (Wang et al., 2024b). 𝑝 is the exact McNemar 𝑝-value for rEDMRec HR@1 vs. the second-best baseline (full held-out 𝑛=49893; approximate contingency from the table HR@1 rates). ∗ marks 𝑝<0.05 with rEDMRec ahead. Best in bold, second-best underlined; rEDMRec rows labeled in bold. Model

Method

HR@1↑ HR@5↑ HR@10↑ NDCG@5↑ NDCG@10↑ MRR↑ Impv (%)

𝑝

Qwen2.5 3B

Zero-shot Few-shot RAG GraphRAG rEDMRec (ours)

0.12 0.14 0.13 0.15

0.28 0.30 0.29 0.31

0.38 0.40 0.39 0.41

0.20 0.21 0.20 0.22

0.23 0.24 0.23 0.25

0.18 0.20 0.19 0.20

– – – –

– – – –

0.17∗

0.35

0.45

0.25

0.28

0.23

+13.3∗

< 0.001∗

0.07 0.08 0.08 0.09

0.15 0.16 0.16 0.17

0.23 0.24 0.24 0.25

0.12 0.12 0.12 0.12

0.14 0.15 0.14 0.15

0.12 0.13 0.12 0.13

– – – –

– – – –

0.08

0.17

0.25

0.13

0.16

0.13

-11.1

< 0.001

Zero-shot

0.24

0.47

0.66

0.35

0.40

0.35

–

–

Few-shot RAG GraphRAG rEDMRec (ours)

0.26 0.25 0.27

0.49 0.48 0.50

0.68 0.67 0.69

0.37 0.36 0.38

0.42 0.41 0.42

0.36 0.35 0.37

– – –

– – –

0.28∗

0.52

0.71

0.39

0.44

0.38

+3.7∗

< 0.001∗

0.26 0.28 0.27 0.29

0.50 0.52 0.51 0.53

0.69 0.71 0.70 0.72

0.38 0.40 0.39 0.40

0.43 0.45 0.43 0.45

0.37 0.39 0.38 0.40

– – – –

– – – –

0.30∗

0.55

0.73

0.42

0.47

0.41

+3.4∗

< 0.001∗

Llama 3.1 8B Zero-shot Few-shot RAG GraphRAG rEDMRec (ours) Mixtral 8x7B

Qwen3-14B

Zero-shot Few-shot RAG GraphRAG rEDMRec (ours)

implicit-feedback Steam – yet Impv (%) vs. the second-best baseline (GraphRAG) is again largest on the smallest student (Qwen2.5 3B: Impv = 23.6% on Beauty and 21.5% on Steam; both 𝑝<0.05), consistent with memory compensating for weak collaborative signal when per-user history is short; mid-capacity Beauty students show smaller Impv (about 9– 13%) that is not significant at 𝑛=1460.

5.2. RQ2: Which Memory Channel Matters? To isolate each channel’s contribution, we remove one memory channel at a time and report ΔHR@1 relative to the full-memory model. This ablation uses a separate panel of seven API-served backbones chosen to span four capacity tiers – strong (gpt-5-mini), mid (gpt-5.4-mini, Qwen3-32B, Minimax M2.5), saturated (GPT-OSS-120B), and weak (Llama 3.3 70B, Llama 3.1 8B) – rather than the ten local open-weight students used for the main comparison in Section 5.1; note that a backbone name can appear in both this ablation panel and the teacher panel of Section 5.3 (e.g., gpt-5.4-mini), where it plays a different role (ablated student vs. teacher) in a separate experiment. Table 6 summarizes the resulting pattern across the four capacity tiers. Short-term context is the only channel that is consistently important: removing it hurts every tier, from a strong student (gpt-5-mini, Δ=−0.04) down to weak Groq-served Llama students (Δ ≈ −0.01 to −0.02). The long-term preference, item-perception, and counterfactual M.H. Nguyen et al.: Preprint submitted to Elsevier

channels show a reversed ablation on the strongest student: removing them improves HR@1 by +0.03 to +0.04, whereas removing the counterfactual channel hurts the mid-capacity student (Δ=−0.04) and has little effect on the saturated 120B-parameter student, which appears to ignore the bank altogether (full-memory Δ ≈ 0.00 for that tier). We consider three, non-exclusive explanations for the reversed sign on strong students, in decreasing order of the evidence we can bring to bear with the current instrumentation. First, channel redundancy: long-term preference statements often restate information already present in the raw history block of the prompt, so a strong student that already attends well to raw history gains nothing extra and instead pays a small “distraction” cost for the redundant text. Second, generic, low-specificity entries: item-perception entries produced early in the bank’s lifecycle tend to be long and only loosely actionable (Section 5.5 quantifies this directly via a specificity score). Third, conflicting signals: a counterfactual edge can push a plausible but ultimately incorrect candidate above the true target when its hypothetical condition partially matches the current user. Only the mid-capacity student, which cannot yet extract the same information unaided from raw history, benefits from the counterfactual channel unconditionally; the fact that the sign of this effect depends on student capacity, rather than being fixed, is itself evidence against treating any single channel

Page 10 of 25

rEDMRec: Reasoning Distillation into Experience Memory Table 5 Cross-dataset generalization on Amazon Beauty and Steam (full held-out test split, 20 candidates/sample, seed 42). ZS = Zero-shot; Ours = rEDMRec (bold). Impv (%) is the relative HR@1 gain of rEDMRec over the second-best baseline on the same student, Impv = (Ours − SecondBest)∕SecondBest × 100, following RDRec (Wang et al., 2024b). 𝑝 = McNemar 𝑝-value for Ours HR@1 vs. the second-best baseline (𝑛Beauty =1460, 𝑛Steam =1460; ∗ if 𝑝<0.05). Complete five-method matrices are in Appendix B–C. Dataset Model

HR@1(ZS) HR@1(Ours) NDCG@10(ZS) NDCG@10(Ours) MRR(ZS) MRR(Ours) Impv (%)

Qwen2.5 3B Llama 3.1 8B Gemma-4-12B Minimax M2.5 Amazon Mixtral Beauty 8x7B Qwen3-14B DeepSeek-R1 Distill-Qwen-14B Phi-4 Llama 4 Scout GPT OSS 20B

Steam

Qwen2.5 3B Llama 3.1 8B Gemma-4-12B Minimax M2.5 Mixtral 8x7B Qwen3-14B DeepSeek-R1 Distill-Qwen-14B Phi-4 Llama 4 Scout GPT OSS 20B

𝑝

0.092 0.062 0.140 0.152

0.136∗ 0.071 0.178 0.187

0.218 0.180 0.290 0.308

0.262 0.180 0.328 0.343

0.180 0.162 0.252 0.264

0.224 0.162 0.290 0.290

+23.6∗ -4.1 +12.7 +10.0

0.037∗ 0.830 0.166 0.247

0.164

0.202

0.320

0.358

0.282

0.311

+11.0

0.188

0.176

0.211

0.338

0.373

0.294

0.329

+8.8

0.269

0.188

0.223

0.350

0.385

0.312

0.329

+8.3

0.280

0.170 0.182 0.182

0.205 0.217 0.199

0.332 0.344 0.344

0.393 0.405 0.370

0.288 0.300 0.300

0.340 0.344 0.317

+9.0 +8.5 -0.5

0.264 0.275 1.000

0.106 0.066 0.170 0.186

0.158∗ 0.076 0.208 0.224

0.224 0.180 0.320 0.344

0.276 0.180 0.358 0.382

0.180 0.162 0.276 0.292

0.232 0.162 0.314 0.321

+21.5∗ -7.3 +7.2 +6.7

0.035∗ 0.584 0.356 0.394

0.202

0.244

0.360

0.402

0.316

0.349

+8.0

0.276

0.218

0.256

0.384

0.422

0.332

0.370

+5.8

0.392

0.234

0.272

0.400

0.438

0.356

0.375

+5.4

0.426

0.210 0.226 0.226

0.248 0.264 0.245

0.376 0.392 0.392

0.443 0.459 0.421

0.324 0.340 0.340

0.382 0.388 0.359

+6.0 +5.6 -2.0

0.411 0.421 0.797

Memory channel ablation: ΔHR@1 across student models (n=30,000)

Strong

Mid

Saturated

Weak

Short-term context Long-term preference Item-perception Counterfactual

−0.04 +0.03

−0.04 0.00

≈−0.01 ≈0.00

−0.01–−0.02 +0.01

+0.04 +0.03

0.00 −0.04

≈0.00 weak

slight ≈0.00

Full memory

−0.01

−0.03

≈0.00

weak

as universally useful or harmful. Figure 4 shows this pattern holds across all seven backbones in the ablation panel, and Figure 5 shows that the reversed channels flip sign as the bank grows from the sparse-bank anchor (𝐵=189) toward 105 –106 entries, because a denser bank dilutes the redundant and generic entries that drive the reversal at small 𝐵 (bank size is independent of the full-test evaluation protocol in Section 4.4). Per-backbone Δ plots, the MRR heatmap, and the full numeric ablation matrix are deferred to Appendix G.

5.3. RQ3: Does Teacher Quality Causally Affect Downstream Gain? Holding the student fixed and varying the teacher isolates the teacher’s contribution from the student’s. Table 7 fixes the student to gpt-5-mini (strong) across seven teachers; Table 8 repeats the comparison with Qwen2.5 3B (small). M.H. Nguyen et al.: Preprint submitted to Elsevier

-0.06

-0.06

-0.08

-0.05

-0.10

GPT-5.4-mini

-0.05

-0.05

-0.07

-0.05

-0.08

GPT-OSS-120B

-0.01

-0.01

-0.01

-0.01

-0.02

Qwen3-32B

-0.05

-0.05

-0.07

-0.05

-0.08

Minimax M2.5

-0.05

-0.05

-0.07

-0.05

-0.08

Llama-3.3-70B

-0.02

-0.02

-0.02

-0.02

-0.04

-0.02

-0.02

-0.02

0.10

0.00

ΔHR@1

Channel

GPT-5-mini

0.05

Student model

Table 6 Channel importance by capacity tier (ΔHR@1 vs. full memory). Negative = beneficial channel; positive = reversed ablation (Section 5.2).

-0.05

-0.02

Llama-3.1-8B

w/o

Sho

rt-

m Ter w/o

Lon

g-

m Ter w/o

rc. -Pe Item

rfac

nte

w/o

Cou

-0.04

l tua w/o

-0.10

ry mo

Me

Channel removed

Figure 4: Channel ablation heatmap: ΔHR@1 for each of the seven ablation-panel backbones (rows, Section 5.2) and four memory channels (columns). Green cells indicate a reversed ablation (removal helps); red cells indicate the channel is beneficial.

Across both tables, a lower bank duplicate rate is a leading indicator of downstream gain: gpt-5.4-mini has the lowest duplicate rate among the strongest teachers (12.4%) and the largest ΔHR@1 for the strong student (+0.060), while Llama 3.1 8B Instant – the only teacher below 14B parameters in this comparison – has by far the highest duplicate rate (22.8%) and the smallest gain (+0.015), consistent with a weak teacher producing generic, repetitive entries (e.g., repeated “user likes drama” statements without item-specific detail) that carry little retrieval value. The relationship is Page 11 of 25

rEDMRec: Reasoning Distillation into Experience Memory Item-Perception

Counterfactual

Table 8 Teacher-distillation effectiveness, fixed student: Qwen2.5 3B (small). Zero-shot baseline HR@1= 0.12, MRR= 0.18.

(b) Stability at B=29K

(a) Contribution vs. bank scale B +0.07

0.06 0.04

+0.04

+0.04

+0.04

+0.05

+0.07 +0.06 +0.06 +0.06 +0.06 +0.05 +0.05 +0.06 +0.05 +0.04 +0.03

0.02 0.00 -0.02 -0.04

-0.03 -0.03 -0.03 -0.03 -0.04 -0.04

-0.02 -0.02 -0.03

-0.01 -0.01 -0.02

0.08

Teacher

0.07 0.06 0.05 0.04

-0.06 189

200

500

1K

5K

10K

30K

100

200

500

1K

2K

5K

10K

Neval (log10 )

Teacher extractions B

N_eval=500 fixed in (a). B≤200: LT/IP/CF reversed; B≥5K all −ΔHR@1. (b) bank B=29,502 fixed; error bars σ/√N.

Figure 5: Per-channel contribution (−ΔHR@1) as bank scale 𝐵 grows from the sparse-bank anchor (𝐵=189) to 106 entries (panel a), and stability of the estimate as evaluation sample size grows under the full-test protocol at fixed bank scale (panel b). Note: 𝐵 is bank size, not the evaluation split size.

Table 7 Teacher-distillation effectiveness, fixed student: gpt-5-mini (strong). Zero-shot baseline HR@1= 0.28, MRR= 0.403. Teacher gpt-5.4-mini Qwen3 32B (131k) gpt-5-mini Llama 3.3 70B (128k) GPT OSS 120B (128k) Minimax M2.5 Llama 3.1 8B Instant

Dup.%↓

ΔHR@1↑

ΔMRR↑

HR@1

12.4 11.5 14.1 10.5

+0.060 +0.055 +0.050 +0.045

+0.0687 +0.0620 +0.0580 +0.0520

0.340 0.335 0.330 0.325

9.8

+0.040

+0.0450

0.320

13.2 22.8

+0.040 +0.015

+0.0480 +0.0180

0.320 0.295

not perfectly monotonic, however: GPT OSS 120B has the lowest duplicate rate of any teacher (9.8%) yet only a middling ΔHR@1 (+0.040), which we attribute to a studentcapacity ceiling – gpt-5-mini cannot fully exploit the additional verbosity of a 120B-parameter teacher’s bank. This ceiling is sharper for the small student: Table 8 shows the GPT OSS 120B bank drops below the more concise Qwen3 32B bank once the student itself is small (Qwen2.5 3B), even though GPT OSS 120B produces the least duplicated bank of the two. Together, these two tables support a causal chain in which teacher quality first improves bank quality (lower duplication), and bank quality only converts into downstream gain up to a ceiling set by the student’s own capacity to use additional bank detail.

5.4. RQ4: Does Debate-Based Memory Optimization Improve Bank Quality and Downstream Ranking? We next ask whether the debate-and-arbiter optimization procedure (Section 3.8) is doing useful work, rather than merely adding cost. Figure 6 tracks bank-quality signals and downstream ranking jointly over six 𝑘-EPOCHs of debate (three debate agents, one round per epoch). Bank quality improves and saturates: the duplicate rate drops by 7.4 M.H. Nguyen et al.: Preprint submitted to Elsevier

gpt-5.4-mini Qwen3 32B (131k) gpt-5-mini Llama 3.3 70B (128k) GPT OSS 120B (128k) Minimax M2.5 Llama 3.1 8B Instant

Dup.%↓

ΔHR@1↑

ΔMRR↑

HR@1

12.4 11.5 14.1 10.5

+0.050 +0.045 +0.042 +0.038

+0.0550 +0.0500 +0.0470 +0.0430

0.170 0.165 0.162 0.158

9.8

+0.034

+0.0380

0.154

13.2 22.8

+0.033 +0.010

+0.0380 +0.0120

0.153 0.130

(a) Debate → downstream ranking

(b) Debate → bank quality

1.0

18 0.35

17

0.30

0.25

0.20

0.8

16 15

Duplicate rate % (↓) Mean reward (↑) Specificity (↑)

14

0.6

0.4 13 12

Reward / specificity

0.08

Contribution (−ΔHR@1)

Contribution (−ΔHR@1 vs. Full)

0.10

Duplicate rate (%)

Long-Term

Downstream score

Short-Term

0.2

11 0.15

0.0 0

1

2

3

4

5

6

k-EPOCH (debate passes)

Mixtral 8x7B · HR@1 Mixtral 8x7B · MRR Minimax M2.5 · HR@1 Minimax M2.5 · MRR Gemma-4-12B · HR@1

0

1

2

3

4

5

6

k-EPOCH (debate passes)

Gemma-4-12B · MRR Qwen2.5 3B · HR@1 Qwen2.5 3B · MRR Mixtral 8x7B · HR@1 (no-debate)

Figure 6: Debate-based memory optimization vs. 𝑘-EPOCH. (a) Downstream HR@1/MRR for student models plus a nodebate control. (b) Bank-quality signals: duplicate rate (down is better) and mean experience reward / specificity (up is better).

percentage points (18.0% → 10.6%) while mean experience reward rises by 0.255 (0.52 → 0.78). Downstream ranking tracks this curve rather than moving independently of it: the strongest student in this comparison (Mixtral 8x7B) gains +0.029 HR@1 (0.250 → 0.279) over the same six epochs, while a no-debate paraphrase control – which perturbs entry wording without the critique-and-revise debate loop – stays flat, isolating the debate mechanism (rather than any wording change) as the source of the gain. The smallest student in this comparison (Qwen2.5 3B) gains only +0.013 HR@1 (0.156 → 0.169) from the identical optimized bank, reproducing the capacity ceiling from Section 5.3 in a different experiment: most of the gain lands within the first two to three epochs for every student, so debating past 𝑘=3 epochs is rarely worth the added LLM cost. A separate sweep over the number of debating agents (𝑘 = 1, … , 10, one epoch) shows quality rising with the diversity of critique but saturating, while LLM cost grows linearly in 𝑘 (Table 9, Figure 7). The knee of quality-per-cost is at 𝑘∗ = 4: increasing 𝑘 from 1 to 4 lifts HR@1 by +0.022, but increasing 𝑘 from 4 to 10 adds only +0.006 for six additional LLM calls per case, which is not a favorable trade for most deployment budgets. Tabular controller ablations

Page 12 of 25

rEDMRec: Reasoning Distillation into Experience Memory Table 9 Number-of-debating-agents sweep (𝑘 = 1..10), reference student Mixtral 8x7B. 𝑘∗ marks the quality-per-cost knee. 𝑘

HR@1↑

Specificity↑

Dup.%↓

Calls/case

1 2 3 4 (𝑘∗ ) 5 6 7 8 9 10

0.255 0.266 0.273 0.277 0.279 0.281 0.282 0.282 0.282 0.283

0.520 0.608 0.663 0.699 0.721 0.735 0.744 0.750 0.754 0.756

16.0 13.4 11.9 11.0 10.4 10.0 9.8 9.7 9.6 9.6

2 3 4 5 6 7 8 9 10 11

(a) Downstream vs k

(b) Bank quality vs k

0.16

0.500 0.433 0.405 0.478

0.520 0.401 0.488 0.519

+0.021 −0.032 +0.084 +0.042

14 13 0.4

12

+0.08

Debate tokens/case

2500

11 10

0.0

2000 8 1500

6

1000

4 2

After

+0.02

10

15

0.6

0.2 k*=4

Δ

Before

0.6

Mean specificity

0.18

LLM calls/case

16

LLM calls / case

Specificity

HR@1

0.20

Spec. after

Experience-bank specificity: before vs after training

(c) Cost vs k (linear)

Duplicate % (↓)

0.8

0.26

0.22

Spec. before

Long-term preference Short-term context Item-perception Counterfactual / hard-neg.

Tokens / case

Specificity (↑)

1.0

0.28

0.24

Channel

0.5

Gemma-4-12B Qwen2.5 3B

Duplicate rate (%)

Mixtral 8x7B Minimax M2.5

Table 10 Bank evolution: specificity before (earliest persisted entry) vs. after (latest persisted entry) per channel, over users with ≥ 2 versions.

+0.04

-0.03

0.4 0.3 0.2

500

1 2 3 4 5 6 7 8 9 10

1 2 3 4 5 6 7 8 9 10

1 2 3 4 5 6 7 8 9 10

k (debate agents)

k (debate agents)

k (debate agents)

Figure 7: Number-of-agents sweep: downstream HR@1, bankquality signals, and LLM cost as a function of 𝑘.

(full debate vs. no-debate paraphrase vs. post-extraction) and epoch snapshots are collected in Appendix F.

5.5. Qualitative Case Study: How Do Memory Entries Evolve? The ablation and debate-optimization results above are aggregate signals; to make the mechanism concrete, we directly compare the earliest and the latest persisted entry per user in each memory channel, using a deterministic, LLMfree specificity score (specificity combines concreteness, genre-term coverage, lexical diversity, and a hedge-language penalty into a single [0, 1] score, with no additional LLM calls). Table 10 summarizes the resulting before/after deltas across users with at least two persisted versions. Three of the four channels become more specific and less hedged over training; the item-perception channel changes the most (mean specificity 0.405 → 0.488), moving from generic fallback language to item-grounded, actionable statements. The short-term context channel is the exception: its mean specificity decreases slightly (0.433 → 0.401), which Figure 8 and the cases below show is not a quality regression but a compression effect – verbose narrative entries are replaced by short, conditional “session rules” that are less lexically diverse by construction but more directly actionable by the student. Table 11 shows three representative before→after pairs drawn from the persisted bank (one long-term, one itemperception, one short-term). Case A (long-term, user 2) replaces a single-film hedge (“Very limited data. . . ”) with a M.H. Nguyen et al.: Preprint submitted to Elsevier

0.1 0.0 Long-Term Preference

Short-Term Context

Item-Perception

Contrastive Hard-Negative

Figure 8: Mean specificity before vs. after training, by memory channel.

ranking-ready taste statement that names era, franchise type, and an upweight rule, lifting specificity from 0.214 to 0.479. Case B (item-perception, user 4) converts a vague Hit@1 complaint into an item-grounded rule keyed to Rocky (1976), with an explicit +30–50% tie-break boost – the largest single-entry ΔSpec. in the sample (+0.500). Case C (shortterm, user 2) illustrates the compression pattern behind the negative mean Δ on that channel: an empty “no emerging interests” note becomes a short session rule with diversity constraints; lexical diversity drops relative to long narrative entries, but actionability rises. Together the three cases show that debate-driven Add/Modify operations do not merely paraphrase entries – they accumulate confirmed signals into shorter, more specific, ranking-oriented memory.

6. Discussion and Limitations Operating-point generalization. The bank-scale analysis (Section 5.2) and the 𝑘-EPOCH and number-of-agents curves (Section 5.4) span a wide range of settings – bank sizes up to 106 entries, up to six debate epochs, and up to ten debating agents. A practitioner adopting a specific operating point (for example, a specific 𝑘-EPOCH budget or bank size) in a production system should re-confirm behavior at that exact point, since a trend measured across a range does not guarantee identical behavior at every intermediate setting. Page 13 of 25

rEDMRec: Reasoning Distillation into Experience Memory Table 11 Qualitative before→after memory entries (persisted bank). Spec. is the deterministic specificity score in [0, 1]. Case / channel

Spec.

A / lt

0.214 →0.479 “Very limited data: the only rated film is a classic action-adventure, suggesting a preference for highenergy, heroic, escapist storytelling. . . Dislikes: No explicit dislikes can be inferred. . . ”

Before (earliest)

“Long-term: favors mainstream 1990s action buddy-cop films – franchise sequels, star-driven chemistry, high-energy action with comedic interplay. Upweight these attributes in ranking but require repeat confirmations. . . ”

B / ip

0.350 →0.850 “The strongest match was only ranked 5th, so Hit@10 was good but Hit@1/MRR suffered. For this user, place the best Rocky-like inspirational drama at rank 1 whenever possible.”

“Rocky (1976): User 4 chose Rocky over a higherranked 80s action title, signaling a preference for 1970s character-driven underdog sports dramas. When ranking, boost similar 1970s character dramas above mainstream 80s action (recommend +30–50% score in tie scenarios).”

C / st

0.300 →0.500 “No recent viewing items were provided, so no emerging short-term interests can be detected.”

“Session: prioritize late-80s/90s Hollywood action comedies with buddy dynamics and franchise entries for top slots; include at least one diverse alternative per slate to avoid popularity bias.”

Teacher coverage. The main results (Section 5.1) fix the teacher to gpt-5.4-mini; the teacher-distillation study (Section 5.3) varies the teacher but only against two fixed students. We have not measured the full teacher × student cross-product, so it remains open whether the teacher-quality effect observed for gpt-5-mini and Qwen2.5 3B holds uniformly across all ten students in Table 12. Explanation faithfulness. rEDMRec’s student can emit a short explanation grounded in retrieved memory (Section 3.7), but this paper evaluates ranking quality, not whether the emitted explanation is faithful to the memory it cites; a human evaluation of explanation faithfulness and plausibility, as outlined in our evaluation plan, is left to future work. Backbone-dependent returns. The architecture assumes the student can follow a moderately complex prompt that concatenates user context, candidate descriptions, and retrieved memory snippets. Section 5.1 shows this assumption breaks down for at least one backbone (Llama 3.1 8B), whose negative Impv vs. GraphRAG we attribute to weak instruction-following rather than to the memory being unhelpful in principle; the near-saturated 20B-parameter student likewise trails GraphRAG slightly. Memory still lifts every student over Zero-shot/Few-shot/RAG, but not always over GraphRAG – Appendix K tabulates these failure cells and borderline controller edits. Practically, the value of rEDMRec’s added system complexity is highest for small-to-mid capacity students. Domain scope. Our three datasets cover movie, beautyproduct, and game recommendation with English-language metadata; we have not tested domains with substantially different item-description structure (e.g., short-video or news recommendation), and the four-channel schema, in particular the counterfactual channel, was designed with catalog items that have stable, comparable attributes in mind.

M.H. Nguyen et al.: Preprint submitted to Elsevier

After (latest)

7. Conclusion This paper addresses the problem of reusing, rather than repeating, LLM reasoning across recommendation requests, by proposing rEDMRec, an architecture that distills teacher reasoning into a four-channel, editable experience memory and serves ranking requests from a lightweight student that only retrieves from this memory. The key idea is to separate an infrequent, expensive reasoning-compression process – teacher extraction, distillation, and debate-based memory optimization – from a frequent, cheap inference process, which decouples recommendation quality from per-request reasoning cost. Across ten student LLMs and three datasets, this design improves HR@1, NDCG, and MRR over zero-shot, few-shot, and RAG on every backbone, and over GraphRAG on most backbones (exceptions: Llama 3.1 8B and GPT OSS 20B), with the largest RDRec-style Impv (%) vs. the second-best baseline on the smallest students; our channel-ablation, teacher-distillation, and debateoptimization studies further show that short-term context is the only consistently beneficial channel across capacity tiers (with long-term, item-perception, and counterfactual effects capacity-dependent), that bank duplication is a leading indicator of downstream gain up to a studentcapacity ceiling, and that 𝐾-agent debate measurably improves bank quality in a way that propagates into ranking accuracy rather than being a cosmetic refinement. Remaining limitations include incomplete teacher × student coverage and the lack of a human evaluation of explanation faithfulness (Section 6); closing those gaps is an important next step toward deploying rEDMRec as a production recommendation system.

Data and Code Availability The preprocessing, training, and evaluation code, together with the JSON experiment matrices used to produce every table and figure in this paper, are organized under the rEDMRec/ project root (see readme.md for the end-to-end Page 14 of 25

rEDMRec: Reasoning Distillation into Experience Memory

quick-start pipeline). ML-1M, Amazon Beauty, and Steam are third-party datasets redistributed under their original licenses; this work releases only derived, de-identified interaction records and memory-bank artifacts.

CRediT authorship contribution statement Minh Hoang Nguyen: Methodology, Conceptualization, Writing – original draft, Writing – review & editing. Tung Le: Supervision, Supporting, Writing – review & editing. Huy Tien Nguyen: Supervision, Supporting, Conceptualization, Project administration.

References Bao, K., Zhang, J., Zhang, Y., Wang, W., Feng, F., He, X., 2023. TALLRec: An effective and efficient tuning framework to align large language model with recommendation, in: Proceedings of the 17th ACM Conference on Recommender Systems, pp. 1007–1014. doi:10.1145/3604915. 3608857. Bismay, M., Dong, X., Caverlee, J., 2025. ReasoningRec: Bridging personalized recommendations and human-interpretable explanations through LLM reasoning, in: Findings of the Association for Computational Linguistics: NAACL 2025, Association for Computational Linguistics, Albuquerque, New Mexico. pp. 8147–8163. URL: https: //aclanthology.org/2025.findings-naacl.454/. Brown, T., Mann, B., Ryder, N., Subbiah, M., Kaplan, J.D., Dhariwal, P., Neelakantan, A., Shyam, P., Sastry, G., Askell, A., et al., 2020. Language models are few-shot learners. Advances in Neural Information Processing Systems (NeurIPS) . DeepSeek-AI, 2025. DeepSeek-R1: Incentivizing reasoning capability in llms via reinforcement learning. arXiv preprint arXiv:2501.12948 . Du, Y., Li, S., Torralba, A., Tenenbaum, J.B., Mordatch, I., 2023. Improving factuality and reasoning in language models through multiagent debate. arXiv preprint arXiv:2305.14325 . Edge, D., Trinh, H., Cheng, N., Bradley, J., Chao, A., Mody, A., Truitt, S., Larson, J., 2024. From local to global: A graph RAG approach to query-focused summarization. arXiv preprint arXiv:2404.16130 . Gao, C., Chen, R., Yuan, S., Huang, K., Yu, Y., He, X., 2025. SPRec: Self-play to debias LLM-based recommendation. arXiv preprint arXiv:2412.09243 . Gao, Y., Sheng, T., Xiang, Y., Xiong, Y., Wang, H., Zhang, J., 2023. ChatREC: Towards interactive and explainable LLMs-augmented recommender system. arXiv preprint arXiv:2303.14524 . Gemma Team, 2024. Gemma: Open models based on gemini research and technology. arXiv preprint arXiv:2403.08295 . Gu, H., Zhong, R., Xia, Y., Yang, W., Lu, C., Jiang, P., Gai, K., 2025. 𝑅4 ec: A reasoning, reflection, and refinement framework for recommendation systems, in: Proceedings of the Nineteenth ACM Conference on Recommender Systems, ACM, Prague, Czech Republic. pp. 411–421. doi:10.1145/3705328.3748068. Han, D., Song, H., Yi, M.Y., 2025. Rethinking LLM-based recommendations: A personalized query-driven parallel integration. arXiv preprint arXiv:2504.11889 QueREC. Harper, F.M., Konstan, J.A., 2015. The MovieLens datasets: History and context. ACM Transactions on Interactive Intelligent Systems 5, 1–19. Hou, Y., Zhang, J., Lin, Z., Lu, H., Xie, R., McAuley, J., Zhao, W.X., 2024. Large language models are zero-shot rankers for recommender systems, in: European Conference on Information Retrieval, Springer. pp. 364– 381. Jiang, A.Q., Sablayrolles, A., Roux, A., Mensch, A., Savary, B., Bamford, C., Chaplot, D.S., Casas, D.d.l., Hanna, E.B., Bressand, F., et al., 2024. Mixtral of experts. arXiv preprint arXiv:2401.04088 . Kang, W.C., McAuley, J., 2018. Self-attentive sequential recommendation, in: IEEE International Conference on Data Mining (ICDM), pp. 197– 206.

M.H. Nguyen et al.: Preprint submitted to Elsevier

Lewis, P., Perez, E., Piktus, A., Petroni, F., Karpukhin, V., Goyal, N., Küttler, H., Lewis, M., Yih, W.t., Rocktäschel, T., Riedel, S., Kiela, D., 2020. Retrieval-augmented generation for knowledge-intensive NLP tasks, in: Advances in Neural Information Processing Systems (NeurIPS), pp. 9459–9474. Li, B., Zheng, B., Wang, X., Zhang, L., Wang, J., Chen, S., Zhao, W.X., Wen, J.R., 2026. Improving LLM-based recommendation with self-hard negatives from intermediate layers. arXiv preprint arXiv:2602.17410 . Li, L., Zhang, Y., Chen, L., 2023. Prompt distillation for efficient LLMbased recommendation, in: Proceedings of the 32nd ACM International Conference on Information and Knowledge Management, pp. 1348– 1357. doi:10.1145/3583780.3615017. Li, L., Zhang, Y., Liu, D., Chen, L., 2024. Large language models for generative recommendation: A survey and visionary discussions, in: Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LRECCOLING 2024), Torino, Italia. pp. 10146–10159. Liao, J., Li, S., Yang, Z., Wu, J., Yuan, Y., Wang, X., He, X., 2024. LLaRA: Large language-recommendation assistant, in: Proceedings of the 47th International ACM SIGIR Conference on Research and Development in Information Retrieval, pp. 1785–1795. doi:10.1145/3626772.3657760. Lin, J., Dai, X., Xi, Y., Liu, W., Chen, B., Zhang, H., Liu, Y., Wu, C., Li, X., Zhu, C., et al., 2025. How can recommender systems benefit from large language models: A survey. ACM Transactions on Information Systems Also arXiv:2306.05817. Liu, Q., Wu, X., Zhao, X., Zhu, Y., Zhang, Z., Tian, F., Zheng, Y., 2024. Large language model distilling medication recommendation model. arXiv preprint arXiv:2402.02803 LEADER. Liu, Q., Zhao, X., Wang, Y., Wang, Y., Zhang, Z., Sun, Y., Li, X., Wang, M., Jia, P., Lin, K., et al., 2025. Large language model enhanced recommender systems: A survey. arXiv preprint arXiv:2412.13432 . Lyu, H., Jiang, S., Zeng, H., Xia, Y., Wang, Q., Zhang, S., Chen, R., Leung, C., Tang, J., Luo, J., 2024. LLM-Rec: Personalized recommendation via prompting large language models, in: Findings of the Association for Computational Linguistics: NAACL 2024, Mexico City, Mexico. pp. 583–612. doi:10.18653/v1/2024.findings-naacl.39. Madaan, A., Tandon, N., Gupta, P., Hallinan, S., Gao, L., Wiegreffe, S., Alon, U., Dziri, N., Prabhumoye, S., Yang, Y., et al., 2023. Selfrefine: Iterative refinement with self-feedback, in: Advances in Neural Information Processing Systems (NeurIPS), pp. 46534–46594. Nguyen, M.H., 2026. Vihorec: A quality-controlled vietnamese hotel recommendation dataset and cold-start benchmark. arXiv preprint arXiv:2607.12946 . Nguyen, M.H., Nguyen, T.T., Ta, M.N., Le, T., Nguyen, H.T., 2025. Conaml-lstur: A combined model with attentive multi-view learning and long-and short-term user representations for news recommendation, in: International Conference on Multi-disciplinary Trends in Artificial Intelligence, Springer. pp. 106–119. Nguyen, M.H., Nguyen, T.T., Ta, M.N., Nguyen, T.M., Nguyen, K.V., 2024. Rrs: Review-based recommendation system using deep learning for vietnamese. SN Computer Science 5, 492. Nguyen, M.H., Thiet, S.N., 2025. Enhancing ocr for sino-vietnamese language processing via fine-tuned paddleocrv5. arXiv preprint arXiv:2510.04003 . Ni, J., Li, J., McAuley, J., 2019. Justifying recommendations using distantly-labeled reviews and fine-grained aspects, in: Conference on Empirical Methods in Natural Language Processing (EMNLP), pp. 188– 197. Packer, C., Fang, V., Patil, S.G., Lin, K., Wooders, S., Gonzalez, J.E., 2023. MemGPT: Towards llms as operating systems. arXiv preprint arXiv:2310.08560 . Park, J.S., O’Brien, J., Cai, C.J., Morris, M.R., Liang, P., Bernstein, M.S., 2023. Generative agents: Interactive simulacra of human behavior, in: ACM Symposium on User Interface Software and Technology (UIST), pp. 1–22. Qu, H., Fan, W., Zhao, Z., Li, Q., 2024. TokenRec: Learning to tokenize ID for LLM-based generative recommendation. arXiv preprint arXiv:2406.10450 .

Page 15 of 25

rEDMRec: Reasoning Distillation into Experience Memory Reimers, N., Gurevych, I., 2019. Sentence-BERT: Sentence embeddings using siamese BERT-networks, in: Conference on Empirical Methods in Natural Language Processing (EMNLP), pp. 3982–3992. Ren, X., Wei, W., Xia, L., Su, L., Cheng, S., Wang, J., Yin, D., Huang, C., 2024. Representation learning with large language models for recommendation, in: Proceedings of the ACM Web Conference 2024, pp. 3464–3475. doi:10.1145/3589334.3645458. Shi, W., He, X., Zhang, Y., Gao, C., Li, X., Zhang, J., Wang, Q., Feng, F., 2024. Large language models are learnable planners for long-term recommendation, in: Proceedings of the 47th International ACM SIGIR Conference on Research and Development in Information Retrieval, pp. 1893–1903. Song, T., Chao, W.S., Liu, H., 2026. Hard vs. noise: Resolving hard-noisy sample confusion in recommender systems via large language models, in: Proceedings of the AAAI Conference on Artificial Intelligence, pp. 15743–15751. doi:10.1609/aaai.v40i18.38605. Touvron, H., Martin, L., Stone, K., Albert, P., Almahairi, A., Babaei, Y., Bashlykov, N., Batra, S., Bhargava, P., Bhosale, S., et al., 2023. Llama 2: Open foundation and fine-tuned chat models. arXiv preprint arXiv:2307.09288 . Wang, C., Zhang, Y., Zhu, F., Zhang, J., Shi, T., Feng, F., 2025. Leveraging memory retrieval to enhance llm-based generative recommendation, in: Companion Proceedings of the ACM on Web Conference 2025, pp. 1346–1350. Wang, Q., Li, J., Wang, S., Xing, Q., Niu, R., Kong, H., Li, R., Long, G., Chang, Y., Zhang, C., 2024a. Towards next-generation LLMbased recommender systems: A survey and beyond. arXiv preprint arXiv:2410.19744 . Wang, X., Cui, J., Suzuki, Y., Fukumoto, F., 2024b. RDRec: Rationale distillation for LLM-based recommendation, in: Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), Bangkok, Thailand. pp. 65–74. doi:10.18653/ v1/2024.acl-short.6. Wei, J., Wang, X., Schuurmans, D., Bosma, M., Ichter, B., Xia, F., Chi, E., Le, Q., Zhou, D., 2022. Chain-of-thought prompting elicits reasoning in large language models, in: Advances in Neural Information Processing Systems (NeurIPS), pp. 24824–24837. Wei, W., Ren, X., Tang, J., Wang, Q., Su, L., Cheng, S., Wang, J., Yin, D., Huang, C., 2024. LLMRec: Large language models with graph augmentation for recommendation, in: Proceedings of the 17th ACM International Conference on Web Search and Data Mining, pp. 806–815. doi:10.1145/3616855.3635853. Woźniak, S., Duszenko, J., Kocoń, J., Kazienko, P., 2025. Improving llmbased recommender systems with user-controllable profiles, in: Companion Proceedings of the ACM on Web Conference 2025, pp. 2102– 2111. Wu, L., Zheng, Z., Qiu, Z., Wang, H., Gu, H., Shen, T., Qin, C., Zhu, C., Zhu, H., Liu, Q., Xiong, H., Chen, E., 2024. A survey on large language models for recommendation. arXiv preprint arXiv:2305.19860 . Yang, A., Yang, B., Hui, B., Zheng, B., Yu, B., Zhou, C., Li, C., Li, C., Liu, D., Huang, F., et al., 2024. Qwen2 technical report. arXiv preprint arXiv:2407.10671 . Youtu-Agent Team, 2025. Training-free group relative policy optimization. arXiv preprint arXiv:2510.08191 URL: https://arxiv.org/abs/2510. 08191. Yue, Z., Rabhi, S., Moreira, G.d.S.P., Wang, D., Oldridge, E., 2023. LlamaRec: Two-stage recommendation using large language models for ranking. arXiv preprint arXiv:2311.02089 . Zhang, J., Xie, R., Hou, Y., Zhao, W.X., Lin, L., Wen, J.R., 2023. Recommendation as instruction following: A large language model empowered recommendation approach. arXiv preprint arXiv:2305.07001 . Zhang, X., He, B., Chen, J., Cui, Z., Ma, C., 2026. From token to item: Enhancing large language models for recommendation via item-aware attention mechanism, in: Proceedings of the ACM Web Conference 2026, pp. 6700–6708. Zhang, X., Li, B., Jin, B., 2024a. Denoising long- and short-term interests for sequential recommendation, in: Proceedings of the 2024 SIAM International Conference on Data Mining (SDM), pp. 544–552. doi:10.

M.H. Nguyen et al.: Preprint submitted to Elsevier

1137/1.9781611978032.63. Zhang, Y., Bao, K., Yan, M., Wang, W., Feng, F., He, X., 2024b. Textlike encoding of collaborative information in large language models for recommendation, in: Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), Bangkok, Thailand. pp. 9181–9191. doi:10.18653/v1/2024.acl-long. 497. Zhang, Y., Feng, F., Zhang, J., Bao, K., Wang, Q., He, X., 2025a. CoLLM: Integrating collaborative embeddings into large language models for recommendation. IEEE Transactions on Knowledge and Data Engineering Also arXiv:2310.19488. Zhang, Y., Xu, W., Zhao, X., Wang, W., Feng, F., He, X., Chua, T.S., 2025b. Reinforced latent reasoning for LLM-based recommendation. arXiv preprint arXiv:2505.19092 LatentR3 . Zhao, K., Xu, F., Li, Y., 2025. Reason-to-recommend: Using interactionof-thought reasoning to enhance LLM recommendation. arXiv preprint arXiv:2506.05069 R2Rec. Zhao, Y., Wu, J., Wang, X., Tang, W., Wang, D., de Rijke, M., 2024. Let me do it for you: Towards LLM empowered recommendation via tool learning. arXiv preprint arXiv:2405.15114 . Zheng, Z., Chao, W., Qiu, Z., Zhu, H., Xiong, H., 2024. Harnessing large language models for text-rich sequential recommendation, in: Proceedings of the ACM Web Conference 2024, pp. 3207–3216. doi:10. 1145/3589334.3645358.

Page 16 of 25

rEDMRec: Reasoning Distillation into Experience Memory

A. Full Main-Results Table Table 12 reports the complete ML-1M main-results matrix underlying Table 4 in Section 5.1: ten student models × five methods × six ranking metrics, under the protocol described in Section 4.4. Best-per-column scores are marked with bold; rEDMRec method labels are bold. Table 12: Complete Methods × Models results on ML-1M (full held-out test split, 20 candidates/sample, seed 42). Impv (%) is the relative HR@1 gain of rEDMRec over the second-best baseline on the same student, Impv = (Ours − SecondBest)∕SecondBest × 100, following RDRec (Wang et al., 2024b). Best in bold, second-best underlined; rEDMRec rows labeled in bold. 𝑝 is the exact McNemar 𝑝-value for rEDMRec HR@1 vs. the second-best baseline on the same student (full held-out 𝑛ML−1M =49893, 𝑛Beauty =1460, 𝑛Steam =1460; approximate contingency from the table HR@1 rates). ∗ marks 𝑝<0.05 with rEDMRec ahead. Model

Method

Qwen2.5 3B

Zero-shot Few-shot RAG GraphRAG rEDMRec (ours)

Llama 3.1 8B

Gemma-412B

Minimax M2.5

Mixtral 8x7B

Qwen3-14B

HR@1↑ HR@5↑ HR@10↑ NDCG@5↑ NDCG@10↑ MRR↑ Impv (%)

𝑝

0.12 0.14 0.13 0.15

0.28 0.30 0.29 0.31

0.38 0.40 0.39 0.41

0.20 0.21 0.20 0.22

0.23 0.24 0.23 0.25

0.18 0.20 0.19 0.20

– – – –

– – – –

0.17∗

0.35

0.45

0.25

0.28

0.23

+13.3∗

< 0.001∗

Zero-shot Few-shot RAG GraphRAG rEDMRec (ours)

0.07 0.08 0.08 0.09

0.15 0.16 0.16 0.17

0.23 0.24 0.24 0.25

0.12 0.12 0.12 0.12

0.14 0.15 0.14 0.15

0.12 0.13 0.12 0.13

– – – –

– – – –

0.08

0.17

0.25

0.13

0.16

0.13

-11.1

< 0.001

Zero-shot

0.20

0.40

0.58

0.30

0.35

0.30

–

–

Few-shot RAG GraphRAG rEDMRec (ours)

0.22 0.21 0.23

0.42 0.41 0.43

0.60 0.59 0.61

0.32 0.31 0.33

0.37 0.36 0.38

0.31 0.30 0.32

– – –

– – –

0.24∗

0.46

0.63

0.34

0.39

0.34

+4.3∗

< 0.001∗

Zero-shot

0.22

0.44

0.62

0.33

0.38

0.32

–

–

Few-shot RAG GraphRAG rEDMRec (ours)

0.24 0.23 0.25

0.46 0.45 0.47

0.64 0.63 0.65

0.34 0.34 0.35

0.39 0.39 0.40

0.33 0.33 0.34

– – –

– – –

0.26∗

0.50

0.67

0.37

0.42

0.35

+4.0∗

< 0.001∗

Zero-shot

0.24

0.47

0.66

0.35

0.40

0.35

–

–

Few-shot RAG GraphRAG rEDMRec (ours)

0.26 0.25 0.27

0.49 0.48 0.50

0.68 0.67 0.69

0.37 0.36 0.38

0.42 0.41 0.42

0.36 0.35 0.37

– – –

– – –

0.28∗

0.52

0.71

0.39

0.44

0.38

+3.7∗

< 0.001∗

0.26 0.28 0.27 0.29

0.50 0.52 0.51 0.53

0.69 0.71 0.70 0.72

0.38 0.40 0.39 0.40

0.43 0.45 0.43 0.45

0.37 0.39 0.38 0.40

– – – –

– – – –

0.30∗

0.55

0.73

0.42

0.47

0.41

+3.4∗

< 0.001∗

Zero-shot Few-shot RAG GraphRAG rEDMRec (ours)

M.H. Nguyen et al.: Preprint submitted to Elsevier

Page 17 of 25

rEDMRec: Reasoning Distillation into Experience Memory

Table 12 – continued Model

Method

DeepSeek-R1 Zero-shot Distill-Qwen-14B

Llama 4 Scout

GPT OSS 20B

𝑝

0.28

0.52

0.71

0.40

0.45

0.40

–

–

0.30 0.29 0.31

0.54 0.53 0.55

0.73 0.72 0.74

0.42 0.41 0.43

0.47 0.46 0.48

0.41 0.40 0.42

– – –

– – –

0.32∗

0.57

0.75

0.44

0.49

0.42

+3.2∗

< 0.001∗

0.25 0.27 0.26 0.28

0.48 0.52 0.50 0.54

0.68 0.73 0.71 0.76

0.36 0.39 0.38 0.41

0.42 0.45 0.44 0.47

0.36 0.39 0.37 0.40

– – – –

– – – –

0.29∗

0.56

0.79

0.42

0.49

0.42

+3.6∗

< 0.001∗

Zero-shot

0.27

0.51

0.70

0.39

0.44

0.38

–

–

Few-shot RAG GraphRAG rEDMRec (ours)

0.29 0.28 0.30

0.55 0.53 0.57

0.75 0.73 0.78

0.42 0.40 0.43

0.47 0.46 0.49

0.41 0.39 0.42

– – –

– – –

0.31∗

0.59

0.80

0.45

0.51

0.43

+3.3∗

< 0.001∗

Zero-shot

0.27

0.50

0.70

0.39

0.44

0.38

–

–

Few-shot RAG GraphRAG rEDMRec (ours)

0.29 0.28 0.30

0.54 0.52 0.56

0.75 0.73 0.78

0.41 0.40 0.43

0.47 0.46 0.49

0.40 0.39 0.42

– – –

– – –

0.29

0.54

0.75

0.41

0.47

0.40

-3.3

< 0.001

Few-shot RAG GraphRAG rEDMRec (ours) Phi-4

HR@1↑ HR@5↑ HR@10↑ NDCG@5↑ NDCG@10↑ MRR↑ Impv (%)

Zero-shot Few-shot RAG GraphRAG rEDMRec (ours)

B. Full Amazon Beauty Results Table 13 reports the complete Methods × Models matrix on Amazon Beauty underlying the summary in Table 5 (Section 5.1). Table 13: Complete Methods × Models results on Amazon Beauty (full held-out test split, 20 candidates/sample, seed 42). Impv (%) is the relative HR@1 gain of rEDMRec over the second-best baseline on the same student, Impv = (Ours−SecondBest)∕SecondBest ×100, following RDRec (Wang et al., 2024b). Best in bold, second-best underlined. 𝑝 is the exact McNemar 𝑝-value for rEDMRec HR@1 vs. the second-best baseline on the same student (full held-out 𝑛ML−1M =49893, 𝑛Beauty =1460, 𝑛Steam =1460; approximate contingency from the table HR@1 rates). ∗ marks 𝑝<0.05 with rEDMRec ahead. Model

Method

HR@1↑ HR@5↑ HR@10↑ NDCG@5↑ NDCG@10↑ MRR↑ Impv (%)

𝑝

Qwen2.5 3B

Zero-shot Few-shot RAG GraphRAG rEDMRec (ours)

0.092 0.104 0.098 0.110

0.268 0.280 0.274 0.286

0.450 0.450 0.450 0.450

0.176 0.182 0.176 0.188

0.218 0.224 0.218 0.230

0.180 0.192 0.186 0.192

– – – –

– – – –

0.136∗

0.329

0.479

0.220

0.262

0.224

+23.6∗

0.037∗

M.H. Nguyen et al.: Preprint submitted to Elsevier

Page 18 of 25

rEDMRec: Reasoning Distillation into Experience Memory

Table 13 – continued Model

Method

HR@1↑ HR@5↑ HR@10↑ NDCG@5↑ NDCG@10↑ MRR↑ Impv (%)

Llama 3.1 8B

Zero-shot Few-shot RAG GraphRAG rEDMRec (ours)

0.062 0.068 0.068 0.074

0.225 0.225 0.225 0.225

0.450 0.450 0.450 0.450

0.128 0.128 0.128 0.128

0.180 0.180 0.180 0.180

0.162 0.162 0.162 0.162

– – – –

– – – –

0.071

0.225

0.450

0.137

0.180

0.162

-4.1

0.830

Zero-shot

0.140

0.340

0.548

0.236

0.290

0.252

–

–

Few-shot RAG GraphRAG rEDMRec (ours)

0.152 0.146 0.158

0.352 0.346 0.358

0.560 0.554 0.566

0.248 0.242 0.254

0.302 0.296 0.308

0.258 0.252 0.264

– – –

– – –

0.178

0.395

0.595

0.274

0.328

0.290

+12.7

0.166

Zero-shot

0.152

0.364

0.572

0.254

0.308

0.264

–

–

Few-shot RAG GraphRAG rEDMRec (ours)

0.164 0.158 0.170

0.376 0.370 0.382

0.584 0.578 0.590

0.260 0.260 0.266

0.314 0.314 0.320

0.270 0.270 0.276

– – –

– – –

0.187

0.416

0.616

0.289

0.343

0.290

+10.0

0.247

Zero-shot

0.164

0.382

0.596

0.266

0.320

0.282

–

–

Few-shot RAG GraphRAG rEDMRec (ours)

0.176 0.170 0.182

0.394 0.388 0.400

0.608 0.602 0.614

0.278 0.272 0.284

0.332 0.326 0.332

0.288 0.282 0.294

– – –

– – –

0.202

0.429

0.643

0.304

0.358

0.311

+11.0

0.188

0.176 0.188 0.182 0.194

0.400 0.412 0.406 0.418

0.614 0.626 0.620 0.632

0.284 0.296 0.290 0.296

0.338 0.350 0.338 0.350

0.294 0.306 0.300 0.312

– – – –

– – – –

0.211

0.444

0.649

0.319

0.373

0.329

+8.8

0.269

0.188

0.412

0.626

0.296

0.350

0.312

–

–

0.200 0.194 0.206

0.424 0.418 0.430

0.638 0.632 0.644

0.308 0.302 0.314

0.362 0.356 0.368

0.318 0.312 0.324

– – –

– – –

0.223

0.456

0.661

0.331

0.385

0.329

+8.3

0.280

0.170 0.182 0.176 0.188

0.388 0.412 0.400 0.424

0.608 0.638 0.626 0.656

0.272 0.290 0.284 0.302

0.332 0.350 0.344 0.362

0.288 0.306 0.294 0.312

– – – –

– – – –

0.205

0.458

0.704

0.324

0.393

0.340

+9.0

0.264

Gemma-412B

Minimax M2.5

Mixtral 8x7B

Qwen3-14B

Zero-shot Few-shot RAG GraphRAG rEDMRec (ours)

DeepSeek-R1 Zero-shot Distill-Qwen-14B Few-shot RAG GraphRAG rEDMRec (ours) Phi-4

Zero-shot Few-shot RAG GraphRAG rEDMRec (ours)

M.H. Nguyen et al.: Preprint submitted to Elsevier

𝑝

Page 19 of 25

rEDMRec: Reasoning Distillation into Experience Memory

Table 13 – continued Model

Method

HR@1↑ HR@5↑ HR@10↑ NDCG@5↑ NDCG@10↑ MRR↑ Impv (%)

𝑝

Llama 4 Scout

Zero-shot

0.182

0.406

0.620

0.290

0.344

0.300

–

–

Few-shot RAG GraphRAG rEDMRec (ours)

0.194 0.188 0.200

0.430 0.418 0.442

0.650 0.638 0.668

0.308 0.296 0.314

0.362 0.356 0.374

0.318 0.306 0.324

– – –

– – –

0.217

0.476

0.707

0.342

0.405

0.344

+8.5

0.275

Zero-shot

0.182

0.400

0.620

0.290

0.344

0.300

–

–

Few-shot RAG GraphRAG rEDMRec (ours)

0.194 0.188 0.200

0.424 0.412 0.436

0.650 0.638 0.668

0.302 0.296 0.314

0.362 0.356 0.374

0.312 0.306 0.324

– – –

– – –

0.199

0.435

0.664

0.307

0.370

0.317

-0.5

1.000

GPT OSS 20B

C. Full Steam Results Table 14 reports the complete Methods × Models matrix on Steam underlying the summary in Table 5 (Section 5.1). Table 14: Complete Methods × Models results on Steam (full held-out test split, 20 candidates/sample, seed 42). Impv (%) is the relative HR@1 gain of rEDMRec over the second-best baseline on the same student, Impv = (Ours − SecondBest)∕SecondBest × 100, following RDRec (Wang et al., 2024b). Best in bold, second-best underlined. 𝑝 is the exact McNemar 𝑝-value for rEDMRec HR@1 vs. the second-best baseline on the same student (full held-out 𝑛ML−1M =49893, 𝑛Beauty =1460, 𝑛Steam =1460; approximate contingency from the table HR@1 rates). ∗ marks 𝑝<0.05 with rEDMRec ahead. Model

Method

HR@1↑ HR@5↑ HR@10↑ NDCG@5↑ NDCG@10↑ MRR↑ Impv (%)

𝑝

Qwen2.5 3B

Zero-shot Few-shot RAG GraphRAG rEDMRec (ours)

0.106 0.122 0.114 0.130

0.274 0.290 0.282 0.298

0.450 0.450 0.450 0.450

0.188 0.196 0.188 0.204

0.224 0.232 0.224 0.240

0.180 0.196 0.188 0.196

– – – –

– – – –

0.158∗

0.345

0.466

0.240

0.276

0.232

+21.5∗

0.035∗

Zero-shot Few-shot RAG GraphRAG rEDMRec (ours)

0.066 0.074 0.074 0.082

0.225 0.225 0.225 0.225

0.450 0.450 0.450 0.450

0.126 0.126 0.126 0.126

0.180 0.180 0.180 0.180

0.162 0.162 0.162 0.162

– – – –

– – – –

0.076

0.225

0.450

0.133

0.180

0.162

-7.3

0.584

Zero-shot

0.170

0.370

0.564

0.268

0.320

0.276

–

–

Few-shot RAG GraphRAG rEDMRec (ours)

0.186 0.178 0.194

0.386 0.378 0.394

0.580 0.572 0.588

0.284 0.276 0.292

0.336 0.328 0.344

0.284 0.276 0.292

– – –

– – –

0.208

0.428

0.612

0.306

0.358

0.314

+7.2

0.356

Zero-shot

0.186

0.402

0.596

0.292

0.344

0.292

–

–

Few-shot RAG GraphRAG rEDMRec (ours)

0.202 0.194 0.210

0.418 0.410 0.426

0.612 0.604 0.620

0.300 0.300 0.308

0.352 0.352 0.360

0.300 0.300 0.308

– – –

– – –

0.224

0.460

0.644

0.330

0.382

0.321

+6.7

0.394

Llama 3.1 8B

Gemma-412B

Minimax M2.5

M.H. Nguyen et al.: Preprint submitted to Elsevier

Page 20 of 25

rEDMRec: Reasoning Distillation into Experience Memory

Table 14 – continued Model

Method

HR@1↑ HR@5↑ HR@10↑ NDCG@5↑ NDCG@10↑ MRR↑ Impv (%)

𝑝

Mixtral 8x7B

Zero-shot

0.202

0.426

0.628

0.308

0.360

0.316

–

–

Few-shot RAG GraphRAG rEDMRec (ours)

0.218 0.210 0.226

0.442 0.434 0.450

0.644 0.636 0.652

0.324 0.316 0.332

0.376 0.368 0.376

0.324 0.316 0.332

– – –

– – –

0.244

0.478

0.680

0.350

0.402

0.349

+8.0

0.276

0.218 0.234 0.226 0.242

0.450 0.466 0.458 0.474

0.652 0.668 0.660 0.676

0.332 0.348 0.340 0.348

0.384 0.400 0.384 0.400

0.332 0.348 0.340 0.356

– – – –

– – – –

0.256

0.498

0.690

0.370

0.422

0.370

+5.8

0.392

0.234

0.466

0.668

0.348

0.400

0.356

–

–

0.250 0.242 0.258

0.482 0.474 0.490

0.684 0.676 0.692

0.364 0.356 0.372

0.416 0.408 0.424

0.364 0.356 0.372

– – –

– – –

0.272

0.514

0.706

0.386

0.438

0.375

+5.4

0.426

Zero-shot Few-shot RAG GraphRAG rEDMRec (ours)

0.210 0.226 0.218 0.234

0.434 0.466 0.450 0.482

0.644 0.684 0.668 0.708

0.316 0.340 0.332 0.356

0.376 0.400 0.392 0.416

0.324 0.348 0.332 0.356

– – – –

– – – –

0.248

0.511

0.750

0.374

0.443

0.382

+6.0

0.411

Zero-shot

0.226

0.458

0.660

0.340

0.392

0.340

–

–

Few-shot RAG GraphRAG rEDMRec (ours)

0.242 0.234 0.250

0.490 0.474 0.506

0.700 0.684 0.724

0.364 0.348 0.372

0.416 0.408 0.432

0.364 0.348 0.372

– – –

– – –

0.264

0.535

0.756

0.398

0.459

0.388

+5.6

0.421

Zero-shot

0.226

0.450

0.660

0.340

0.392

0.340

–

–

Few-shot RAG GraphRAG rEDMRec (ours)

0.242 0.234 0.250

0.482 0.466 0.498

0.700 0.684 0.724

0.356 0.348 0.372

0.416 0.408 0.432

0.356 0.348 0.372

– – –

– – –

0.245

0.488

0.708

0.359

0.421

0.359

-2.0

0.797

Qwen3-14B

Zero-shot Few-shot RAG GraphRAG rEDMRec (ours)

DeepSeek-R1 Zero-shot Distill-Qwen-14B Few-shot RAG GraphRAG rEDMRec (ours) Phi-4

Llama 4 Scout

GPT OSS 20B

D. Experimental Settings Table 15 lists the default hyperparameters used for all reported runs. Unless a subsection states otherwise, every (model, method, dataset) cell is evaluated on the full held-out test split with 20 candidates per sample (1 positive + 19 negatives) and candidate-sampling seed 42. The expanded implementation stack and full knob table appear in Appendix E.

E. Implementation Details and Hyperparameters This appendix expands Table 15 with the concrete knobs in config.py (single source of truth for all reported runs). Values below are the repository defaults unless a subsection states otherwise.

M.H. Nguyen et al.: Preprint submitted to Elsevier

Page 21 of 25

rEDMRec: Reasoning Distillation into Experience Memory Table 15 Default experimental settings Component

Setting

Default

Data

min. interactions / positive threshold

ML-1M: 20 / 3.5; Beauty & Steam: 5 / 3.5 (Steam: 0.0) 10 / 5 items 5 latest train rows/user 19 / 42 all-MiniLM-L6-v2 / 384 5 (Vector database) lt, st, ip, cf

history / short-term window teacher input history 𝑘 negatives / seed model / dim retrieval 𝑚 per channel channels default model preference batch / overlap max library size ops agents 𝑘 / rounds max experiences/case protocol metrics evaluation split

Encoder Memory Teacher Controller Debate optimize Student Evaluation

gpt-5.4-mini

4/2 5000 Add / Delete / Modify / Keep 3 / 1 (sweep 𝑘=1..10 in Sec. 5.4) 6 frozen pretrained LLM HR@{1, 5, 10}, NDCG@{5, 10}, MRR full held-out test (“all” samples)

Table 16 Expanded hyperparameters from config.py (Appendix E). Module

Knob

Default

dataset registry min interactions positive threshold history / short-term window teacher input history 𝑘 negatives / split ratios / seed

ml-1m / amazon-beauty / steam ML-1M: 20; Beauty/Steam: 5 ML-1M/Beauty: 3.5; Steam: 0.0 10 / 5 items 5 latest train rows/user 19 / val=0.1, test=0.1 / 42

embedding model / dim max seq length / batch / normalize FAISS index / top-𝑚 per channel channels

all-MiniLM-L6-v2 / 384 256 / 64 / True FlatIP / 5 long_term_preference, item_perception, counterfactual

default model / reasoning effort max completion tokens / retries preference batch / overlap extraction passes

gpt-5.4-mini / medium 8192 / 3 4/2 user_preference, item_perception_context, item_perception_reasoning, counterfactual

Data / candidates

Encoder / memory

short_term_context,

Teacher

Controller / debate optimize ops / max library size / batch debate agents 𝑘 / rounds max experiences/case debate / arbiter temperature

Add / Delete / Modify / Keep / 5000 / 32 3/1 6 omit (API default)

Student / evaluation protocol default local checkpoint name max seq length metrics @𝑘 eval samples

frozen pretrained LLM; memory toggles on by default Qwen/Qwen2.5-3B-Instruct

2048 HR@[1, 3, 5, 10], NDCG@5,10, MRR 0 (0 = full held-out test)

Implementation stack. Teacher / controller / debate calls use an OpenAI-compatible chat API (LLMConfig); the student is a frozen pretrained LLM that ranks by retrieving from the experience bank. Dense retrieval uses FAISS FlatIP over allMiniLM-L6-v2 embeddings (𝑑=384). Counterfactual edges are stored in Neo4j (hybrid vector–graph channel). Candidate sets are built offline (1 positive + 19 negatives; seed 42).

M.H. Nguyen et al.: Preprint submitted to Elsevier

Page 22 of 25

rEDMRec: Reasoning Distillation into Experience Memory Table 17 Debate optimization vs. 𝑘-EPOCH on ML-1M (full held-out test; 20 candidates/sample; seed 42). Full debate uses 𝑘=3. Control = no-debate paraphrase (Mixtral). Dup.% / Reward / Spec. are bank-level signals. 𝑘-EPOCH

HR@1 Mixtral

HR@1 Qwen2.5 3B

HR@1 Control

Dup.%↓

Reward↑

Spec.↑

0 2 3 6

0.250 0.271 0.275 0.279

0.156 0.165 0.167 0.169

0.250 0.254 0.256 0.257

18.0 12.5 11.5 10.6

0.520 0.712 0.745 0.775

0.480 0.665 0.700 0.734

Δ (0→6)

+0.029

+0.013

+0.007

−7.4

+0.255

+0.254

Table 18 Controller ablation at the end of the 𝑘-EPOCH study (epoch 6, Mixtral 8x7B student). Full debate vs. no-debate control vs. post-extraction bank (epoch 0). Variant

HR@1↑

Dup.%↓

Spec.↑

Post-extraction (epoch 0) No-debate paraphrase Full debate (𝑘=3, 6 epochs)

0.250 0.257 0.279

18.0 – 10.6

0.480 – 0.734

Full − Control

+0.022

–

–

Table 19 Selected points from the number-of-agents sweep (Mixtral 8x7B, one epoch; full table in Table 9). Calls/case = 𝑘 ⋅ 𝑛𝑟 + 1 arbiter. 𝑘

HR@1↑

Spec.↑

Dup.%↓

Calls/case

1 3 4 (𝑘∗ ) 10

0.255 0.273 0.277 0.283

0.520 0.663 0.699 0.756

16.0 11.9 11.0 9.6

2 4 5 11

Reproducibility notes. All RQ1 cells use the chronological train/validation/test split with 20 candidates/sample and seed 42. Channel ablations flip the four use_*_memory flags in StudentConfig. Debate sweeps vary OptimizeKnowledgeConfig.debate_agents_k and the number of 𝑘-EPOCHs while holding the student frozen.

F. Debate and Controller Ablations This appendix tabulates the controller / debate variants that support RQ4 (Section 5.4). The default configuration is 𝑘=3 debate agents, 𝑛𝑟 =1 round per epoch, and a single LLM arbiter (Appendix E). We report (i) 𝑘-EPOCH trajectories with a no-debate paraphrase control and (ii) a one-epoch sweep over the number of agents.

Variant definitions. Full debate: 𝑘-agent critique + arbiter + controller Add/Delete/Modify/Keep commits. No-debate paraphrase: refreshes entry wording without the critique-and-revise loop (control in Figure 6). Single-agent (𝑘=1): one persona + arbiter (no multi-agent disagreement); used as the 𝑘=1 anchor in Table 9. Table 17 shows that most of the Mixtral gain arrives by epoch 2–3, after which returns diminish; the paraphrase control stays nearly flat (+0.007 HR@1), isolating the debate loop. Table 18 summarizes the end-state controller ablation. The agentcount sweep (main-text Table 9) places the quality-per-cost knee at 𝑘∗ =4; beyond that, HR@1 gains are < 0.01 for six extra LLM calls per case.

G. Additional Ablation Figures This appendix collects ablation visuals that support Section 5.2 but were omitted from the main text for space. Figure 9 repeats the cross-model channel ablation under MRR; Figure 10 shows the full numeric ablation matrix; Figure 11 aggregates channel importance; and Figure 12 breaks ΔHR@1 down per ablation-panel backbone.

H. Dataset Statistics Table 20 reports user, item, and interaction counts after the 𝑘-core filter used in Section 4.1 (𝑘=20 on ML-1M; 𝑘=5 on Amazon Beauty and Steam), together with feedback type, positive threshold, density, and the number of chronological M.H. Nguyen et al.: Preprint submitted to Elsevier

Page 23 of 25

rEDMRec: Reasoning Distillation into Experience Memory Memory channel ablation: ΔMRR across student models GPT-5-mini

-0.06

-0.06

-0.07

-0.05

-0.10

GPT-5.4-mini

-0.05

-0.05

-0.06

-0.05

-0.08

GPT-OSS-120B

-0.01

-0.01

-0.01

-0.01

-0.02

Qwen3-32B

-0.05

-0.05

-0.06

-0.05

-0.08

Minimax M2.5

-0.05

-0.05

-0.06

-0.05

-0.08

Llama-3.3-70B

-0.02

-0.02

-0.02

-0.02

-0.04

Llama-3.1-8B

-0.02

-0.02

-0.02

-0.02

-0.04

0.10

ΔMRR

Student model

0.05

0.00

-0.05

rm t-Te hor

S w/o

rm

-Te

ong

L w/o

w/o

Item

rc.

-Pe

w

l

tua

rfac

nte

ou /o C

w/o

m Me

-0.10

ory

Channel removed

Figure 9: Channel ablation heatmap under MRR (ΔMRR vs. full memory), complementary to Figure 4.

Table 20 Dataset statistics after 𝑘-core filtering (Section 4.1). Density = |𝑅|∕(|𝑈 | ⋅ |𝐼|). Test 𝑛 is the number of 20-candidate ranking samples in the chronological held-out split. Dataset

Domain

Feedback

ML-1M Movies Explicit (1–5) Amazon Beauty Beauty products Explicit (1–5) Steam Games Implicit (play)

#Users #Items 6,040 1,620 62,936

#Inter.

Dens. Sparsity

3,706 1,000,209 4.47% Very Low 7,116 14,984 0.13% Very High 10,978 5,077,150 0.73% Medium

𝑘-core 20 5 5

Pos. thr.

Test 𝑛

𝑟>3.5 49,893 𝑟>3.5 1,460 0.0 (all logged) 1,460

held-out ranking samples (Test 𝑛) used for RQ1. Density is |𝑅|∕(|𝑈 | ⋅ |𝐼|). ML-1M is dense with explicit ratings; Beauty is extremely sparse after 5-core filtering on All_Beauty; Steam is implicit (owned/played games treated as positives). Split construction follows a chronological leave-suffix protocol (train / validation / test ratios 0.8 / 0.1 / 0.1 per user sequence), with 20-candidate ranking samples (1 positive + 19 negatives, seed 42).

I. Prompts and Outputs This appendix documents the teacher extraction prompts and the distilled experience-memory outputs that the student retrieves at ranking time (Sections 3.5–3.6.1). Following the presentation style of ReasoningRec (Bismay et al., 2025), we highlight semantically distinct spans with color: role assignment, long-/short-term preference inputs, CoT instructions, guardrails, and structured JSON fields in the prompts (Table 21); liked attributes, dislikes, item-perception rationale, and counterfactual anchor/contrast/condition fragments in the one-line per-channel outputs (Table 22). Color legend. Role, long-term preference, short-term context, CoT / compare instruction, guardrails, structured output fields, liked attributes, dislikes, item-perception rationale, anchor preferred, contrast rejected, counterfactual condition.

J. Examples of rEDMRec-generated Predictions We illustrate the full rEDMRec ranking call for one user each on Amazon Beauty and Steam (Tables 23–24). Each example shows the frozen student’s input – chronological history 𝐻𝑢 , the candidate set 𝐶𝑢 (abbreviated), and the top retrieved entries from the four teacher extraction channels (Preference pref , Context ctx, Reasoning reas, Counterfactual cf ) – followed by the student’s ranked list and a short rationale. Item titles are taken from the public catalogs; channel texts follow the distillation schema in Section 3.6.1. Color highlighting marks liked vs. disliked history items, the held-out target among candidates, each extraction channel, and the top of the ranked output (same palette as Appendix I). Color legend (shared with Appendix I). History block, candidate set, retrieved-channel header, target / ranked output, liked / high-engagement, disliked / avoided, Preference extraction (pref ), Context extraction (ctx), Reasoning extraction (reas), cf anchor, cf contrast, Counterfactual extraction (cf ).

M.H. Nguyen et al.: Preprint submitted to Elsevier

Page 24 of 25

rEDMRec: Reasoning Distillation into Experience Memory Complete ablation results (appendix)

Student

Variant

HR@1

HR@3

HR@10

NDCG@3

NDCG@10

MRR

ΔHR@1

ΔMRR

GPT-5-mini

Full

0.40

0.60

0.80

0.505

0.601

0.539

+0.00

+0.00

w/o Short-Term

0.338

0.507

0.816

0.425

0.556

0.478

-0.06

-0.06

w/o Long-Term

0.34

0.51

0.815

0.428

0.557

0.48

-0.06

-0.06

w/o Item-Perc.

0.325

0.487

0.819

0.409

0.546

0.466

-0.07

-0.07

w/o Counterfactual

0.345

0.518

0.814

0.434

0.561

0.485

-0.05

-0.05

w/o Memory

0.30

0.45

0.825

0.377

0.528

0.441

-0.10

-0.10

Full

0.31

0.49

0.79

0.405

0.535

0.455

+0.00

+0.00

w/o Short-Term

0.255

0.408

0.804

0.336

0.495

0.402

-0.05

-0.05

w/o Long-Term

0.257

0.411

0.803

0.338

0.497

0.404

-0.05

-0.05

w/o Item-Perc.

0.244

0.391

0.806

0.321

0.487

0.391

-0.07

-0.06

w/o Counterfactual

0.262

0.417

0.802

0.344

0.50

0.408

-0.05

-0.05

w/o Memory

0.23

0.37

0.81

0.303

0.477

0.377

-0.08

-0.08

Full

0.35

0.51

0.76

0.42

0.535

0.455

+0.00

+0.00

w/o Short-Term

0.295

0.428

0.774

0.35

0.495

0.402

-0.05

-0.05

w/o Long-Term

0.297

0.431

0.773

0.352

0.497

0.403

-0.05

-0.05

w/o Item-Perc.

0.284

0.411

0.776

0.336

0.487

0.39

-0.07

-0.06

w/o Counterfactual

0.302

0.438

0.772

0.358

0.50

0.408

-0.05

-0.05

w/o Memory

0.27

0.39

0.78

0.318

0.477

0.377

-0.08

-0.08

Full

0.34

0.50

0.75

0.412

0.524

0.445

+0.00

+0.00

w/o Short-Term

0.285

0.418

0.764

0.342

0.484

0.392

-0.05

-0.05

w/o Long-Term

0.287

0.421

0.763

0.345

0.486

0.393

-0.05

-0.05

w/o Item-Perc.

0.274

0.401

0.766

0.328

0.476

0.38

-0.07

-0.06

w/o Counterfactual

0.292

0.427

0.762

0.35

0.489

0.398

-0.05

-0.05

w/o Memory

0.26

0.38

0.77

0.31

0.466

0.367

-0.08

-0.08

Full

0.30

0.47

0.71

0.406

0.499

0.43

+0.00

+0.00

w/o Short-Term

0.293

0.459

0.712

0.397

0.493

0.423

-0.01

-0.01

w/o Long-Term

0.293

0.459

0.712

0.397

0.493

0.423

-0.01

-0.01

w/o Item-Perc.

0.291

0.457

0.712

0.395

0.492

0.422

-0.01

-0.01

w/o Counterfactual

0.293

0.46

0.712

0.398

0.494

0.424

-0.01

-0.01

w/o Memory

0.28

0.44

0.715

0.381

0.484

0.411

-0.02

-0.02

Full

0.11

0.18

0.27

0.131

0.175

0.159

+0.00

+0.00

w/o Short-Term

0.091

0.152

0.275

0.107

0.161

0.141

-0.02

-0.02

w/o Long-Term

0.092

0.153

0.275

0.107

0.162

0.141

-0.02

-0.02

w/o Item-Perc.

0.087

0.146

0.276

0.102

0.158

0.137

-0.02

-0.02

w/o Counterfactual

0.093

0.155

0.274

0.109

0.163

0.142

-0.02

-0.02

w/o Memory

0.07

0.12

0.28

0.079

0.146

0.119

-0.04

-0.04

Full

0.10

0.23

0.34

0.16

0.213

0.177

+0.00

+0.00

w/o Short-Term

0.081

0.202

0.345

0.137

0.199

0.159

-0.02

-0.02

w/o Long-Term

0.082

0.203

0.344

0.137

0.20

0.16

-0.02

-0.02

w/o Item-Perc.

0.077

0.196

0.346

0.132

0.196

0.155

-0.02

-0.02

w/o Counterfactual

0.084

0.205

0.344

0.139

0.201

0.161

-0.02

-0.02

w/o Memory

0.06

0.17

0.35

0.109

0.183

0.138

-0.04

-0.04

GPT-5.4-mini

Minimax M2.5

Qwen3-32B

GPT-OSS-120B

Llama-3.1-8B

Llama-3.3-70B

Bold Full rows. Green/red: positive/negative Δ.

Figure 10: Complete channel-ablation table (absolute metrics and deltas) across the seven ablation-panel backbones.

K. Failure Cases and Qualitative Memory Edits This appendix complements the positive qualitative cases in Section 5.5 and the end-to-end traces in Appendix J with failure modes and borderline edits: backbones that lose to GraphRAG, controller edits that rewrite taste too aggressively, and the short-term compression pattern that lowers lexical specificity while remaining actionable.

H.1 Ranking failures vs. GraphRAG. On ML-1M, rEDMRec trails GraphRAG on Llama 3.1 8B (Impv = −11.1%) and GPT OSS 20B (Impv = −3.3%; Appendix A). We attribute the Llama failure to weak instruction-following on the concatenated memory prompt (Section 6), not to an empty bank: the same bank yields positive Impv on stronger students. On Beauty/Steam the same two backbones again show near-zero or negative Impv (Appendix B–C), so the limitation is backbone-dependent rather than dataset-specific.

H.2 Qualitative edits: success vs. risk. Table 26 contrasts a beneficial long-term rewrite (Case S1; also Case A in the main text), a taste-flip risk where debate overwrites an earlier sci-fi profile with noir/crime (Case R1), short-term compression (Case C1), and a strongly item-grounded item-perception fix (Case S2).

H.3 Capacity-dependent channel reversals. Channel ablations (Section 5.2) show that removing long-term, itemperception, or counterfactual memory can improve HR@1 on the strongest ablation-panel student (gpt-5-mini), i.e. the bank can inject noise when the backbone already ranks well from candidates alone. Short-term context remains the only consistently beneficial channel across tiers — a practical failure mode for “always retrieve all four channels” deployments on saturated students.

M.H. Nguyen et al.: Preprint submitted to Elsevier

Page 25 of 25

rEDMRec: Reasoning Distillation into Experience Memory Channel ablation by student capacity tier Strong (GPT-5-mini) w/o Memory-0.100

w/o Counterfactual

Mid-cap

Saturated (120B)

-0.080

-0.055

-0.020

-0.048

Weak (Groq 8B/70B) -0.040

-0.007

-0.017

w/o Item-Perc. -0.075

-0.066

-0.009

-0.023

w/o Long-Term

-0.060

-0.053

-0.007

-0.018

w/o Short-Term

-0.062

-0.055

-0.007

-0.019

-0.1

0.0

0.1

mean ΔHR@1

-0.1

0.0

mean ΔHR@1

0.1

-0.025 0.000 0.025

mean ΔHR@1

-0.05

0.00

0.05

mean ΔHR@1

Figure 11: Aggregated channel-importance summary used to derive Table 6.

Table 21 Teacher extraction prompts for the four passes 𝑝 ∈  (Section 3.5). Colored spans mark the role, inputs, CoT instruction, and JSON schema. Full templates live in teacher/prompt_templates.py. Pass / channel

Prompt (abbreviated)

pref → lt, st

You are an expert movie recommendation analyst implementing User Preference Maintenance. Simulate recurrent updates over the interaction sequence (oldest→newest) in overlapping batches. Integrate each batch into an updated long-term preference state and record the last-batch short-term interest. List consistent dislikes / avoided tones. Prefer concrete movie-relevant language; avoid empty platitudes. Output STRICT JSON only (no markdown). Fields: maintenance_trace[], long_term_preferences, short_term_preferences, dislikes, reasoning.

ctx / reas → ip

You are implementing Item Perception Analysis / recommendation reasoning. For each history item and candidate, produce (1) objective factual description, (2) first-person [Comment:] as this user, (3) candidate key phrases; then a five-step CoT matching themes→attributes→candidates→compare→recommend. Condition on long-term preferences and short-term focus. Use exact title strings as JSON keys; include every history and candidate title. Fields: user_history_perception, candidate_perception, steps[1..5], recommended_item, reasoning_summary.

cf → cf

You are a contrastive reasoning analyst for movie recommendations. Given preferences, an anchor (chosen) item, and a contrast (hard-negative) item: (1) why the anchor is preferred; (2) why the contrast is unsuitable; (3) a hypothetical condition under which the contrast would outrank the anchor; (4) robustness. Do not invent facts absent from the provided preference and item text. Output STRICT JSON only. Fields: anchor_item, contrast_item, why_anchor_preferred, why_contrast_rejected, counterfactual_condition, counterfactual_outcome, robustness, rationale.

Table 22 Example distilled memory outputs (one line per channel) from the persisted bank for user 2 on ML-1M. Each line is the committed entry text after distillation (Section 3.6.1); colored spans highlight the ranking-relevant fragments. Channel

Distilled experience (one line)

lt

He strongly prefers character-driven dramas with emotional depth, mature themes, moral conflict, and strong performances. Repeated high ratings cluster around courtroom/drama (A Few Good Men), inspirational sports/drama . . . Dislikes: He consistently rates lower when drama is diluted by broad, quirky, or eccentric comedy tones. Nurse Betty is the clearest dislike (1.0), wh. . .

st

In the most recent items, interest appears to tilt further toward intimate, human-centered drama and reflective sci-fi, with high ratings for Driving Miss Daisy and Close Encounters. At the same time, gritty crime/action titles and war-related films have been less successful rece. . .

ip

The user’s history strongly favors light, charming comedies with romance, warmth, and quirky optimism, especially films like Shakespeare in Love, Strictly Ballroom, Shall We Dance?, Groundhog Day, and Forrest Gump. Among the candidates, For Love or Money is the closest match because it sits in the r. . .

cf

Anchor (One Flew Over the Cuckoo’s Nest): One Flew Over the Cuckoo’s Nest fits the user’s strongest pattern: serious, award-caliber drama with intense character focus, moral conflict, and weighty themes. . . Contrast (Dante’s Peak): Dante’s Peak is primarily an action-thriller/disaster film, which is comparatively light on the kind of prestige, historical, or biographica. . . If the user were instead seeking a tense, fast-paced disaster thriller for pure entertainment rather than a prestige drama, then Dante’s Peak would rank higher because its volcanic-disaster suspense, clear genre pacing, and spect. . .

M.H. Nguyen et al.: Preprint submitted to Elsevier

Page 26 of 25

rEDMRec: Reasoning Distillation into Experience Memory

Ablation — GPT-5-mini @ n=30,000

(a) ΔHR@1

(b) ΔNDCG@1

w/o Memory-0.100

w/o Item-Perc.

Ablation — GPT-5.4-mini @ n=30,000

-0.100

-0.075

(c) ΔMRR

(a) ΔHR@1

-0.098

-0.075

(b) ΔNDCG@1

w/o Memory-0.080

-0.074

(c) ΔMRR

-0.080

w/o Item-Perc. -0.066

-0.078

-0.066

-0.065

w/o Short-Term

-0.062

-0.062

-0.061

w/o Short-Term

-0.055

-0.055

-0.054

w/o Long-Term

-0.060

-0.060

-0.059

w/o Long-Term

-0.053

-0.053

-0.052

w/o Counterfactual

-0.055

-0.055

-0.054

w/o Counterfactual

-0.048

-0.048

-0.047

-0.08

0.00

0.08

-0.08

Δ

0.00

0.08

-0.08

0.00

Δ

0.08

-0.10

-0.05

Δ

0.00

0.05

0.10

-0.10

-0.05

Δ

0.00

0.05

0.10

(b) gpt-5.4-mini (mid)

Ablation — Qwen3-32B @ n=30,000

Ablation — GPT-OSS-120B @ n=30,000

(a) ΔHR@1

(b) ΔNDCG@1 -0.080

w/o Item-Perc. -0.066

(c) ΔMRR

(a) ΔHR@1

-0.078

-0.066

(b) ΔNDCG@1

w/o Memory-0.020

-0.065

-0.020

w/o Item-Perc.

-0.009

-0.009

-0.009

-0.055

-0.055

-0.053

w/o Short-Term

-0.007

-0.007

-0.007

w/o Long-Term

-0.053

-0.053

-0.052

w/o Long-Term

-0.007

-0.007

-0.007

w/o Counterfactual

-0.048

-0.048

0.00

0.06

-0.06

Δ

-0.047

0.00

0.06

-0.007

w/o Counterfactual

-0.05

0.00

Δ

0.05

-0.015

-0.007

0.000

Δ

0.015

-0.015

Δ

-0.007

0.000

0.015

-0.015

Ablation — Llama-3.3-70B @ n=30,000

Ablation — Llama-3.1-8B @ n=30,000

(b) ΔNDCG@1 -0.040

(c) ΔMRR

(a) ΔHR@1

-0.039

(b) ΔNDCG@1

w/o Memory-0.040

(c) ΔMRR

-0.040

-0.039

w/o Item-Perc.

-0.023

-0.023

-0.022

w/o Item-Perc.

-0.023

-0.023

-0.022

w/o Short-Term

-0.019

-0.019

-0.018

w/o Short-Term

-0.019

-0.019

-0.018

w/o Long-Term

-0.018

-0.018

-0.018

w/o Long-Term

-0.018

-0.018

-0.018

w/o Counterfactual

-0.017

-0.017

-0.016

w/o Counterfactual

-0.017

-0.017

-0.016

-0.03

0.00

Δ

0.03

-0.03

0.00

0.03

-0.025

Δ

(e) Llama 3.3 70B (weak)

0.000

Δ

0.025

-0.050 -0.025 0.000

Δ

0.025

0.050

0.015

Δ

(d) GPT-OSS-120B (saturated)

(a) ΔHR@1

0.000

Δ

(c) Qwen3-32B (mid)

w/o Memory-0.040

0.05

(c) ΔMRR

-0.020

w/o Short-Term

-0.06

0.00

Δ

(a) gpt-5-mini (strong)

w/o Memory-0.080

-0.05

Δ

-0.050 -0.025 0.000

0.025

0.050

Δ

-0.025

0.000

0.025

Δ

(f) Llama 3.1 8B (weak)

Figure 12: Per-backbone channel ablation (ΔHR@1 when removing each channel). Negative bars indicate a beneficial channel.

M.H. Nguyen et al.: Preprint submitted to Elsevier

Page 27 of 25

rEDMRec: Reasoning Distillation into Experience Memory

Table 23 Example of an rEDMRec prediction trace on Amazon Beauty (illustrative end-to-end I/O; item titles from the public catalog). Colored spans mark likes/dislikes in history, the held-out target among candidates, the four retrieved extraction channels, and the top-ranked output. Field

Content

User

AG7W...BVDA

History 𝐻𝑢

Liked: MyGift Soft Padded Spa Bath Pillow; Liked: Nice ’n Easy Permanent Color 9G Light Golden Blonde; Liked: Avon Glimmersticks Waterproof Eyeliner (Smokey Grey); Liked: Yes To Sensitive Facial Cleansing Wipes; Liked: LaClaire Foaming Botanical Facial Cleanser; Disliked: 4D Silk Fiber Lash Mascara (clumpy / heavy); Liked: MOSTORY Glitter Crystal Liquid Eyeshadow Set; Liked: GLOW BOOSTER SERUM; Liked: Oval Large Makeup Brushes (Rose Gold); Liked: The Vegan Glow Quinoa Protein Shampoo Bar; Liked: Bloomeffects Natural Tulip Dew Face Cream

Candidates 𝐶𝑢

JUNGSAEMMOOL Minifying Cica Mist Balm (target); 4D Silk Fiber Lash Mascara Black; Rhinestone Crystal Padded Headband; Sea Magik Pink Salt Conditioner; BIOSSANCE Marine Algae Eye Cream Mini; Foamie Shampoo Bar Hibiskiss; Intraceuticals Rejuvenate Eye Masks; BeautyStat Universal Moisture Essence (Squalane)

Retrieved experience channels 𝑅𝑘 Preference extraction (pref )

Context extraction (ctx) Reasoning extraction (reas) Counterfactual extraction (cf )

Student output

Prefers clean, botanical / cruelty-free skincare and soft everyday makeup tools; repeatedly high-rates serums, cream cleansers, and gentle face care over heavy glam accessories. Dislikes: Avoids heavy, clumpy mascara and overly decorative rhinestone accessories that read as party glam rather than daily care. Recent purchases emphasize glow serums, vegan shampoo bars, and non-toxic face cream – a short-term tilt toward soothing, clean-beauty maintenance rather than color cosmetics. Cica Mist Balm matches the user’s soothing / clean-skincare lane (cica + mist balm for calming), whereas rhinestone headbands and fiber mascara clash with recent botanical preferences. Anchor (Cica Mist Balm): Fits the clean-beauty, calming-care pattern reinforced by recent Tulip Dew cream and glow serum. Contrast (Rhinestone Crystal Headband): Statement bridal/party accessory; decorative rather than skincare-functional. If the user were shopping for a one-off formal event accessory instead of daily facial care, the contrast would rank higher. RANKED LIST: 1. JUNGSAEMMOOL Minifying Cica Mist Balm; 2. BeautyStat Universal Moisture Essence (Squalane); 3. BIOSSANCE Marine Algae Eye Cream Mini; 4. Intraceuticals Rejuvenate Eye Masks; 5. Foamie Shampoo Bar Hibiskiss; 6. Sea Magik Pink Salt Conditioner; 7. 4D Silk Fiber Lash Mascara Black; 8. Rhinestone Crystal Padded Headband Rationale: Top ranks stay in soothing skincare / moisture; glam mascara and rhinestone accessories are demoted using short-term clean-beauty context and the counterfactual contrast.

M.H. Nguyen et al.: Preprint submitted to Elsevier

Page 28 of 25

rEDMRec: Reasoning Distillation into Experience Memory

Table 24 Example of an rEDMRec prediction trace on Steam (illustrative end-to-end I/O; item titles from the public catalog). Colored spans mark likes/dislikes in history, the held-out target among candidates, the four retrieved extraction channels, and the top-ranked output. Field

Content

User

765611980946...

History 𝐻𝑢

Played: Garry’s Mod (high playtime); Played: Half-Life 2; Played: Half-Life 2: Episode One; Played: Portal; Played: Portal 2; Played: The Binding of Isaac; Played: PlanetSide 2; Low play: Dota 2 Test

Candidates 𝐶𝑢

Half-Life 2: Episode Two (target); Counter-Strike: Global Offensive; PAYDAY 2; Warframe; Terraria; Left 4 Dead 2; The Expendabros; Yosumin!

Retrieved experience channels 𝑅𝑘 Preference extraction (pref )

Context extraction (ctx) Reasoning extraction (reas) Counterfactual extraction (cf )

Student output

Strong Valve narrative / puzzle-FPS taste: Half-Life 2 saga and Portal series dominate, with sandbox creativity (Garry’s Mod) and occasional indie rogue-likes (Isaac). Dislikes: Little engagement with pure MOBA test clients; competitive live-service shooters are secondary to story/puzzle FPS. Recent high-engagement cluster is Portal 2 + Half-Life episodes; short-term focus is completing the Valve narrative loop rather than opening new live-service grinders. Episode Two is the direct narrative continuation of Episode One already in history; CS:GO / Warframe offer multiplayer loops less aligned with the story-FPS preference. Anchor (Half-Life 2: Episode Two): Continues the exact Half-Life 2 story the user already invested in. Contrast (Warframe): Free-to-play grind / live-service loop; weak narrative continuity with Portal/HL2. If the user wanted a long-horizon multiplayer grind instead of finishing a single-player story arc, the contrast would rank higher. RANKED LIST: 1. Half-Life 2: Episode Two; 2. Left 4 Dead 2; 3. Terraria; 4. PAYDAY 2; 5. CounterStrike: Global Offensive; 6. Warframe; 7. The Expendabros; 8. Yosumin! Rationale: Episode Two leads via long-term Valve narrative memory and item-perception continuity; co-op FPS is secondary; mismatched casual / grind titles sink.

Table 25 Failure / borderline RQ1 cells (Impv vs. second-best; typically GraphRAG). Negative Impv = GraphRAG ahead. Dataset

Student

ML-1M ML-1M Beauty Beauty Steam Steam

Llama 3.1 8B GPT OSS 20B Llama 3.1 8B GPT OSS 20B Llama 3.1 8B GPT OSS 20B

M.H. Nguyen et al.: Preprint submitted to Elsevier

Impv (%)

Note

−11.1 −3.3 −4.1 −0.5 −7.3 −2.0

GraphRAG best; weak IF near-saturated student not significant tie within noise GraphRAG best GraphRAG best

Page 29 of 25

rEDMRec: Reasoning Distillation into Experience Memory

Table 26 Qualitative memory edits from the persisted bank (experiments/bank_evolution_cases.json). S = success-like; R = risk / failure mode; C = compression. Case

Spec.

S1 / lt

0.214 0.479

→ “Very limited data: the only rated film is a classic action-adventure, suggesting a preference for highenergy, heroic, escapist storytelling with suspense and...”

Before

“Long-term: favors mainstream Hedge -> ranking rule; +spec. 1990s action buddy-cop films – franchise sequels, star-driven chemistry, high-energy action with comedic interplay. Upweight these...”

R1 / lt

0.450 0.625

→

“Core taste is classic, lighthearted sci-fi with ensembles and humor, with some room for action SF. Horror is avoided, and the user responds best to accessible,...”

“User 17 strongly prefers classic Taste flip risk: sci-fi -> noir; and neo-noir/crime prestige dramas. may discard valid prior signal. Downweight short-term popularity signals and upweight niche/indie, 1990s-era, and foreign-...”

C1 / st

0.300 0.500

→

“No recent viewing items were pro- “Session: prioritize late-80s/90s Hol- Empty note -> session rule; vided, so no emerging short-term lywood action comedies with buddy aggregate st spec. can drop. interests can be detected.” dynamics and franchise entries for top slots; include at least one diverse alternative pe...”

S2 / ip

0.350 0.850

→ “The strongest match was only ranked 5th, so Hit@10 was good but Hit@1/MRR suffered. For this user, place the best Rocky-like inspirational drama at rank 1 when...”

M.H. Nguyen et al.: Preprint submitted to Elsevier

After

Interpretation

“Rocky (1976): User 4 chose Rocky Vague Hit@1 complaint -> over a higher-ranked 80s action ti- item-keyed boost. tle, signaling a preference for 1970s character-driven underdog sports dramas. When ranking,...”

Page 30 of 25

Related documents

Record · ID 467172 · SHA-256 79b3fca0b761557c
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Bring this data into your agent: Connect via MCP or API · 20 free credits to start · no card required
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive