[Paper Review] Diverse Ensembles Improve Calibration
This paper proposes a simple yet effective method to improve model calibration in deep neural network ensembles by applying diverse data augmentations—such as adversarial perturbations, AugMix, and stochastic depth—specifically tailored to each ensemble member. By additionally mixing in un-augmented inputs with a small probability, the approach enhances both calibration and accuracy on both i.i.d. and out-of-distribution data, outperforming strong baselines on CIFAR-10 and CIFAR-100 benchmarks.
Modern deep neural networks can produce badly calibrated predictions, especially when train and test distributions are mismatched. Training an ensemble of models and averaging their predictions can help alleviate these issues. We propose a simple technique to improve calibration, using a different data augmentation for each ensemble member. We additionally use the idea of `mixing' un-augmented and augmented inputs to improve calibration when test and training distributions are the same. These simple techniques improve calibration and accuracy over strong baselines on the CIFAR10 and CIFAR100 benchmarks, and out-of-domain data from their corrupted versions.
Motivation & Objective
- To address the issue of miscalibrated predictions in deep neural networks, especially under distribution shift.
- To improve calibration and generalization in ensemble models without increasing computational cost.
- To investigate whether diverse data augmentations per ensemble member enhance model calibration.
- To evaluate the impact of mixing un-augmented and augmented inputs on calibration performance.
Proposed method
- Apply different data augmentations (adversarial perturbations, AugMix, stochastic depth) to each ensemble member to increase diversity.
- Use BatchEnsemble to share most model parameters and reduce training and storage costs.
- Introduce a random mixing strategy: with probability p, use un-augmented inputs; otherwise, use augmented inputs.
- For adversarial perturbations, generate inputs using a modified fast gradient sign method with random scaling and dropout-like masking.
- For AugMix, simplify the original method by using a Bernoulli trial to select between original and augmented images instead of a Beta distribution.
- Use a shared weight matrix W with learnable adaptation vectors r_i and s_i to efficiently parameterize each ensemble member.
Experimental results
Research questions
- RQ1Does applying different data augmentations to each ensemble member improve model calibration on both i.i.d. and out-of-distribution data?
- RQ2How does mixing un-augmented and augmented inputs affect calibration and accuracy on i.i.d. test sets?
- RQ3Can diverse augmentations per ensemble member reduce miscalibration when training and test distributions differ?
- RQ4Does the choice of augmentation strategy (e.g., adversarial vs. AugMix) impact performance on corrupted data?
- RQ5Is the performance gain due to increased ensemble diversity or the specific form of data augmentation?
Key findings
- Using different augmentation severities per ensemble member reduced ECE by 1.4 percentage points on CIFAR-10-C and 1.2 points on CIFAR-100-C compared to non-diverse ensembles.
- Mixing in un-augmented inputs (p=0.875) improved calibration on i.i.d. data, reducing ECE by 0.3 points on CIFAR-10 compared to always augmenting.
- The combination of adversarial perturbations and AugMix achieved the best performance, with 10.9% error on CIFAR-10-C, outperforming Hendrycks et al. (2020)’s 34.9% error.
- Ensembles with diverse augmentations showed consistently better calibration than non-diverse counterparts on out-of-distribution data, though accuracy remained similar.
- Using only augmented inputs (p=1.0) degraded performance on i.i.d. data, indicating that exposure to in-distribution examples is crucial for calibration.
- The method outperformed strong baselines on both CIFAR-10 and CIFAR-100, achieving state-of-the-art results in calibration and accuracy across all benchmarks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.