arXiv:2610.36419cs.CVOct 2026

Manuscript Offprint

arXiv:2610.36419

SpeeDiff: Scalable Pixel-Anchored End-to-End Latent Diffusion Model

Bingliang Zhang, Wenda Chu, Yizhuo Li, Linjie Yang, Yisong Yue, Katherine L. Bouman, Yang Song, Qiushan Guo

Bingliang Zhang 1,2∗^{1,2*}

Yisong Yue 2^{2}

Wenda Chu 1,2∗^{1,2*}

Katherine L. Bouman 2^{2}

Yizhuo Li 1^{1}

Yang Song 3^{3}

Linjie Yang 1^{1}

Qiushan Guo 1^{1}

1^{1}ByteDance Seed

2^{2}California Institute of Technology

3^{3}Meta

Figure

a. Two-stage LDM

b. SpeeDiff (ours)

c. Improved speed on 256 generation

d. Improved scalability on 512 generation

Figure 1. Overview of SpeeDiff for end-to-end joint training of VAE and diffusion model from scratch. (a) Conventional two-stage LDM training: a CNN-based VAE [28] is first trained and then frozen, after which a diffusion (usually a DiT [41]) is trained on its latent space. (b) SpeeDiff: a scalable, pixel-anchored end-to-end paradigm that jointly trains the VAE and diffusion model from scratch, without stop-gradient operation, within a fully transformer-based architecture. (c) Training efficiency: on ImageNet 256×256256 \times 256 generation, SpeeDiff accelerates convergence by over 140×140 \times compared to Vanilla SiT and 61×61 \times compared to REPA. (d) Scalability: on ImageNet 512×512512 \times 512 generation, SpeeDiff demonstrates clear scalability with a more efficient 32×32 \times compressed VAE with different model size (B, X, XL).

Abstract

We present Scalable Pixel-anchored End-to-end Diffusion (SpeeDiff), a latent diffusion method that jointly trains the VAE and the diffusion model from scratch. In principle, joint training allows the diffusion loss gradient to directly guide the VAE encoder, encouraging the formation of a generation-friendly latent space and potentially yielding faster convergence than the conventional two-stage approach with a pretrained frozen VAE. However, a naive end-to-end implementation severely degrades performance, as unrestricted backpropagation of the diffusion loss leads to latent space collapse. Our main technical contribution is a simple yet effective Tweedie Pixel Reconstruction (TPR) loss, which provides additional pixel-level feedback by decoding a predicted clean latent from an intermediate noisy state using Tweedie's formula, thereby alleviating collapse. Furthermore, our method enables jointly scaling a fully transformer-based architecture and enhances representation alignment within the end-to-end framework. Our SpeeDiff-XL model achieves over 140×140\times and 61×61\times faster training compared to Vanilla SiT and REPA, respectively, while attaining an FID of 1.50 without guidance on ImageNet 256×256256\times256 generation. With a more efficient 32×32\times compressed VAE, our model further reaches an FID of 1.53 without guidance on ImageNet 512×512512\times512 generation.

1. Introduction

Latent diffusion models (LDMs) [41, 46, 54] have emerged as a dominant paradigm for visual synthesis. These models perform the diffusion process in a compact latent space produced by a visual tokenizer, typically a variational autoencoder (VAE) [28]. In the standard two-stage training pipeline, the visual tokenizer is first trained to encode raw visual data into a compressed latent space, after which a dif-

  • Work done during internship at ByteDance Seed.

fusion model is learned to operate within that latent domain while keeping the pretrained visual tokenizer frozen.

Recent advances in LDMs have largely focused on enhancing the VAEs by leveraging vision foundation models (VFMs) [18, 40, 45, 50, 61]. Despite their success, VAEs trained with reconstruction objectives primarily capture low-level pixel statistics, resulting in latent spaces that do not directly associate with sufficient semantic knowledge, posing challenges for the diffusion model to learn efficiently. Motivated by semantically rich representations from self-supervise pretrained VFMs, recent works either incorporate representation alignment to a VFM [33, 58] or directly replace the VAE encoder with a VFM [3, 5, 49, 63]. These approaches have achieved remarkable improvements in training efficiency and generative quality.

In contrast to improving the visual tokenizer through VFMs, much less attention has been given to enhancing it via end-to-end optimization with direct feedback from the diffusion model training. This idea can in fact be traced back to LSGM [54], where the VAE and diffusion model were jointly trained. However, vanilla end-to-end training was found to degrade overall performance, a phenomenon that has also been revisited in recent studies [33]. We believe that enabling truly end-to-end optimization holds the potential to further push the performance limits of LDMs, yet existing approaches still lack effective mechanisms to support that.

In this paper, we focus on the core idea of enhancing the VAE through end-to-end direct gradient feedback from diffusion training, and show that allowing the latent space to evolve under generative supervision further improves both training efficiency and synthesis quality. After carefully analyzing the vanilla end-to-end training, we find that the diffusion loss tends to collapse the latent space into a degenerate representation. Specifically, we observe that the latent statistics exhibit severely suppressed per-channel variances and large per-channel bias (see Fig. 3). We further demonstrate that this latent collapse can be effectively alleviated with a simple Tweedie Pixel Reconstruction (TPR) loss, which computes a pixel-level reconstruction loss by decoding the predicted clean latent from an intermediate noisy state using Tweedie's formula [9]. Extensive experiments show that this additional pixel-level feedback anchors the VAE and prevents latent degeneracy, resulting in robust and well-converged end-to-end training.

Building upon the end-to-end training framework, we further improve latent diffusion model through two enhancements. We first refine the architecture by replacing the conventional convolutional VAE (CNN-VAE) with a vision-transformer-based variant (ViT-VAE) and modernizing the diffusion backbone (DiT [37, 41]) with recent architectural improvements. In addition, inspired by REPA [33, 60], we introduce REPA++, a enhanced representation alignment method in our end-to-end training that aligns both the latent and the intermediate diffusion features with VFM representations (e.g., DINOv3 [50]) and is optimized end-to-end with both diffusion and VAE.

Our final method, SpeeDiff, is a single-stage end-to-end latent diffusion framework that jointly trains the VAE and diffusion model from scratch without stop-gradient operations (see Fig. 1b), simplifying the conventional two-stage pipeline while substantially accelerating diffusion convergence (see Fig. 1c) and improving scaling effect (see Fig. 1d). To assess the contribution of representation alignment, we compare SpeeDiff variants with and without REPA++. The model without alignment achieves an FID of 2.42, setting a new state-of-the-art among methods that do not rely on VFM alignment, whereas incorporating REPA++ further reduces the FID to 1.50. For ImageNet 512×512512 \times 512, SpeeDiff-XL model using a efficient 32×32 \times compressed VAE achieves an FID of 1.53 without guidance.

References (60)