TL;DR
Generative recommendation systems struggle to scale efficiently to long user interaction histories without sacrificing accuracy due to historical noise and preference drift. This paper introduces DRIFT, a framework that adaptively segments long user histories into preference-consistent subsequences using multidimensional drift signals and fuses them hierarchically with recent context. DRIFT achieves up to a 21.6% improvement in recommendation accuracy while slashing training time by up to 97.4%.
What Problem Does This Paper Address?
Generative recommendation casts next-item prediction as an autoregressive sequence generation task, similar to natural language processing. However, effectively leveraging long user interaction histories presents a major dilemma:
- Full-sequence modeling (e.g., using Transformers) incurs quadratic time and memory costs. Furthermore, excessively long histories introduce target-irrelevant noise that can actually degrade recommendation accuracy.
- Target-aware context retrieval attempts to shorten the input sequence by retrieving relevant historical items, but relying on simple similarity metrics makes it highly vulnerable to "preference-inconsistent noise"—items that are semantically similar to past actions but misaligned with the user's current, evolving interests.
Existing methods either treat all historical interactions uniformly or ignore the stage-wise evolution of user interests (preference drift), failing to capture how a user's tastes shift over time.
Methods
The authors propose DRIFT (Preference-Drift-awaRe subsequence learning and hIerarchiCal context Fusion meThod), which introduces two core innovations:
- Preference-Drift-Aware Subsequence Learning: Instead of using rigid or uniform sequence splitting, DRIFT employs a multi-dimensional drift characterization operator ($\phi$) that tracks semantic shifts, temporal intervals, and categorical distribution changes across local interaction windows. A lightweight Multi-Layer Perceptron (MLP) maps these signals to a differentiable boundary score, adaptively segmenting the history into a user-specific number of preference-consistent subsequences. Items within each subsequence are aggregated via linear attention with soft assignment weights (using Gumbel-Softmax reparameterization), keeping the computational complexity linear $\mathcal{O}(LKd)$ rather than quadratic.
- Hierarchical Context Fusion: To combine long-term and short-term preferences without introducing noise, DRIFT uses a two-level fusion mechanism. At the encoder level, recent interactions interact with the historical subsequence representations via cross-attention to filter out preference-inconsistent noise. At the decoder level, a gated cross-attention mechanism dynamically balances local recent context and global historical context to generate the target item tokens.
Datasets
The framework was evaluated on three public datasets spanning diverse domains, scales, and interaction densities:
- KuaiRec: A dense short-video dataset with exceptionally long user histories (averaging 1,746 interactions per user), ideal for long-range sequential modeling.
- ML-20M (MovieLens): A widely used, medium-scale sparse movie recommendation benchmark.
- Taobao MM: A massive, highly sparse multimodal e-commerce dataset featuring rich visual and textual metadata and long behavior sequences (averaging 905 interactions per user).
Key Insights and Ideas
- Longer Sequences Suffer from Diminishing Returns: The authors' validation experiments show that simply increasing sequence length in standard models leads to accuracy saturation or degradation. Excessively long sequences introduce outdated or target-irrelevant interactions.
- Interests Evolve in Blocks: Analysis of user behavior heatmaps reveals high-similarity "blocks" along the diagonal, confirming that user history naturally forms locally coherent, temporally evolving interest stages rather than a uniform stream.
- Short-Term and Long-Term Contexts are Heterogeneous: Naively concatenating long-term subsequence representations with recent items causes semantic misalignment and performance collapse. A gated fusion mechanism with adaptive weighting is essential to successfully align these distinct types of context.
Key Results
- Accuracy Improvements: DRIFT consistently boosted the performance of three major backbones (HSTU, TIGER, GLASS). For instance, DRIFT-HSTU improved Recall@20 by 21.6% and NDCG@20 by 13.1% on the KuaiRec dataset.
- Massive Computational Speedups: By replacing dense full-sequence attention with linear-complexity subsequence learning, DRIFT achieved massive efficiency gains. DRIFT-TIGER achieved up to an 80.4× training speedup and a 22.4× inference speedup on Taobao MM. DRIFT-GLASS supported 20× longer sequences while running 3.9× faster per epoch.
Limitations and Future Work
- The paper primarily focuses on integrating DRIFT with specific generative backbones (HSTU, TIGER, GLASS). Exploring its generalizability to broader, large language model (LLM)-based recommenders remains an open direction.
- While the boundary scoring mechanism leverages multidimensional signals, it relies on predefined window sizes for distribution shifts, which could be optimized to be fully dynamic and adaptive in future iterations.
Summary updated