Image Generation with a Sphere Encoder
Kaiyu Yue, Menglin Jia, Ji Hou, Tom Goldstein
TL;DR
The Sphere Encoder introduces a spherical latent space autoencoder that enables high-quality image generation in a single forward pass, with few-step refinements achieving competitive results against diffusion models at far lower inference cost. The encoder maps natural images onto a sphere, while the decoder reconstructs images from sphere points; training relies on reconstruction and latent-space consistency losses rather than explicit priors. It supports conditional generation via AdaLN and CFG, and enabling iterative encode-decode cycles further enhances fidelity. Across CIFAR-10, Animal-Faces, Oxford-Flowers, and ImageNet, the approach delivers strong qualitative and quantitative results, with notable advantages in speed and flexibility for editing and cross-domain manipulation. This work opens avenues for fast, controllable generation and potential extensions to text-to-image tasks.
Abstract
We introduce the Sphere Encoder, an efficient generative framework capable of producing images in a single forward pass and competing with many-step diffusion models using fewer than five steps. Our approach works by learning an encoder that maps natural images uniformly onto a spherical latent space, and a decoder that maps random latent vectors back to the image space. Trained solely through image reconstruction losses, the model generates an image by simply decoding a random point on the sphere. Our architecture naturally supports conditional generation, and looping the encoder/decoder a few times can further enhance image quality. Across several datasets, the sphere encoder approach yields performance competitive with state of the art diffusions, but with a small fraction of the inference cost. Project page is available at https://sphere-encoder.github.io .
