FBAD: Frequency-based Black-box Attack for AI-generated Image Detection

Xiaojing Chen, Dan Li, Lijun Peng, Jun YanLetter, Zhiqing Guo, Junyang Chen, Xiao Lan, Zhongjie Ba, Yunfeng DiaoarXiv 2025 · OpenReview

TL;DR

This paper introduces FBA²D, a novel frequency-based black-box attack method specifically designed to challenge AI-generated image (AIGC) detectors. By exploiting the distinct frequency domain characteristics of real versus AI-generated images, FBA²D achieves high attack success rates with improved query efficiency and image quality, highlighting the vulnerability of current AIGC detection systems.

What Problem Does This Paper Address?

The rapid advancement of AI-generated content (AIGC) has raised concerns about the spread of misinformation. While detectors are being developed to identify AIGC, these systems are susceptible to adversarial attacks. Existing research often assumes attackers have access to the detector's internal workings (white-box attacks) or detailed knowledge of its data distribution. However, in real-world scenarios, attackers typically interact with detectors through APIs, only receiving a binary output (real or fake) – a "black-box" setting. Specifically, decision-based black-box attacks, where attackers only get the final classification label, are largely unexplored for AIGC detection. This paper aims to fill this gap by developing an effective decision-based black-box attack tailored for AIGC detectors.

Methods

The core of FBA²D lies in its exploitation of frequency domain discrepancies between real and AI-generated images. The authors leverage the Discrete Cosine Transform (DCT) to analyze and manipulate images in the frequency domain.

  • Frequency-Domain Partitioning: Instead of treating all frequencies equally, FBA²D partitions the frequency spectrum. For real images, it uses a combination of low and high frequencies, while for AIGC images, it focuses primarily on the low-frequency components. This targeted approach improves query efficiency and the quality of the adversarial perturbations.
  • Adversarial Example Soup (AES) Initialization: To overcome the common challenge of initialization failures in decision-based attacks (especially in the asymmetric AIGC detection task), FBA²D employs an "adversarial example soup" method. This involves generating multiple adversarial examples using a surrogate model and averaging them. This averaged "soup" is then used as a robust initial perturbation for attacking the target AIGC detector, significantly accelerating the process and improving success rates.
  • Frequency-Aware Perturbation: The attack iteratively refines perturbations in the frequency domain, guided by the detector's feedback (the classification label). This process aims to push the image across the decision boundary while minimizing perceptible changes.

Datasets

The paper evaluates FBA²D on two benchmark datasets:

  • Synthetic LSUN dataset: This dataset contains real images from LSUN and fake images generated by ProGAN.
  • GenImage dataset: This dataset consists of over a million pairs of AI-generated fake images and their corresponding real images, covering 1,000 ImageNet classes.

Key Insights and Ideas

  • Frequency Fingerprints of AIGC: The research confirms that AI-generated images have distinct "fingerprints" in the frequency domain, often lacking high-frequency components compared to real images. This asymmetry is a crucial vulnerability that FBA²D exploits.
  • Targeted Frequency Subspaces: The effectiveness of the attack is significantly enhanced by tailoring the frequency subspaces used for real versus generated images. Focusing on low frequencies for generated images is particularly effective.
  • Robust Initialization is Key: Standard decision-based attacks often struggle with initialization in AIGC detection. The "adversarial example soup" method provides a more stable and efficient starting point, bridging the gap between transfer-based attacks and decision-based attacks.
  • Practical Attack Scenario: The work directly addresses the realistic black-box, decision-based attack scenario, making the findings highly relevant to the security of deployed AIGC detection systems.

Key Results

FBA²D demonstrated state-of-the-art performance across various AIGC detector models and datasets.

  • High Attack Success Rate (ASR): The paper reports very high ASRs, often exceeding 90% and even reaching close to 100% for certain configurations and models, even with strict RMSE thresholds (e.g., 0.01).
  • Improved Query Efficiency: The frequency-domain manipulation and the AES initialization significantly reduce the number of queries required to generate an adversarial example compared to some baseline methods.
  • Superior Image Quality: Qualitative results (visualizations) show that FBA²D-generated adversarial examples are nearly indistinguishable from the original images, indicating better perceptual quality and stealth compared to other methods like GeoDA. For instance, Table 6 shows FBA²D achieving higher PSNR and SSIM values.

Limitations and Future Work

The authors acknowledge several limitations:

  • Transferability Issues: The effectiveness of the adversarial example soup initialization can be limited when the surrogate model used to generate the soup differs substantially in architecture from the target detector (e.g., CNN to ViT).
  • Model Specificity: While CNNSpot was used to analyze frequency-domain characteristics, other AIGC detection models might exhibit different frequency component distributions.
  • Empirical Nature: The frequency-domain signal processing is largely empirical and lacks deep theoretical explanations.

For future work, the authors suggest:

  • Improving the effectiveness of decision-based attacks against AIGC detectors with diverse architectures.
  • Developing more effective defense mechanisms against such attacks.
  • Further exploring the impact of frequency domain differences on adversarial robustness and conducting more theoretical and empirical studies.

Summary updated

BibTeX
@misc{chen2025fbad,
  author = {Xiaojing Chen and Dan Li and Lijun Peng and Jun YanLetter and Zhiqing Guo and Junyang Chen and Xiao Lan and Zhongjie Ba and Yunfeng Diao},
  title = {{FBAD: Frequency-based Black-box Attack for AI-generated Image Detection}},
  year = {2025},
  eprint = {2512.09264},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.09264},
}
Figure