arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.04883cs.CV
收藏

用于可迁移 AI 生成图像检测的低秩专家混合方法

Mixture of Low-rank Experts for Transferable AI-Generated Image Detection

Shanghai Jiao Tong University(上海交通大学)

Zihan Liu, Hanyi Wang, Yaoyu Kang, Shilin Wang

AI总结:

提出 CLIPMoLE 低秩专家混合微调方法,仅训练 CLIP-ViT 极少量参数,即显著提升跨生成器 AI 生成图像检测的泛化性与鲁棒性。

摘要:

生成模型在以极少专业知识合成照片级真实图像方面取得了巨大飞跃,引发了人们对在线信息真实性的担忧。本研究旨在开发一种通用的 AI 生成图像检测器,能够识别来自不同来源的图像。当仅有有限的样本来源时,现有方法难以泛化到未见过的生成模型。受预训练视觉-语言模型零样本迁移能力的启发,我们试图利用 CLIP-ViT 所具备的重要视觉世界知识和描述能力,以泛化到未知领域。本文提出了一种新颖的参数高效微调方法——低秩专家混合(mixture of low-rank experts),在保留知识并扩展容量以实现可迁移检测的同时,充分挖掘 CLIP-ViT 的潜力。我们仅通过在基于 MoE 的结构中集成共享 LoRA 与独立 LoRA,来适配较深 ViT 块的 MLP 层。在公开基准上的大量实验表明,我们的方法在跨生成器泛化和对扰动的鲁棒性方面优于最先进方法。值得注意的是,我们性能最佳的 ViT-L/14 变体仅需训练其 0.08% 的参数,就在未见过的扩散模型和自回归模型上以 +3.64% mAP 和 +12.78% avg.Acc 超过领先基线。这甚至仅使用 0.28% 的训练数据就优于该基线。我们的代码和预训练模型将在 https://github.com/zhliuworks/CLIPMoLE 提供。

英文摘要:

Generative models have shown a giant leap in synthesizing photo-realistic images with minimal expertise, sparking concerns about the authenticity of online information. This study aims to develop a universal AI-generated image detector capable of identifying images from diverse sources. Existing methods struggle to generalize across unseen generative models when provided with limited sample sources. Inspired by the zero-shot transferability of pre-trained vision-language models, we seek to harness the nontrivial visual-world knowledge and descriptive proficiency of CLIP-ViT to generalize over unknown domains. This paper presents a novel parameter-efficient fine-tuning approach, mixture of low-rank experts, to fully exploit CLIP-ViT's potential while preserving knowledge and expanding capacity for transferable detection. We adapt only the MLP layers of deeper ViT blocks via an integration of shared and separate LoRAs within an MoE-based structure. Extensive experiments on public benchmarks show that our method achieves superiority over state-of-the-art approaches in cross-generator generalization and robustness to perturbations. Remarkably, our best-performing ViT-L/14 variant requires training only 0.08% of its parameters to surpass the leading baseline by +3.64% mAP and +12.72% avg.Acc across unseen diffusion and autoregressive models. This even outperforms the baseline with just 0.28% of the training data. Our code and pre-trained models will be available at https://github.com/zhliuworks/CLIPMoLE.

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

↑