Sphere encoders enable fast one-step text to image generation
Sphere Encoders for One-Step Text-to-Image Generation
Computer Vision and Pattern RecognitionMachine Learning
Summary
Generating images from text usually takes many slow steps with current AI models. The authors show a new way using 'sphere encoders' that make this process much faster by generating images in just one step while keeping quality high. They train their model to learn from its own slower versions, so it gets better at making images quickly. Their model can also edit images or blend styles easily in one go without complicated extra work.
What this means in practice
- •For mobile app developers: Create apps that generate or edit images from text inputs instantly without long waiting times on user devices.$Commercial implications: Enables fast, high-quality image generation and editing which can be sold as interactive content creation apps.
- •For graphic designers: Use one-step image models to quickly generate, modify, or remix images based on text or simple spatial instructions in design workflows.
Authors
Ruchit Rawal, Menglin Jia, Kaiyu Yue, Tom Goldstein
Abstract
One-step text-to-image generators are typically distilled or fine-tuned from pretrained multi-step diffusion models, as training them from scratch remains challenging. Sphere encoders are an emerging alternative to diffusion that natively support fast, single-step generation. We extend the sphere approach to text-to-image generation while leveraging the latent space of a standard frozen visual encoder. To achieve strong single-pass performance, we introduce a new self-compression loss that trains the one-step prediction to match the model's current few-step generation from the same starting point, resulting in single-pass images that match the quality of a more expensive multi-step pipeline. Trained from scratch, our model achieves 0.82 on GenEval in a single forward pass without guidance. Operating on dense visual latents, the model also performs zero-shot edits on images by deleting, moving, rescaling a subject's tokens, remapping tokens to follow a painted layout, or shifting their latents along attribute directions--each in one forward pass without inversion. Interpolating captions or latents on the sphere produces coherent intermediate images. With brief fine-tuning, the same model handles one-step inpainting, outpainting, spatial control, and instruction-based editing in a single forward pass.