[Paper Review] Diversity regularization in deep ensembles
This paper proposes training deep neural network ensembles with Negative Correlation (NC) regularization to improve model calibration without sacrificing accuracy. By explicitly enforcing diversity among ensemble members through a diversity regularization term in the loss function, the method reduces Expected Calibration Error (ECE) significantly, especially for larger ensemble sizes, while maintaining high predictive performance on CIFAR-100 and CIFAR-10 datasets.
Calibrating the confidence of supervised learning models is important for a variety of contexts where the certainty over predictions should be reliable. However, it has been reported that deep neural network models are often too poorly calibrated for achieving complex tasks requiring reliable uncertainty estimates in their prediction. In this work, we are proposing a strategy for training deep ensembles with a diversity function regularization, which improves the calibration property while maintaining a similar prediction accuracy.
Motivation & Objective
- To address poor calibration in deep neural networks, especially in ensemble settings where models become underconfident as ensemble size increases.
- To improve calibration performance of deep ensembles without degrading predictive accuracy.
- To investigate whether explicitly enforcing diversity among ensemble members via Negative Correlation (NC) regularization enhances calibration.
- To evaluate the effectiveness of NC regularization across varying ensemble sizes and datasets.
Proposed method
- The method introduces a diversity regularization term based on Negative Correlation (NC) into the loss function during training of each ensemble member.
- The diversity metric is defined as the product of the deviation of each network's output from the ensemble average and the sum of deviations of other networks from the average.
- During backpropagation, the ensemble average is treated as a constant with respect to each individual network, enabling stable gradient updates.
- The overall loss for each network is the sum of cross-entropy classification loss and a weighted diversity regularization term with hyperparameter λ.
- The final prediction is obtained by averaging the outputs of all M networks in the ensemble.
- The approach is evaluated on VGG-11 with batch normalization on CIFAR-100 and a modified AlexNet on CIFAR-10.
Experimental results
Research questions
- RQ1Does enforcing diversity among deep ensemble members through Negative Correlation regularization improve model calibration?
- RQ2How does NC-regularized ensembling compare to pure ensembling in terms of Expected Calibration Error (ECE) and accuracy across different ensemble sizes?
- RQ3Can NC regularization mitigate the underconfidence issue observed in large pure ensembles?
- RQ4Does the proposed method maintain high accuracy while improving calibration, especially in complex classification tasks?
Key findings
- The NC-regularized ensemble achieved a 2.5% ECE on CIFAR-100 with M=7, significantly lower than the 4.3% ECE of the pure ensemble under the same conditions.
- For M=11, the NC-regularized ensemble reduced ECE to 3.9%, compared to 6.9% for the pure ensemble, demonstrating improved calibration at scale.
- The method maintained high accuracy—0.7096 for NC-regularized vs. 0.7146 for pure ensemble—showing no performance degradation.
- On the 'people' superclass of CIFAR-100, the NC-regularized ensemble achieved a confidence-accuracy difference of only 0.02, compared to 0.05 for pure ensembles, indicating better calibration.
- The single network baseline was overconfident (average difference of 0.12), while the pure ensemble was underconfident (0.05), but NC regularization brought the average difference down to 0.02.
- The method effectively reduced overconfidence and underconfidence issues, with the NC-regularized ensemble showing balanced confidence estimates across all classes.
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.