Advances in Image Inpainting: Global Context Modeling via Transformers and Diffusion Models
DOI:
https://doi.org/10.62051/anzvbz05Keywords:
Image inpainting; transfomer; diffusion Model.Abstract
Image inpainting, a critical task in computer vision, has significantly benefited from the rapid development of deep learning techniques, particularly Transformers and Diffusion Models. Traditional methods relying on texture matching and PDE-based diffusion strategies demonstrate limited effectiveness in complex or extensive damaged regions. Recent advancements employing Transformer architectures effectively exploit global context via self-attention mechanisms, ensuring structural coherence in large missing areas. Hybrid models integrating transformers and convolutional networks, such as MAT, further enhance performance by combining global semantic understanding and local detail restoration. Meanwhile, diffusion Models, through iterative denoising steps, offer substantial improvements in realism and texture fidelity, outperforming previous methods in generating high-quality, diverse inpainting outcomes. Despite these achievements, challenges remain concerning computational efficiency, training complexity, and generalization to irregular and extensive missing regions. Future research directions identified include improving model efficiency for ultra-high-resolution tasks, strengthening global semantic coherence by incorporating vision-language priors, enhancing user controllability via multi-modal inputs, and developing better perceptual evaluation metrics. This paper systematically reviews state-of-the-art Transformer-based and Diffusion-based methods, analyzes their strengths and limitations, and outlines critical areas for further advancement, providing valuable insights for ongoing research in image inpainting.
Downloads
References
[1] Bertalmio M, Sapiro G, Caselles V, Ballester C. Image inpainting. Proceedings of the 27th annual conference on Computer graphics and interactive techniques (SIGGRAPH '00). ACM Press/Addison-Wesley Publishing Co., USA, 2000:417–424.
[2] Criminisi A, Perez P, Toyama K. Region filling and object removal by exemplar-based image inpainting. IEEE Transactions on Image Processing. 2004, 13(9):1200–1212.
[3] Zhang Ye & Wallace B. A sensitivity analysis of (and practitioners' guide to) convolutional neural networks for sentence classification. arXiv preprint arXiv:1510.03820. 2015.
[4] Goodfellow IJ, Pouget-Abadie J, Mirza M, et al. Generative adversarial nets. Advances in neural information processing systems. 2014, 27.
[5] Dosovitskiy A, Beyer L, Kolesnikov A, et al. An image is worth 16x16 words: Transformers for image recognition at scale. arXiv preprint arXiv:2010.11929. 2020.
[6] Liu Ze, Lin Yutong, Cao Yue, et al. Swin transformer: Hierarchical vision transformer using shifted windows. Proceedings of the IEEE/CVF international conference on computer vision. 2021, 10012-10022.
[7] Dosovitskiy A, et al. An image is worth 16x16 words: Transformers for image recognition at scale. arXiv preprint arXiv:2010.11929. 2020.
[8] Chen M, Radford A, Child R, et al. Generative pretraining from pixels. Proceedings of the 37th International Conference on Machine Learning (ICML'20). 2020, 119:1691-1703.
[9] Parmar N, Vaswani A, Uszkoreit J, et al. Image transformer. International conference on machine learning. 2018, 4055-4064.
[10] Li Wenbo, et al. Mat: Mask-aware transformer for large hole image inpainting. Proceedings of the IEEE/CVF conference on computer vision and pattern recognition. 2022.
[11] Hatamizadeh A, et al. Unetr: Transformers for 3d medical image segmentation. Proceedings of the IEEE/CVF winter conference on applications of computer vision. 2022.
[12] Cao Hu, et al. Swin-unet: Unet-like pure transformer for medical image segmentation. European conference on computer vision. 2022.
[13] Fan C-M, Liu T-J, Liu K-H. SUNet: Swin Transformer UNet for Image Denoising. 2022 IEEE International Symposium on Circuits and Systems (ISCAS). 2022, 2333-2337.
[14] Cao Chenjie, Dong Qiaole, Fu Yuanwei. ZITS++: Image Inpainting by Improving the Incremental Transformer on Structural Priors. IEEE Trans Pattern Anal Mach Intell. 2023, 45(10):12667-12684.
[15] Wu Jie, Feng Yuchao, Xu Honghui, et al. SyFormer: Structure-Guided Synergism Transformer for Large-Portion Image Inpainting. Proceedings of the AAAI Conference on Artificial Intelligence. 2024, 38(6):6021-6029.
[16] Sohl-Dickstein J, et al. Deep unsupervised learning using nonequilibrium thermodynamics. International conference on machine learning. 2015.
[17] Ho J, Jain A, Abbeel P. Denoising diffusion probabilistic models. Advances in neural information processing systems. 2020, 33:6840-6851.
[18] Song Jiaming, Meng Chenlin, Ermon S. Denoising diffusion implicit models. arXiv preprint arXiv:2010.02502. 2020.
[19] Dhariwal P, Nichol A. Diffusion models beat gans on image synthesis. Advances in neural information processing systems. 2021, 34:8780-8794.
[20] Lugmayr A, et al. Repaint: Inpainting using denoising diffusion probabilistic models. Proceedings of the IEEE/CVF conference on computer vision and pattern recognition. 2022.
[21] Saharia C, et al. Palette: Image-to-image diffusion models. ACM SIGGRAPH 2022 conference proceedings. 2022.
[22] Rombach R, et al. High-resolution image synthesis with latent diffusion models. Proceedings of the IEEE/CVF conference on computer vision and pattern recognition. 2022.
[23] Xie S, et al. Smartbrush: Text and shape guided object inpainting with diffusion model. Proceedings of the IEEE/CVF conference on computer vision and pattern recognition. 2023.
[24] Liu Haipeng, Wang Yang, Qian Biao, et al. Structure Matters: Tackling the Semantic Discrepancy in Diffusion Models for Image Inpainting. 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). 2024, 8038-8047.
[25] Shih A, Belkhale S, Ermon S, et al. Parallel sampling of diffusion models. Advances in Neural Information Processing Systems. 2023, 36: 4263-4276.
[26] Zhou Bolei, et al. Places: An image database for deep scene understanding. arXiv preprint arXiv:1610.02055. 2016.
[27] Lin T-Y, et al. Microsoft coco: Common objects in context. Computer vision–ECCV 2014. 2014.
[28] Jing Longlong, Tian Yingli. Self-supervised visual feature learning with deep neural networks: A survey. IEEE transactions on pattern analysis and machine intelligence. 2020, 43(11):4037-4058.
[29] Zhang Honglun, et al. Show, attend and translate: Unpaired multi-domain image-to-image translation with visual attention. arXiv preprint arXiv:1811.07483. 2018.
[30] Huang Huaibo, et al. Introvae: Introspective variational autoencoders for photographic image synthesis. Advances in neural information processing systems. 2018, 31.
[31] Karras T, Laine S, Aila T. A Style-Based Generator Architecture for Generative Adversarial Networks. 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). 2019.
[32] Zhang Yuanhan, et al. Celeba-spoof: Large-scale face anti-spoofing dataset with rich annotations. Computer Vision–ECCV 2020. 2020.
[33] Cimpoi M, et al. Describing textures in the wild. Proceedings of the IEEE conference on computer vision and pattern recognition. 2014.
[34] Xu Ning, et al. Youtube-vos: A large-scale video object segmentation benchmark. arXiv preprint arXiv:1809.03327. 2018.
[35] Zhel tukhin A A. Phenomenological Lagrangians, gauge models and branes. Physics of Particles and Nuclei Letters. 2017, 14: 312-317.
[36] Xue Tianfei, et al. Video enhancement with task-oriented flow. International Journal of Computer Vision. 2019, 127:1106-1125.
[37] Deng Yuefan, et al. Optimal low-latency network topologies for cluster performance enhancement. The Journal of Supercomputing. 2020, 76(12): 9558-9584.
Downloads
Published
Conference Proceedings Volume
Section
License
Copyright (c) 2025 Transactions on Computer Science and Intelligent Systems Research

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.







