arXiv:2610.11501cs.CLOct 2026

Manuscript Offprint

arXiv:2610.11501

Beyond Sequences: Distilling Structured Decision Memory for LLM Recommendation

Leikun Liang, Guoshuai Wang, Xingsheng He, Yushan Han, Yunyi Xuan, Xiaoxiao Xu, Lin Qu

Leikun Liang*, Guoshuai Wang*, Xingsheng He†, Yushan Han, Yunyi Xuan, Xiaoxiao Xu, Lin Qu

Alibaba Group

Hangzhou, China

{liangleikun.llk, guoshui.wgs, xingsheng.hxs, hanyushan.hys, xuanyunyi.xyy, xiaoxiao.xuxx}@alibaba-inc.com

{xide.ql}@taobao.com

Abstract—Despite the adoption of large language models (LLMs) in recommendation systems, prevailing approaches mostly model single-type behaviors (e.g., views or purchases). Even when incorporating multiple behaviors, existing methods flatten heterogeneous actions into homogeneous token sequences, ignoring their distinct decision-making roles. This flattening fails to capture semantic hierarchies and contextual nuances in complex decision-making, such as trade-offs between price and quality. Consequently, performance degrades in critical “difficult-choice” scenarios involving highly similar items. To bridge this gap, we propose MARI (Memory-Augmented Recommendation with Interpretability), which grounds predictions in explicit, structured decision evidence. MARI maintains a Decision Memory Bank (DMB) that archives users’ past rationales as Structured Decision Memories (SDMs): concise records of goals, constraints, and trade-offs. These SDMs are generated offline via Post-Hoc Decision Distillation from heterogeneous behaviors and user-generated content. By retrieving relevant SDMs to augment LLM reasoning, MARI achieves interpretability and scalability without the prohibitive cost of processing long raw sequences. Extensive experiments show MARI significantly outperforms state-of-the-art baselines on standard next-item prediction and a newly introduced Difficult Choice Prediction task, incurring low latency overhead by decoupling memory construction from online inference. Qualitative analyses reveal actionable, human-readable insights into user decision-making, marking a concrete step toward reasoning-aware recommendation systems.

Index Terms—LLM-based Recommendation, Structured Decision Memory, Interpretable Recommendation, Multi-behavior Modeling

I. INTRODUCTION

Integrating Large Language Models (LLMs) into recommender systems enables semantic user modeling by treating interaction sequences as contextual inputs. Current research predominantly serializes single-type interactions (e.g., ratings or purchases) into long textual prompts [1]–[4]. However, these sequences are costly to process and contain substantial redundancy and behavioral noise. While single-behavior datasets (e.g., Amazon [5]) have advanced the field, they overlook a critical real-world challenge: understanding the complex decision logic derived from heterogeneous, multi-behavior interactions (e.g., search, view, favorite, purchase) fundamental to e-commerce and streaming platforms.

Traditional multi-behavior models [6]–[10] rely on implicit, opaque embeddings that lack the reasoning and interpretability

Without Decision Memory (Using Raw Behaviors)

  1. Long Raw Behavior History

  2. Directly Input to LLM

  3. Recommendation Result

Figure

With MARI (Using Decision Memory and Recent Behaviors)

  1. Recent Behaviors

  2. Retrieve Relevant Decision Memories

  3. Augment LLM with Retrieved SDMs

  4. Recommendation Result

Fig. 1. Workflow comparison. Top: Directly feeding long raw behavior sequences into an LLM introduces context limits, noise, and latent decision factors, hindering accurate reasoning. Bottom: MARI retrieves Structured Decision Memories (SDMs) from a Decision Memory Bank (DMB) based on recent behaviors. Augmenting the LLM with these explicit rationales (goals, constraints, trade-offs) enables interpretable, grounded reasoning and improves recommendation accuracy.

strengths of LLMs. Consequently, the powerful inferential capabilities of LLMs remain underutilized for reconstructing user decision-making processes. Existing LLM-based recommenders either restrict themselves to single-behavior data or flatten multi-behavior logs into homogeneous sequences, losing the distinct semantic roles and hierarchical structures of different actions. Thus, the LLM revolution in recommendation has largely overlooked the rich decision signals woven across diverse behavioral contexts.

To bridge this gap, we propose an LLM-powered framework that explicitly reconstructs and leverages users' historical decision logic through a Decision Memory Bank (DMB), an interpretable repository of structured decision rationales. Our work is motivated by a key observation from industrial data: users' final decisions, especially when choosing between highly similar items (i.e., difficult-choice scenarios at the SKU level), reflect consistent patterns encoding their underlying criteria (e.g., prioritizing "organic" over "budget"). Because these latent patterns are distributed across multi-behavior trajectories, directly feeding raw sequences to LLMs is inefficient; it introduces noise and forces on-the-fly decision reconstruction under tight context constraints, a limitation visually

  • Equal contribution, †Corresponding author.

demonstrated in the top workflow of Figure 1. In contrast, our two-stage approach (Figure 1, bottom) constructs the DMB, where each entry is a Structured Decision Memory (SDM), a concise textual record of a user's goals, constraints, and trade-offs. We devise Post-Hoc Decision Distillation (PHDD), which uses an LLM as a retrospective analyst to generate SDMs by examining final outcomes within heterogeneous behavioral contexts. This transforms noisy logs into explicit decision evidence. Second, we introduce MARI (Memory-Augmented Recommendation with Interpretability), a plug-and-play framework that retrieves relevant SDMs to ground LLM reasoning in explicit historical logic. This design cleanly separates offline knowledge construction from online recommendation, enabling robust, interpretable inference without significant latency overhead.

Our contributions are threefold:

• Fine-Grained SKU-Level Recommendation: We reformulate LLM-based recommendation as a SKU-level task, leveraging heterogeneous behaviors to reason over near-identical items. This effectively addresses difficult-choice scenarios with nuanced attribute differences, which are typically overlooked by title-level approaches.

• Decision Memory Bank via Retrospective Distillation: We introduce the DMB, a compact archive of human-readable Structured Decision Memories (SDMs). Distilled via our Post-Hoc Decision Distillation (PHDD) method, each SDM encodes a user's goals, constraints, and trade-offs from heterogeneous trajectories.

• Effective Memory-Augmented Recommendation Architecture: We design a modular framework integrating the DMB via Retrieval-Augmented Generation (RAG) to enable interpretable reasoning grounded in historical logic. MARI achieves significant performance gains over state-of-the-art baselines in offline evaluations on a real-world e-commerce platform, demonstrating practical efficacy and scalability.

References (38)