SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2509.20989 · ICLR · 2025

Rejuvenating Cross-Entropy Loss in Knowledge Distillation for Recommender Systems

Wei Zhang, Zhangchi Zhu

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 3 functions out of this paper's own repositories and ran 2 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
BDML-lab/RCE-KD — 2 of 3
FunctionStatusWhere it lives
BaseKD Ran BDML-lab/RCE-KD/modeling/KD/baseline.py
code served (permissive licence) · get_code("dd172d4748c55f00")
BaseKD4Rec Ran BDML-lab/RCE-KD/modeling/KD/baseline.py
code served (permissive licence) · get_code("701440850f0f39f1")
UnKD Not yet run BDML-lab/RCE-KD/modeling/KD/baseline.py
code served (permissive licence) · get_code("139c9387f9d073e8")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

This paper analyzes Cross-Entropy (CE) loss in knowledge distillation (KD) for recommender systems. KD for recommender systems targets at distilling rankings, especially among items most likely to be preferred, and can only be computed on a small subset of items. Considering these features, we reveal the connection between CE loss and NDCG in the field of KD. We prove that when performing KD on an item subset, minimizing CE loss maximizes the lower bound of NDCG, only if an assumption of closure is satisfied. It requires that the item subset consists of the student's top items. However, this contradicts our goal of distilling rankings of the teacher's top items. We empirically demonstrate the vast gap between these two kinds of top items. To bridge the gap between our goal and theoretical support, we propose Rejuvenated Cross-Entropy for Knowledge Distillation (RCE-KD). It splits the top items given by the teacher into two subsets based on whether they are highly ranked by the student. For the subset that defies the condition, a sampling strategy is devised to use teacher-student collaboration to approximate our assumption of closure. We also combine the losses on the two subsets adaptively. Extensive experiments demonstrate the effectiveness of our method. Our code is available at https://github.com/BDML-lab/RCE-KD.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2509.20989")
get_code_for_paper("2509.20989")
have("2509.20989")

Connect an agent — have() is free.