Building a stable classifier with the inflated argmax

Jake A. Soloff, Rina Foygel Barber, Rebecca Willett
5/22/2024
stat.MLcs.LGmath.ST

No official code found. Best implementation: jake-soloff/stable-argmax-experiments (0 stars, last commit 2024-05-22).

Abstract

We propose a new framework for algorithmic stability in the context of multiclass classification. In practice, classification algorithms often operate by first assigning a continuous score (for instance, an estimated probability) to each possible label, then taking the maximizer -- i.e., selecting the class that has the highest score. A drawback of this type of approach is that it is inherently unstable, meaning that it is very sensitive to slight perturbations of the training data, since taking the maximizer is discontinuous. Motivated by this challenge, we propose a pipeline for constructing stable classifiers from data, using bagging (i.e., resampling and averaging) to produce stable continuous scores, and then using a stable relaxation of argmax, which we call the "inflated argmax," to convert these scores to a set of candidate labels. The resulting stability guarantee places no distributional assumptions on the data, does not depend on the number of classes or dimensionality of the covariates, and holds for any base classifier. Using a common benchmark data set, we demonstrate that the inflated argmax provides necessary protection against unstable classifiers, without loss of accuracy.

View on arXivView PDF

Code Implementations(1)

00Shell, PythonMay 22, 20242 years ago

Similar Papers

Cite this paper

@article{soloff2024building,
  title  = {Building a stable classifier with the inflated argmax},
  author = {Jake A. Soloff and Rina Foygel Barber and Rebecca Willett},
  year   = {2024},
  eprint = {2405.14064},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2405.14064},
  url    = {http://arxiv.org/abs/2405.14064v2},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.14064.svg)](https://codeofpaper.com/paper/2405.14064)

Discussion