DinoLizer: 从最佳中学习以实现生成修复的定位
DinoLizer: Separating VAE and Diffusion Artifacts in Generative Inpainting Localization
AI总结:
DinoLizer基于DINOv2改进生成修复中的篡改定位,通过滑动窗口和后处理提升鲁棒性,实现更高的IoU性能。
摘要:
我们介绍了DinoLizer,一种基于DINOv2的模型,用于定位生成修复中的篡改区域。我们的方法基于一个在B-Free数据集上预训练以检测合成图像的DINOv2模型。我们在此基础上添加了一个线性分类头,用于在14×14的拼图分辨率上预测篡改。该头被训练以关注语义上改变的区域,将非语义编辑视为原始内容的一部分。由于ViT只能接受固定大小的输入,我们使用滑动窗口策略来汇总更大图像上的预测;最终的热图经过后处理以优化估计的二进制篡改掩码。实验证明,DinoLizer在各种源自不同生成模型的修复数据集上超越了最先进的局部篡改检测器。它对常见的后处理操作如缩放、噪声添加和JPEG(双)压缩具有鲁棒性。平均而言,DinoLizer的交并比(IoU)比次优模型高12%,在后处理后甚至有更大的提升。我们的使用现成的DINOv2的实验证明了视觉变换器在该任务中的强大表征能力。最后,对DINOv2和其后续版本DINOv3在深度伪造定位中的广泛消融研究证实了DinoLizer的优越性。代码将在论文接受后公开。
英文摘要:
We introduce DinoLizer, a DINOv2-based localizer of manipulated areas in generative inpainting. The model is trained to focus on semantically altered regions by treating reconstructed areas outside the inpainted mask as a separate class, which yields significant improvements w.r.t. the conven- tional approach. We train the model with LORA on the Query and Value of the transformer blocks and simply add 1 linear layer on top of the backbone to predict manipulations on a 14 x 14 patch resolution. Because DINOv2 only accepts fixed- sized images, we use a sliding window approach to aggregate the predictions on larger images. Empirical results show that DinoLizer outperforms state-of-the-art methods on our proposed dataset and SOTA inpainting datasets. Furthermore, it is very robust to JPEG (double) compression. On average, DinoLizer achieves a 20% higher Intersection over Union score compared to the second best model. The code is publicly available here: https://github.com/anonyme610/dinolizer.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。