Loss Functions for Top-k Error: Analysis and Insights
Not on the map. Why?
Abstract (arXiv)
In order to push the performance on realistic computer vision tasks, the number of classes in modern benchmark datasets has significantly increased in recent years. This increase in the number of classes comes along with increased ambiguity between the class labels, raising the question if top-1 error is the right performance measure. In this paper, we provide an extensive comparison and evaluation of established multiclass methods comparing their top-k performance both from a practical as well as from a theoretical perspective. Moreover, we introduce novel top-k loss functions as modifications of the softmax and the multiclass SVM losses and provide efficient optimization schemes for them. In the experiments, we compare on various datasets all of the proposed and established methods for top-k error optimization. An interesting insight of this paper is that the softmax loss yields competitive top-k performance for all k simultaneously. For a specific top-k error, our new top-k losses lead typically to further improvements while being faster to train than the softmax.
Key facts. Cited by 38 papers in the map (data through 14 Oct 2026). First posted on arXiv 1 Dec 2015.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 9; 2022: 12; 2023: 3; 2024: 6; 2025: 3; 2026: 5.
38 papers.
Sort:
By area:
- 2021Set-valued classification -- overview via a unified frameworkcited by 27
- 2022Rank-based Decomposable Losses in Machine Learning: A Surveycited by 26
- 2023Fast, Differentiable and Sparse Top-k: a Convex Analysis Perspectivecited by 26
- 2024A Universal Growth Rate for Learning with Smooth Surrogate Lossescited by 24
- 2021Sum of Ranked Range Loss for Supervised Learningcited by 23
- 2021sigmoidF1: A Smooth F1 Score Surrogate Loss for Multilabel Classificationcited by 23
- 2024Cardinality-Aware Set Prediction and Top-k Classificationcited by 23
- 2022Differentiable Top-k Classification Learningcited by 21
- 2021Surrogate Regret Bounds for Polyhedral Lossescited by 15
- 2022An Embedding Framework for the Design and Analysis of Consistent Polyhedral Surrogatescited by 14
- 2025LapSum -- One Method to Differentiate Them All: Ranking, Sorting and Top-k Selectioncited by 13
- 2021Label Distributionally Robust Losses for Multi-class Classification: Consistency, Robustness and Adaptivitycited by 11
26 more
- 2022Stochastic smoothing of the top-K calibrated hinge loss for deep imbalanced classificationcited by 10
- 2024List Sample Compression and Uniform Convergencecited by 10
- 2022Optimizing Partial Area Under the Top-k Curve: Theory and Practicecited by 9
- 2022Consistent Polyhedral Surrogates for Top-k Classification and Variantscited by 8
- 2023Dual-Encoders for Extreme Multi-Label Classificationcited by 7
- 2025Why Ask One When You Can Ask k? Learning-to-Defer to the Top-k Expertscited by 7
- 2026Don't Ignore the Tail: Decoupling top-K Probabilities for Efficient Language Model Distillationcited by 7
- 2024Probabilistic Decomposed Linear Dynamical Systems for Robust Discovery of Latent Neural Dynamicscited by 6
- 2021FEDS -- Filtered Edit Distance Surrogatecited by 5
- 2024Top-k Classification and Cardinality-Aware Predictioncited by 5
- 2026An Optimal Sauer Lemma Over k-ary Alphabetscited by 4
- 2026SoftMoE: Soft Differentiable Routing for Mixture-of-Experts in LLMscited by 4
- 2021Tensor Normalization and Full Distribution Trainingcited by 3
- 2022A Stochastic Bundle Method for Interpolating Networkscited by 3
- 2022Set-valued prediction in hierarchical classification with constrained representation complexitycited by 3
- 2023Smooth and Stepwise Self-Distillation for Object Detectioncited by 2
- 2021Classification Under Ambiguity: When Is Average-K Better Than Top-K?cited by 1
- 2022Identify ambiguous tasks combining crowdsourced labels by weighting Areas Under the Margincited by 1
- 2022Provable Robust Saliency-based Explanationscited by 1
- 2024Top-K Pairwise Ranking: Bridging the Gap Among Ranking-Based Measures for Multi-Label Classificationcited by 1
- 2021Mixing between the Cross Entropy and the Expectation Loss Termscited by 0
- 2022The Tree Loss: Improving Generalization with Many Classescited by 0
- 2022Large Batch and Patch Size Training for Medical Image Segmentationcited by 0
- 2025Set to Be Fair: Demographic Parity Constraints for Set-Valued Classificationcited by 0
- 2026Is Softmax Loss All You Need? A Principled Analysis of Softmax-family Losscited by 0
- 2026Optimizing Server Placement for Vertical Federated Learning in Dynamic Edge/Fog Networkscited by 0
- 2026SoftMoE: Soft Differentiable Routing for Mixture-of-Experts in LLMs16 Jun 2026
- 2026Optimizing Server Placement for Vertical Federated Learning in Dynamic Edge/Fog Networks10 May 2026
- 2026An Optimal Sauer Lemma Over k-ary Alphabets14 Apr 2026
- 2026Don't Ignore the Tail: Decoupling top-K Probabilities for Efficient Language Model Distillation24 Feb 2026
- 2026Is Softmax Loss All You Need? A Principled Analysis of Softmax-family Loss30 Jan 2026
- 2025Set to Be Fair: Demographic Parity Constraints for Set-Valued Classification6 Oct 2025
- 2025Why Ask One When You Can Ask k? Learning-to-Defer to the Top-k Experts17 Apr 2025
- 2025LapSum -- One Method to Differentiate Them All: Ranking, Sorting and Top-k Selection8 Mar 2025
- 2024Probabilistic Decomposed Linear Dynamical Systems for Robust Discovery of Latent Neural Dynamics29 Aug 2024
- 2024Cardinality-Aware Set Prediction and Top-k Classification9 Jul 2024
- 2024Top-K Pairwise Ranking: Bridging the Gap Among Ranking-Based Measures for Multi-Label Classification9 Jul 2024
- 2024A Universal Growth Rate for Learning with Smooth Surrogate Losses9 May 2024
26 more
- 2024Top-k Classification and Cardinality-Aware Prediction28 Mar 2024
- 2024List Sample Compression and Uniform Convergence16 Mar 2024
- 2023Dual-Encoders for Extreme Multi-Label Classification16 Oct 2023
- 2023Smooth and Stepwise Self-Distillation for Object Detection9 Mar 2023
- 2023Fast, Differentiable and Sparse Top-k: a Convex Analysis Perspective2 Feb 2023
- 2022Provable Robust Saliency-based Explanations28 Dec 2022
- 2022Large Batch and Patch Size Training for Medical Image Segmentation24 Oct 2022
- 2022Identify ambiguous tasks combining crowdsourced labels by weighting Areas Under the Margin30 Sep 2022
- 2022Optimizing Partial Area Under the Top-k Curve: Theory and Practice3 Sep 2022
- 2022Consistent Polyhedral Surrogates for Top-k Classification and Variants18 Jul 2022
- 2022Rank-based Decomposable Losses in Machine Learning: A Survey18 Jul 2022
- 2022An Embedding Framework for the Design and Analysis of Consistent Polyhedral Surrogates29 Jun 2022
- 2022Differentiable Top-k Classification Learning15 Jun 2022
- 2022The Tree Loss: Improving Generalization with Many Classes16 Apr 2022
- 2022Set-valued prediction in hierarchical classification with constrained representation complexity13 Mar 2022
- 2022Stochastic smoothing of the top-K calibrated hinge loss for deep imbalanced classification4 Feb 2022
- 2022A Stochastic Bundle Method for Interpolating Networks29 Jan 2022
- 2021Label Distributionally Robust Losses for Multi-class Classification: Consistency, Robustness and Adaptivity30 Dec 2021
- 2021Classification Under Ambiguity: When Is Average-K Better Than Top-K?16 Dec 2021
- 2021Surrogate Regret Bounds for Polyhedral Losses26 Oct 2021
- 2021Mixing between the Cross Entropy and the Expectation Loss Terms12 Sep 2021
- 2021Tensor Normalization and Full Distribution Training6 Sep 2021
- 2021sigmoidF1: A Smooth F1 Score Surrogate Loss for Multilabel Classification24 Aug 2021
- 2021Sum of Ranked Range Loss for Supervised Learning7 Jun 2021
- 2021FEDS -- Filtered Edit Distance Surrogate8 Mar 2021
- 2021Set-valued classification -- overview via a unified framework24 Feb 2021
- 2021Set-valued classification -- overview via a unified frameworkcited by 27
- 2022Rank-based Decomposable Losses in Machine Learning: A Surveycited by 26
- 2023Fast, Differentiable and Sparse Top-k: a Convex Analysis Perspectivecited by 26
- 2024A Universal Growth Rate for Learning with Smooth Surrogate Lossescited by 24
- 2021Sum of Ranked Range Loss for Supervised Learningcited by 23
- 2021sigmoidF1: A Smooth F1 Score Surrogate Loss for Multilabel Classificationcited by 23
- 2024Cardinality-Aware Set Prediction and Top-k Classificationcited by 23
- 2022Differentiable Top-k Classification Learningcited by 21
- 2021Surrogate Regret Bounds for Polyhedral Lossescited by 15
- 2022An Embedding Framework for the Design and Analysis of Consistent Polyhedral Surrogatescited by 14
- 2025LapSum -- One Method to Differentiate Them All: Ranking, Sorting and Top-k Selectioncited by 13
- 2021Label Distributionally Robust Losses for Multi-class Classification: Consistency, Robustness and Adaptivitycited by 11
12 most cited of 36 All 36 (JSON)
- 2026Optimizing Server Placement for Vertical Federated Learning in Dynamic Edge/Fog Networks10 May 2026
- 2026An Optimal Sauer Lemma Over k-ary Alphabets14 Apr 2026
- 2026Don't Ignore the Tail: Decoupling top-K Probabilities for Efficient Language Model Distillation24 Feb 2026
- 2026Is Softmax Loss All You Need? A Principled Analysis of Softmax-family Loss30 Jan 2026
- 2025Set to Be Fair: Demographic Parity Constraints for Set-Valued Classification6 Oct 2025
- 2025Why Ask One When You Can Ask k? Learning-to-Defer to the Top-k Experts17 Apr 2025
- 2025LapSum -- One Method to Differentiate Them All: Ranking, Sorting and Top-k Selection8 Mar 2025
- 2024Probabilistic Decomposed Linear Dynamical Systems for Robust Discovery of Latent Neural Dynamics29 Aug 2024
- 2024Cardinality-Aware Set Prediction and Top-k Classification9 Jul 2024
- 2024Top-K Pairwise Ranking: Bridging the Gap Among Ranking-Based Measures for Multi-Label Classification9 Jul 2024
- 2024A Universal Growth Rate for Learning with Smooth Surrogate Losses9 May 2024
- 2024Top-k Classification and Cardinality-Aware Prediction28 Mar 2024
12 newest of 36 All 36 (JSON)