Detection of AI generated images using combined uncertainty measures and particle swarm optimised rejection mechanism

As AI-generated images become increasingly photorealistic, distinguishing them from natural images poses a growing challenge. This paper presents a robust detection framework that leverages multiple uncertainty measures to decide whether to trust or reject a model's predictions. We focus on three complementary techniques: Fisher Information, which captures the sensitivity of model parameters to input variations; entropy-based uncertainty from Monte Carlo (MC) Dropout, which reflects predictive variability; and predictive variance from a Deep Kernel Learning (DKL) framework using a Gaussian Process (GP) classifier. To integrate these diverse uncertainty signals, we employ Particle Swarm Optimisation (PSO) to learn optimal weightings and determine an adaptive rejection threshold. The model is trained on Stable Diffusion-generated images and evaluated on GLIDE, VQDM, Midjourney, BigGAN and StyleGAN3 each presenting significant distribution shifts. While standard metrics like prediction probability and Fisher-based measures perform well in distribution, they degrade under shift. In contrast, the Combined Uncertainty measure consistently achieves an incorrect rejection rate of approximately 70% on unseen generators, successfully filtering out most misclassified AI samples. Although the system occasionally rejects correct predictions from newer generators, this conservative behaviour remains acceptable, as rejected synthetic samples serve as valuable input for retraining. Crucially, it maintains high acceptance of accurate predictions for natural images and in-domain AI data. Under adversarial attacks (FGSM and PGD), the Combined Uncertainty method rejects around 61% of successful attacks, while the GP-based uncertainty alone achieves up to 80%. Notably, the Combined approach maintains strong selectivity, rarely rejecting correct predictions. Overall, our findings highlight the benefit of multi-source uncertainty fusion for resilient and adaptive AI-generated image detection.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2025-11-23
DOI
https://doi.org/10.1038/s41598-025-28572-8
Primary Topic
Adversarial Robustness in Machine Learning
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Detection of AI generated images using combined uncertainty measures and particle swarm optimised rejection mechanism

Eaby Kollonoor Babu, Nauman Aslam, Biju Issac, Rahul Yumlembam et al.
Scientific Reports
Adversarial Robustness in Machine Learning
article

Detection of AI generated images using combined uncertainty measures and particle swarm optimised rejection mechanism

Eaby Kollonoor Babu, Nauman Aslam, Biju Issac, Rahul Yumlembam, Josh Collyer, Fraser Kennedy
article en

Abstract

As AI-generated images become increasingly photorealistic, distinguishing them from natural images poses a growing challenge. This paper presents a robust detection framework that leverages multiple uncertainty measures to decide whether to trust or reject a model's predictions. We focus on three complementary techniques: Fisher Information, which captures the sensitivity of model parameters to input variations; entropy-based uncertainty from Monte Carlo (MC) Dropout, which reflects predictive variability; and predictive variance from a Deep Kernel Learning (DKL) framework using a Gaussian Process (GP) classifier. To integrate these diverse uncertainty signals, we employ Particle Swarm Optimisation (PSO) to learn optimal weightings and determine an adaptive rejection threshold. The model is trained on Stable Diffusion-generated images and evaluated on GLIDE, VQDM, Midjourney, BigGAN and StyleGAN3 each presenting significant distribution shifts. While standard metrics like prediction probability and Fisher-based measures perform well in distribution, they degrade under shift. In contrast, the Combined Uncertainty measure consistently achieves an incorrect rejection rate of approximately 70% on unseen generators, successfully filtering out most misclassified AI samples. Although the system occasionally rejects correct predictions from newer generators, this conservative behaviour remains acceptable, as rejected synthetic samples serve as valuable input for retraining. Crucially, it maintains high acceptance of accurate predictions for natural images and in-domain AI data. Under adversarial attacks (FGSM and PGD), the Combined Uncertainty method rejects around 61% of successful attacks, while the GP-based uncertainty alone achieves up to 80%. Notably, the Combined approach maintains strong selectivity, rarely rejecting correct predictions. Overall, our findings highlight the benefit of multi-source uncertainty fusion for resilient and adaptive AI-generated image detection.

Scientific ReportsVol. 15(1)
Turing Institute (GB), British Library (GB), Northumbria University (GB), The Alan Turing Institute (GB)
Northumbria University
Openalex Percentile: Top 81%
Adversarial Robustness in Machine Learning
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.