TL;DR
SAIDO is a novel continual learning framework designed to detect AI-generated images across diverse real-world scenes without suffering from catastrophic forgetting. By combining a Vision-Language Large Model (VLLM) to dynamically manage scene-specific LoRA experts with a fine-grained, neuron-level gradient projection strategy, SAIDO achieves state-of-the-art detection accuracy and stability without requiring a data replay buffer.
What Problem Does This Paper Address?
As AI image generation technologies (like GANs and Diffusion models) advance, distinguishing real images from fakes has become a critical security challenge. While current detection models perform well in controlled, closed-set environments, they struggle significantly when deployed in the wild due to two main issues:
- Domain Shift: Forgery artifacts often manifest differently depending on the semantic content of the image (e.g., the texture of an animal vs. the structure of a vehicle).
- Catastrophic Forgetting: When a detector is sequentially trained to recognize images from new generative models, it quickly forgets how to detect fakes from older models.
Existing continual learning methods often rely on a "replay buffer" (storing and re-training on old data), which is frequently impractical in real-world scenarios due to storage constraints and privacy concerns. SAIDO aims to achieve a reliable balance between plasticity (learning new generative models) and stability (retaining old knowledge) without relying on replayed data.
Methods
The SAIDO framework consists of two main components that work together to handle scene diversity and prevent forgetting:
1. Scene-Awareness-Based Expert Module (SAEM)
Instead of building a single detector for all images or separate detectors for every new generator, SAEM categorizes images by their semantic scene.
- A VLLM acts as a router, identifying the scene category (e.g., Animal, Food, Vehicle) of an incoming image. If a completely new scene type appears, the framework dynamically expands its scene set.
- For each identified scene, an independent, lightweight Low-Rank Adaptation (LoRA) expert module is allocated and attached to a frozen CLIP backbone. This allows the model to isolate and master scene-specific forgery features.
2. Importance-Guided Dynamic Optimization Mechanism (IDOM)
To update the LoRA experts without causing catastrophic forgetting, IDOM regulates parameter updates at the individual neuron level:
- It uses the Fisher Information Matrix (FIM) to calculate the importance of each neuron for detecting both real and fake images, classifying them into "core" and "non-core" neurons.
- Core Neurons: For neurons critical to real image detection (which are stable across domains), gradients are projected parallel to old tasks to preserve memory. For neurons critical to fake image detection (which vary wildly across generators), gradients are adjusted to be orthogonal to previous tasks, allowing the model to learn new fake patterns without interference.
- Non-core Neurons: These are allowed to update freely to maintain model plasticity.
Datasets
The authors evaluated SAIDO using two distinct experimental protocols:
- Protocol 1 (Sequential Continual Learning): A sequential dataset featuring 9 distinct image generators trained and evaluated in order: ProGAN, SAGAN, BigGAN, ADM, GLIDE, Wukong, SD1.5, VQDM, and Midjourney-V5.
- Protocol 2 (Open-World / Out-of-Distribution): To test zero-shot generalization, models trained on Protocol 1 were tested on 6 unseen, advanced generative models: StyleGAN-xl, R3GAN, FLUX1-dev, Midjourney-V6, SD3, and Imagen3.
Key Insights and Ideas
- Asymmetric Forgetting (Real vs. Fake): The authors observed that real image features are compact and stable across tasks, whereas fake image features vary drastically depending on the generator. IDOM exploits this by strictly stabilizing real-image detection pathways while allowing flexible, orthogonal updates for new fake-image patterns.
- Scene-Centric vs. Generator-Centric Experts: Grouping expert modules by semantic scene content rather than by the specific generator model drastically improves cross-model generalization. The scene distribution in the real world naturally stabilizes, making this approach highly scalable.
Key Results
SAIDO consistently outperformed existing state-of-the-art (SOTA) continual learning detection methods (such as EWC, RegO, and Tang et al.) across all metrics without using any historical data replay:
- Continual Learning Performance: On the sequential tasks of Protocol 1, SAIDO achieved an Average Accuracy (AA) of 95.61% and an Average Forgetting (AF) rate of just 3.94%. This represents a 44.22% relative reduction in error rate and a 40.57% relative reduction in forgetting compared to the next best method.
- Open-World Generalization: Under Protocol 2, SAIDO achieved the highest average accuracy on unseen, next-generation models (91.35% AA), outperforming the closest competitor by 9.47%.
Limitations and Future Work
The authors noted a specific boundary condition for their framework: if the scene-domain distributions across different tasks are highly concentrated (meaning there are very mild scene shifts between sequential datasets), the advantages of the SAEM module diminish. In such cases, training all data within a single, unified LoRA model can slightly outperform the multi-expert setup due to data aggregation.
Potential future directions include optimizing the computational overhead introduced by utilizing a VLLM for real-time scene routing and exploring hierarchical scene classification.
Summary updated