Neural Clamping: Joint Input Perturbation and Temperature Scaling for Neural Network Calibration
Not on the map. Why?
Abstract (arXiv)
Neural network calibration is an essential task in deep learning to ensure consistency between the confidence of model prediction and the true correctness likelihood. In this paper, we propose a new post-processing calibration method called Neural Clamping, which employs a simple joint input-output transformation on a pre-trained classifier via a learnable universal input perturbation and an output temperature scaling parameter. Moreover, we provide theoretical explanations on why Neural Clamping is provably better than temperature scaling. Evaluated on BloodMNIST, CIFAR-100, and ImageNet image recognition datasets and a variety of deep neural network models, our empirical results show that Neural Clamping significantly outperforms state-of-the-art post-processing calibration methods. The code is available at github.com/yungchentang/NCToolkit, and the demo is available at huggingface.co/spaces/TrustSafeAI/NCTV.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 20 of its 30 references that are in the map. First posted on arXiv 23 Sep 2022.
Builds on
20 of 30 references.
References · 20
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2016Densely Connected Convolutional Networkscited by 6,691
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
- 2017On Calibration of Modern Neural Networkscited by 4,860
- 2016Wide Residual Networkscited by 3,057
- 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
- 2019When Does Label Smoothing Help?cited by 985
- 2020Designing Network Design Spacescited by 954
- 2021MedMNIST v2 -- A large-scale lightweight benchmark for 2D and 3D biomedical image classificationcited by 682
- 2019Measuring Calibration in Deep Learningcited by 443
- 2021Revisiting the Calibration of Modern Neural Networkscited by 387
8 more
- 2019Beyond temperature scaling: Obtaining well-calibrated multiclass probabilities with Dirichlet calibrationcited by 359
- 2020Calibrating Deep Neural Networks using Focal Losscited by 353
- 2019Verified Uncertainty Calibrationcited by 307
- 2020Calibration of Neural Networks using Splinescited by 97
- 2020Improved Trainable Calibration Method for Neural Networks on Medical Imaging Classificationcited by 37
- 2020Improving Calibration through the Relationship with Adversarial Robustnesscited by 26
- 2020On Focal Loss for Class-Posterior Probability Estimation: A Theoretical Perspectivecited by 21
- 2021A Geometric Perspective towards Neural Calibration via Sensitivity Decompositioncited by 19
Built on by
Citing papers per year: 2022: 1; 2023: 1; 2024: 1; 2025: 1.
4 papers.
- 2023AutoVP: An Automated Visual Prompting Framework and Benchmarkcited by 29
- 2022NCTV: Neural Clamping Toolkit and Visualization for Neural Network Calibrationcited by 2
- 2024When Does Visual Prompting Outperform Linear Probing for Vision-Language Models? A Likelihood Perspectivecited by 1
- 2025Probability Bounding: Post-Hoc Calibration via Box-Constrained Softmaxcited by 1
- 2025Probability Bounding: Post-Hoc Calibration via Box-Constrained Softmax12 Jun 2025
- 2024When Does Visual Prompting Outperform Linear Probing for Vision-Language Models? A Likelihood Perspective3 Sep 2024
- 2023AutoVP: An Automated Visual Prompting Framework and Benchmark12 Oct 2023
- 2022NCTV: Neural Clamping Toolkit and Visualization for Neural Network Calibration29 Nov 2022