arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2504.01396cs.CV
收藏

所有补丁都重要,更多补丁更好:通过全景补丁学习增强AI生成图像检测

All Patches Matter, More Patches Better: Enhance AI-Generated Image Detection via Panoptic Patch Learning

College of Computer Science and Technology, Zhejiang University(浙江大学计算机科学与技术学院);Youtu Lab, Tencent(腾讯优图实验室);Peking University(北京大学);Wechat Pay, Tencent(腾讯微信支付);School of Software Technology, Zhejiang University(浙江大学软件技术学院)

Zheng Yang, Ruoxin Chen, Zhiyuan Yan, Ke-Yue Zhang, Xinghe Fu, Shuang Wu, Xiujun Shu, Taiping Yao, Shouhong Ding, Zequn Qin, Xi Li

AI总结:

本文提出全景补丁学习框架,通过随机补丁替换和补丁级对比学习,解决AI生成图像检测中的Few-Patch偏差问题,提升检测鲁棒性和泛化能力。

摘要:

AI生成图像的指数增长凸显了对稳健且可推广的检测方法的迫切需求。本文通过系统分析建立了两个关键原则:(1) 所有补丁都重要:与传统图像分类不同,每个补丁内在包含合成伪影,因此每个补丁都是检测的重要伪影源。(2) 更多补丁更好:利用更多补丁上的分布式伪影提高检测鲁棒性,通过捕获互补的鉴证证据并减少对特定补丁的依赖,从而提升鲁棒性和泛化能力。然而,我们的反事实分析揭示了不期望的现象:简单训练的检测器常表现出Few-Patch偏差,基于少数补丁区分真实和合成图像。我们识别出Lazy Learner是根本原因:检测器优先学习有限补丁中的显眼伪影,而忽视更广的伪影分布。为解决此偏差,我们提出全景补丁学习(PPL)框架,包括:(1) 随机补丁替换,随机用真实补丁替换合成补丁,迫使模型识别未被充分利用区域的伪影,鼓励更广泛地使用更多补丁;(2) 补丁级对比学习,强制所有补丁具有一致的判别能力,确保所有补丁的均匀利用。在两个不同设置上多个基准的广泛实验验证了本方法的有效性。

英文摘要:

The exponential growth of AI-generated images (AIGIs) underscores the urgent need for robust and generalizable detection methods. In this paper, we establish two key principles for AIGI detection through systematic analysis: (1) All Patches Matter: Unlike conventional image classification where discriminative features concentrate on object-centric regions, each patch in AIGIs inherently contains synthetic artifacts due to the uniform generation process, suggesting that every patch serves as an important artifact source for detection. (2) More Patches Better: Leveraging distributed artifacts across more patches improves detection robustness by capturing complementary forensic evidence and reducing over-reliance on specific patches, thereby enhancing robustness and generalization. However, our counterfactual analysis reveals an undesirable phenomenon: naively trained detectors often exhibit a Few-Patch Bias, discriminating between real and synthetic images based on minority patches. We identify Lazy Learner as the root cause: detectors preferentially learn conspicuous artifacts in limited patches while neglecting broader artifact distributions. To address this bias, we propose the Panoptic Patch Learning (PPL) framework, involving: (1) Random Patch Replacement that randomly substitutes synthetic patches with real counterparts to compel models to identify artifacts in underutilized regions, encouraging the broader use of more patches; (2) Patch-wise Contrastive Learning that enforces consistent discriminative capability across all patches, ensuring uniform utilization of all patches. Extensive experiments across two different settings on several benchmarks verify the effectiveness of our approach.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