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

基于分割混淆对抗训练与对比学习的生成式图像修复

Generative Image Inpainting with Segmentation Confusion Adversarial Training and Contrastive Learning

College of Computer Science and Technology, Zhejiang University(浙江大学计算机科学与技术学院)

Zhiwen Zuo, Lei Zhao, Ailin Li, Zhizhong Wang, Zhanjie Zhang, Jiafu Chen, Wei Xing, Dongming Lu

AI总结:

本文提出融合SCAT、全局对抗训练及纹理与语义对比损失的图像修复框架,兼顾全局一致性、局部纹理和自由孔洞适应性,并在两个基准上验证其优越性。

摘要:

本文提出了一种用于图像修复的新型对抗训练框架,该框架结合了分割混淆对抗训练(SCAT)与对比学习。SCAT在修复生成器与分割网络之间进行对抗博弈,可提供像素级的局部训练信号,并能够适应带有自由形式孔洞的图像。通过将SCAT与标准全局对抗训练相结合,这一新的对抗训练框架同时展现出以下三项优势:(1)修复图像的全局一致性;(2)修复图像的局部精细纹理细节;(3)处理带有自由形式孔洞图像的灵活性。此外,我们提出了纹理对比学习损失与语义对比学习损失,通过利用判别器的特征表示空间来稳定并改进修复模型的训练;在该空间中,修复图像被拉近至真实图像,同时被推离受损图像。所提出的对比损失能够更好地引导修复图像在特征表示空间中从受损图像数据点移动到真实图像数据点,从而生成更逼真的完整图像。我们在两个基准数据集上进行了大量实验,从定性与定量两方面证明了模型的有效性和优越性。

英文摘要:

This paper presents a new adversarial training framework for image inpainting with segmentation confusion adversarial training (SCAT) and contrastive learning. SCAT plays an adversarial game between an inpainting generator and a segmentation network, which provides pixel-level local training signals and can adapt to images with free-form holes. By combining SCAT with standard global adversarial training, the new adversarial training framework exhibits the following three advantages simultaneously: (1) the global consistency of the repaired image, (2) the local fine texture details of the repaired image, and (3) the flexibility of handling images with free-form holes. Moreover, we propose the textural and semantic contrastive learning losses to stabilize and improve our inpainting model's training by exploiting the feature representation space of the discriminator, in which the inpainting images are pulled closer to the ground truth images but pushed farther from the corrupted images. The proposed contrastive losses better guide the repaired images to move from the corrupted image data points to the real image data points in the feature representation space, resulting in more realistic completed images. We conduct extensive experiments on two benchmark datasets, demonstrating our model's effectiveness and superiority both qualitatively and quantitatively.

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

↑