Uncertainty Quantification and Deep Ensembles

Rahul Rahaman, Alexandre H. Thiery

Introduction

Overparametrized deep models can memorize datasets with labels entirely randomized . It is consequently not entirely clear why such extremely flexible models are able to generalize well on unseen data and trained with algorithms as simple as stochastic gradient descent, although a lot of progress on these questions have recently been reported .

The high capacity of neural network models, and their ability to easily overfit complex datasets, makes them especially vulnerable to calibration issues. In many situations, standard deep-learning approaches are known to produce probabilistic forecasts that are over-confident . In this text, we consider the regime where the size of the training sets is very small, which typically amplifies these issues. This can lead to problematic behaviors when deep neural networks are deployed in scenarios where a proper quantification of the uncertainty is necessary. Indeed, a host of methods have been proposed to mitigate these calibration issues, even though no gold standard has so far emerged. Many different forms of regularization techniques have been shown to reduce overfitting in deep neural networks. Importantly, practical implementations and approximations of Bayesian methodologies have demonstrated their worth in several settings. However, some of these techniques are not entirely straightforward to implement in practice. Ensembling approaches such as drop-outs have been widely adopted, largely due to their ease of implementation. Recently, provides a study on different ensembling techniques and describes pitfalls of certain metric for in-domain uncertainty quantification. Also subsequent to our work, several articles also studied the interaction between data-augmentation and calibration issues. Importantly, the CAMixup approach is proposed as a promising solution in . Furthermore, analyzes the under-confidence of ensembles due to augmentations from a theoretical perspective. In this text, we investigate the practical use of Deep-Ensembles , a straightforward approach that leads to state-of-the-art performances in most regimes. Although deep-ensembles can be difficult to implement when training datasets are large (but calibration issues are less pronounced in this regime), the focus of this text is the data-scarce setting where the computational burden associated with deep-ensembles is not a significant problem.

Contributions: We study the interaction between three of the most simple and widely used methods for adopting deep-learning to the low-data regime: ensembling, temperature scaling, and mixup data augmentation.

Despite the widely-held belief that model averaging improves calibration properties, we show that, in general, standard ensembling practices do not lead to better-calibrated models. Instead, we show that averaging the predictions of a set of neural networks generally leads to less confident predictions: that is generally only beneficial in the oft-encountered regime when each network is overconfident. Although our results are based on Deep Ensembles, our empirical analysis extends to any class of model averaging, including sampling-based Bayesian Deep Learning methods.

We empirically demonstrate that networks trained with the mixup data-augmentation scheme, a widespread practice in computer vision, are typically under-confident. Consequently, subtle interactions between ensembling techniques and modern data-augmentation pipelines have to be considered for proper uncertainty quantification. The typical distributional shift induced by the mixup data-augmentation strategy influences the calibration properties of the resulting trained neural networks. In these settings, a standard ensembling approach typically worsens the calibration issues.

Post-processing techniques such as temperature scaling are sometimes regarded as competing methods when comparing the performance of many modern model-averaging techniques. Instead, to mitigate the under-confidence of model averaging, temperature scaling should be used in conjunction with deep-ensembling methods. More importantly, the order in which the aggregation and the calibration procedures are carried out greatly influences the resulting uncertainty quantification. These findings lead us to formulate the straightforward Pool-Then-Calibrate strategy for post-processing deep-ensembles: (1) in a first stage, separately train deep models (2) in a second stage, fit a single temperature parameter by minimizing a proper scoring rule (eg. cross-entropy) on a validation set. In the low data regime, this simple procedure can halve the Expected Calibration Error (ECE) on a range of benchmark classification problems when compared to standard deep-ensembles. Although straightforward to implement, to the best of our knowledge this strategy has not been investigated in the literature prior to our work.

Background

Augmentation: Consider a training dataset D≡{xi,yi}i=1N\mathcal{D}\equiv\{x_{i},y_{i}\}_{i=1}^{N} and denote by y‾∈ΔC\overline{y}\in\Delta_{C} the one-hot encoded version of the label y∈Yy\in\mathcal{Y}. A stochastic augmentation process Aug\mathchar58X×ΔC→X×ΔC\text{Aug}\mathrel{\mathop{\mathchar 58\relax}}\mathcal{X}\times\Delta_{C}\to\mathcal{X}\times\Delta_{C} maps a pair (x,y‾)∈X×ΔC(x,\overline{y})\in\mathcal{X}\times\Delta_{C} to another augmented pair (x⋆,y‾⋆)(x_{\star},\overline{y}_{\star}). In computer vision, standard augmentation strategies include rotations, translations, brightness and contrast manipulations. In this text, in addition to these standard agumentations, we also make use of the more recently proposed mixup augmentation strategy that has proven beneficial in several settings. For a pair (x,y‾)∈X×ΔC(x,\overline{y})\in\mathcal{X}\times\Delta_{C}, its mixup-augmented version (x⋆,y‾⋆)(x_{\star},\overline{y}_{\star}) is defined as

