Accuracy-Preserving Calibration via Statistical Modeling on Probability Simplex
Yasushi Esaki, Akihiro Nakamura, Keisuke Kawano, Ryoko Tokuhisa, Takuro Kutsuna
TL;DR
The paper tackles the problem of calibrating neural network confidences without sacrificing predictive accuracy. It introduces Simplex Temperature Scaling (STS), which models predictions on the probability simplex with a two-parameter Concrete distribution, decoupling the classifier (location parameter) from calibration (temperature). A key theoretical result shows that a cross-entropy-trained DNN optimizes the simplex location parameter regardless of temperature, enabling accuracy preservation during calibration. STS uses Multi-Mixup to synthetically generate simplex-labeled samples for calibrating the temperature, reducing the overhead of ensemble methods. Empirical results across multiple image datasets show STS achieving superior calibration (lower ECE) and better out-of-distribution detection compared to Temperature Scaling baselines and Dirichlet-based approaches, highlighting its practical impact for reliable uncertainty estimation in safety-critical systems.
Abstract
Classification models based on deep neural networks (DNNs) must be calibrated to measure the reliability of predictions. Some recent calibration methods have employed a probabilistic model on the probability simplex. However, these calibration methods cannot preserve the accuracy of pre-trained models, even those with a high classification accuracy. We propose an accuracy-preserving calibration method using the Concrete distribution as the probabilistic model on the probability simplex. We theoretically prove that a DNN model trained on cross-entropy loss has optimality as the parameter of the Concrete distribution. We also propose an efficient method that synthetically generates samples for training probabilistic models on the probability simplex. We demonstrate that the proposed method can outperform previous methods in accuracy-preserving calibration tasks using benchmarks. The code is available at https://github.com/ToyotaCRDL/SimplexTS.
