Abstract
Pre-trained recommendation models (PRMs) have attracted widespread attention recently. However, their totally different model structure, huge model size and computation cost hinder their application in practical recommender systems. Hence, it is highly essential to explore how to practically utilize PRMs in real-world recommendations. In this paper, we propose a novel joint knowledge distillation from different pre-trained recommendation models named PRM-KD for recommendation, which takes full advantages of diverse PRMs as teacher models for enhancing student models efficiently. Specifically, PRM-KD jointly distills diverse informative knowledge from multiple representative PRMs such as UniSRec, Recformer, and UniM^2Rec. The knowledge from the above PRMs are then smartly integrated into the student recommendation model considering their confidence and consistency. We further verify the universality of PRM-KD with various types of student models, including sequential recommendation, feature interaction, and graph-based models. Extensive experiments on five real-world datasets demonstrate the effectiveness and efficacy of PRM-KD, which could be viewed as an economical shortcut in practically and conveniently making full use of different PRMs in online systems.
Introduction
Pre-trained Recommendation Models (PRMs) like UniSRec and Recformer represent a significant advancement in recommender systems, leveraging massive cross-domain data to capture complex user behaviors. However, deploying these "foundation models" in production environments presents a "triple threat" of challenges:
- Computational Cost: Their massive size leads to high latency, often exceeding the strict requirements of online systems.
- Architectural Incompatibility: Their specialized structures (e.g., heavy Transformers or text encoders) are difficult to integrate into existing production pipelines.
- Heterogeneity: No single PRM excels across all domains; some are better at text-heavy items, while others capture visual or ID-based interactions more effectively.
This paper introduces CKD-MDSR (Curriculum-scheduled Knowledge Distillation for Multi-domain Sequential Recommendation), a framework designed to bridge this gap by distilling the collective wisdom of multiple heterogeneous PRM teachers into a single, lightweight student model.
Methodology
The CKD-MDSR framework is built upon three core components designed to optimize the transfer of knowledge from complex teachers to efficient students.
1. Curriculum-scheduled Sequence Sampling
Recognizing that user histories vary in complexity, the authors employ a "Sequence Sample Difficulty" (SSL) metric based on sequence length and item rarity. The student model follows a curriculum, starting with "easy" samples (short sequences, popular items) and gradually progressing to "harder" ones, facilitating more stable and effective learning.
2. Multi-Teacher Distillation via In-batch Negatives
To maintain efficiency and focus, distillation is performed against items within the current training batch rather than the entire corpus. This strategy forces the student to distinguish between positive items and high-quality negatives (often popular items), which are the most likely sources of confusion in real-world scenarios.
3. Consistency-aware Knowledge Integration
Since different PRMs (UniSRec, Recformer, UniM^2Rec) may provide conflicting signals, the framework utilizes an instance-level scoring strategy. By calculating the Mean Square Error (MSE) between teachers' predictions, the system identifies outliers. Teachers that deviate significantly from the consensus for a specific user-item pair are down-weighted, ensuring the student learns from reliable, high-confidence knowledge.
Experimental Evaluation
The model was evaluated on five real-world Amazon datasets: Instruments, Toys, Scientific, Arts, and Games. To ensure a rigorous evaluation of cross-domain transfer, the test datasets did not overlap with the data used to pre-train the teacher models.
Key Results
CKD-MDSR consistently outperformed base student models (e.g., SASRec) across all datasets, with improvements in NDCG@10 reaching up to 19.21% on the Instruments dataset.
A critical advantage of this approach is the zero latency penalty at inference time. As shown in the efficiency analysis, the final student model maintains a 1.0x inference time cost while achieving accuracy comparable to, or even exceeding, the heavy PRM teachers. This demonstrates that distillation provides a practical "economical shortcut" for leveraging foundation models in online systems.
Conclusion
CKD-MDSR offers a pragmatic solution for integrating the power of Pre-trained Recommendation Models into production environments. By using teacher agreement as a proxy for truth and employing curriculum-based learning, the framework enables lightweight models to capture the performance gains of their much larger counterparts. Future work may explore "dataset distillation" to further accelerate training or more aggressive data-centric filtering of teacher-generated pseudo-interactions.
Summary updated