Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

$\bf{D^3}$QE: Learning Discrete Distribution Discrepancy-aware Quantization Error for Autoregressive-Generated Image Detection

About

The emergence of visual autoregressive (AR) models has revolutionized image generation while presenting new challenges for synthetic image detection. Unlike previous GAN or diffusion-based methods, AR models generate images through discrete token prediction, exhibiting both marked improvements in image synthesis quality and unique characteristics in their vector-quantized representations. In this paper, we propose to leverage Discrete Distribution Discrepancy-aware Quantization Error (D$^3$QE) for autoregressive-generated image detection that exploits the distinctive patterns and the frequency distribution bias of the codebook existing in real and fake images. We introduce a discrete distribution discrepancy-aware transformer that integrates dynamic codebook frequency statistics into its attention mechanism, fusing semantic features and quantization error latent. To evaluate our method, we construct a comprehensive dataset termed ARForensics covering 7 mainstream visual AR models. Experiments demonstrate superior detection accuracy and strong generalization of D$^3$QE across different AR models, with robustness to real-world perturbations. Code is available at \href{https://github.com/Zhangyr2022/D3QE}{https://github.com/Zhangyr2022/D3QE}.

Yanran Zhang, Bingyao Yu, Yu Zheng, Wenzhao Zheng, Yueqi Duan, Lei Chen, Jie Zhou, Jiwen Lu• 2025

Related benchmarks

TaskDatasetResultRank
Provenance TracingImageNet
TPR@1%FPR86.9
42
Provenance TracingLAION
TPR@1%FPR67.7
42
Provenance TracingMS-COCO
TPR@1%FPR86.6
42
Provenance TracingInfinity
TPR@1%FPR60.1
35
Provenance TracingTaming
TPR@1%FPR2
35
Provenance TracingLlamaGen
TPR@1%FPR0.00e+0
35
Provenance TracingVAR
TPR@1%FPR2
35
Provenance TracingVQDiff
TPR@1%FPR3.7
34
Provenance TracingRAR
TPR@1%FPR6.8
33
Generated Image DetectionDARG Class-to-Image
HMAR-2095.6
12
Showing 10 of 12 rows

Other info

GitHub

Follow for update