Abstract
Recent text-to-image generation methods provide a simple yet exciting conversion capability between text and image domains. While these methods have incrementally improved the generated image fidelity and text relevancy, several pivotal gaps remain unanswered, limiting applicability and quality. We propose a novel text-to-image method that addresses these gaps by (i) enabling a simple control mechanism complementary to text in the form of a scene, (ii) introducing elements that substantially improve the tokenization process by employing domain-specific knowledge over key image regions (faces and salient objects), and (iii) adapting classifier-free guidance for the transformer use case. Our model achieves state-of-the-art FID and human evaluation results, unlocking the ability to generate high fidelity images in a resolution of $$512\times 512$$ pixels, significantly improving visual quality. Through scene controllability, we introduce several new capabilities: (i) Scene editing, (ii) text editing with anchor scenes, (iii) overcoming out-of-distribution text prompts, and (iv) story illustration generation, as demonstrated in the story we wrote.
Introduction
While models like DALL-E and GLIDE revolutionized text-to-image (T2I) generation, they suffer from three major "pivotal gaps" identified by the authors:
- Controllability: Text is a "low-bandwidth" interface. Describing the exact position, size, and relationship of objects in a complex scene using only words is difficult and often results in a "random" layout.
- Human Perception: Standard training losses treat every pixel with equal importance. However, human viewers are far more sensitive to distortions in faces or salient objects than in background textures like grass or sky.
- Resolution and Quality: Many previous state-of-the-art models were limited to 256x256 resolution, often producing artifacts when scaled up.
Methods
The authors propose a 4-billion parameter autoregressive transformer-based architecture that operates on three consecutive token spaces: Text, Scene, and Image.
The Scene-Based Transformer
Unlike models that go straight from text to pixels, Make-A-Scene predicts a sequence of tokens: $[Text] \to [Scene] \to [Image]$. The "Scene" tokens represent a semantic segmentation map (a sketch of where things are). During inference, a user can provide a sketch, or the model can generate one from text.
Key Architectural Innovations
- VQ-SEG (Scene Tokenization): To turn sketches into tokens, they developed a modified VQ-VAE with an edge channel. This helps the model distinguish between adjacent instances of the same class (e.g., two people standing side-by-side) which would otherwise look like a single blob.
- Human Priors (Face and Object-Aware Loss): This is the core innovation for quality. They introduced "awareness" into the VQ-IMG (image tokenizer) by using pre-trained networks (like VGG and VGGFace2) to calculate feature-matching losses. This forces the model to prioritize the high-level features that humans care about—making sure a face looks like a face.
- Classifier-Free Guidance (CFG): Originally popular in diffusion models, the authors adapted CFG for the transformer. This technique guides the model to better align the generated image with the text prompt without requiring expensive post-generation filtering.
Key Insights and Capabilities
Implicit vs. Explicit Conditioning
The model treats scene tokens as implicit conditioning. This means the model learns the relationship between text and layout but isn't "hard-coded" to follow the sketch perfectly if it contradicts the text. This allows for a creative "negotiation" between the user's sketch and the model's learned priors.
Breaking the Distribution
One of the most striking findings is the model's ability to generate "out-of-distribution" images. A text-only model might struggle to generate a "cat with eight legs" because it has never seen one. By providing a sketch with eight legs, the user can "force" the model to generate the impossible.
The Importance of Edges
The authors found that training on raw segmentation maps often led to "merged" objects. Adding a simple perimeter/edge map to the segmentation input significantly improved the model's ability to render distinct, individual objects.
Results
Make-A-Scene achieved a Fréchet Inception Distance (FID) of 7.55 on MS-COCO (zero-shot), significantly outperforming DALL-E and CogView. In human evaluation studies, participants preferred Make-A-Scene over competitors by over 80% in terms of image quality and text alignment. The model successfully generates high-fidelity 512x512 images and enables advanced capabilities like "Scene Editing" and character-consistent "Storytelling."
Limitations and Future Work
The scene control is limited by the categories available in the segmentation training data. Furthermore, while sketches provide control, they also require more effort from the user than a simple text prompt. Future directions include moving toward open-vocabulary scene control or more granular control over textures and styles.
Summary updated