NS-Net: Decoupling CLIP Semantic Information through NULL-Space for Generalizable AI-Generated Image Detection
On the map: Diffusion models → Image generation, text-to-image and editing
Abstract (arXiv)
The rapid progress of generative models, such as GANs and diffusion models, has facilitated the creation of highly realistic images, raising growing concerns over their misuse in security-sensitive domains. While existing detectors perform well under known generative settings, they often fail to generalize to unknown generative models, especially when semantic content between real and fake images is closely aligned. In this paper, we revisit the use of CLIP features for AI-generated image detection and uncover a critical limitation: the high-level semantic information embedded in CLIP's visual features hinders effective discrimination. To address this, we propose NS-Net, a novel detection framework that leverages NULL-Space projection to decouple semantic information from CLIP's visual features, followed by contrastive learning to capture intrinsic distributional differences between real and generated images. Furthermore, we design a Patch Selection strategy to preserve fine-grained artifacts by mitigating semantic bias caused by global image structures. Extensive experiments on an open-world benchmark comprising images generated by 40 diverse generative models show that NS-Net outperforms existing state-of-the-art methods, achieving a 7.4% improvement in detection accuracy, thereby demonstrating strong generalization across both GAN- and diffusion-based image generation techniques.
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Placed in Image generation, text-to-image and editing, one of 14 directions in Diffusion models. Builds on 69 of its 91 references that are in the map. First posted on arXiv 2 Aug 2025.
Builds on
69 of 91 references.
Closest ancestors · 11
Same direction, newest first
- 2025Pay Less Attention to Deceptive Artifacts: Robust Detection of Compressed Deepfakes on Online Social Networks25 Jun
- 2025Is Artificial Intelligence Generated Image Detection a Solved Problem?18 May
- 2025Dual Frequency Branch Framework with Reconstructed Sliding Windows Attention for AI-Generated Image Detection25 Jan
- 2024A Bias-Free Training Paradigm for More General AI-generated Image Detection23 Dec
- 2024Infinite-ID: Identity-preserved Personalization via ID-semantics Decoupling Paradigm18 Mar
- 2023Forgery-aware Adaptive Transformer for Generalizable Synthetic Image Detection27 Dec
- 2023IP-Adapter: Text Compatible Image Prompt Adapter for Text-to-Image Diffusion Models13 Aug
- 2023DIRE for Diffusion-Generated Image Detection16 Mar
- 2022InstructPix2Pix: Learning to Follow Image Editing Instructions17 Nov
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latents13 Apr
- 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models20 Dec
Other references · 58
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020Denoising Diffusion Probabilistic Modelscited by 21,076
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
- 2020Denoising Diffusion Implicit Modelscited by 9,781
- 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,255
- 2018A Style-Based Generator Architecture for Generative Adversarial Networkscited by 6,013
- 2017Neural Discrete Representation Learningcited by 4,712
- 2022BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generationcited by 4,322
- 2021Zero-Shot Text-to-Image Generationcited by 4,288
38 more
- 2019Analyzing and Improving the Image Quality of StyleGANcited by 3,588
- 2017Progressive Growing of GANs for Improved Quality, Stability, and Variationcited by 2,988
- 2018Large Scale GAN Training for High Fidelity Natural Image Synthesiscited by 2,626
- 2019Semantic Image Synthesis with Spatially-Adaptive Normalizationcited by 1,299
- 2021Alias-Free Generative Adversarial Networkscited by 1,184
- 2019FaceForensics++: Learning to Detect Manipulated Facial Imagescited by 1,101
- 2017StarGAN: Unified Generative Adversarial Networks for Multi-Domain Image-to-Image Translationcited by 1,039
- 2019CNN-generated images are surprisingly easy to spot... for nowcited by 847
- 2020Thinking in Frequency: Face Forgery Detection by Mining Frequency-aware Cluescited by 523
- 2022StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasetscited by 492
- 2023Towards Universal Fake Image Detectors that Generalize Across Generative Modelscited by 490
- 2020Null It Out: Guarding Protected Attributes by Iterative Nullspace Projectioncited by 455
- 2021Gradient Projection Memory for Continual Learningcited by 348
- 2021Multi-attentional Deepfake Detectioncited by 341
- 2023GenImage: A Million-Scale Benchmark for Detecting AI-Generated Imagecited by 321
- 2020Lips Don't Lie: A Generalisable and Robust Approach to Face Forgery Detectioncited by 287
- 2020What makes fake images detectable? Understanding properties that generalizecited by 273
- 2021Generalizing Face Forgery Detection with High-frequency Featurescited by 262
- 2021SimSwap: An Efficient Framework For High Fidelity Face Swappingcited by 243
- 2024AlphaEdit: Null-Space Constrained Knowledge Editing for Language Modelscited by 236
- 2024A Sanity Check for AI-generated Image Detectioncited by 189
- 2018Continual Learning of Context-dependent Processing in Neural Networkscited by 179
- 2022Self-supervised Learning of Adversarial Example: Towards Good Generalizations for Deepfake Detectioncited by 173
- 2021StyleSwin: Transformer-based GAN for High-resolution Image Generationcited by 152
- 2021Training Networks in Null Space of Feature Covariance for Continual Learningcited by 143
- 2023PatchCraft: Exploring Texture Patch for Efficient AI-generated Image Detectioncited by 122
- 2024C2P-CLIP: Injecting Category Common Prompt in CLIP to Enhance Generalization in Deepfake Detectioncited by 113
- 2024Orthogonal Subspace Decomposition for Generalizable AI-Generated Image Detectioncited by 105
- 2024Low-Rank Few-Shot Adaptation of Vision-Language Modelscited by 104
- 2022Linear Adversarial Concept Erasurecited by 101
- 2024Improving Synthetic Image Detection Towards Generalization: An Image Transformation Perspectivecited by 89
- 2018Detecting GAN-generated Imagery using Color Cuescited by 76
- 2025Dual Data Alignment Makes AI-Generated Image Detector Easier Generalizablecited by 60
- 2025The GAN is dead; long live the GAN! A Modern GAN Baselinecited by 59
- 2024Real-Time Deepfake Detection in the Real-Worldcited by 51
- 2024FIRE: Robust Detection of Diffusion-Generated Images via Frequency-Guided Reconstruction Errorcited by 47
- 2024D3: Scaling Up Deepfake Detection by Learning from Discrepancycited by 45
- 2022Lighting (In)consistency of Paint by Textcited by 35
50 most cited of 58 All 58 (JSON)
Built on by
Citing papers per year: 2025: 2; 2026: 6.
8 papers.
- 2025DGS-Net: Distillation-Guided Gradient Surgery for CLIP Fine-Tuning in AI-Generated Image Detectioncited by 5
- 2026Deep Residual Injection for Full-Spectrum Forensic Signal Perception in Multimodal Large Language Modelscited by 3
- 2026AI-Generated Image Detectors Overrely on Global Artifacts: Evidence from Inpainting Exchangecited by 2
- 2026Principled Steering via Null-space Projection for Jailbreak Defense in Vision-Language Modelscited by 2
- 2025How Noise Benefits AI-generated Image Detectioncited by 0
- 2026LoRC: Detecting AI-Generated Images via Low-Rank Collapse in Semantic Residualscited by 0
- 2026Beyond Natural Images: Rethinking AI-Generated Image Detection in Documentscited by 0
- 2026COMPASS: Contextual Moment Prior Alignment for Generalizable AIGI Detectioncited by 0
- 2026COMPASS: Contextual Moment Prior Alignment for Generalizable AIGI Detection13 Oct 2026
- 2026Beyond Natural Images: Rethinking AI-Generated Image Detection in Documents13 Sep 2026
- 2026LoRC: Detecting AI-Generated Images via Low-Rank Collapse in Semantic Residuals21 Aug 2026
- 2026Deep Residual Injection for Full-Spectrum Forensic Signal Perception in Multimodal Large Language Models14 Jun 2026
- 2026Principled Steering via Null-space Projection for Jailbreak Defense in Vision-Language Models23 Mar 2026
- 2026AI-Generated Image Detectors Overrely on Global Artifacts: Evidence from Inpainting Exchange30 Jan 2026
- 2025How Noise Benefits AI-generated Image Detection20 Nov 2025
- 2025DGS-Net: Distillation-Guided Gradient Surgery for CLIP Fine-Tuning in AI-Generated Image Detection17 Nov 2025
Similar, not cited
Close in wording, no citation either way
- 2025When Semantics Regulate: Rethinking Patch Shuffle and Internal Bias for Generated Image Detection with CLIP
- 2023Raising the Bar of AI-generated Image Detection with CLIP
- 2025CLIP Embeddings for AI-Generated Image Detection: A Few-Shot Study with Lightweight Classifier
- 2026Diversity Matters: Dataset Diversification and Dual-Branch Network for Generalized AI-Generated Image Detection
- 2025DeeCLIP: A Robust and Generalizable Transformer-Based Framework for Detecting AI-Generated Images
- 2025OmniAID: Decoupling Semantics and Artifacts for Universal AI-Generated Image Detection in the Wild
- 2025AI-GenBench: A New Ongoing Benchmark for AI-Generated Image Detection
- 2025LDR-Net: A Novel Framework for AI-generated Image Detection via Localized Discrepancy Representation