Applying temperature scaling to reduce DNN miscalibration

dc.contributor.advisorFernando, S
dc.contributor.authorHasantha, KMK
dc.date.accept2022
dc.date.accessioned2025-08-19T10:14:17Z
dc.date.issued2022
dc.description.abstractDeep Neural Networks (DNNs) exhibit state of art performance in a wide variety of fields. However, with the modern architectural trends and increased network capacity, DNN tends to be poorly calibrated. Only well-calibrated models can make probabilistic predictions that reflect real- world probabilities. This issue limits the usage of DNN base models in critical decision scenarios. For achieving a reliable probability score for pre-trained models, several techniques have been introduced including histogram binning, Bayesian Binning into Quantiles, isotonic regression, and Platt scaling. Temperature scaling (TS) was recently introduced, which achieves superior performance compared to the other techniques. But TS does not work properly with small validation datasets, highly accurate networks, and non-highly accurate ones. Therefore, DNN calibration remains a research challenge. This research focuses on improving the performance of DNN calibration by introducing changes to the state of art post-hoc calibration technique, Temperature Scaling. To overcome the limitations of the Temperature Scaling technique, the novel Class-wise Temperature Scaling technique is proposed. The proposed technique calculates the optimum temperature for each class by binning the predictions on class and the confidence values are rescaled using class-wise temperature values. Class-wise Temperature Scaling can further minimize calibration error in classification models, up to 10% than the standard Temperature scaling technique.
dc.identifier.accnoTH5404
dc.identifier.citationHasantha, K.M. K. (2022). Applying temperature scaling to reduce DNN miscalibration [Master’s theses, University of Moratuwa]. , University of Moratuwa]. Institutional Repository University of Moratuwa. https://dl.lib.uom.lk/handle/123/23991
dc.identifier.degreeMSc in Artificial Intelligence
dc.identifier.departmentDepartment of Computational Mathematics
dc.identifier.facultyIT
dc.identifier.urihttps://dl.lib.uom.lk/handle/123/23991
dc.language.isoen
dc.subjectDEEP NEURAL NETWORKS-Calibration
dc.subjectTEMPERATURE SCALING
dc.subjectMSc in Artificial Intelligence
dc.titleApplying temperature scaling to reduce DNN miscalibration
dc.typeThesis-Abstract

Files

Original bundle

Now showing 1 - 3 of 3
Loading...
Thumbnail Image
Name:
TH5404-1.pdf
Size:
181.34 KB
Format:
Adobe Portable Document Format
Description:
Pre-text
Loading...
Thumbnail Image
Name:
TH5404-2.pdf
Size:
149.18 KB
Format:
Adobe Portable Document Format
Description:
Post-text
Loading...
Thumbnail Image
Name:
TH5404.pdf
Size:
1.56 MB
Format:
Adobe Portable Document Format
Description:
Full-thesis

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
1.71 KB
Format:
Item-specific license agreed upon to submission
Description: