SlopeGuard: Towards Generalizable AI-Generated Image Detection via Radial Spectral Slope Guidance

Cheng Fu, Yiheng Li, Yang Yang, Wenzheng LiuarXiv 2026 · arXiv

TL;DR

SlopeGuard improves the generalization of AI-generated image detectors by using Radial Spectral Slope—a compact, one-dimensional descriptor of frequency decay—as a forensic cue. By combining this spectral signature with semantic features from CLIP and using "spectral atypicality" to guide model regularization, SlopeGuard achieves state-of-the-art performance across diverse, unseen image generators and remains robust to common image perturbations.

What Problem Does This Paper Address?

The "cat-and-mouse" game of AI-generated image detection is getting harder. While current detectors perform well on the specific generators they were trained on (e.g., a specific version of Stable Diffusion), they often fail when faced with "unseen" generators or new synthesis pipelines. This is primarily due to overfitting: models learn to recognize fine-grained, high-dimensional artifacts unique to one generator rather than learning generalizable "fakeness."

Existing frequency-domain methods try to solve this by looking at Fourier spectra, but they often still capture high-dimensional patterns that are too generator-specific. The authors of SlopeGuard argue for a higher level of abstraction. They focus on how spectral energy decays from low to high frequencies—a global trend that differs systematically between real and AI-generated images but is less prone to capturing "noise" from specific architectures.

Methods

The SlopeGuard framework consists of three main stages designed to bridge the gap between semantic understanding and frequency-domain forensics:

  1. Slope-Aware Data Processing (SADP): To prevent the model from simply memorizing a specific slope threshold, the authors use Frequency Diversification, which stochastically perturbs the radial decay of training images. They also use a patch-selection strategy that avoids resizing, ensuring that native-resolution spectral traces are preserved.
  2. Radial Spectral Slope (RSS) Estimation: The model calculates a single scalar, $\alpha$, by performing a linear regression on the log-amplitude of the image's Fourier spectrum. This "slope" represents the global rate of spectral decay.
  3. Slope-Guided Feature Learning (SGFL):
    • Slope Token Integration: The RSS scalar is appended to the visual features extracted by a LoRA-adapted CLIP encoder.
  4. Slope-Guided Prior Regularization (SGPR): This is a key innovation. During training, the model compares the adapted features to a frozen CLIP "prior." If a sample has a highly "atypical" spectral slope compared to the rest of the batch, the model applies stronger regularization to keep the features close to the robust CLIP prior, preventing the model from drifting toward generator-specific artifacts.
Figure 3. Overview of the proposed SlopeGuard framework. Given input images, slope-aware data processing first diversifies frequency patterns, followed by Radial Spectral Slope estimation to extract a compact spectral signature. The extracted slope cue is then integrated with CLIP features through slope-guided regularization to improve generalization across unseen generators.

Datasets

The authors followed a rigorous evaluation protocol using several large-scale benchmarks:

  • Training: 144,000 images generated by Stable Diffusion v1.4 and ProGAN, balanced with real images.
  • Evaluation Benchmarks:
    • AIGCDetectBench: 17 different GAN and Diffusion-based generators.
  • GenImage: 8 representative generators.
  • AIGIBench: A massive benchmark covering 25 different generation models.
  • ARForensics: Focused on autoregressive image generation.

Key Insights and Ideas

  • The "Aha!" of Spectral Decay: As shown in Figure 2, real and fake images have distinct (though overlapping) distributions of spectral slopes. While the slope isn't enough to be a standalone detector, it serves as a powerful "forensic anchor" when combined with semantic features.
  • Regularization as a Safety Valve: By using "spectral atypicality" to weight the prior loss, SlopeGuard essentially says: "If this image looks spectrally weird, don't try too hard to learn its specific quirks; stick to what the pretrained CLIP model knows."
  • Native Resolution Matters: Resizing images often destroys the very spectral artifacts detectors need. SlopeGuard's patch-based approach ensures these high-frequency traces remain intact.
Figure 2. Distributions of the exact radial spectral slope α for real and AI-generated images across eight representative generators, using 1,000 real and 1,000 generated images per generator. The distributional differences motivate investigating spectral slopes as auxiliary features of radial spectral slopes for AI-generated image detection.

Key Results

SlopeGuard sets a new bar for generalizable detection:

  • Accuracy: Achieved a mean accuracy (mAcc) of 97.5% on AIGCDetectBench and 97.8% on GenImage, outperforming previous state-of-the-art methods like LTD and DFFreq.
  • Cross-Generator Performance: On the diverse AIGIBench, it reached 85.1% mAcc, a significant jump over the next best competitor (FerretNet at 79.4%).
  • Robustness: The model maintained high performance even when images were subjected to heavy blurring, JPEG compression, or additive noise—common tactics used to "fool" detectors in the real world.
Table 2. Comparison with state-of-the-art methods on the GenImage benchmark [55] in terms of mean accuracy (%) and average precision (%). The best and second-best results are highlighted in bold and underlined, respectively. All models follow the same AIGIBench training protocol [19].

Limitations and Future Work

While highly effective, the authors note some limitations:

  • Variable Cue Strength: The spectral slope is a weaker signal for certain generators (like ADM or Wukong) where the "fake" and "real" distributions overlap significantly.
  • Reference Dependence: The observed differences in slope can depend on the specific set of "real" images used as a reference during analysis.
  • Future Directions: The authors suggest exploring more complex spectral descriptors beyond a single linear slope and investigating how these cues can be better integrated into multi-modal foundation models for even broader generalization.

Summary updated

Abstract

AI-generated image detectors often overfit to generator-specific artifacts, hindering generalization to unseen synthesis pipelines. Existing frequency-based methods usually learn high-dimensional spectral patterns that may preserve generator-dependent variations. We explore Radial Spectral Slope, a compact descriptor of global spectral decay that captures transferable spectral trends while suppressing fine-grained variations. Our analysis shows that real and generated images exhibit systematic but generator-dependent slope differences, indicating that slope provides useful forensic evidence but is insufficient as a standalone decision criterion. This motivates combining spectral slope with semantic representations for more robust detection. Based on this insight, we propose SlopeGuard, which couples slope-aware data processing with slope guided feature learning to construct informative patch-based views, integrate Radial Spectral Slope with semantic features, and adapt prior preservation according to spectral atypicality. Extensive experiments demonstrate that SlopeGuard achieves state-of-the-art mean accuracies of 97.5% on AIGCDetectBench, 97.8% on GenImage, and 85.1% on AIGIBench, while maintaining competitive performance under blur, cropping, JPEG compression, and additive noise.
BibTeX
@misc{fu2026slopeguard,
  author = {Cheng Fu and Yiheng Li and Yang Yang and Wenzheng Liu},
  title = {{SlopeGuard: Towards Generalizable AI-Generated Image Detection via Radial Spectral Slope Guidance}},
  year = {2026},
  eprint = {2611.22727},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.22727},
}
Figure