Probability Bounding: Post-Hoc Calibration via Box-Constrained Softmax
Not on the map. Why?
Abstract (arXiv)
Many studies have observed that modern neural networks achieve high accuracy while producing poorly calibrated probabilities, making calibration a critical practical issue. In this work, we propose probability bounding (PB), a novel post-hoc calibration method that mitigates both underconfidence and overconfidence by learning lower and upper bounds on the output probabilities. To implement PB, we introduce the box-constrained softmax (BCSoftmax) function, a generalization of Softmax that explicitly enforces lower and upper bounds on the output probabilities. While BCSoftmax is formulated as the solution to a box-constrained optimization problem, we develop an exact and efficient algorithm for computing BCSoftmax. We further provide theoretical guarantees for PB and introduce two variants of PB. We demonstrate the effectiveness of our methods experimentally on four real-world datasets, consistently reducing calibration errors. Our Python implementation is available at https://github.com/neonnnnn/torchbcsoftmax.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 39 of its 62 references that are in the map. First posted on arXiv 12 Jun 2025.
Builds on
39 of 62 references.
References · 39
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2016Densely Connected Convolutional Networkscited by 6,720
- 2017On Calibration of Modern Neural Networkscited by 4,960
- 2017OptNet: Differentiable Optimization as a Layer in Neural Networkscited by 599
- 2019Differentiable Convex Optimization Layerscited by 465
- 2019Beyond temperature scaling: Obtaining well-calibrated multiclass probabilities with Dirichlet calibrationcited by 364
- 2020Calibrating Deep Neural Networks using Focal Losscited by 357
- 2016From Softmax to Sparsemax: A Sparse Model of Attention and Multi-Label Classificationcited by 341
- 2019Verified Uncertainty Calibrationcited by 309
- 2021Efficient and Modular Implicit Differentiationcited by 203
27 more
- 2020Mix-n-Match: Ensemble and Compositional Methods for Uncertainty Calibration in Deep Learningcited by 190
- 2024The Effect of Sampling Temperature on Problem Solving in Large Language Modelscited by 170
- 2024The Road Less Scheduledcited by 163
- 2019Learning with Fenchel-Young Lossescited by 119
- 2020Local Temperature Scaling for Probability Calibrationcited by 95
- 2024Is Temperature the Creativity Parameter of Large Language Models?cited by 93
- 2017Smooth and Sparse Optimal Transportcited by 83
- 2020Intra Order-preserving Functions for Calibration of Multi-Class Neural Networkscited by 65
- 2023Smooth ECE: Principled Reliability Diagrams via Kernel Smoothingcited by 63
- 2018SparseMAP: Differentiable Sparse Structured Inferencecited by 62
- 2019Non-Parametric Calibration for Classificationcited by 57
- 2022A Unifying Theory of Distance from Calibrationcited by 53
- 2021Parameterized Temperature Scaling for Boosting the Expressive Power in Post-Hoc Uncertainty Calibrationcited by 48
- 2023When Does Optimizing a Proper Loss Yield Calibration?cited by 36
- 2021Meta-Cal: Well-controlled Post-hoc Calibration by Rankingcited by 33
- 2023Dual Focal Loss for Calibrationcited by 33
- 2022AdaFocal: Calibration-aware Adaptive Focal Losscited by 32
- 2023Overconfidence is a Dangerous Thing: Mitigating Membership Inference Attacks by Enforcing Less Confident Predictioncited by 29
- 2023One-step differentiation of iterative algorithmscited by 28
- 2018On Controllable Sparse Alternatives to Softmaxcited by 27
- 2018Attended Temperature Scaling: A Practical Approach for Calibrating Deep Neural Networkscited by 21
- 2024When is Multicalibration Post-Processing Necessary?cited by 18
- 2024Confidence Calibration of Classifiers with Many Classescited by 11
- 2024Feature Clipping for Uncertainty Calibrationcited by 8
- 2022Neural Clamping: Joint Input Perturbation and Temperature Scaling for Neural Network Calibrationcited by 4
- 2023r-softmax: Generalized Softmax with Controllable Sparsity Ratecited by 1
- 2024Tilt and Average : Geometric Adjustment of the Last Layer for Recalibrationcited by 1
Built on by
Citing papers per year: 2026: 1.
1 paper.