for a random coefficient γ∈(0,1)\gamma\in(0,1) drawn from a fixed mixing distribution often chosen as Beta(α,α)\text{Beta}(\alpha,\alpha), and a random index JJ drawn uniformly within {1,…,N}\{1,\ldots,N\}.

Model averaging: Ensembling methods leverage a set of models by combining them into an aggregated model. In the context of deep learning, Bayesian averaging consists of weighting the predictions according to the Bayesian posterior π(dw∣Dtrain)\pi(d\mathbf{w}\mid\mathcal{D}_{\text{train}}) on the neural weights. Instead of finding an optimal set of weights by minimizing a loss function, predictions are averaged. Denoting by pw(x)∈ΔC\mathbf{p}_{\mathbf{w}}(x)\in\Delta_{C} the probabilistic prediction associated to sample x∈Xx\in\mathcal{X} and neural weight w\mathbf{w}, the Bayesian approach advocates to consider

Designing sensible prior distributions is still an active area of research, and data-augmentation schemes, crucial in practice, are not entirely straightforward to fit into this framework. Furthermore, the high-dimensional integral (1) is (extremely) intractable: the posterior distribution π(dw∣Dtrain)\pi(d\mathbf{w}|\mathcal{D}_{\text{train}}) is multi-modal, high-dimensional, concentrated along low-dimensional structures, and any local exploration algorithm (eg. MCMC, Langevin dynamics and their variations) is bound to only explore a tiny fraction of the state space. Because of the typically large number of degrees of symmetries, many of these local modes correspond to essentially similar predictions, indicating that it is likely not necessary to explore all the modes in order to approximate (1) well. A detailed understanding of the geometric properties of the posterior distribution in Bayesian neural networks is still lacking, although a lot of recent progress has been made. Indeed, variational approximations have been reported to improve, in some settings, over standard empirical risk minimization procedures. Deep-ensembles can be understood as crude, but practical, approximations of the integral in Equation (1). The high-dimensional integral can be approximated by a simple non-weighted average over several modes w1,…,wK\mathbf{w}_{1},\ldots,\mathbf{w}_{K} of the posterior distribution found by minimizing the negative log-posterior, or some approximations of it, with standard optimization techniques:

We refer the interested reader to for different perspectives on Bayesian neural networks. Although simple and not well understood, deep-ensembles have been shown to provide highly robust uncertainty quantification when compared to more sophisticated approaches .

Post-processing Calibration Methods: The article proposes a class of post-processing calibration methods that extend the more standard Platt Scaling approach . Temperature Scaling, the simplest of these methods, transforms the probabilistic outputs p(x)∈ΔC\mathbf{p}(x)\in\Delta_{C} into a tempered version Scale⁡[p(x),τ]∈ΔC\operatorname{Scale}[\mathbf{p}(x),\tau]\in\Delta_{C} defined through the scaling function

for a temperature parameter τ>0\tau>0 and normalization Z>0Z>0. The optimal parameter τ⋆>0\tau_{\star}>0 is usually found by minimizing proper-scoring rules , often chosen as the negative log-likelihood, on a validation dataset. Crucially, during this post-processing step, the parameters of the probabilistic model are kept fixed: the only parameter being optimized is the temperature τ>0\tau>0. In the low-data regime, the validation set being also extremely small, we have empirically observed that the more sophisticated Vector and Matrix scaling post-processing calibration methods do not offer any significant advantage over temperature scaling approach and in fact overfit the extremely small validation dataset as chosen by our setup.

Calibration Metrics: The Expected Calibration Error (ECE) measures the discrepancy between prediction confidence and empirical accuracy. For a partition 0=c0<…<cM=10=c_{0}<\ldots<c_{M}=1 of the unit interval and a labelled set {xi,yi}i=1N\{x_{i},y_{i}\}_{i=1}^{N}, set Bm={i\mathchar58cm−1<p^(xi)≤cm}B_{m}=\{i\mathrel{\mathop{\mathchar 58\relax}}c_{m-1}<\widehat{p}(x_{i})\leq c_{m}\}. The quantity ECE is then defined as

