A Tunable Loss Function for Robust Classification: Calibration, Landscape, and Generalization

Tyler Sypherd, Mario Diaz, John Kevin Cava, Gautam Dasarathy, Peter Kairouz +1 more
6/5/2019
cs.LGstat.ML

Official code: SankarLab/AlphaLoss-TransIT-Code-MNIST-CIFAR (4 stars, Python, last commit 2022-05-19).

Abstract

We introduce a tunable loss function called $α$-loss, parameterized by $α\in (0,\infty]$, which interpolates between the exponential loss ($α= 1/2$), the log-loss ($α= 1$), and the 0-1 loss ($α= \infty$), for the machine learning setting of classification. Theoretically, we illustrate a fundamental connection between $α$-loss and Arimoto conditional entropy, verify the classification-calibration of $α$-loss in order to demonstrate asymptotic optimality via Rademacher complexity generalization techniques, and build-upon a notion called strictly local quasi-convexity in order to quantitatively characterize the optimization landscape of $α$-loss.

Show full abstract

Practically, we perform class imbalance, robustness, and classification experiments on benchmark image datasets using convolutional-neural-networks. Our main practical conclusion is that certain tasks may benefit from tuning $α$-loss away from log-loss ($α= 1$), and to this end we provide simple heuristics for the practitioner. In particular, navigating the $α$ hyperparameter can readily provide superior model robustness to label flips ($α> 1$) and sensitivity to imbalanced classes ($α< 1$).

View on arXivView PDF

Code Implementations(1)

40Python, ShellDec 31, 20204 years ago

Similar Papers

Cite this paper

@article{sypherd2019tunable,
  title  = {A Tunable Loss Function for Robust Classification: Calibration, Landscape, and Generalization},
  author = {Tyler Sypherd and Mario Diaz and John Kevin Cava and Gautam Dasarathy and Peter Kairouz and Lalitha Sankar},
  year   = {2019},
  eprint = {1906.02314},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1906.02314}
}

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/1906.02314.svg)](https://codeofpaper.com/paper/1906.02314)

Discussion