Robust CLIP-Based Detector for Exposing Diffusion Model-Generated Images

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Santosh, Lin, Li, Amerini, Irene, Wang, Xin, Hu, Shu
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866912018539216896
author Santosh
Lin, Li
Amerini, Irene
Wang, Xin
Hu, Shu
author_facet Santosh
Lin, Li
Amerini, Irene
Wang, Xin
Hu, Shu
contents Diffusion models (DMs) have revolutionized image generation, producing high-quality images with applications spanning various fields. However, their ability to create hyper-realistic images poses significant challenges in distinguishing between real and synthetic content, raising concerns about digital authenticity and potential misuse in creating deepfakes. This work introduces a robust detection framework that integrates image and text features extracted by CLIP model with a Multilayer Perceptron (MLP) classifier. We propose a novel loss that can improve the detector's robustness and handle imbalanced datasets. Additionally, we flatten the loss landscape during the model training to improve the detector's generalization capabilities. The effectiveness of our method, which outperforms traditional detection techniques, is demonstrated through extensive experiments, underscoring its potential to set a new state-of-the-art approach in DM-generated image detection. The code is available at https://github.com/Purdue-M2/Robust_DM_Generated_Image_Detection.
format Preprint
id arxiv_https___arxiv_org_abs_2404_12908
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Robust CLIP-Based Detector for Exposing Diffusion Model-Generated Images
Santosh
Lin, Li
Amerini, Irene
Wang, Xin
Hu, Shu
Computer Vision and Pattern Recognition
Machine Learning
Image and Video Processing
Diffusion models (DMs) have revolutionized image generation, producing high-quality images with applications spanning various fields. However, their ability to create hyper-realistic images poses significant challenges in distinguishing between real and synthetic content, raising concerns about digital authenticity and potential misuse in creating deepfakes. This work introduces a robust detection framework that integrates image and text features extracted by CLIP model with a Multilayer Perceptron (MLP) classifier. We propose a novel loss that can improve the detector's robustness and handle imbalanced datasets. Additionally, we flatten the loss landscape during the model training to improve the detector's generalization capabilities. The effectiveness of our method, which outperforms traditional detection techniques, is demonstrated through extensive experiments, underscoring its potential to set a new state-of-the-art approach in DM-generated image detection. The code is available at https://github.com/Purdue-M2/Robust_DM_Generated_Image_Detection.
title Robust CLIP-Based Detector for Exposing Diffusion Model-Generated Images
topic Computer Vision and Pattern Recognition
Machine Learning
Image and Video Processing
url https://arxiv.org/abs/2404.12908