A model is calibrated if acc⁡m≈conf⁡m\operatorname{acc}_{m}\approx\operatorname{conf}_{m} for all 1≤m≤M1\leq m\leq M. It is often instructive to display the associated reliability curve, i.e. the curve with conf⁡m\operatorname{conf}_{m} on the x-axis and the difference (acc⁡m−conf⁡m)(\operatorname{acc}_{m}-\operatorname{conf}_{m}) on the y-axis. Figure 1 displays examples of such reliability curves. A perfectly calibrated model is flat (i.e. acc⁡m−conf⁡m=0\operatorname{acc}_{m}-\operatorname{conf}_{m}=0), while the reliability curve associated to an under-confident (resp. over-confident) model prominently lies above (resp. below) the flat line acc⁡m−conf⁡m=0\operatorname{acc}_{m}-\operatorname{conf}_{m}=0. We sometimes also report the value of the Brier score defined as 1N∑i=1N∥p(xi)−y‾i∥22\frac{1}{N}\sum_{i=1}^{N}\|\mathbf{p}(x_{i})-\overline{y}_{i}\|_{2}^{2}.

Setup and implementation details: For our experiments, we use standard neural architectures. For CIFAR10/100 we use ResNet18, ResNet34 for Imagenette/Imagewoof , and for the Diabetic Retinopathy , similar to we use the architecture (not containing any residual connection) from the 5th5^{th} place solution of the associated Kaggle challenge. We also include the results for LeNet trained on the MNIST dataset in the appendix. A very low number of training examples (CIFAR10 ⁣\mathchar581000,10\!\mathrel{\mathop{\mathchar 58\relax}}1000, CIFAR100 ⁣\mathchar585000,100\!\mathrel{\mathop{\mathchar 58\relax}}5000, Image{nette, woof}: 50005000, MNIST: 500500) was used for all the datasets. However, we also show that our observations extend to full-data setups in 4. The validation dataset is chosen from the leftover training dataset. The test dataset is kept as the original and is hidden during both training and validation step.

Empirical Observations

Linear pooling: It has been observed in several studies that averaging the probabilistic predictions of a set of independently trained neural networks, i.e., deep-ensembles, often leads to more accurate and better-calibrated forecasts . Figure 1 displays the reliability curves across three different datasets of a set of K=30K=30 independently trained neural networks, as well as the reliability curves of the aggregated forecasts obtained by simply linear averaging the K=30K=30 individual probabilistic predictions. These results suggest that deep-ensembles consistently lead to predictions that are less confident than the ones of its individual constituents. This can indeed be beneficial in the often encountered situation when each individual neural network is overconfident. Nevertheless, this phenomenon should not be mistaken with an intrinsic property of deep ensembles to lead to better-calibrated forecasts. For example, and as discussed further in Section 4, networks trained with the popular mixup data-augmentation are typically under-confident. Ensembling such a set of individual networks typically leads to predictions that are even more under-confident.

Other BNN methods: It is important to point out that under-confidence of pooled predictions are not limited to Deep Ensembles. Other modern Bayesian Neural Network methods show similar properties. In table 1 we can see that ensembles obtained by SWAG and MC-Dropout , two other popular model averaging techniques, are more under-confident than the individual models.

Equation (6) shows that averaging classifications rules decreases the DC score (i.e. the aggregated estimates are less confident). Furthermore, the more dissimilar the individual classification rules, the larger the decrease. Even if each individual model is well-calibrated, i.e. DC(p(i))=0\text{DC}(p^{(i)})=0 for 1≤i≤K1\leq i\leq K, the averaged model is not well-calibrated as soon as at least two of them are not identical.

Over-confidence: The second column represents the Reliability curve, but with bins (x-axis) as distance percentile, rather than confidence. The predictions associated with samples chosen further away from the training set have a lower value of acc⁡−conf⁡\operatorname{acc}-\operatorname{conf}. This indicates that the over-confidence of the predictions increases (esp. lower mixup α\alpha) with the distance to the training set. In other words, even if the entropy increases as the distance increases (as it should), calibration issues do not vanish as the distance to the training set increases. This phenomenon is irrespective of the amount of mixup used for training the network.

Effect of mixup-augmentation: The first row of Figure 2 shows that increasing the amount of mixup augmentation generally leads to an increase in entropy, decrease in over-confidence, as well as more accurate predictions (lower NLL and higher accuracy). Additionally, the effect is less pronounced for α≥0.2\alpha\geq 0.2. This is confirmed in Figure 3 that displays more generally the effect of the mixup-augmentation on the reliability curves over four different datasets. In the appendix we provide more analysis on this.

