On Calibration of Mixup Training for Deep Neural Networks

Juan Maroñas, Daniel Ramos, Roberto Paredes
3/22/2020
cs.LGstat.ML

No official code found. Best implementation: jmaronas/calibration_MixupDNN_ARCLoss.pytorch (5 stars, Python, GPL-3.0, last commit 2021-01-28).

Abstract

Deep Neural Networks (DNN) represent the state of the art in many tasks. However, due to their overparameterization, their generalization capabilities are in doubt and still a field under study.

Show full abstract

Consequently, DNN can overfit and assign overconfident predictions -- effects that have been shown to affect the calibration of the confidences assigned to unseen data. Data Augmentation (DA) strategies have been proposed to regularize these models, being Mixup one of the most popular due to its ability to improve the accuracy, the uncertainty quantification and the calibration of DNN. In this work however we argue and provide empirical evidence that, due to its fundamentals, Mixup does not necessarily improve calibration. Based on our observations we propose a new loss function that improves the calibration, and also sometimes the accuracy, of DNN trained with this DA technique. Our loss is inspired by Bayes decision theory and introduces a new training framework for designing losses for probabilistic modelling. We provide state-of-the-art accuracy with consistent improvements in calibration performance. Appendix and code are provided here: https://github.com/jmaronas/calibration_MixupDNN_ARCLoss.pytorch.git

View on arXivView PDF

Code Implementations(1)

GPL-3.0

This repository contains code and further information for the work in https://arxiv.org/abs/2003.09946

50Python, ShellMar 9, 20205 years agoGPL-3.0

Similar Papers

Cite this paper

@article{maroas2020calibration,
  title  = {On Calibration of Mixup Training for Deep Neural Networks},
  author = {Juan Maroñas and Daniel Ramos and Roberto Paredes},
  year   = {2020},
  eprint = {2003.09946},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2003.09946}
}

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

Discussion