Manuscript Offprint

arXiv:2610.02208

Sphere Encoder 2

Kaiyu Yue, Sean McLeish, Ruchit Rawal, Brian Bartoldson, Menglin Jia, Tom Goldstein

ABSTRACT

Sphere Encoder is an autoencoder that generates images by decoding random points from a high-dimensional latent sphere. We identify two limitations of the original formulation that reduce its generation quality. First, random points concentrate near the equator relative to the pole on an encoded latent, but the training rotation never reaches this region, leaving a gap that limits one-step generation. Second, training for generation with pixel-wise reconstruction loss encourages the decoder to average over plausible images, producing blurry images that lack high-frequency details. We present Sphere Encoder 2 to address both limitations, substantially improving image generation quality while maintaining the speed and simplicity of a autoencoder. Models are released at github.com/kaiyuyue/sphere2.

Figure

Figure 1: Curated 1-step generation without CFG on ImageNet 512×512512 \times 512 by Sphere Encoder 2.

Sphere Encoder

Figure

Sphere Encoder 2

1-step generation

2-step generation

4-step generation

Figure 2: Sphere Encoder vs. Sphere Encoder 2. Uncurated generation on ImageNet 256×256256 \times 256 from Sphere Encoder (Yue et al., 2026) (top) and Sphere Encoder 2 (bottom) with same classes.

1 INTRODUCTION

Sphere Encoders (Yue et al., 2026; Do et al., 2026; Man et al., 2026) are simple standalone autoencoders with strong generative capabilities. They consist of an encoder that maps images into a spherical latent space, and a decoder that maps a latent vector back to an image. When trained properly, the training images cover the latent sphere with an approximately uniform distribution, enabling generation of novel images by sampling a random latent vector and passing it through the decoder. Unlike the many-step generation process used by diffusion models, sphere encoders enable fast image generation in as little as one step.

The original Sphere Encoder (Yue et al., 2026) is able to represent the ImageNet distribution, but its single-step generations are blurry (Fig. 2, top). Sharp images were obtained by iteratively passing a generated image through the encoder and decoder as many as 4 times, yet soft edges remain even after this refinement. We trace this to two causes. First, while noise is added to latent vectors during training to achieve good coverage of the sphere, the original Sphere Encoder only adds up to 85∘85^{\circ} of noise to latents, possibly leaving some of the sphere unseen during training. Second, it trains the decoder for generation with the pixel-wise reconstruction loss, which is minimized by averaging over all plausible images and thus yields blurry outputs.

Sphere Encoder 2 fixes both issues (Fig. 2, bottom). First, we adopt a parameterization of noise that robustly adds a full 90∘90^{\circ} of noise to latents during training, allowing the decoder to see more of the sphere during training. Second, we decouple the decoder's task into two regimes: low-noise reconstruction, which keeps the pixel-wise loss, and high-noise generation, which drops it. In the high-noise/generative regime, we propose a new and efficient latent score matching loss. This encourages outputs to lie on the image manifold without requiring adversarial training. The result is sharp one-step generation on ImageNet 512×512512 \times 512 (Fig. 1).

Among pixel-space generators on ImageNet, Sphere Encoder 2 achieves the best FDr 6^{6} at 256×256256 \times 256 and the second best at 512×512512 \times 512 with only 4×24 \times 2 network evaluations (NFE), whereas pixel diffusion models such as JiT (Li & He, 2026) and PixNerd (Wang et al., 2026a) take 200. This amounts to 23×23 \times to 40×40 \times less sampling compute in total GFLOPs. Without classifier-free guidance (CFG) (Ho & Salimans, 2022), 4 steps outperform JiT-H and one-step pMF-H (Lu et al., 2026) at both resolutions.

References (84)