Short‑Schedule Mixup Undermines Calibration Claims, New Benchmark Shows

Machine Learning · Mixup Augmentation: A new 10-epoch benchmark reveals mixup worsens calibration on short schedules.

A recent benchmark on CIFAR‑10 using a ResNet‑18 model run for only ten epochs shows that the popular mixup augmentation does not improve calibration under short‑schedule training and can actually increase expected calibration error.

Experimental Setup

The experiment followed a standard recipe: an adapted ResNet‑18 trained with Adam (learning rate 1e‑3, weight decay 5e‑4) under a cosine schedule for ten epochs. Three conditions were compared – a baseline with no mixup, mixup with the conservative α = 0.2 that many codebases use, and the paper’s original α = 1.0 where the blend weight is uniform on [0, 1]. Five random seeds were paired across conditions, and metrics included test accuracy, mean predicted confidence, 15‑bin expected calibration error (ECE) and negative log‑likelihood (NLL).

Accuracy vs. Training Budget

At the ten‑epoch budget the α = 0.2 mixup variant behaved as a statistical null, showing a negligible –0.08 point change in accuracy relative to the baseline. By contrast, the α = 1.0 setting reduced accuracy by 1.76 points across all five seeds, confirming prior observations that mixup’s gains manifest only on longer training schedules where the model has sufficient capacity to benefit from the regularization.

Calibration Effects Are Predictable

Mixup generates soft targets: the dominant class receives a probability of max(λ, 1 – λ). For α = 1.0 the expected dominant‑class target is 0.75; for α = 0.2 the Beta(0.2, 0.2) distribution is heavily U‑shaped, giving an expected target of 0.899. The measured mean confidences (72.9 % for α = 1.0 and 85.0 % for α = 0.2) sit a few points below these expectations, matching the “confidence haircut” implicit in the training targets. Consequently, the models are not mis‑calibrated; they simply reproduce the average confidence prescribed by mixup’s soft labels.

Because the baseline model already exhibited a modest confidence‑accuracy gap (92.5 % confidence vs. 89.7 % accuracy, ECE 2.85), applying mixup increased that gap dramatically – ECE rose to 4.70 for α = 0.2 and 15.10 for α = 1.0, the worst measured calibration error in the author’s blog series. NLL also degraded consistently with higher α values.

Practical Takeaway for Practitioners

For developers constrained to short training budgets, temperature scaling remains the most effective, low‑overhead post‑processing step: applying a single scalar fitted on 500 validation images reduced ECE to near 1.0 without harming accuracy. Native label smoothing at a dose of 0.02 achieved comparable ECE (1.21). In contrast, both standard mixup doses worsened accuracy and calibration under the ten‑epoch regime.

When mixup is used for its long‑schedule accuracy benefits, practitioners should be aware that the technique systematically depresses confidence by a dose‑determined amount. If calibrated probabilities are required, a subsequent temperature‑scaling step can recover much of the lost fidelity, as demonstrated by fitting a temperature of 0.75 on a mixup‑trained model.

Why the Myth Persists – Analysis

The longstanding belief that mixup improves calibration stems from results on deep models trained for 90–200 epochs, where the baseline networks tend to be significantly over‑confident. In that regime the built‑in confidence reduction from soft targets aligns closely with the amount of over‑confidence, producing lower ECE and reinforcing the narrative of a calibration boost. The new short‑schedule benchmark shows that the effect is not a property of the augmentation itself but a deterministic consequence of the target distribution imposed by the Beta(α, α) blend. If a model’s initial confidence gap does not match the ‘dose’ dictated by α, mixup merely shifts probabilities farther from the truth, sometimes into under‑confidence. This mechanistic insight explains why temperature scaling – a flexible, data‑driven correction – outperforms any fixed soft‑label method when calibration is the primary goal. Developers should therefore treat mixup as a regularizer that may aid accuracy on long schedules, not as a universal calibration tool.

Editorial graphic and headline text by Signal Titans.

Source: Mixup's Confidence Isn't Miscalibrated. It's Obedient · Mixup's Confidence Isn't Miscalibrated. It's Obedient

Share this article
FacebookThreadsLinkedInX

Leave a Reply

Your email address will not be published. Required fields are marked *