Temperature Scaling: Importantly, the second row of Figure 2 indicates that a post-processing temperature scaling for the individual models almost washes-out all the differences due to the mixup-augmentation scheme. For this experiment, an ensemble of K=30K=30 networks is considered: before averaging the predictions, each network has been individually temperature scaled by fitting a temperature parameter (through negative likelihood minimization) on a validation set of size Nvalid=50N_{\text{valid}}=50.

Calibrating Deep Ensembles

In order to calibrate deep ensembles, several methodologies can be considered:

(A) Do nothing and hope that the averaging process intrinsically leads to better calibration

(B) Calibrate each individual network before aggregating all the results

(C) Simultaneously aggregate and calibrate the probabilistic forecasts of each individual model.

(D) Aggregate first the estimates of each individual model before calibrating the pooled estimate.

Replacing the averaging with the median operation leads to median pooling strategy, where the median is taken component-wise and then normalized afterward to obtain the final probability prediction. Alternatively, trimmed linear pooling strategy removes a pre-defined percentage of outlier predictions before performing the average in 7.

Pool-Then-Calibrate (D): any of the aforementioned aggregation procedure can be used as a pooling strategy before fitting a temperature τ⋆\tau_{\star} by minimizing proper scoring rules on a validation set. In all our experiments, we minimized the negative log-likelihood (i.e., cross-entropy). For a given set p1\mathchar58K\mathbf{p}^{1\mathrel{\mathop{\mathchar 58\relax}}K} of K≥2K\geq 2 probabilistic forecasts, the final prediction is defined as

Joint Pool-and-Calibrate (C): there are several situations when the so-called end-to-end training strategy consisting in jointly optimizing several component of a composite system leads to increased performances . In our setting, this means learning the optimal temperature τ⋆\tau_{\star} concurrently with the aggregation procedure. The optimal temperature τ⋆\tau_{\star} is found by minimizing a proper scoring rule Score(⋅)\text{Score}(\cdot) on a validation set Dvalid≡{xi,yi}i=1Nval\mathcal{D}_{\text{valid}}\equiv\{x_{i},y_{i}\}_{i=1}^{N_{\text{val}}},

where \mathbf{p}^{\tau}_{i}\;=\;\textbf{Agg}\big{[}\operatorname{Scale}(\mathbf{p}^{1\mathrel{\mathop{\mathchar 58\relax}}K}(x_{i}),\tau)\big{]}\in\Delta_{C} denotes the aggregated probabilistic prediction for sample xix_{i}. In all our experiments, we have found it computationally more efficient and robust to use a simple grid search for finding the optimal temperature; we used n=100n=100 temperatures equally spaced on a logarithmic scale in between τmin=10−2\tau_{\text{min}}=10^{-2} and τmax=10\tau_{\text{max}}=10.

Importance of the Pooling and Calibration order: Figure 4 shows calibration curves when individual models are temperature scaled separately (i.e. group [B] of methods), as well as when the models are scaled with a common temperature parameter (i.e. group [C] of methods). Furthermore, the calibration curves of the pooled model (group [B] and [C] of methods) are also displayed. More formally, the group [B] of methods obtains for each individual model 1 ⁣≤ ⁣k ⁣≤ ⁣K1\!\leq\!k\!\leq\!K an optimal temperature τ⋆(k)>0\tau_{\star}^{(k)}>0 as solution of the optimization procedure

where pik∈ΔC\mathbf{p}_{i}^{k}\in\Delta_{C} denotes the probabilistic output of the kthk^{th} model for the ithi^{th} example in validation dataset. The light blue calibration curves corresponds to the outputs \operatorname{Scale}\big{[}\mathbf{p}^{k},\tau^{(k)}_{\star}\big{]} for KK different models. The deep blue calibration curve corresponds the linear pooling of the individually scaled predictions. For the group [C] of methods, a single common temperature τ⋆>0\tau_{\star}>0 is obtained as solution of the optimization procedure described in equation (9). The orange calibration curves are generated using the predictions \operatorname{Scale}\big{[}\mathbf{p}^{k},\tau_{\star}\big{]}, and the red curve corresponds to the prediction \textbf{Agg}\big{[}\operatorname{Scale}(\mathbf{p}^{1\mathrel{\mathop{\mathchar 58\relax}}K},\tau_{\star})\big{]}. Notice that when scaled separately (by τ⋆(k)\tau^{(k)}_{\star}), each of the individual models (light blue) is close to being calibrated, but the resulting pooled model (deep blue) is under-confident. However, when scaled by a common temperature, the optimization chooses a temperature τ⋆\tau_{\star} that makes the individual models (orange) slightly over-confident so that the resulting pooled model (red) is nearly calibrated. This reinforces the justifications in section 3, and it also shows the importance of the order of pooling and scaling.

