Dual Correction Strategy for Ranking Distillation in Top-N Recommender System

Youngjune Lee, Kee-Eung Kim

Abstract

Top-N recommendation systems often face a trade-off between the high accuracy of complex "teacher" models and the low latency required for real-time deployment. Knowledge Distillation (KD) aims to transfer knowledge from a teacher to a smaller "student" model. However, existing ranking distillation methods are often inefficient, attempting to replicate the entire ranking list without considering the student's current state, and typically focus only on the user-side perspective. This paper proposes the Dual Correction strategy for Distillation (DCD), which focuses on correcting the student's specific errors—both underestimations and overestimations—from both user and item perspectives. Experimental results on real-world datasets show that DCD significantly outperforms state-of-the-art methods while maintaining high inference efficiency.

Introduction: The Accuracy-Speed Trade-off

In modern recommender systems, there is a persistent tension between model complexity and operational speed. Large-scale models, while accurate, are often too computationally expensive for real-time inference. Knowledge Distillation (KD) provides a framework where a compact student model learns to mimic a larger teacher.

Despite its success, standard ranking distillation faces two primary challenges:

  1. Inefficiency in Knowledge Transfer: Methods like Relaxed Ranking Distillation (RRD) force the student to match the teacher's entire ranking list. This approach is inefficient as it ignores what the student has already mastered.
  2. Unilateral Perspective: Most distillation techniques focus solely on the user-side (predicting item preferences for a given user). In sparse datasets, this single view is insufficient for capturing the full complexity of user-item interactions.
Comparison of model parameters and inference time across datasets and base models.

The DCD Framework

The proposed Dual Correction strategy for Distillation (DCD) addresses these limitations through two core innovations:

Error-Driven Correction

DCD shifts the focus from global ranking replication to targeted error correction. It identifies the discrepancy between the teacher's and student's rankings, specifically targeting underestimations (items ranked high by the teacher but low by the student) and overestimations (items ranked low by the teacher but high by the student). By employing a dynamic sampling process, DCD tailors the distillation process to the student's evolving weaknesses.

Dual-Side Ranking

To overcome data sparsity, DCD incorporates an item-side perspective alongside the traditional user-side view. It asks not just "which items should this user see?" but also "which users are most likely to interact with this item?". This dual-side approach provides a more holistic understanding of the interaction matrix.

Experimental Evaluation

The authors evaluated DCD on two benchmark datasets: CiteULike and Foursquare, using BPR and NeuMF as base architectures.

Performance Results

DCD consistently outperformed the previous state-of-the-art method, RRD, across various metrics including Hit Ratio (H@N) and Mean Reciprocal Rank (M@N).

Performance comparison on the CiteULike dataset. DCD shows significant improvements over the base student and RRD.

Key findings include:

  • Significant Accuracy Gains: On CiteULike with a BPR base, DCD improved H@5 by 5.36% over RRD and 9.17% over a standalone student model.
  • Top-Rank Precision: The method is particularly effective at the very top of the recommendation list (H@5/M@5), which is most critical for user experience.
  • Efficiency: Student models achieved near-teacher performance with approximately 1/10th the parameters and 4x to 8x faster inference speeds.

Conclusion

DCD demonstrates that targeted, dual-sided error correction is a highly effective strategy for ranking distillation. By focusing on the student's specific failures and leveraging both user and item perspectives, DCD bridges the gap between accuracy and efficiency in Top-N recommendation.

Summary updated

BibTeX
@inproceedings{lee2021dual,
  author = {Youngjune Lee and Kee-Eung Kim},
  title = {{Dual Correction Strategy for Ranking Distillation in Top-N Recommender System}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2021},
  doi = {10.1145/3459637.3482093},
}
Figure