On the Consistency of Top-k Surrogate Losses
Forest Yang, Sanmi Koyejo

TL;DR
This paper provides a theoretical analysis of top-$k$ surrogate losses, establishing conditions for their consistency and introducing new calibrated loss functions for improved top-$k$ classification performance.
Contribution
It introduces the concept of top-$k$ calibration, characterizes when surrogate losses are consistent, and proposes new calibrated loss functions, including a convex hinge loss, for top-$k$ classification.
Findings
Top-$k$ calibration is necessary and sufficient for consistency.
Existing hinge-like surrogates are not top-$k$ calibrated.
A new convex hinge loss is proposed that is top-$k$ calibrated.
Abstract
The top- error is often employed to evaluate performance for challenging classification tasks in computer vision as it is designed to compensate for ambiguity in ground truth labels. This practical success motivates our theoretical analysis of consistent top- classification. Surprisingly, it is not rigorously understood when taking the -argmax of a vector is guaranteed to return the -argmax of another vector, though doing so is crucial to describe Bayes optimality; we do both tasks. Then, we define top- calibration and show it is necessary and sufficient for consistency. Based on the top- calibration analysis, we propose a class of top- calibrated Bregman divergence surrogates. Our analysis continues by showing previously proposed hinge-like top- surrogate losses are not top- calibrated and suggests no convex hinge loss is top- calibrated. On the other…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
Taxonomy
TopicsMachine Learning and Data Classification · Domain Adaptation and Few-Shot Learning · Adversarial Robustness in Machine Learning
