mlsanityData to 7 Oct 2026

Top-k Classification and Cardinality-Aware Prediction

arXiv 2403.19625 ↗First posted 28 Mar 2024cs.LG stat.MLcited by 5

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

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  3. 2018Generalized Cross Entropy Loss for Training Deep Neural Networks with Noisy Labelscited by 994
  4. 2017Robust Loss Functions under Label Noise for Deep Neural Networkscited by 441
  5. 2023Cross-Entropy Loss Functions: Theoretical Analysis and Applicationscited by 206
  6. 2018Smooth Loss Functions for Deep Top-k Classificationcited by 46
  7. 2015Loss Functions for Top-k Error: Analysis and Insightscited by 38
  8. 2023Principled Approaches for Learning to Defer with Multiple Expertscited by 38
  9. 2023Predictor-Rejector Multi-Class Abstention: Theoretical Analysis and Algorithmscited by 36
  10. 2019On the Consistency of Top-k Surrogate Lossescited by 35
  11. 2023Learning to Reject with a Fixed Predictor: Application to Decontextualizationcited by 32
  12. 2023Theoretically Grounded Loss Functions and Algorithms for Score-Based Multi-Class Abstentioncited by 32
6 more
  1. 2018Stochastic Negative Mining for Learning with Large Output Spacescited by 29
  2. 2023Revisiting Discriminative vs. Generative Classifiers: Theory and Implicationscited by 29
  3. 2015Top-k Multiclass SVMcited by 28
  4. 2023Ranking with Abstentioncited by 27
  5. 2016Analysis and Optimization of Loss Functions for Multiclass, Top-k, and Multilabel Classificationcited by 20
  6. 2022Consistent Polyhedral Surrogates for Top-k Classification and Variantscited by 8

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 3; 2025: 1; 2026: 1.

5 papers.