Cargando…
AI vs. AI: Can AI Detect AI-Generated Images?
The proliferation of Artificial Intelligence (AI) models such as Generative Adversarial Networks (GANs) has shown impressive success in image synthesis. Artificial GAN-based synthesized images have been widely spread over the Internet with the advancement in generating naturalistic and photo-realist...
Autores principales: | , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
MDPI
2023
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10607823/ https://www.ncbi.nlm.nih.gov/pubmed/37888306 http://dx.doi.org/10.3390/jimaging9100199 |
_version_ | 1785127633695014912 |
---|---|
author | Baraheem, Samah S. Nguyen, Tam V. |
author_facet | Baraheem, Samah S. Nguyen, Tam V. |
author_sort | Baraheem, Samah S. |
collection | PubMed |
description | The proliferation of Artificial Intelligence (AI) models such as Generative Adversarial Networks (GANs) has shown impressive success in image synthesis. Artificial GAN-based synthesized images have been widely spread over the Internet with the advancement in generating naturalistic and photo-realistic images. This might have the ability to improve content and media; however, it also constitutes a threat with regard to legitimacy, authenticity, and security. Moreover, implementing an automated system that is able to detect and recognize GAN-generated images is significant for image synthesis models as an evaluation tool, regardless of the input modality. To this end, we propose a framework for reliably detecting AI-generated images from real ones through Convolutional Neural Networks (CNNs). First, GAN-generated images were collected based on different tasks and different architectures to help with the generalization. Then, transfer learning was applied. Finally, several Class Activation Maps (CAM) were integrated to determine the discriminative regions that guided the classification model in its decision. Our approach achieved 100% on our dataset, i.e., Real or Synthetic Images (RSI), and a superior performance on other datasets and configurations in terms of its accuracy. Hence, it can be used as an evaluation tool in image generation. Our best detector was a pre-trained EfficientNetB4 fine-tuned on our dataset with a batch size of 64 and an initial learning rate of 0.001 for 20 epochs. Adam was used as an optimizer, and learning rate reduction along with data augmentation were incorporated. |
format | Online Article Text |
id | pubmed-10607823 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2023 |
publisher | MDPI |
record_format | MEDLINE/PubMed |
spelling | pubmed-106078232023-10-28 AI vs. AI: Can AI Detect AI-Generated Images? Baraheem, Samah S. Nguyen, Tam V. J Imaging Article The proliferation of Artificial Intelligence (AI) models such as Generative Adversarial Networks (GANs) has shown impressive success in image synthesis. Artificial GAN-based synthesized images have been widely spread over the Internet with the advancement in generating naturalistic and photo-realistic images. This might have the ability to improve content and media; however, it also constitutes a threat with regard to legitimacy, authenticity, and security. Moreover, implementing an automated system that is able to detect and recognize GAN-generated images is significant for image synthesis models as an evaluation tool, regardless of the input modality. To this end, we propose a framework for reliably detecting AI-generated images from real ones through Convolutional Neural Networks (CNNs). First, GAN-generated images were collected based on different tasks and different architectures to help with the generalization. Then, transfer learning was applied. Finally, several Class Activation Maps (CAM) were integrated to determine the discriminative regions that guided the classification model in its decision. Our approach achieved 100% on our dataset, i.e., Real or Synthetic Images (RSI), and a superior performance on other datasets and configurations in terms of its accuracy. Hence, it can be used as an evaluation tool in image generation. Our best detector was a pre-trained EfficientNetB4 fine-tuned on our dataset with a batch size of 64 and an initial learning rate of 0.001 for 20 epochs. Adam was used as an optimizer, and learning rate reduction along with data augmentation were incorporated. MDPI 2023-09-28 /pmc/articles/PMC10607823/ /pubmed/37888306 http://dx.doi.org/10.3390/jimaging9100199 Text en © 2023 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/). |
spellingShingle | Article Baraheem, Samah S. Nguyen, Tam V. AI vs. AI: Can AI Detect AI-Generated Images? |
title | AI vs. AI: Can AI Detect AI-Generated Images? |
title_full | AI vs. AI: Can AI Detect AI-Generated Images? |
title_fullStr | AI vs. AI: Can AI Detect AI-Generated Images? |
title_full_unstemmed | AI vs. AI: Can AI Detect AI-Generated Images? |
title_short | AI vs. AI: Can AI Detect AI-Generated Images? |
title_sort | ai vs. ai: can ai detect ai-generated images? |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10607823/ https://www.ncbi.nlm.nih.gov/pubmed/37888306 http://dx.doi.org/10.3390/jimaging9100199 |
work_keys_str_mv | AT baraheemsamahs aivsaicanaidetectaigeneratedimages AT nguyentamv aivsaicanaidetectaigeneratedimages |