Figure 5 compares the four methodologies A-B-C-D identified at the start of this section, with the three different pooling approaches Aggavg\textbf{Agg}_{\text{avg}} and Aggmed\textbf{Agg}_{\text{med}} and Aggtrim\textbf{Agg}_{\text{trim}}. These methods are compared to the baseline approach (in dashed red line) consisting of fitting a single network trained with the same amount α=1\alpha=1 of mixup augmentation before being temperature scaled. All the experiments are executed 5050 times, on the same training set, but with 5050 different validation sets of size Nval=50N_{\text{val}}=50 for CIFAR10, Imagenette, Imagewoof and Nval=300N_{\text{val}}=300 for CIFAR100, and Nval=500N_{\text{val}}=500 for the Diabetic Retinopathy dataset. The results indicate that on most metrics and datasets, the (naive) method (A){\bf(A)} consisting of simply averaging predictions is not competitive. Secondly, and as explained in the previous section, the method (B) consisting in first calibrating the individual networks before pooling the predictions is less efficient across metrics than the last two methods (C−D){\bf(C-D)}. Finally, the two methods (C−D){\bf(C-D)} perform comparably, the method (D) (i.e. pool-then-calibrate) being slightly more straightforward to implement. With regards to the pooling methods, the intuitive robustness of the median and trimmed-averaging approaches do not seem to lead to any consistent gain across metrics and datasets. Note that ensembling a set of K=30K=30 networks (without any form of post-processing) does lead to a very significant improvement in NLL and Brier score but leads to a serious deterioration of the ECE. The Pool-Then-Calibrate keeps the gains in NLL/Brier score unaffected, without compromising calibration.

Importance of the validation set: it would be practically useful to be able to fit the temperature without relying on a validation set. We report that using the training set instead (obviously) does not lead to better-calibrated models. We have tried to use a different amount of mixup-augmentation (and other types of augmentation) on the training set for fitting the temperature parameter but have not been able to obtain satisfying results.

Role and effect of mixup-augmentation: the mixup augmentation strategy is popular and straightforward to implement. As already empirically described in Section 3, increasing the amount of mixup-augmentation typically leads to a decrease in the confidence and increase in entropy of the predictions. This can be beneficial in some situations but also indicates that this approach should certainly be employed with care for producing calibrated probabilistic predictions. Contrarily to other geometric data-augmentation transformations such as image flipping, rotations, and dilatations, the mixup strategy produces non-realistic images that consequently lie outside the data-manifold of natural images: leading to a large distributional shift. Mixup relies on a subtle trade-off between the increase in training data diversity, which can help mitigate over-fitting problems, and the distributional shift that can be detrimental to the calibration properties of the resulting method. Figure 6 compares the performance of the Pool-Then-Calibrate approach when applied to a deep ensemble of K=30K=30 networks trained with different amounts of mixup-α\alpha. The results are compared to the same approach (i.e. Pool-then-Calibrate with K=30K=30 networks) with no mixup-augmentation. The results indicate a clear benefit in using the mixup-augmentation in conjunction with temperature scaling.

Extension to full-data setting: Although classification accuracy is usually not an issue when data is plentiful, the lack of calibration can indeed be still present when models are trained with aggressive data-augmentation strategies (as is common nowadays): the distributional shift between (data-augmented) training samples and (non-augmented) test samples when models are used in production can lead to significant calibration issues. Although we mainly focus on low-data setting, below in table 2 we show that our conclusion extends to full-data setting as well. We have investigated below the CIFAR100 full dataset (ResNet architecture / no-mixup) setting under varying conditions.

The first row reports the performance of individual models trained without mixup: the individual models are over-confident, but not extremely over-confident (presumably because of the large number of samples). When these models are pooled to make an ensemble in the second row, the pooled model is better calibrated. This is the setup that is usually studied in almost every early articles investigating the properties of deep-ensembles, hence leading to the conclusion that deep-ensembling inherently brings calibration. When we make the individual models calibrated in the 3rd3^{rd} row, where we used temp-scaling but it can also be due to the effect of more aggressive data-augmentation schemes, the individual calibration naturally improves significantly. Nevertheless, when we pool these calibrated models to make an ensemble, the pooled model suffers from extreme under-confidence (4th4^{th} row). Our proposed method pool-then-calibrate (5th5^{th} row) performs well even in full-data setting.

