NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Mixup Augmentation with Multiple Interpolations

Lifeng Shen, Jincheng Yu, Hansi Yang, James T. KwokarXiv 2024

Abstract

Standard Mixup data augmentation generates a single interpolated sample from a pair of training examples, which can lead to high stochastic gradient variance and an incomplete representation of the transformation path between classes. This paper introduces multi-mix, a simple extension that generates multiple interpolations per pair. Multi-mix reduces gradient variance and provides a smoother learning path, resulting in improved generalization, robustness, and calibration across various deep learning tasks.

Introduction

Deep neural networks often suffer from overfitting and poor performance on out-of-distribution data. Mixup addressed this by encouraging linear behavior between training samples through interpolation: $\hat{x} = (1-\lambda)x + \lambda x'$. However, standard Mixup's single-point sampling per iteration fails to fully capture the transition between classes and introduces significant randomness into the training process.

Methodology: The Multi-mix Approach

The proposed multi-mix algorithm generates $K$ augmented samples $\{\hat{x}_k, \hat{y}_k\}_{k=1}^K$ for a given pair of samples $(x, y)$ and $(x', y')$. Each sample is created using a distinct mixing coefficient $\lambda_k$ drawn from a Beta distribution. This approach is compatible with various Mixup variants, including Input Mixup, Manifold Mixup, Cutmix, and Puzzle-mix.

Visualizing the transformation path with multiple interpolations across different mixup variants.

By sampling multiple points along the line connecting two data points, the model is exposed to a denser representation of the feature space. Theoretically, the authors prove that multi-mix reduces the variance of the stochastic gradient compared to standard Mixup. For a fixed computational budget, using multiple interpolations on the same pair is often more effective than using more unique pairs with single interpolations.

Key Insights and Decision Boundaries

A primary benefit of multi-mix is the smoother "transformation path" it provides. Instead of jumping between isolated points, the model learns the continuous transition between classes. This effect is particularly visible in synthetic experiments.

Decision boundaries on the Noisy Spiral dataset using Manifold-mix with multi-mix.

As shown in the spiral dataset visualization, multi-mix produces significantly cleaner and more robust decision boundaries. Furthermore, the method improves model calibration, reducing the Expected Calibration Error (ECE) significantly on large-scale datasets like ImageNet.

Experimental Results

The researchers evaluated multi-mix on several benchmarks:

  • CIFAR-100: Combined with Puzzle-mix, multi-mix achieved a test error of 18.23%, compared to 20.61% for standard Puzzle-mix.
  • ImageNet-1K: Multi-mix reached a validation error of 22.29% on ResNet-50, the best among all tested variants.
  • Robustness: On background-corrupted ImageNet, multi-mix reduced error to 25.53% (vs. 29.22% baseline).
  • Calibration: On ImageNet, multi-mix reduced ECE to 1.46%.

Ablation studies suggest that performance gains saturate around $K=5$, making it a practical default for most applications.

Conclusion

Multi-mix is a simple yet effective enhancement to the Mixup family of augmentations. By leveraging multiple interpolations, it stabilizes training through variance reduction and encourages smoother decision surfaces. While it introduces some computational overhead, the gains in accuracy, robustness, and calibration make it a valuable tool for training deep neural networks.

Summary updated

BibTeX
@misc{shen2024mixup,
  author = {Lifeng Shen and Jincheng Yu and Hansi Yang and James T. Kwok},
  title = {{Mixup Augmentation with Multiple Interpolations}},
  year = {2024},
  eprint = {2406.01417},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.01417},
}
Figure