LiteUpdate: A Lightweight Framework for Updating AI-Generated Image Detectors

Jiajie Lu, Zhenkan Fu, Na Zhao, Long Xing, Xiangkun Wang, Kejiang Chen, Weiming Zhang, Nenghai Yu

TL;DR

LiteUpdate is a lightweight framework designed to keep AI-generated image detectors effective as generative models (like FLUX or Midjourney) rapidly evolve. By combining a "boundary-aware" sample selection strategy with a model-merging technique, it allows detectors to adapt to new image distributions using very few samples while preventing "catastrophic forgetting" of older generative models.

What Problem Does This Paper Address?

The "cat-and-mouse" game between AI image generators and detectors is currently lopsided. While new models like SD 3.5, FLUX, and DALL-E 3 emerge constantly, existing detectors often suffer from two major issues when trying to keep up:

  1. Low Efficiency (C1): Traditional fine-tuning requires massive datasets from every new generator to maintain accuracy, which is computationally expensive and slow.
  2. Catastrophic Forgetting (C2): When a detector is fine-tuned to recognize images from a new model (e.g., FLUX), it often loses its ability to recognize images from older models (e.g., SD 2.1).

Current detectors pre-trained on older distributions show significant performance drops—sometimes failing entirely—when faced with unseen generative styles. LiteUpdate aims to fix this by making the update process "lite" (data-efficient) and "robust" (retaining old knowledge).

Methods

The LiteUpdate framework consists of two primary modules:

1. Representative Sample Selection

Instead of randomly picking images to fine-tune the detector, LiteUpdate identifies "boundary samples"—images that the current detector is most "confused" about. It uses two metrics:

  • Confidence-based Uncertainty: It identifies images where the model's prediction is near the 0.5 decision boundary or outright wrong.
  • Gradient-based Sensitivity: For images the model is "sure" about (confidence > 0.5), it calculates the $L_2$ norm of the loss gradient. High gradient sensitivity indicates that the sample contains features that would significantly help the model learn the new distribution.

2. Model Merging

To prevent the model from forgetting what it already knows, the authors avoid simple fine-tuning. Instead, they train two separate "expert" versions of the pre-trained model: one on the representative samples and one on random samples. They then perform a linear weight interpolation (Model Merging) between the original pre-trained weights ($\theta_0$) and the two fine-tuned versions ($\theta_1, \theta_2$). This "anchors" the new knowledge to the original foundation, balancing adaptability with stability.

Datasets

The authors evaluated their framework using a diverse set of generators:

  • Pre-training: StableDiffusion (SD) 2.1.
  • Evaluation/Update Targets: SD 3.5, FLUX, Midjourney (2024 version), and DALL-E 3.
  • Real-world Images: Sourced from the MSCOCO dataset.
  • Prompts: Text prompts were pulled from the LAION-AESTHETICS dataset to ensure high-quality, diverse image generation.

Key Insights and Ideas

  • Quality over Quantity: The "aha moment" here is that 1,000 carefully selected "boundary" samples are as effective as 5,000 random samples. This drastically reduces the data collection and compute burden for researchers.
  • The "Boundary" is the Teacher: Samples that are misclassified or sit near the decision boundary provide the most "information gain." By focusing on these, the model learns the specific artifacts of new generators much faster.
  • Merging as a Regularizer: Model merging acts as a powerful alternative to traditional regularization (like weight decay). By mathematically blending the old and new weights, the framework naturally finds a middle ground that works for both old and new generators.

Key Results

  • Accuracy Boost: On the AIDE detector, LiteUpdate improved average detection accuracy on Midjourney images from 87.63% to 93.03% (a 6.16% relative increase).
  • Efficiency: As shown in the paper's Figure 4, LiteUpdate achieved superior performance using only 1,000 samples compared to a standard fine-tuned detector using 5,000 random samples.
  • Universal Compatibility: The framework was tested across multiple detector architectures (AIDE, NPR, and FreqNet), showing consistent gains regardless of the underlying detection logic.
  • Multi-Generator Adaptability: In a "multi-generator" setting where the detector had to adapt to several new models at once, LiteUpdate-Multiple maintained high accuracy (above 90%) across the board, whereas traditional methods saw sharp declines on older models.

Limitations and Future Work

  • Selection of $k$: The model merging relies on a balancing coefficient ($k$). While the authors found $k=0.2$ to be optimal for their tests, this value might need tuning for different architectures or more extreme distribution shifts.
  • Dependency on Pre-training: The framework assumes a strong pre-trained base ($\theta_0$). If the initial detector is very weak, the "representative samples" selected via confidence might be less reliable.
  • Future Directions: The authors suggest exploring more complex merging strategies beyond linear interpolation and investigating how this framework handles "adversarial" generative models designed specifically to fool detectors.

Summary updated

BibTeX
@article{lu2026liteupdate,
  author = {Jiajie Lu and Zhenkan Fu and Na Zhao and Long Xing and Xiangkun Wang and Kejiang Chen and Weiming Zhang and Nenghai Yu},
  title = {{LiteUpdate: A Lightweight Framework for Updating AI-Generated Image Detectors}},
  journal = {IEEE Trans. Circuits Syst. Video Technol.},
  year = {2026},
  doi = {10.1109/tcsvt.2026.3683200},
}
Figure