Tailoring Mixup to Data for Calibration

Quentin Bouniot, Pavlo Mozharovskyi, Florence d'Alch'e-Buc
2/12/2026

Official code: torch-uncertainty/torch-uncertainty (527 stars, Apache-2.0, PyTorch, last commit 2026-05-04). 1 more implementation below.

Abstract

Among all data augmentation techniques proposed so far, linear interpolation of training samples, also called Mixup, has found to be effective for a large panel of applications. Along with improved predictive performance, Mixup is also a good technique for improving calibration. However, mixing data carelessly can lead to manifold mismatch, i.e., synthetic data lying outside original class manifolds, which can deteriorate calibration. In this work, we show that the likelihood of assigning a wrong label with mixup increases with the distance between data to mix. To this end, we propose to dynamically change the underlying distributions of interpolation coefficients depending on the similarity between samples to mix, and define a flexible framework to do so without losing in diversity. We provide extensive experiments for classification and regression tasks, showing that our proposed method improves predictive performance and calibration of models, while being much more efficient.

View on arXivView PDF

Code Implementations(2)

PyTorchApache-2.0

Open-source framework for uncertainty and deep learning models in PyTorch 🌱

52747Shell, PythonFeb 1, 20235 months agoApache-2.0
bayesian-networkcomputer-visionensemblesneural-networkspredictive-uncertainty+5 more

[ICLR 2025] Tailoring Mixup to Data for Calibration

71PythonJun 11, 20241 years ago

Similar Papers

Cite this paper

@article{bouniot2026tailoring,
  title  = {Tailoring Mixup to Data for Calibration},
  author = {Quentin Bouniot and Pavlo Mozharovskyi and Florence d'Alch'e-Buc},
  year   = {2026},
  eprint = {2311.01434},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2311.01434},
  journal = {ICLR 2023 2023}
}

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

Discussion