Out-of-distribution performance: We show the out-of-distribution detection performance of our method compared to vanilla ensembling when the ensembles are trained on CIFAR10 and tested on a subset of CIFAR100 classes which are visually different from CIFAR10. In table 3, we show the metric: difference between the medians of the in-class and out-of-class prediction entropy (higher is better).

Pool-then-Calibrate performs significantly better than vanilla ensemble in separating the predictions for in-class and out-of-class observations (45% more separation in terms of distance between medians). In table 4, we also show the performance when we run inference on the CIFAR10-C dataset (Gaussian noise) after training our ensemble model on the setting: 1000 samples of CIFAR10 dataset with mixup 1.0. As expected, vanilla ensembling with linear pooling (A) has worse calibration than single models, while pool-then-calibrate (D) improves score across the board.

Additional experiments: In the appendix, we add more experiments on the effect of number of models in the ensemble, detailed numerical results for all datasets as well as MNIST, ablation study, and effect of different mixup levels on all the metrics.

Cold posteriors: the article reports gains in several metrics when fitting Bayesian neural networks to a tempered posterior of type πτ(θ)∝π(θ)1/τ\pi_{\tau}(\theta)\propto\pi(\theta)^{1/\tau}, where π(θ)\pi(\theta) is the standard Bayesian posterior, for temperatures τ\tau smaller than one. Although not identical to our setting, it should be noted that in all our experiments, the optimal temperature τ⋆\tau_{\star} was consistently smaller than one. In our setting, this is because simply averaging predictions lead to under-confident results. We postulate that related mechanisms are responsible for the observations reported in .

Discussion

The problem of calibrating deep-ensembles has received surprisingly little attention in the literature. In this text, we examined the interaction between three of the most simple and widely used methods for adopting deep-learning to the low-data regime: ensembling, temperature scaling, and mixup data augmentation. We highlight that ensembling in itself does not lead to better-calibrated predictions, that the mixup augmentation strategy is practically important and relies on non-trivial trade-offs, and that these methods subtly interact with each other. Crucially, we demonstrate that the order in which the pooling and temperature scaling procedures are executed is important to obtaining calibrated deep-ensembles. We advocate the Pool-Then-Calibrate approach consisting of first pooling the individual neural network predictions together before eventually post-processing the result with a simple and robust temperature scaling step.

Broader Impact

Producing well-calibrated probabilistic predictions is crucial to risk management, and when decisions that rely on the outputs of probabilistic models have to be trusted. Furthermore, designing well-calibrated models is crucial to the adoption of machine-learning methods by the general public, especially in the field of AI-driven medical diagnosis, since it is intimately related to the issue of trust in new technologies.

Appendix A Additional experiments

Figure 7 shows the performance of the different pooling methods (i.e. groups [B]-[D]) on the CIFAR10 dataset, as a function of the number of individual models in the ensemble. For clarity, the (non-calibrated) group [A] of methods are not reported. Recall that the group [A] pools the the predictions without any calibration procedure, the group [B] first calibrates each individual models separately before aggregating the results, the group [C] jointly calibrates and aggregates the prediction, and finally the group [D] first aggregates the results before calibrating the resulting prediction. Methods in group [C] and [D] performs similarly. For the CIFAR10 dataset, we observe that the performance under most metrics saturates for ensemble of sizes ≈15\approx 15.

Effect of mixup α𝛼\alpha

In figure 8 we list generalization and calibration results of high α\alpha mixup augmentation. All the setups in which we analyze the performance are limited in the number of training data points. It shows that even if with adequate data, high mixup makes models under-confident; for low data settings, mixup with α\alpha near 1.0 boosts model performance quite significantly.

Ablation study:

We focus on the CIFAR10 dataset with Ntrain=1000N_{train}=1000 fixed training examples, and 100100 different validation sets of size Nval=50N_{val}=50: Table 6 reports the means and standard deviations across these experiments. For setups involving training a single model, we report the mean and standard deviations of the metric from a variety of 30 different trained models.

Detailed numerical results

In table 7 we present the detailed numerical results for all our setups. The table includes result of our proposed Pool-then-calibrate method [D], the vanilla pooling method [A], and that of the individual models. The conclusions are consistent across all the setups.

References