SAIDO: Generalizable Detection of AI-Generated Images via Scene-Aware and Importance-Guided Dynamic Optimization in Continual Learning

Yongkang Hu, Yu Cheng, Yushuo Zhang, Yuan Xie, Zhaoxia Yin · DOI

Introduction

The rapid evolution of AI image generators, such as Midjourney, Stable Diffusion, and Flux, has initiated a persistent "cat-and-mouse" game between creators of synthetic content and developers of detection systems. Current detection models face two primary hurdles: catastrophic forgetting and poor generalization. When models are updated to recognize images from new generators, they often lose the ability to detect forgeries from older ones. Furthermore, forgery "fingerprints"—the subtle artifacts left by AI—often vary significantly based on the image's content or "scene." A detector optimized for AI-generated animals may fail when presented with synthetic architectural images.

Existing solutions frequently rely on "replay buffers," which involve storing and re-training on historical data. However, this approach is computationally intensive and often impractical due to data privacy or storage constraints. To address these challenges, we present SAIDO (Scene-Aware and Importance-guided Dynamic Optimization), a framework designed for continual learning in AI forgery detection that achieves a 44.22% reduction in average error rates.

Methodology: The SAIDO Framework

SAIDO integrates two innovative components to balance the need for learning new patterns (plasticity) with the preservation of existing knowledge (stability).

The SAIDO framework architecture, featuring the Scene Awareness-based Expert Module (SAEM) and the Importance-guided Dynamic Optimization Mechanism (IDOM).

Scene-Awareness-Based Expert Module (SAEM)

Rather than employing a single monolithic model, SAIDO utilizes a Vision-Language Large Model (VLLM) to categorize the scene of an incoming image (e.g., "Animal," "Building," "Food"). Based on this classification, the system dynamically assigns or creates a lightweight LoRA (Low-Rank Adaptation) expert tailored to that specific scene. This modular approach allows the system to capture scene-specific forgery features more effectively, acknowledging that AI generators struggle with different textures and structures in unique ways.

Importance-Guided Dynamic Optimization Mechanism (IDOM)

To prevent catastrophic forgetting without a replay buffer, IDOM regulates updates at the individual neuron level. It employs the Fisher Information Matrix (FIM) to quantify the importance of each neuron for previously learned tasks.

  • Core Neurons: Neurons identified as critical for past tasks have their updates constrained through a gradient projection strategy, ensuring that new learning does not overwrite essential knowledge.
  • Non-core Neurons: Less critical neurons are permitted to update freely, facilitating the acquisition of new forgery patterns.

Experimental Evaluation

The researchers evaluated SAIDO using two rigorous protocols:

  1. Continual Learning (Protocol 1): A sequence of nine generative models, including ADM, GLIDE, SAGAN, ProGAN, BigGAN, Wukong, SD1.5, VQDM, and Midjourney-V5.
  2. Open-World/Out-of-Distribution (Protocol 2): Testing on entirely unseen, advanced generators such as StyleGAN-xl, R3GAN, FLUX1-dev, Midjourney-V6, SD3, and Imagen3 to measure generalization.

Real images were sourced from large-scale benchmarks like ImageNet, LSUN, and Open Images V7 to ensure a robust "Real vs. Fake" baseline.

Key Results and Insights

SAIDO demonstrated significant improvements over state-of-the-art methods like RegO and DFIL, maintaining high performance across sequential training sessions.

Performance comparison across multiple generative models and learning sessions, demonstrating SAIDO's superior stability and accuracy.
  • Reduced Forgetting: SAIDO achieved a 40.57% relative reduction in forgetting rate compared to previous benchmarks.
  • Enhanced Accuracy: The average detection error rate was reduced by 44.22%.
  • Open-World Generalization: On the Protocol 2 dataset (unseen models), SAIDO improved average detection accuracy by 9.47%, reaching an overall accuracy of 91.35% even against advanced models like FLUX and Midjourney-V6.
  • Fine-Grained Control: The success of IDOM highlights that neuron-level control, rather than layer-level regularization, is key to balancing plasticity and stability in continual learning.

Conclusion

SAIDO represents a significant advancement in the field of AI-generated image detection. By combining scene-specific expertise with fine-grained optimization, it effectively mitigates catastrophic forgetting while enhancing generalization to new, unseen generative techniques. While dependencies on VLLM accuracy and the management of expert libraries present areas for future refinement, SAIDO provides a robust foundation for building adaptive, long-term forgery detection systems in an ever-evolving digital landscape.

Summary updated

BibTeX
@inproceedings{hu2026saido,
  author = {Yongkang Hu and Yu Cheng and Yushuo Zhang and Yuan Xie and Zhaoxia Yin},
  title = {{SAIDO: Generalizable Detection of AI-Generated Images via Scene-Aware and Importance-Guided Dynamic Optimization in Continual Learning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=QrWJcK3PlG},
}
Figure