Lune

CVPR2020Top-tier venue

Prior Guided GAN Based Semantic Inpainting

Avisek Lahiri, Arnav Kumar Jain, Sanskar Agrawal, Pabitra Mitra, Prabir Kumar Biswas

Abstract

Contemporary deep learning based semantic inpainting can be approached from two directions. First, and the more explored, approach is to train an offline deep regression network over the masked pixels with an additional refinement by adversarial training. This approach requires a single feed-forward pass for inpainting at inference. Another promising, yet unexplored approach is to first train a generative model to map a latent prior distribution to natural image manifold and during inference time search for the 'best-matching' prior to reconstruct the signal. The primary aversion towards the latter genre is due to its inference time iterative optimization and difficulty to scale to higher resolution. In this paper, going against the general trend, we focus on the second paradigm of inpainting and address both of its mentioned problems. Most importantly, we learn a data driven parametric network to directly predict a matching prior for a given masked image. This converts an iterative paradigm to a single feed forward inference pipeline with around 800× speedup. We also regularize our network with structural prior (computed from the masked image itself) which helps in better preservation of pose and size of the object to be inpainted. Moreover, to extend our model for sequence reconstruction, we propose a recurrent net based grouped latent prior learning. Finally, we leverage recent advancements in high resolution GAN training to scale our inpainting network to 256×256. Experiments (spanning across resolutions from 64×64 to 256×256) conducted on SVHN, Standford Cars, CelebA, CelebA-HQ and ImageNet image datasets, and FaceForensics video datasets reveal that we consistently improve upon contemporary benchmarks from both schools of approaches.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

16 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Learning a Sketch Tensor Space for Image Inpainting of Man-made Scenes cites Free-Form Image Inpainting With Gated Convolution
  • Free-Form Video Inpainting With 3D Gated Convolution and Temporal PatchGAN cites Free-Form Image Inpainting With Gated Convolution
  • Incremental Transformer Structure Enhanced Image Inpainting with Masking Positional Encoding cites Learning a Sketch Tensor Space for Image Inpainting of Man-made Scenes
  • Incremental Transformer Structure Enhanced Image Inpainting with Masking Positional Encoding cites Image Inpainting via Conditional Texture and Structure Dual Generation
  • Incremental Transformer Structure Enhanced Image Inpainting with Masking Positional Encoding cites Large Scale Image Completion via Co-Modulated Generative Adversarial Networks
  • Incremental Transformer Structure Enhanced Image Inpainting with Masking Positional Encoding cites Free-Form Image Inpainting With Gated Convolution
  • Image Inpainting via Conditional Texture and Structure Dual Generation cites Free-Form Image Inpainting With Gated Convolution
  • Copy-and-Paste Networks for Deep Video Inpainting cites Free-Form Image Inpainting With Gated Convolution
  • Large Scale Image Completion via Co-Modulated Generative Adversarial Networks cites Free-Form Image Inpainting With Gated Convolution
  • Onion-Peel Networks for Deep Video Completion cites Free-Form Image Inpainting With Gated Convolution
  • SketchEdit: Mask-Free Local Image Manipulation with Partial Sketches cites Free-Form Image Inpainting With Gated Convolution
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers16

  1. Large Scale Image Completion via Co-Modulated Generative Adversarial NetworksShengyu Zhao, Jonathan Cui, Yilun Sheng, Yue Dong et al.ICLR 2021 · 348 citations
  2. Image Inpainting via Conditional Texture and Structure Dual GenerationXiefan Guo, Hongyu Yang, Di HuangICCV 2021 · 283 citations
  3. Incremental Transformer Structure Enhanced Image Inpainting with Masking Positional EncodingQiaole Dong, Chenjie Cao, Yanwei FuCVPR 2022 · 194 citations
  4. Learning a Sketch Tensor Space for Image Inpainting of Man-made ScenesChenjie Cao, Yanwei FuICCV 2021 · 63 citations
  5. SketchEdit: Mask-Free Local Image Manipulation with Partial SketchesYu Zeng, Zhe Lin, Vishal M. PatelCVPR 2022 · 50 citations

Builds on4

  1. Free-Form Image Inpainting With Gated ConvolutionJiahui Yu, Zhe Lin, Jimei Yang, Xiaohui Shen et al.ICCV 2019 · 1,990 citations
  2. Free-Form Video Inpainting With 3D Gated Convolution and Temporal PatchGANYa-Liang Chang, Zhe Yu Liu, Kuan-Ying Lee, Winston H. HsuICCV 2019 · 213 citations
  3. Copy-and-Paste Networks for Deep Video InpaintingSungho Lee, Seoung Wug Oh, DaeYeun Won, Seon Joo KimICCV 2019 · 137 citations
  4. Onion-Peel Networks for Deep Video CompletionSeoung Wug Oh, Sungho Lee, Joon-Young Lee, Seon Joo KimICCV 2019 · 112 citations

Related papers

  1. Dual-path Image Inpainting with Auxiliary GAN InversionWentao Wang, Li Niu, Jianfu Zhang, Xue Yang et al.CVPR 2022 · 46 citations
  2. High-resolution Face Swapping via Latent Semantics DisentanglementYangyang Xu, Bailin Deng, Junle Wang, Yanqing Jing et al.CVPR 2022 · 93 citations
  3. InstaInpaint: Instant 3D-Scene Inpainting with Masked Large Reconstruction ModelJunqi You, Chieh Hubert Lin, Weijie Lyu, Zhengbo Zhang et al.NeurIPS 2025 · 10 citations
  4. GAN Prior Embedded Network for Blind Face Restoration in the WildTao Yang, Peiran Ren, Xuansong Xie, Lei ZhangCVPR 2021
  5. Self-Supervised Geometry-Aware Encoder for Style-Based 3D GAN InversionYushi Lan, Xuyi Meng, Shuai Yang, Chen Change Loy et al.CVPR 2023
Dusk over the sea between two cliffs drawn in fine vertical lines