Learning to Scale Temperature in Masked Self-Attention for Image Inpainting
Xiang Zhou, Yuan Zeng, Yi Gong

TL;DR
This paper introduces a multi-head temperature masked self-attention mechanism with learned temperature parameters for improved large-region image inpainting, enhancing quality and user-guided editing capabilities.
Contribution
It proposes a novel temperature learning network and multi-head self-attention mechanism that address artifacts and limitations of previous methods, enabling better inpainting and user-guided editing.
Findings
Outperforms previous methods in image quality and metrics
Enables flexible, user-guided image editing
Demonstrates effectiveness on multiple datasets
Abstract
Recent advances in deep generative adversarial networks (GAN) and self-attention mechanism have led to significant improvements in the challenging task of inpainting large missing regions in an image. These methods integrate self-attention mechanism in neural networks to utilize surrounding neural elements based on their correlation and help the networks capture long-range dependencies. Temperature is a parameter in the Softmax function used in the self-attention, and it enables biasing the distribution of attention scores towards a handful of similar patches. Most existing self-attention mechanisms in image inpainting are convolution-based and set the temperature as a constant, performing patch matching in a limited feature space. In this work, we analyze the artifacts and training problems in previous self-attention mechanisms, and redesign the temperature learning network as well as…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsGenerative Adversarial Networks and Image Synthesis · Advanced Vision and Imaging · Advanced Image Processing Techniques
MethodsSoftmax · Inpainting
