Coherent Semantic Attention for Image Inpainting
Hongyu Liu, Bin Jiang, Yi Xiao, Chao Yang
Abstract
The latest deep learning-based approaches have shown promising results for the challenging task of inpainting missing regions of an image. However, the existing methods often generate contents with blurry textures and distorted structures due to the discontinuity of the local pixels. From a semantic-level perspective, the local pixel discontinuity is mainly because these methods ignore the semantic relevance and feature continuity of hole regions. To handle this problem, we investigate the human behavior in repairing pictures and propose a fined deep generative model-based approach with a novel coherent semantic attention (CSA) layer, which can not only preserve contextual structure but also make more effective predictions of missing parts by modeling the semantic relevance between the holes features. The task is divided into rough, refinement as two steps and model each step with a neural network under the U-Net architecture, where the CSA layer is embedded into the encoder of refinement step. To stabilize the network training process and promote the CSA layer to learn more effective parameters, we propose a consistency loss to enforce the both the CSA layer and the corresponding layer of the CSA in decoder to be close to the VGG feature layer of a ground truth image simultaneously. The experiments on CelebA, Places2, and Paris StreetView datasets have validated the effectiveness of our proposed methods in image inpainting tasks and can obtain images with a higher quality as compared with the existing state-of-the-art approaches. The codes and pretrained models will be available at https://github. com/KumapowerLIU/CSA-inpainting .
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 5f7ff76b-c45d-493c-9836-4ebda1e71f93Cited by top-tier papers53
- Implicit Neural Representations with Periodic Activation FunctionsVincent Sitzmann, Julien N. P. Martel, Alexander W. Bergman, David B. Lindell et al.NeurIPS 2020 · 4,008 citations
- MAT: Mask-Aware Transformer for Large Hole Image InpaintingWenbo Li, Zhe Lin, Kun Zhou, Lu Qi et al.CVPR 2022 · 382 citations
- Large Scale Image Completion via Co-Modulated Generative Adversarial NetworksShengyu Zhao, Jonathan Cui, Yilun Sheng, Yue Dong et al.ICLR 2021 · 348 citations
- High-Fidelity Pluralistic Image Completion with TransformersZiyu Wan, Jingbo Zhang, Dongdong Chen, Jing LiaoICCV 2021 · 296 citations
- Image Inpainting via Conditional Texture and Structure Dual GenerationXiefan Guo, Hongyu Yang, Di HuangICCV 2021 · 283 citations
Builds on1
Related papers
- Distillation-guided Image InpaintingMaitreya Suin, Kuldeep Purohit, A. N. RajagopalanICCV 2021 · 42 citations
- GCM-Net: Towards Effective Global Context Modeling for Image InpaintingHuan Zheng, Zhao Zhang, Yang Wang, Zheng Zhang et al.ACM MM 2021 · 17 citations
- Image Inpainting Guided by Coherence Priors of Semantics and TexturesLiang Liao, Jing Xiao, Zheng Wang, Chia-Wen Lin et al.CVPR 2021
- UCTGAN: Diverse Image Inpainting Based on Unsupervised Cross-Space TranslationLei Zhao, Qihang Mo, Sihuan Lin, Zhizhong Wang et al.CVPR 2020
- JPGNet: Joint Predictive Filtering and Generative Network for Image InpaintingQing Guo, Xiaoguang Li, Felix Juefei-Xu, Hongkai Yu et al.ACM MM 2021 · 34 citations
