cs.CVApr 4, 2026

SPARK-IL: Spectral Retrieval-Augmented RAG for Knowledge-driven Deepfake Detection via Incremental Learning

Authors: Hessen Bougueffa Eutamene, Abdellah Zakaria Sellam, Abdelmalik Taleb-Ahmed, Abdenour Hadid

Organizations: Univ. Polytechnique Hauts-de-France, Valenciennes, France · Institute of Applied Sciences and Intelligent Systems – Lecce, Italy · Department of Innovation Engineering, University of Salento, Italy · Sorbonne Center for Artificial Intelligence, Sorbonne University Abu Dhabi

Abstract

Detecting AI-generated images remains a significant challenge because detectors trained on specific generators often fail to generalize to unseen models; however, while pixel-level artifacts vary across models, frequency-domain signatures exhibit greater consistency, providing a promising foundation for cross-generator detection. To address this, we propose SPARK-IL, a retrieval-augmented framework that combines dual-path spectral analysis with incremental learning by utilizing a partially frozen ViT-L/14 encoder for semantic representations alongside a parallel path for raw RGB pixel embeddings. Both paths undergo multi-band Fourier decomposition into four frequency bands, which are individually processed by Kolmogorov-Arnold Networks (KAN) with mixture-of-experts for band-specific transformations before the resulting spectral embeddings are fused via cross-attention with residual connections. During inference, this fused embedding retrieves the kk nearest labeled signatures from a Milvus database using cosine similarity to facilitate predictions via majority voting, while an incremental learning strategy expands the database and employs elastic weight consolidation to preserve previously learned transformations. Evaluated on the UniversalFakeDetect benchmark across 19 generative models -- including GANs, face-swapping, and diffusion methods -- SPARK-IL achieves a 94.6% mean accuracy, with the code to be publicly released at https://github.com/HessenUPHF/SPARK-IL.

Figures & tables

Explore similar work

CardsList
  1. FAIR: Feature-Augmented Implicit Regularization for AI-generated Fake Image Detection

    Jul 24, 2026Md Redwanul Haque, Manzur Murshed, Manoranjan Paul +1Domain GeneralizationAI-Generated Image Detection

  2. SimLBR: Learning to Detect Fake Images by Learning to Detect Real Images

    Feb 23, 2026Aayush Dhakal, Subash Khanal, Srikumar Sastry +4AI-Generated Image DetectionOOD Generalization

  3. SSAFE: Simple and Strong AI-Generated Image Detection via Frozen Vision Encoders

    Jun 7, 2026Seunghyun Lee, Byoungkwon Kim, Jaehyun Nam +2Domain GeneralizationTraining Data Selection