Weighted Sampling without Replacement for Deep Top-k Classification
Dieqiao Feng, Yuanqi Du, Carla P. Gomes, Bart Selman
Abstract
The top-k classification accuracy is a crucial metric in machine learning and is often used to evaluate the performance of deep neural networks. These networks are typically trained using the cross-entropy loss, which optimizes for top-1 classification and is considered optimal in the case of infinite data. However, in real-world scenarios, data is often noisy and limited, leading to the need for more robust losses. In this paper, we propose using the Weighted Sampling Without Replacement (WSWR) method as a learning objective for top-k loss. While traditional methods for evaluating WSWR-based top-k loss are computationally impractical, we show a novel connection between WSWR and Reinforcement Learning (RL) and apply well-established RL algorithms to estimate gradients. We compared our method with recently proposed top-k losses in various regimes of noise and data size for the prevalent use case of k = 5. Our experimental results reveal that our method consistently outperforms all other methods on the top-k metric for noisy datasets, has more robustness on extreme testing scenarios, and achieves competitive results on training with limited data.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 8d2a7cfb-68d8-4d29-b3b3-37c50b5c6662Builds on5
- SoftSort: A Continuous Relaxation for the argsort OperatorSebastian Prillo, Julian Martin EisenschlosICML 2020 · 94 citations
- On the consistency of top-k surrogate lossesForest Yang, Sanmi KoyejoICML 2020 · 54 citations
- Differentiable Top-k Classification LearningFelix Petersen, Hilde Kuehne, Christian Borgelt, Oliver DeussenICML 2022 · 48 citations
- Differentiable Sorting Networks for Scalable Sorting and Ranking SupervisionFelix Petersen, Christian Borgelt, Hilde Kuehne, Oliver DeussenICML 2021 · 39 citations
- A Novel Automated Curriculum Strategy to Solve Hard Sokoban Planning InstancesDieqiao Feng, Carla P. Gomes, Bart SelmanNeurIPS 2020 · 24 citations
Related papers
- ST: A Scalable Module for Solving Top-k ProblemsHanchen Xia, Weidong Liu, Xiaojun MaoNeurIPS 2024 · 1 citation
- USDNL: Uncertainty-Based Single Dropout in Noisy Label LearningYuanzhuo Xu, Xiaoguang Niu, Jie Yang, Steve Drew et al.AAAI 2023 · 9 citations
- Sample-wise Label Confidence Incorporation for Learning with Noisy LabelsChanho Ahn, Kikyung Kim, Ji-Won Baek, Jongin Lim et al.ICCV 2023 · 11 citations
- Stochastic smoothing of the top-K calibrated hinge loss for deep imbalanced classificationCamille Garcin, Maximilien Servajean, Alexis Joly, Joseph SalmonICML 2022 · 14 citations
- Breaking the Top-K Barrier: Advancing Top-K Ranking Metrics Optimization in Recommender SystemsWeiqin Yang, Jiawei Chen, Shengjia Zhang, Peng Wu et al.KDD 2025
