Top-k Classification and Cardinality-Aware Prediction
Not on the map. Why?
Abstract (arXiv)
We present a detailed study of top-k classification, the task of predicting the k most probable classes for an input, extending beyond single-class prediction. We demonstrate that several prevalent surrogate loss functions in multi-class classification, such as comp-sum and constrained losses, are supported by H-consistency bounds with respect to the top-k loss. These bounds guarantee consistency in relation to the hypothesis set H, providing stronger guarantees than Bayes-consistency due to their non-asymptotic and hypothesis-set specific nature. To address the trade-off between accuracy and cardinality k, we further introduce cardinality-aware loss functions through instance-dependent cost-sensitive learning. For these functions, we derive cost-sensitive comp-sum and constrained surrogate losses, establishing their H-consistency bounds and Bayes-consistency. Minimizing these losses leads to new cardinality-aware algorithms for top-k classification. We report the results of extensive experiments on CIFAR-100, ImageNet, CIFAR-10, and SVHN datasets demonstrating the effectiveness and benefit of these algorithms.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 18 of its 48 references that are in the map. First posted on arXiv 28 Mar 2024.
Builds on
18 of 48 references.
References · 18
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2018Generalized Cross Entropy Loss for Training Deep Neural Networks with Noisy Labelscited by 994
- 2017Robust Loss Functions under Label Noise for Deep Neural Networkscited by 441
- 2023Cross-Entropy Loss Functions: Theoretical Analysis and Applicationscited by 206
- 2018Smooth Loss Functions for Deep Top-k Classificationcited by 46
- 2015Loss Functions for Top-k Error: Analysis and Insightscited by 38
- 2023Principled Approaches for Learning to Defer with Multiple Expertscited by 38
- 2023Predictor-Rejector Multi-Class Abstention: Theoretical Analysis and Algorithmscited by 36
- 2019On the Consistency of Top-k Surrogate Lossescited by 35
- 2023Learning to Reject with a Fixed Predictor: Application to Decontextualizationcited by 32
- 2023Theoretically Grounded Loss Functions and Algorithms for Score-Based Multi-Class Abstentioncited by 32
6 more
- 2018Stochastic Negative Mining for Learning with Large Output Spacescited by 29
- 2023Revisiting Discriminative vs. Generative Classifiers: Theory and Implicationscited by 29
- 2015Top-k Multiclass SVMcited by 28
- 2023Ranking with Abstentioncited by 27
- 2016Analysis and Optimization of Loss Functions for Multiclass, Top-k, and Multilabel Classificationcited by 20
- 2022Consistent Polyhedral Surrogates for Top-k Classification and Variantscited by 8
Built on by
Citing papers per year: 2024: 3; 2025: 1; 2026: 1.
5 papers.
- 2024Realizable H-Consistent and Bayes-Consistent Loss Functions for Learning to Defercited by 26
- 2024A Universal Growth Rate for Learning with Smooth Surrogate Lossescited by 24
- 2024Multi-Label Learning with Stronger Consistency Guaranteescited by 22
- 2025LapSum -- One Method to Differentiate Them All: Ranking, Sorting and Top-k Selectioncited by 12
- 2026SoftMoE: Soft Differentiable Routing for Mixture-of-Experts in LLMscited by 3
- 2026SoftMoE: Soft Differentiable Routing for Mixture-of-Experts in LLMs16 Jun 2026
- 2025LapSum -- One Method to Differentiate Them All: Ranking, Sorting and Top-k Selection8 Mar 2025
- 2024Multi-Label Learning with Stronger Consistency Guarantees18 Jul 2024
- 2024Realizable H-Consistent and Bayes-Consistent Loss Functions for Learning to Defer18 Jul 2024
- 2024A Universal Growth Rate for Learning with Smooth Surrogate Losses9 May 2024