Enhancing Synthetic Generated-Images Detection through Post-Hoc Calibration

Giovanna Maria Dimitri, Benedetta Tondi, Mauro Barni; Proceedings of the Winter Conference on Applications of Computer Vision (WACV) Workshops, 2025, pp. 777-784

Abstract


Post-hoc calibration is an important methodology for improving the reliability of confidence estimates in deep neural networks (DNNs). While modern DNNs achieve state-of-the-art performance across various domains the output they provide often fails to align with the true likelihood of their predictions a phenomenon known as miscalibration. This misalignment poses challenges for tasks like uncertainty quantification score level fusion and threshold selection in the case of binary detection systems. Furthermore post-hoc calibration methods such as temperature scaling Platt scaling and isotonic regression provide practical solutions to alleviate miscalibration without retraining. In this work we propose the use of post-hoc calibration for multimedia forensics applications by focusing on the detection of synthetically AI generated images. In particular we show how the application of well known post-hoc calibration methodologies can help to improve the interpretability of AI generated images in terms of likelihood ratios and can also help to adjust the detection threshold in the presence of different AI generators considered in the training and calibration sets.

Related Material


[pdf]
[bibtex]
@InProceedings{Dimitri_2025_WACV, author = {Dimitri, Giovanna Maria and Tondi, Benedetta and Barni, Mauro}, title = {Enhancing Synthetic Generated-Images Detection through Post-Hoc Calibration}, booktitle = {Proceedings of the Winter Conference on Applications of Computer Vision (WACV) Workshops}, month = {February}, year = {2025}, pages = {777-784} }