A two-head loss function for deep Average-K classification
Not on the map. Why?
Abstract (arXiv)
Average-K classification is an alternative to top-K classification in which the number of labels returned varies with the ambiguity of the input image but must average to K over all the samples. A simple method to solve this task is to threshold the softmax output of a model trained with the cross-entropy loss. This approach is theoretically proven to be asymptotically consistent, but it is not guaranteed to be optimal for a finite set of samples. In this paper, we propose a new loss function based on a multi-label classification head in addition to the classical softmax. This second head is trained using pseudo-labels generated by thresholding the softmax head while guaranteeing that K classes are returned on average. We show that this approach allows the model to better capture ambiguities between classes and, as a result, to return more consistent sets of possible classes. Experiments on two datasets from the literature demonstrate that our approach outperforms the softmax baseline, as well as several other loss functions more generally designed for weakly supervised multi-label classification. The gains are larger the higher the uncertainty, especially for classes with few samples.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 14 of its 34 references that are in the map. First posted on arXiv 31 Mar 2023.
Builds on
14 of 34 references.
References · 14
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2016Densely Connected Convolutional Networkscited by 6,691
- 2016An overview of gradient descent optimization algorithmscited by 1,021
- 2020Conformal Prediction: a Unified Review of Theory and New Challengescited by 118
- 2020The Emerging Trends of Multi-Label Learningcited by 99
- 2021Multi-Label Learning from Single Positive Labelscited by 81
- 2018Smooth Loss Functions for Deep Top-k Classificationcited by 46
- 2019On the Consistency of Top-k Surrogate Lossescited by 35
- 2015Top-k Multiclass SVMcited by 28
- 2021Set-valued classification -- overview via a unified frameworkcited by 27
Built on by
Not cited yet.