TD3: Tucker Decomposition Based Dataset Distillation Method for Sequential Recommendation

Jiaqing Zhang, Mingjia Yin, Hao Wang, Yawen Li, Yuyang Ye, Xingyu Lou, Junping Du, Enhong Chen · DOI

Abstract

Sequential recommendation (SR) models are increasingly reliant on massive datasets, leading to prohibitive training costs. Dataset Distillation (DD) offers a solution by synthesizing small, informative data summaries. However, standard DD methods struggle with the complex temporal dependencies and high-dimensional item catalogs inherent in SR. We present TD3, a Tucker Decomposition-based framework that compresses sequential datasets into compact synthetic summaries. By decoupling user, item, and temporal factors, TD3 mitigates parameter explosion and captures essential behavioral patterns. Our approach utilizes a bi-level optimization strategy with feature space alignment and Random Truncated Backpropagation Through Time (RaT-BPTT). Experimental results across four benchmarks demonstrate that TD3 achieves up to 99% data compression while maintaining or exceeding the performance of models trained on full datasets.

Introduction

The paradigm of artificial intelligence is shifting from model-centric to data-centric innovation. In the domain of Sequential Recommendation (SR), the order and timing of user-item interactions are critical for performance. While large-scale datasets have propelled the state-of-the-art, they impose significant computational burdens. Dataset Distillation (DD) aims to alleviate this by creating a tiny "synthetic" dataset that retains the predictive power of the original.

Applying DD to SR is challenging due to two primary factors:

  1. Sequential Correlations: Capturing the time-evolving patterns of user behavior in a condensed form is non-trivial.
  2. Optimization Dilemma: The number of parameters required to represent sequences across large item catalogs grows exponentially, making the distillation process computationally expensive and unstable.

Methodology

The TD3 framework addresses these challenges through a multi-stage distillation process centered on Tucker Decomposition.

Tucker Decomposition for Synthetic Data

To manage the high dimensionality of recommendation data, TD3 decomposes the synthetic dataset into four latent factors: a Synthetic User Latent Factor, a Temporal Dynamics Factor, a Shared Item Factor (aligned with the model's embedding table), and a Relation Core. This decomposition significantly reduces the parameter space, allowing the system to scale to large item sets efficiently.

Tucker Decomposition of the synthetic data cube into core and factor tensors.

The Distillation Pipeline

The TD3 pipeline consists of three main steps:

  1. Model Pretraining: A pool of learner models is pretrained on the original data to establish a baseline for item embeddings and feature spaces.
  2. Synthetic Data Distilling: A bi-level optimization strategy is employed. The "inner-loop" trains a model on synthetic data, while the "outer-loop" updates the synthetic data by minimizing the loss on real data. To ensure stability, TD3 incorporates Feature Space Alignment, forcing the synthetic-trained model to produce internal representations similar to those of the real-trained model.
  3. Model Training: The final distilled summary is used to train recommendation models rapidly.
The three-step TD3 pipeline: Pretraining, Synthetic Data Distilling, and Model Training.

To handle long-term dependencies without excessive memory usage, TD3 utilizes Random Truncated Backpropagation Through Time (RaT-BPTT), which samples random windows of training history for gradient calculation.

Experimental Evaluation

TD3 was evaluated on four public benchmarks: Amazon (Magazine Subscriptions), Epinions, and MovieLens (ML-100k and ML-1M). These datasets represent a range of sparsity and complexity.

Key Results

  • Efficiency: TD3 achieved massive compression, reducing datasets to between 0.2% and 7.4% of their original size. For the ML-1M dataset, training time dropped from 57 minutes to just 22 seconds.
  • Performance: TD3 consistently outperformed state-of-the-art distillation and heuristic sampling methods. Notably, on sparse datasets like Amazon Magazine and Epinions, models trained on distilled data outperformed those trained on the full dataset, suggesting that distillation effectively denoises the data.
  • Generalization: Synthetic summaries generated via one architecture (e.g., SASRec) proved effective for training different architectures like BERT4Rec or GRU4Rec, indicating that TD3 captures fundamental user behavior patterns.

Conclusion and Future Work

TD3 represents a significant advancement in data-centric recommendation systems, offering a scalable way to compress sequential data. While the initial distillation cost remains high, the resulting summaries enable lightning-fast model training and evaluation. Future research will focus on cross-domain knowledge transfer and further reducing the computational overhead of the distillation process itself.

Summary updated

BibTeX
@inproceedings{zhang2025td,
  author = {Jiaqing Zhang and Mingjia Yin and Hao Wang and Yawen Li and Yuyang Ye and Xingyu Lou and Junping Du and Enhong Chen},
  title = {{TD3: Tucker Decomposition Based Dataset Distillation Method for Sequential Recommendation}},
  booktitle = {The Web Conference},
  year = {2025},
  doi = {10.1145/3696410.3714613},
}
Figure