Learning to Scale Temperature in Masked Self-Attention for Image Inpainting
원문 초록
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 the self-attention mechanism to address them. We present an image inpainting framework with a multi-head temperature masked self-attention mechanism, which provides stable and efficient temperature learning and uses multiple distant contextual information for high quality image inpainting. In addition to improving image quality of inpainting results, we generalize the proposed model to user-guided image editing by introducing a new sketch generation method. Extensive experiments on various datasets such as Paris StreetView, CelebA-HQ and Places2 clearly demonstrate that our method not only generates more natural inpainting results than previous works both in terms of perception image quality and quantitative metrics, but also enables to help users to generate more flexible results that are related to their sketch guidance.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
HySim: An Efficient Hybrid Similarity Measure for Patch Matching in Image Inpainting
Relational Representation Learning Network for Cross-Spectral Image Patch Matching
Why and How: Knowledge-Guided Learning for Cross-Spectral Image Patch Matching
Unsupervised Raindrop Removal from a Single Image using Conditional Diffusion Models
Reproducibility, Replicability, and Insights into Visual Document Retrieval with Late Interaction
Leveraging Depth Maps and Attention Mechanisms for Enhanced Image Inpainting
토론
이 논문과 연결된 포럼 글이 아직 없습니다.