JOURNAL ARTICLE

T-former: An Efficient Transformer for Image Inpainting

Ye DengS. HuiSanping ZhouDeyu MengJinjun Wang

Year: 2022 Journal:   Proceedings of the 30th ACM International Conference on Multimedia Pages: 6559-6568

Abstract

Benefiting from powerful convolutional neural networks (CNNs), learning-based image inpainting methods have made significant breakthroughs over the years. However, some nature of CNNs (e.g. local prior, spatially shared parameters) limit the performance in the face of broken images with diverse and complex forms. Recently, a class of attention-based network architectures, called transformer, has shown significant performance on natural language processing fields and high-level vision tasks. Compared with CNNs, attention operators are better at long-range modeling and have dynamic weights, but their computational complexity is quadratic in spatial resolution, and thus less suitable for applications involving higher resolution images, such as image inpainting. In this paper, we design a novel attention linearly related to the resolution according to Taylor expansion. And based on this attention, a network called $T$-former is designed for image inpainting. Experiments on several benchmark datasets demonstrate that our proposed method achieves state-of-the-art accuracy while maintaining a relatively low number of parameters and computational complexity. The code can be found at \href{https://github.com/dengyecode/T-former_image_inpainting}{github.com/dengyecode/T-former\_image\_inpainting}

Keywords:
Inpainting Computer science Artificial intelligence Transformer Convolutional neural network Computational complexity theory Benchmark (surveying) Image (mathematics) Image resolution Quadratic equation Face (sociological concept) Pattern recognition (psychology) Computer vision Algorithm Mathematics

Metrics

46
Cited By
3.11
FWCI (Field Weighted Citation Impact)
74
Refs
0.93
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Generative Adversarial Networks and Image Synthesis
Physical Sciences →  Computer Science →  Computer Vision and Pattern Recognition
Advanced Image Processing Techniques
Physical Sciences →  Computer Science →  Computer Vision and Pattern Recognition
AI in cancer detection
Physical Sciences →  Computer Science →  Artificial Intelligence
© 2026 ScienceGate Book Chapters — All rights reserved.