Stay-Positive: A Case for Ignoring Real Image Features in Fake Image Detection

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Rajan, Anirudh Sundara, Lee, Yong Jae
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910968335826944
author Rajan, Anirudh Sundara
Lee, Yong Jae
author_facet Rajan, Anirudh Sundara
Lee, Yong Jae
contents Detecting AI generated images is a challenging yet essential task. A primary difficulty arises from the detectors tendency to rely on spurious patterns, such as compression artifacts, which can influence its decisions. These issues often stem from specific patterns that the detector associates with the real data distribution, making it difficult to isolate the actual generative traces. We argue that an image should be classified as fake if and only if it contains artifacts introduced by the generative model. Based on this premise, we propose Stay Positive, an algorithm designed to constrain the detectors focus to generative artifacts while disregarding those associated with real data. Experimental results demonstrate that detectors trained with Stay Positive exhibit reduced susceptibility to spurious correlations, leading to improved generalization and robustness to post processing. Additionally, unlike detectors that associate artifacts with real images, those that focus purely on fake artifacts are better at detecting inpainted real images.
format Preprint
id arxiv_https___arxiv_org_abs_2502_07778
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Stay-Positive: A Case for Ignoring Real Image Features in Fake Image Detection
Rajan, Anirudh Sundara
Lee, Yong Jae
Computer Vision and Pattern Recognition
Detecting AI generated images is a challenging yet essential task. A primary difficulty arises from the detectors tendency to rely on spurious patterns, such as compression artifacts, which can influence its decisions. These issues often stem from specific patterns that the detector associates with the real data distribution, making it difficult to isolate the actual generative traces. We argue that an image should be classified as fake if and only if it contains artifacts introduced by the generative model. Based on this premise, we propose Stay Positive, an algorithm designed to constrain the detectors focus to generative artifacts while disregarding those associated with real data. Experimental results demonstrate that detectors trained with Stay Positive exhibit reduced susceptibility to spurious correlations, leading to improved generalization and robustness to post processing. Additionally, unlike detectors that associate artifacts with real images, those that focus purely on fake artifacts are better at detecting inpainted real images.
title Stay-Positive: A Case for Ignoring Real Image Features in Fake Image Detection
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2502.07778