Dual-path Image Inpainting with Auxiliary GAN Inversion
Wentao Wang, Li Niu, Jianfu Zhang, Xue Yang, Liqing Zhang
Abstract
Deep image inpainting can inpaint a corrupted image using a feed-forward inference, but still fails to handle large missing area or complex semantics. Recently, GAN inversion based inpainting methods propose to leverage semantic information in pretrained generator (e.g., StyleGAN) to solve the above issues. Different from feed-forward methods, they seek for a closest latent code to the corrupted image and feed it to a pretrained generator. However, inferring the latent code is either time-consuming or inaccurate. In this paper, we develop a dual-path inpainting network with inversion path and feed-forward path, in which inversion path provides auxiliary information to help feed-forward path. We also design a novel deformable fusion module to align the feature maps in two paths. Experiments on FFHQ and LSUN demonstrate that our method is effective in solving the aforementioned problems while producing more realistic results than state-of-the-art methods.
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.
Cited by top-tier papers7
- Diverse Inpainting and Editing with GAN InversionAhmet Burak Yildirim, Hamza Pehlivan, Bahri Batuhan Bilecen, Aysegul DundarICCV 2023 · 35 citations
- RGI: robust GAN-inversion for mask-free image inpainting and unsupervised pixel-wise anomaly detectionShancong Mou, Xiaoyi Gu, Meng Cao, Haoping Bai et al.ICLR 2023 · 8 citations
- AsyncDSB: Schedule-Asynchronous Diffusion Schrödinger Bridge for Image InpaintingZihao Han, Baoquan Zhang, Lisai Zhang, Shanshan Feng et al.AAAI 2025 · 1 citation
- You Only Erase Once: Erasing Anything without Bringing Unexpected ContentYixing Zhu, Qing Zhang, Wenju Xu, Wei-Shi ZhengCVPR 2026
- Keyframe-Guided Creative Video InpaintingYuwei Guo, Ceyuan Yang, Anyi Rao, Chenlin Meng et al.CVPR 2025
Builds on13
- Free-Form Image Inpainting With Gated ConvolutionJiahui Yu, Zhe Lin, Jimei Yang, Xiaohui Shen et al.ICCV 2019 · 1,990 citations
- Image2StyleGAN: How to Embed Images Into the StyleGAN Latent Space?Rameen Abdal, Yipeng Qin, Peter WonkaICCV 2019 · 1,195 citations
- StructureFlow: Image Inpainting via Structure-Aware Appearance FlowYurui Ren, Xiaoming Yu, Ruonan Zhang, Thomas H. Li et al.ICCV 2019 · 356 citations
- Large Scale Image Completion via Co-Modulated Generative Adversarial NetworksShengyu Zhao, Jonathan Cui, Yilun Sheng, Yue Dong et al.ICLR 2021 · 348 citations
- Learning to Incorporate Structure Knowledge for Image InpaintingJie Yang, Zhiquan Qi, Yong ShiAAAI 2020 · 141 citations
Related papers
- Self-Supervised Geometry-Aware Encoder for Style-Based 3D GAN InversionYushi Lan, Xuyi Meng, Shuai Yang, Chen Change Loy et al.CVPR 2023
- Prior Guided GAN Based Semantic InpaintingAvisek Lahiri, Arnav Kumar Jain, Sanskar Agrawal, Pabitra Mitra et al.CVPR 2020
- DAFT-GAN: Dual Affine Transformation Generative Adversarial Network for Text-Guided Image InpaintingJihoon Lee, Yunhong Min, Hwidong Kim, Sangtae AhnACM MM 2024 · 3 citations
- WarpGAN: Warping-Guided 3D GAN Inversion with Style-Based Novel View InpaintingKaitao Huang, Yan Yan, Jing-Hao Xue, Hanzi WangNeurIPS 2025
- Style Transformer for Image Inversion and EditingXueqi Hu, Qiusheng Huang, Zhengyi Shi, Siyuan Li et al.CVPR 2022 · 58 citations
