Take Fake as Real: Realistic-like Robust Black-box Adversarial Attack to Evade AIGC Detection

Caiyun Xie, Dengpan Ye, Yunming Zhang, Long Tang, Yunna Lv, Jiacheng Deng, Jiawei Song · DOI

Abstract

The security of AI-generated content (AIGC) detection is crucial for ensuring multimedia content credibility. To enhance detector security, research on adversarial attacks has become essential. However, most existing adversarial attacks focus only on GAN-generated facial images detection, struggle to be effective on multi-class natural images and diffusion-based detectors, and exhibit poor invisibility. To fill this gap, we first conduct an in-depth analysis of the vulnerability of AIGC detectors and discover the feature that detectors vary in vulnerability to different post-processing. Then, considering that the detector is agnostic in real-world scenarios and given this discovery, we propose a Realistic-like Robust Black-box Adversarial attack ($R^2BA$) with post-processing fusion optimization. Unlike typical perturbations, $R^2BA$ uses real-world post-processing, i.e., Gaussian blur, JPEG compression, Gaussian noise and light spot to generate adversarial examples. Specifically, we use a stochastic particle swarm algorithm with inertia decay to optimize post-processing fusion intensity and explore the detector's decision boundary. Guided by the detector's fake probability, $R^2BA$ enhances/weakens the detector-vulnerable/detector-robust post-processing intensity to strike a balance between adversariality and invisibility. Extensive experiments on popular/commercial AIGC detectors and datasets demonstrate that $R^2BA$ exhibits impressive anti-detection performance, excellent invisibility, and strong robustness in GAN-based and diffusion-based cases. Compared to state-of-the-art white-box and black-box attacks, $R^2BA$ shows significant improvements of 15%–72% and 21%–47% in anti-detection performance under the original and robust scenario respectively, offering valuable insights for the security of AIGC detection in real-world applications.

Introduction

As AI generators like Midjourney and DALL-E 3 reach unprecedented levels of realism, the challenge of distinguishing synthetic images from real ones has intensified. While AIGC detectors have been developed to mitigate the risks of misinformation, they are often vulnerable to adversarial attacks. Traditional attacks typically rely on pixel-level noise perturbations which, while mathematically effective, often result in poor visual invisibility and lack robustness against standard image processing like resizing or re-compression.

Overview of the R2BA attack scenario where realistic post-processing is used to fool AIGC detectors.

To address these limitations, we propose the Realistic-like Robust Black-box Adversarial attack ($R^2BA$). Instead of artificial noise, $R^2BA$ leverages common image degradations—Gaussian blur, JPEG compression, Gaussian noise, and light spots—to create adversarial examples that appear natural to human observers but are misclassified as "Real" by state-of-the-art detectors.

Methodology: The $R^2BA$ Pipeline

The core of $R^2BA$ is a black-box optimization framework that does not require access to the detector's internal gradients. It operates through two main components: a post-processing fusion module and a Stochastic Particle Swarm Optimization (PSO) algorithm.

The R2BA pipeline illustrating the initialization, PSO-based optimization iterations, and final selection of adversarial examples.

Post-processing Fusion

The attack applies a combination of four realistic operations:

  1. Gaussian Blur (GB): Modifies high-frequency components.
  2. JPEG Compression (JG): Introduces block artifacts and spatial detail loss.
  3. Gaussian Noise (GN): Alters statistical features of the image.
  4. Light Spots (LS): Simulates lens flares or lighting variations.

Stochastic Particle Swarm Optimization

Since the detector's architecture is unknown, $R^2BA$ uses PSO to search for the optimal combination of these processing parameters. Each "particle" represents a set of parameters for the four operations. The algorithm iteratively updates these particles to minimize the detector's "fake" probability score while maximizing the Structural Similarity Index (SSIM) to preserve image quality. An inertia decay mechanism is employed to balance global exploration and local fine-tuning, ensuring the attack finds the "sweet spot" on the detector's decision boundary.

Key Insights and Experimental Results

Our research revealed that AIGC detectors exhibit varying degrees of vulnerability to different types of post-processing. For instance, some models are highly sensitive to Gaussian noise but largely ignore JPEG artifacts. $R^2BA$ exploits these "blind spots" by dynamically adjusting the intensity of each processing type.

Performance Gains

Extensive testing across GAN-based (ProGAN) and Diffusion-based (VQDM, Stable Diffusion) datasets showed that $R^2BA$ significantly outperforms existing methods:

  • Attack Success Rate: $R^2BA$ achieved improvements of 15%–72% over white-box attacks and 21%–47% over black-box alternatives.
  • Commercial Evasion: The attack successfully bypassed commercial tools, including Alibaba’s AIGC detection API, reducing its detection rate to 0% in several test categories.
  • Robustness: Unlike noise-based perturbations, the realistic degradations used in $R^2BA$ are inherently robust to further image transformations like rotation or resizing, which are common in real-world social media sharing.

Conclusion

$R^2BA$ demonstrates that realistic image processing can be a potent tool for adversarial attacks against AIGC detectors. By mimicking natural degradations, the attack achieves high invisibility and robustness. These findings underscore a critical vulnerability in current detection systems and highlight the need for future research into more resilient AIGC authentication methods that can withstand realistic-like adversarial perturbations.

Summary updated

BibTeX
@article{xie2026take,
  author = {Caiyun Xie and Dengpan Ye and Yunming Zhang and Long Tang and Yunna Lv and Jiacheng Deng and Jiawei Song},
  title = {{Take Fake as Real: Realistic-like Robust Black-box Adversarial Attack to Evade AIGC Detection}},
  journal = {IEEE Trans. Circuits Syst. Video Technol.},
  year = {2026},
  doi = {10.1109/tcsvt.2025.3642768},
}
Figure