MaskSketch: Unpaired Structure-guided Masked Image Generation
Authors:
- Dina BashkirovaDBDina Bashkirova
- Jose LezamaJLJose Lezama
- Kihyuk SohnKSKihyuk Sohn
- Kate SaenkoKSKate Saenko
- Irfan EssaIEIrfan Essa
Preprint
Abstract
Recent conditional image generation methods produce images of remarkable diversity, fidelity and realism. However, the majority of these methods allow conditioning only on labels or text prompts, which limits their level of control over the generation result. In this paper, we introduce MaskSketch, an image generation method that allows spatial conditioning of the generation result using a guiding sketch as an extra conditioning signal during sampling. MaskSketch utilizes a pre-trained masked generative transformer, requiring no model training or paired supervision, and works with input sketches of different levels of abstraction. We show that intermediate self-attention maps of a masked generative transformer encode important structural information of the input image, such as scene layout and object shape, and we propose a novel sampling method based on this observation to enable structure-guided generation. Our results show that MaskSketch achieves high image realism and fidelity to the guiding structure. Evaluated on standard benchmark datasets, MaskSketch outperforms state-of-the-art methods for sketch-to-image translation, as well as unpaired image-to-image translation approaches.Keywords
All Related Versions
This publication has 12 references indexed in Scilit:
- DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generation2023
- Imagic: Text-Based Real Image Editing with Diffusion Models2023
- Make-A-Scene: Scene-Based Text-to-Image Generation with Human Priors2022
- OASIS: Only Adversarial Supervision for Semantic Image SynthesisInternational Journal of Computer Vision, 2022
- Vector Quantized Diffusion Model for Text-to-Image Synthesis2022
- Splicing ViT Features for Semantic Appearance Transfer2022
- Taming Transformers for High-Resolution Image Synthesis2021
- Multimodal Unsupervised Image-to-Image Translation2018
- The Unreasonable Effectiveness of Deep Features as a Perceptual Metric2018
- Photosketcher: Interactive Sketch-Based Image SynthesisIEEE Computer Graphics and Applications, 2011