Breaking the Top-$K$ Barrier: Advancing Top-$K$ Ranking Metrics Optimization in Recommender Systems
Abstract
In the realm of recommender systems (RS), Top- ranking metrics such as NDCG@ are the gold standard for evaluating recommendation performance. However, during the training of recommendation models, optimizing NDCG@ poses significant challenges due to its inherent discontinuous nature and the intricate Top- truncation. Recent efforts to optimize NDCG@ have either overlooked the Top- truncation or suffered from high computational costs and training instability. To overcome these limitations, we propose SoftmaxLoss@ (SL@), a novel recommendation loss tailored for NDCG@ optimization. Specifically, we integrate the quantile technique to handle Top- truncation and derive a smooth upper bound for optimizing NDCG@ to address discontinuity. The resulting SL@ loss has several desirable properties, including theoretical guarantees, ease of implementation, computational efficiency, gradient stability, and noise robustness. Extensive experiments on four real-world datasets and three recommendation backbones demonstrate that SL@ outperforms existing losses with a notable average improvement of 6.03%. The code is available at https://github.com/Tiny-Snow/IR-Benchmark.
Cite
@article{arxiv.2508.05673,
title = {Breaking the Top-$K$ Barrier: Advancing Top-$K$ Ranking Metrics Optimization in Recommender Systems},
author = {Weiqin Yang and Jiawei Chen and Shengjia Zhang and Peng Wu and Yuegang Sun and Yan Feng and Chun Chen and Can Wang},
journal= {arXiv preprint arXiv:2508.05673},
year = {2025}
}
Comments
Accepted by KDD 2025