Skip to main content
QUICK REVIEW

[Paper Review] RegMixup: Mixup as a Regularizer Can Surprisingly Improve Accuracy and Out Distribution Robustness

Francesco Pinto, Harry Yang|arXiv (Cornell University)|Jun 29, 2022
Anomaly Detection Techniques and ApplicationsComputer Science14 citations
TL;DR

RegMixup proposes a simple yet effective method that uses Mixup as a regularizer alongside standard cross-entropy loss, significantly improving model accuracy, uncertainty estimation, and out-of-distribution robustness. By combining empirical risk minimization with vicinal risk minimization, it mitigates Mixup’s tendency to produce high-entropy predictions across all inputs, leading to superior performance on ImageNet, CIFAR-10/100, and various distribution shift and OOD detection benchmarks.

ABSTRACT

We show that the effectiveness of the well celebrated Mixup [Zhang et al., 2018] can be further improved if instead of using it as the sole learning objective, it is utilized as an additional regularizer to the standard cross-entropy loss. This simple change not only provides much improved accuracy but also significantly improves the quality of the predictive uncertainty estimation of Mixup in most cases under various forms of covariate shifts and out-of-distribution detection experiments. In fact, we observe that Mixup yields much degraded performance on detecting out-of-distribution samples possibly, as we show empirically, because of its tendency to learn models that exhibit high-entropy throughout; making it difficult to differentiate in-distribution samples from out-distribution ones. To show the efficacy of our approach (RegMixup), we provide thorough analyses and experiments on vision datasets (ImageNet & CIFAR-10/100) and compare it with a suite of recent approaches for reliable uncertainty estimation.

Motivation & Objective

  • To address the poor out-of-distribution (OOD) detection performance of standard Mixup, which often produces uniformly high predictive entropy.
  • To improve uncertainty estimation and robustness under covariate shift and OOD scenarios without sacrificing in-distribution accuracy.
  • To develop a simple, efficient, and architecture-free method that outperforms complex ensemble and uncertainty-aware models.
  • To demonstrate that combining Mixup with standard cross-entropy loss via a hybrid training objective enhances generalization and reliability.
  • To provide a minimal modification to Mixup that significantly improves its reliability in real-world deployment scenarios.

Proposed method

  • RegMixup trains a model using a combined loss: standard cross-entropy on clean samples and Mixup-based loss on interpolated samples.
  • The method explicitly combines Empirical Risk Minimization (ERM) and Vicinal Risk Minimization (VRM) objectives to better approximate the true data distribution.
  • For each training batch, the model computes a weighted average of the cross-entropy loss on original inputs and the Mixup loss on interpolated inputs.
  • The interpolation coefficient λ is sampled from a Beta(α, α) distribution, and the model is trained to minimize the sum of both losses.
  • The approach requires no architectural changes, no additional parameters, and is compatible with any deep learning model.
  • The method is evaluated across multiple datasets including ImageNet-1K, CIFAR-10/100, and their covariate shift variants, with OOD detection on multiple benchmark datasets.

Experimental results

Research questions

  • RQ1Can Mixup be improved as a regularizer to enhance both in-distribution accuracy and out-of-distribution robustness?
  • RQ2Why does standard Mixup fail to distinguish in-distribution from out-of-distribution samples, and can this be corrected?
  • RQ3Does combining Mixup with standard cross-entropy loss lead to better uncertainty estimation than using Mixup alone?
  • RQ4Can a simple, single-model, non-ensemble method outperform expensive deep ensembles in OOD detection?
  • RQ5How does RegMixup compare to state-of-the-art methods like SNGP and DUQ in terms of accuracy and uncertainty calibration?

Key findings

  • RegMixup achieves state-of-the-art performance on ImageNet-1K, CIFAR-10/100, and their covariate shift variants, outperforming both standard Mixup and recent SOTA methods.
  • On CIFAR-100 with covariate shift, RegMixup achieves 83.92% accuracy and 55.50% AUROC, outperforming CutMix (80.21% and 45.23%) and RegCutMix (79.07% and 44.64%).
  • On SVHN OOD detection, RegMixup achieves 90.23% AUROC, significantly outperforming ViT-Mixup+CutMix (85.36%) and ViT-RegMixup+CutMix (86.44%).
  • RegMixup achieves 97.47% accuracy and 79.10% AUROC on CIFAR-10 with ResNet50, outperforming Mixup+CutMix (97.23% and 77.60%) and ViT-RegMixup+RegCutMix (96.47% and 75.36%).
  • RegMixup consistently outperforms deep ensembles in OOD detection on multiple benchmarks, despite being a single deterministic model.
  • The method significantly reduces the model’s tendency to assign high entropy to all inputs, enabling better discrimination between in-distribution and out-of-distribution samples.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.