Fully Context-Aware Image Inpainting with a Learned Semantic Pyramid
Not on the map. Why?
Abstract (arXiv)
Restoring reasonable and realistic content for arbitrary missing regions in images is an important yet challenging task. Although recent image inpainting models have made significant progress in generating vivid visual details, they can still lead to texture blurring or structural distortions due to contextual ambiguity when dealing with more complex scenes. To address this issue, we propose the Semantic Pyramid Network (SPN) motivated by the idea that learning multi-scale semantic priors from specific pretext tasks can greatly benefit the recovery of locally missing content in images. SPN consists of two components. First, it distills semantic priors from a pretext model into a multi-scale feature pyramid, achieving a consistent understanding of the global context and local structures. Within the prior learner, we present an optional module for variational inference to realize probabilistic image inpainting driven by various learned priors. The second component of SPN is a fully context-aware image generator, which adaptively and progressively refines low-level visual representations at multiple scales with the (stochastic) prior pyramid. We train the prior learner and the image generator as a unified model without any post-processing. Our approach achieves the state of the art on multiple datasets, including Places2, Paris StreetView, CelebA, and CelebA-HQ, under both deterministic and probabilistic inpainting setups.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 48 of its 83 references that are in the map. First posted on arXiv 8 Dec 2021.
Builds on
48 of 83 references.
References · 48
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2017Neural Discrete Representation Learningcited by 4,650
- 2013Auto-Encoding Variational Bayescited by 3,980
- 2014Deep Learning Face Attributes in the Wildcited by 3,679
- 2016DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFscited by 3,239
- 2017Progressive Growing of GANs for Improved Quality, Stability, and Variationcited by 2,967
- 2016Perceptual Losses for Real-Time Style Transfer and Super-Resolutioncited by 2,678
- 2016Context Encoders: Feature Learning by Inpaintingcited by 1,424
- 2019Deep High-Resolution Representation Learning for Visual Recognitioncited by 1,417
36 more
- 2019Semantic Image Synthesis with Spatially-Adaptive Normalizationcited by 1,295
- 2017High-Resolution Image Synthesis and Semantic Manipulation with Conditional GANscited by 1,176
- 2015Multi-Scale Context Aggregation by Dilated Convolutionscited by 1,128
- 2018Residual Dense Network for Image Super-Resolutioncited by 796
- 2019MaskGAN: Towards Diverse and Interactive Facial Image Manipulationcited by 624
- 2018Free-Form Image Inpainting with Gated Convolutioncited by 594
- 2018Generative Image Inpainting with Contextual Attentioncited by 578
- 2018Image Inpainting for Irregular Holes Using Partial Convolutionscited by 505
- 2020Asymmetric Loss For Multi-Label Classificationcited by 379
- 2019Pluralistic Image Completioncited by 162
- 2019EdgeConnect: Generative Image Inpainting with Adversarial Edge Learningcited by 161
- 2016Semantic Image Inpainting with Deep Generative Modelscited by 156
- 2019StructureFlow: Image Inpainting via Structure-aware Appearance Flowcited by 118
- 2020Recurrent Feature Reasoning for Image Inpaintingcited by 107
- 2021Generating Diverse Structure for Image Inpainting With Hierarchical VQ-VAEcited by 106
- 2020Rethinking Image Inpainting via a Mutual Encoder-Decoder with Feature Equalizationscited by 102
- 2019Coherent Semantic Attention for Image Inpaintingcited by 97
- 2019Learning Pyramid-Context Encoder Network for High-Quality Image Inpaintingcited by 94
- 2019Foreground-aware Image Inpaintingcited by 90
- 2019Image inpainting: A reviewcited by 89
- 2021Aggregated Contextual Transformations for High-Resolution Image Inpaintingcited by 89
- 2018Shift-Net: Image Inpainting via Deep Feature Rearrangementcited by 87
- 2018Image Inpainting via Generative Multi-column Convolutional Neural Networkscited by 81
- 2021PD-GAN: Probabilistic Diverse GAN for Image Inpaintingcited by 80
- 2017Generative Face Completioncited by 79
- 2021Image Inpainting via Conditional Texture and Structure Dual Generationcited by 66
- 2019Image Inpainting with Learnable Bidirectional Attention Mapscited by 64
- 2021PPR10K: A Large-Scale Portrait Photo Retouching Dataset with Human-Region Mask and Group-Level Consistencycited by 59
- 2018SPG-Net: Segmentation Prediction and Guidance Network for Image Inpaintingcited by 58
- 2019Region Normalization for Image Inpaintingcited by 54
- 2017Contextual-based Image Inpainting: Infer, Match, and Translatecited by 50
- 2021WaveFill: A Wavelet-based Generation Network for Image Inpaintingcited by 44
- 2020Guidance and Evaluation: Semantic-Aware Image Inpainting for Mixed Scenescited by 43
- 2021Image Inpainting by End-to-End Cascaded Refinement with Mask Awarenesscited by 35
- 2021Image Inpainting with External-internal Learning and Monochromic Bottleneckcited by 21
- 2021Context-Aware Image Inpainting with Learned Semantic Priorscited by 9
Built on by
Citing papers per year: 2022: 1; 2023: 1; 2024: 1; 2025: 1.
4 papers.
- 2023Minimum Description Length Clustering to Measure Meaningful Image Complexitycited by 10
- 2024Transformer-based Image and Video Inpainting: Current Challenges and Future Directionscited by 6
- 2025A Diffusion-Based Framework for Terrain-Aware Remote Sensing Image Reconstructioncited by 6
- 2022Line Drawing Guided Progressive Inpainting of Mural Damagecited by 1
- 2025A Diffusion-Based Framework for Terrain-Aware Remote Sensing Image Reconstruction16 Apr 2025
- 2024Transformer-based Image and Video Inpainting: Current Challenges and Future Directions28 Jun 2024
- 2023Minimum Description Length Clustering to Measure Meaningful Image Complexity26 Jun 2023
- 2022Line Drawing Guided Progressive Inpainting of Mural Damage12 Nov 2022