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

基于生成记忆的图像修补语义推理模型

Generative Memory-Guided Semantic Reasoning Model for Image Inpainting

Harbin Institute of Technology at Shenzhen(哈尔滨工业大学(深圳));The Chinese University of Hong Kong at Shenzhen(香港中文大学(深圳))

Xin Feng, Wenjie Pei, Fengjun Li, Fanglin Chen, David Zhang, Guangming Lu

摘要:

现有的图像修补方法主要集中在从当前输入图像的已知区域中学习图像内先验知识,以推断同一图像中损坏区域的内容。虽然这种方法在具有小的损坏区域的图像上表现良好,但是由于两个潜在的限制,这些方法处理具有大的损坏区域的图像是具有挑战性的:1)这种方法倾向于仅依赖于从有限的已知区域学习的图像内先验知识来过拟合图像的每个单个训练对; 2)没有利用关于视觉语义的一般分布模式的图像间先验知识,该图像间先验知识可以在共享相似语义的图像之间传递。在本文中,我们提出了生成记忆引导的语义推理模型(GM-SRM),它不仅学习图像内的先验知识,从已知的区域,但也提取图像间推理先验知识推断损坏区域的内容。特别是,建议的GM-SRM首先从整个训练数据中预先学习生成存储器,以捕获全局视图中的语义分布模式。然后利用学习的记忆来检索当前损坏图像的匹配图像间先验,以在图像修补期间执行语义推理。图像内先验用于保证像素级内容的一致性,而图像间先验则有利于进行高层语义推理,尤其适用于大面积受损区域的语义推理。在Paris Street View、CelebA-HQ和Places 2基准测试上的大量实验表明,我们的GM-SRM在视觉质量和定量指标方面都优于最先进的图像修补方法。

英文摘要:

Most existing methods for image inpainting focus on learning the intra-image priors from the known regions of the current input image to infer the content of the corrupted regions in the same image. While such methods perform well on images with small corrupted regions, it is challenging for these methods to deal with images with large corrupted area due to two potential limitations: 1) such methods tend to overfit each single training pair of images relying solely on the intra-image prior knowledge learned from the limited known area; 2) the inter-image prior knowledge about the general distribution patterns of visual semantics, which can be transferred across images sharing similar semantics, is not exploited. In this paper, we propose the Generative Memory-Guided Semantic Reasoning Model (GM-SRM), which not only learns the intra-image priors from the known regions, but also distills the inter-image reasoning priors to infer the content of the corrupted regions. In particular, the proposed GM-SRM first pre-learns a generative memory from the whole training data to capture the semantic distribution patterns in a global view. Then the learned memory are leveraged to retrieve the matching inter-image priors for the current corrupted image to perform semantic reasoning during image inpainting. While the intra-image priors are used for guaranteeing the pixel-level content consistency, the inter-image priors are favorable for performing high-level semantic reasoning, which is particularly effective for inferring semantic content for large corrupted area. Extensive experiments on Paris Street View, CelebA-HQ, and Places2 benchmarks demonstrate that our GM-SRM outperforms the state-of-the-art methods for image inpainting in terms of both the visual quality and quantitative metrics.

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

↑