Unbiased Knowledge Distillation for Recommendation

Gang Chen, Jiawei Chen, Fuli Feng, Sheng Zhou, Xiangnan He · DOI

Abstract

Knowledge Distillation (KD) is a critical technique for deploying efficient recommendation models by transferring knowledge from a complex "teacher" model to a lightweight "student" model. However, standard KD methods often amplify popularity bias, leading to a significant performance degradation for unpopular items. We introduce Unbiased Knowledge Distillation (UnKD), a teacher-agnostic strategy that eliminates this bias. By partitioning items into popularity-based strata and distilling ranking knowledge exclusively within these groups, UnKD ensures that the student model learns genuine user-item affinities rather than simply mimicking the teacher's bias toward popular items.

Introduction: The Hidden Cost of Model Compression

In modern Recommender Systems (RS), balancing accuracy and latency is a persistent challenge. While large models (teachers) offer high precision, their computational cost often necessitates the use of smaller, faster models (students) for real-time serving. Knowledge Distillation bridges this gap by using the teacher’s predicted "soft labels" to guide the student's training.

Despite its success, standard distillation processes suffer from a "rich-get-richer" phenomenon. Research indicates that while the student model may show overall improvement, its performance on unpopular items frequently craters—dropping by an average of 22.4% across common benchmarks. This occurs because teacher models naturally favor popular items, and standard KD methods amplify this signal, causing the student to ignore niche user preferences in favor of mainstream hits.

Methodology: Neutralizing Popularity Bias

The core of the UnKD approach lies in identifying and blocking the "popularity path" in the distillation process. Using causal analysis, the authors argue that teacher scores are influenced by both true user-item affinity and item popularity. UnKD aims to isolate the former.

Comparison of traditional distillation methods versus the proposed UnKD approach.

As illustrated in the figure above, UnKD follows a three-step pipeline:

  1. Group Partitioning: Items are sorted by popularity and divided into $K$ groups, ensuring each group contains items with similar popularity levels.
  2. Group-wise Sampling: The student model is trained using pairs of items $(i^+, i^-)$ sampled from the same popularity group.
  3. Group-wise Learning: By restricting comparisons to items within the same strata, the popularity signal is neutralized. Since both items in a pair have similar popularity, the teacher's preference for one over the other must stem from actual user-item affinity.

Crucially, UnKD is teacher-agnostic, meaning it can be applied to any pre-trained teacher model without requiring retraining or modification of the teacher's original architecture.

Experimental Evaluation

The researchers evaluated UnKD on three diverse datasets: MovieLens-1M, Amazon-Apps, and CiteULike. They tested the method using two backbone architectures: BPR-MF (Matrix Factorization) and LightGCN (Graph Convolutional Network).

Key Results

UnKD consistently outperformed state-of-the-art (SOTA) distillation methods, such as RD, CD, and HTD, across all datasets in terms of Recall@10 and NDCG@10.

Improvement percentages of various distillation methods on the MovieLens-BPRMF benchmark.

The most significant impact was observed in the "long tail" of unpopular items. As shown in the figure above, while traditional methods (RD, CD, DERRD, HTD) often cause performance for unpopular items (blue bars) to drop significantly, UnKD achieves a substantial positive improvement. In the CiteULike dataset, UnKD achieved over a 100% performance gain for unpopular items compared to the student baseline. Furthermore, UnKD proved robust even when distilling from "debiased" teachers, suggesting that the distillation process itself introduces unique biases that require specific remedies like group-wise stratification.

Conclusion and Future Directions

UnKD provides a robust, easy-to-implement solution for the popularity bias amplification problem in knowledge distillation. By simply changing how items are sampled and compared during training, it preserves the accuracy of the "long tail" without sacrificing overall performance. Future work will explore extending this stratified approach to other forms of bias, such as demographic fairness, and applying it to sequential recommendation models.

Summary updated

BibTeX
@inproceedings{chen2022unbiased,
  author = {Gang Chen and Jiawei Chen and Fuli Feng and Sheng Zhou and Xiangnan He},
  title = {{Unbiased Knowledge Distillation for Recommendation}},
  booktitle = {WSDM},
  year = {2022},
  doi = {10.1145/3539597.3570477},
}
Figure