mlsanityData to 7 Oct 2026

TAP into the Patch Tokens: Leveraging Vision Foundation Model Features for AI-Generated Image Detection

arXiv 2604.26772 ↗First posted 29 Apr 2026cs.CVcited by 1

Not on the map. Why?

Abstract (arXiv)

Recent methods demonstrate that large-scale pretrained models, such as CLIP vision transformers, effectively detect AI-generated images (AIGIs) from unseen generative models when used as feature extractors. Many state-of-the-art methods for AI-generated image detection build upon the original CLIP-ViT to enhance this generalization. Since CLIP's release, numerous vision foundation models (VFMs) have emerged, incorporating architectural improvements and different training paradigms. Despite these advances, their potential for AIGI detection and AI image forensics remains largely unexplored. In this work, we present a comprehensive benchmark across multiple VFM families, covering diverse pretraining objectives, input resolutions, and model scales. We systematically evaluate their out-of-the-box performance for detecting fully-generated AI-images and AI-inpainted images, and discover that the best model outperforms the original CLIP by more than 12% in accuracy, beating established approaches in the process. To fully leverage the features of a modern VFM, we propose a simple redesign of the classifier head by utilizing tunable attention pooling (TAP), which aggregates output tokens into a refined global representation. Integrating TAP with the latest VFMs yields substantial performance gains across several AIGI detection benchmarks, establishing a new state-of-the-art on two challenging benchmarks for in-the-wild detection of AI-generated and -inpainted images.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 52 of its 61 references that are in the map. First posted on arXiv 29 Apr 2026.

Builds on

52 of 61 references.

References · 52

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  5. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  6. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  7. 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,764
  8. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
  9. 2018A Style-Based Generator Architecture for Generative Adversarial Networkscited by 5,986
  10. 2022Scalable Diffusion Models with Transformerscited by 5,931
  11. 2023Adding Conditional Control to Text-to-Image Diffusion Modelscited by 5,466
  12. 2017Neural Discrete Representation Learningcited by 4,650
38 more
  1. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  2. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  3. 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,290
  4. 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,094
  5. 2017Progressive Growing of GANs for Improved Quality, Stability, and Variationcited by 2,967
  6. 2024SAM 2: Segment Anything in Images and Videoscited by 2,784
  7. 2016Xception: Deep Learning with Depthwise Separable Convolutionscited by 2,320
  8. 2019Generating Diverse High-Fidelity Images with VQ-VAE-2cited by 1,376
  9. 2025DINOv3cited by 1,297
  10. 2025SigLIP 2: Multilingual Vision-Language Encoders with Improved Semantic Understanding, Localization, and Dense Featurescited by 1,127
  11. 2021Scaling Vision Transformerscited by 993
  12. 2019CNN-generated images are surprisingly easy to spot... for nowcited by 842
  13. 2020Thinking in Frequency: Face Forgery Detection by Mining Frequency-aware Cluescited by 518
  14. 2020Leveraging Frequency Analysis for Deep Fake Image Recognitioncited by 501
  15. 2023Towards Universal Fake Image Detectors that Generalize Across Generative Modelscited by 483
  16. 2023DIRE for Diffusion-Generated Image Detectioncited by 386
  17. 2023GenImage: A Million-Scale Benchmark for Detecting AI-Generated Imagecited by 318
  18. 2025Perception Encoder: The best visual embeddings are not at the output of the networkcited by 315
  19. 2019Detecting and Simulating Artifacts in GAN Fake Imagescited by 293
  20. 2021Generalizing Face Forgery Detection with High-frequency Featurescited by 261
  21. 2021Spatial-Phase Shallow Learning: Rethinking Face Forgery Detection in Frequency Domaincited by 241
  22. 2023Patch n' Pack: NaViT, a Vision Transformer for any Aspect Ratio and Resolutioncited by 226
  23. 2020Global Texture Enhancement for Fake Face Detection in the Wildcited by 220
  24. 2024A Sanity Check for AI-generated Image Detectioncited by 187
  25. 2022FlexiViT: One Model for All Patch Sizescited by 151
  26. 2021PSCC-Net: Progressive Spatio-Channel Correlation Network for Image Manipulation Detection and Localizationcited by 133
  27. 2022TruFor: Leveraging all-round clues for trustworthy image forgery detection and localizationcited by 130
  28. 2023PatchCraft: Exploring Texture Patch for Efficient AI-generated Image Detectioncited by 119
  29. 2021Image Manipulation Detection by Multi-View Multi-Scale Supervisioncited by 111
  30. 2024C2P-CLIP: Injecting Category Common Prompt in CLIP to Enhance Generalization in Deepfake Detectioncited by 111
  31. 2024Low-Rank Few-Shot Adaptation of Vision-Language Modelscited by 103
  32. 2024Leveraging Representations from Intermediate Encoder-blocks for Synthetic Image Detectioncited by 88
  33. 2021Learning JPEG Compression Artifacts for Image Manipulation Detection and Localizationcited by 78
  34. 2023IML-ViT: Benchmarking Image Manipulation Localization by Vision Transformercited by 42
  35. 2023GenDet: Towards Good Generalizations for AI-Generated Image Detectioncited by 36
  36. 2025OpenSDI: Spotting Diffusion-Generated Images in the Open Worldcited by 23
  37. 2025Deepfake Detection that Generalizes Across Benchmarkscited by 20
  38. 2024DeCLIP: Decoding CLIP representations for deepfake localizationcited by 17

50 most cited of 52 All 52 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.