[Paper Review] Should Ensemble Members Be Calibrated?
This paper investigates calibration in deep neural network ensembles, demonstrating theoretically and empirically that calibrating individual ensemble members does not guarantee a well-calibrated ensemble prediction. Instead, the ensemble output must be calibrated separately, with dynamic temperature scaling—applying region-specific temperatures—providing superior calibration with minimal parameter overhead.
Underlying the use of statistical approaches for a wide range of applications is the assumption that the probabilities obtained from a statistical model are representative of the "true" probability that event, or outcome, will occur. Unfortunately, for modern deep neural networks this is not the case, they are often observed to be poorly calibrated. Additionally, these deep learning approaches make use of large numbers of model parameters, motivating the use of Bayesian, or ensemble approximation, approaches to handle issues with parameter estimation. This paper explores the application of calibration schemes to deep ensembles from both a theoretical perspective and empirically on a standard image classification task, CIFAR-100. The underlying theoretical requirements for calibration, and associated calibration criteria, are first described. It is shown that well calibrated ensemble members will not necessarily yield a well calibrated ensemble prediction, and if the ensemble prediction is well calibrated its performance cannot exceed that of the average performance of the calibrated ensemble members. On CIFAR-100 the impact of calibration for ensemble prediction, and associated calibration is evaluated. Additionally the situation where multiple different topologies are combined together is discussed.
Motivation & Objective
- To analyze the theoretical conditions under which ensemble predictions are calibrated.
- To investigate the disconnect between calibrated ensemble members and calibrated ensemble predictions.
- To evaluate post-hoc calibration methods, especially temperature scaling, on deep ensemble models.
- To explore the impact of combining models with different architectures in ensembles.
- To propose and evaluate region-specific temperature scaling for improved calibration.
Proposed method
- Theoretical analysis of calibration criteria based on the underlying data distribution, not just sample-based limits.
- Empirical evaluation of calibration on CIFAR-100 using deep ensembles of DenseNet, ResNet, and DenseNet variants.
- Application of post-hoc calibration via temperature scaling, including global, member-wise (pre), and ensemble-level (post) modes.
- Introduction of dynamic temperature scaling with region-based temperature parameters to improve calibration without increasing model complexity unduly.
- Use of reliability diagrams and multiple calibration error metrics (ECE, ACE, SKCE) to evaluate performance.
- Optimization of ensemble weights using maximum likelihood and AUC for topology ensembles with heterogeneous architectures.
Experimental results
Research questions
- RQ1Does calibrating individual ensemble members ensure a well-calibrated ensemble prediction?
- RQ2What is the theoretical relationship between the calibration of ensemble members and the calibration of the final ensemble output?
- RQ3Can region-specific temperature scaling improve calibration performance compared to global scaling?
- RQ4How does combining models with different architectures affect ensemble calibration and performance?
- RQ5Is post-combination calibration of the ensemble output more effective than pre-combination calibration of individual members?
Key findings
- Calibrating individual ensemble members does not ensure a well-calibrated ensemble prediction; the ensemble output remains under-confident and requires separate calibration.
- Post-combination calibration (calibrating the ensemble output) yields significantly better calibration error (e.g., ECE reduced to 1.20×10⁻² for RSN with dynamic scaling) compared to pre-combination calibration.
- Dynamic temperature scaling with 6 regions achieves the best calibration performance (SKCE = 57.87×10⁻⁴ for RSN) and reduces ECE to 1.20×10⁻², outperforming global and pre-combination methods.
- Increasing the number of regions in dynamic temperature scaling improves calibration but increases the number of parameters.
- Topology ensembles combining LEN, DSN100, DSN121, and RSN achieve 83.86% accuracy and ECE of 2.06×10⁻² when calibrated post-combination, showing robustness to member calibration quality.
- Even with well-calibrated members, the ensemble prediction remains poorly calibrated, necessitating dedicated calibration of the ensemble output.
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.