Manuscript Offprint
arXiv:2610.36419SpeeDiff: Scalable Pixel-Anchored End-to-End Latent Diffusion Model
Bingliang Zhang
Yisong Yue
Wenda Chu
Katherine L. Bouman
Yizhuo Li
Yang Song
Linjie Yang
Qiushan Guo
ByteDance Seed
California Institute of Technology
Meta

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 generation, SpeeDiff accelerates convergence by over compared to Vanilla SiT and compared to REPA. (d) Scalability: on ImageNet generation, SpeeDiff demonstrates clear scalability with a more efficient 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 and faster training compared to Vanilla SiT and REPA, respectively, while attaining an FID of 1.50 without guidance on ImageNet generation. With a more efficient compressed VAE, our model further reaches an FID of 1.53 without guidance on ImageNet 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 , SpeeDiff-XL model using a efficient compressed VAE achieves an FID of 1.53 without guidance.
Formally, the VAE encoder, parameterized by , defines , while the decoder reconstructs the image , where and denote the clean image and its latent representation, respectively. They are optimized with reconstruction and variational KL loss given by evidence lower bound (ELBO) [28]. To achieve better fidelity, the reconstruction term is often complemented with perceptual loss [12, 62] and adversarial loss [10, 16].
Diffusion models. Diffusion and flow-based generative models synthesize images by gradually transforming Gaussian noise into clean data samples [22, 24, 41, 52]. However, training these models directly in pixel space remains computationally demanding. Latent diffusion models (LDMs) [11, 41, 42, 46] operate in compact latent spaces produced by pretrained tokenizer to reduce costs. In this work, we adopt the LDM formulation under the unified perspective of stochastic interpolants [1, 37].
Given a latent embedding and Gaussian noise , the interpolant is defined as , . The marginal distribution can be derived by solving the probability flow ODE with a velocity flow, . Latent diffusion models are trained to approximate the velocity field by minimizing the flow matching loss in the latent space,

Figure 2. Detailed training pipeline of SpeeDiff. The forward pass consists of four major branches: (1) Reconstruction branch: is computed over reconstructions from the VAE encoder and decoder. (2) Diffusion branch: follows the standard stochastic interpolant and leverages flow prediction as diffusion loss. (3) Tweedie Pixel Reconstruction branch: clean latents are estimated via Tweedie's formula, decoded, and compared against ground-truth images. (4) REPA++ branch: both latents and intermediate diffusion features are aligned with VFM representations. Notably, SpeeDiff doesn't require stop-gradient operation and train both VAE and diffusion from scratch.
Representation from VFMs. Recent studies show that incorporating semantic representations from self-supervise pretrained vision foundation models (VFMs), such as DINO [40, 50], CLIP [45] and MAE [18], can substantially improve the convergence and generative quality of diffusion models. Depending on how VFMs are utilized, existing approaches fall into two main categories: representation alignment and direct representation utilization. The representation alignment family [33, 58, 60] distills VFM semantics by enforcing consistency between latent (or intermediate diffusion features) and VFM representations. For instance, REPA [60] employs a cosine-similarity objective, whereas VA-VAE [58] adopts a more sophisticated similarity loss. REPA-E [33] backpropagates a representation alignment loss through from diffusion to VAE encoder. In contrast, another line of work [3, 5, 49, 63] replaces the VAE encoder with a pretrained VFM and directly leverages its representation as the latent, with different design choices such as freezing the tokenizer in RAE [63], adding a learnable residual module in SVG [49], or inserting a learnable projection layer in VFM-VAE [3]. To better integrate VFMs into our end-to-end training paradigm as a flexible plug-and-play module, we adopt the representation alignment strategy and introduce REPA++, an enhanced alignment mechanism in our end-to-end training framework.
3. Our Approach
We now outline the key components of our approach. We first analyze the vanilla end-to-end training (Sec. 3.1) and identify latent collapse as the primary cause of failure. To address this issue, we introduce a simple yet effective Tweedie Pixel Reconstruction loss that provides additional pixel-level feedback (Sec. 3.2). We then enhance the framework with refined architectures and REPA++ (Sec. 3.3, Sec. 3.4) to accelerate convergence and improve final performance.
3.1. Vanilla End-to-end Training
The vanilla end-to-end setup directly couples the VAE and diffusion model by optimizing both objectives simultaneously from scratch:
where , and refers to the parameters of VAE encoder, VAE decoder and diffusion, respectively. Despite its conceptually simple formulation, backpropagating the diffusion loss into the VAE encoder causes severe degradation of the latent space, consistent with observations in prior work [33]. In our experiments, the vanilla end-to-end setup attains an FID of 33.95 on ImageNet after 80 epochs, which is considerably worse than standard two-stage LDM baselines. We refer this setting as Vanilla E2E.
Why does Vanilla E2E training fail? We observe that vanilla end-to-end training drives the latent space into a highly degenerate representation. To diagnose this phenomenon, we compute the Tweedie estimate of the clean latent and compare the latent reconstruction error with the corresponding pixel reconstruction error . As shown in Fig. 3a, the latent error is nearly zero, whereas the pixel error remains substantial. This indicates that the diffusion model fits its latent-space objective very well, yet the resulting latent code no longer preserves the information required for accurate pixel reconstruction.
To further scrutinize this failure mode, we visualize the latent distribution and find that it deviates significantly from a standard Gaussian prior, forming multiple sharp peaks in latent space (see Fig. 3b). A closer inspection reveals strong per-channel biases and heavily suppressed per-channel variances (see Fig. 3c). In such a collapsed regime, most latent

a. Latent error vs pixel error
b. Latent value KDE distribution
c. Latent channel-wise bias and variance
Figure 3. Impact of end-to-end training on latent space. (a) Comparing the denoised latent with its clean counterpart in both latent and pixel space reveals that vanilla end-to-end training collapses the latent representation, while TPR loss preserves meaningful reconstruction signals. (b) KDE visualizations show that vanilla training produces highly peaked, non-Gaussian latent distributions, whereas TPR regularizes the latent space and prevents degeneracy. (c) Channel-wise statistics further indicate that vanilla training induces large per-channel biases and severely suppressed variances, whereas TPR maintains a more balanced and normalized latent representation. Results are computed over 1000 validation images. For (c), channel bias is defined as the per-channel absolute mean, and channel variance is computed as the per-channel variance across samples and spatial locations.
codes concentrate in a few narrow regions, and the conditional distribution of clean latent given noisy state becomes extremely concentrated. The diffusion model can then minimize its loss by predicting nearly constant mean values across inputs, because small perturbations around these peaks incur very little error under the diffusion objective.
Taken together, these observations suggest that the primary cause of failure is an exploitable latent space: without any pixel-space feedback or explicit regularization, the diffusion model can converge to trivial solutions that achieve low diffusion loss in latent space while discarding the semantic content needed for faithful image reconstruction.
3.2. Tweedie Pixel Reconstruction Loss
The latent collapse observed in vanilla end-to-end training suggests that the diffusion model can exploit the latent space for trivial solution when no pixel-level constraints are provided. To counter this, we strengthen the connection between diffusion predictions and the underlying image content so that the VAE is compelled to maintain a semantically meaningful latent representation. This motivates the Tweedie Pixel Reconstruction (TPR) loss, which decodes the Tweedie-estimated latent back into pixel space and directly enforces consistency with the clean image.
Given the stochastic interpolant , the diffusion model estimates the clean latent via Tweedie's formula . We decode this estimate using and penalize discrepancies with the ground-truth image:
This objective amounts to a pixel-space MSE and can be further enhanced with perceptual losses such as LPIPS [62].
We augment the vanilla end-to-end objective in Eq. (1) with the TPR loss. This addition effectively prevents latent collapse (see Fig. 3) and substantially improves generation quality, reducing the FID on ImageNet generation from 33.95 to 5.79 after 80 epochs. We refer this setting as E2E w/ TPR Loss.
3.3. Scaling with Refined Architecture
Building on our end-to-end framework, we adopt a vision-transformer-based VAE (ViT-VAE) in place of the conventional convolutional design (CNN-VAE). The encoder employs a patch-embedding layer followed by transformer blocks, and the decoder mirrors this structure.
For the diffusion backbone, we refine DiT [41] with several modern architectural components. Following LighteningDiT [58], we integrate RMSNorm, SwiGLU activations, and 2D RoPE, and we replace block-specific modulation layers with a shared global modulation mechanism supplemented by per-block learnable biases, similar to PixArt- [6]. Unless otherwise specified, the patch size is fixed to 1 in all experiments. We refer this as Refined-DiT. Additional architectural details are provided in Sec. A.1.
Employing ViT-VAE and Refined-DiT and training them end-to-end with the TPR loss, this variant reduces computation while improving performance, enabling improved scaling behavior. Model configurations are summarized in Tab. 7 in Appendix. Each training step consists of two decoder passes (for the VAE and the TPR objective) and one encoder and diffusion pass. With these architectural refinements, the total training cost decreases from 436.29 to 334.98 GFLOPs, and the model achieves an improved FID of 3.66 on ImageNet after 80 epochs. We refer to this setting as SpeeDiff (w/o REPA++) to emphasize that it does not require alignment from pretrained VFMs.
3.4. Representation Alignment via REPA++
We introduce REPA++ to further enhance semantic consistency and accelerate convergence by aligning both the latent representation and the intermediate diffusion features to a pretrained VFM. Let denote the semantic representation of the clean image. The first component, Latent-REPA, aligns the clean latent with the VFM representation by mapping through a two-layer MLP and maximizing patch-wise cosine similarity, where patches are indexed by :
The second component, Diff-REPA, follows the formulation of [33, 60] and injects semantic guidance directly into the denoising process by aligning the intermediate diffusion feature (extracted from an early diffusion layer given random noisy latent state ) to the same VFM representation using another MLP :
Finally, REPA++ combines both alignment signals through the simple addition of Eq. (3) and Eq. (4) with learnable parameters , enabling semantic supervision to act simultaneously on the latent representation and the diffusion denoising process, and consequently guiding the VAE encoder through end-to-end gradient feedback.
To this end, we have discussed all the ingredients of SpeeDiff. The complete training pipeline of SpeeDiff is shown in Fig. 2, and the overall training objective is:
We will refer this setting as SpeeDiff (w/ REPA++) to highlight requirement of a pretrained VFM, which achieves an further improved FID of 1.69 on ImageNet after 80 epochs.
4. Experiments
We first outline the experimental setup in Sec. 4.1, followed by a controlled component-wise comparison in Sec. 4.2. We then systematically examine the impact of end-to-end training on both the diffusion model (Sec. 4.3) and the VAE latent space (Sec. 4.4). Key ablations are further summarized in Sec. 4.5. More results are shown in Sec. B.
4.1. Setup
Training. We follow the training setup of SiT [37] and REPA [60] for ImageNet [7] generation. The dataset is preprocessed with center cropping [17] and random horizontal flipping [30]. All models are trained for 200 epochs (1M iterations) with a batch size of 256, which we find sufficient for SpeeDiff to converge. We use the Adam optimizer [27] with a constant learning rate of 1e-4 across all components. Exponential moving averages (EMA) [44] are maintained for ViT-VAE and Refined-DiT with decay rates of 0.999 and 0.9999, respectively. We consider three model scales (B, L, XL) for both ViT-VAE and Refined-DiT, with parameters, FLOPs, and memory consumption summarized in Tab. 7 in Appendix. All ViT-VAE models adopt a spatial compression and a 32 latent channels (f16d32). For generation, we modify only the first patch embedding layer to use spatial compression (f32d32), keeping all other configurations unchanged. We use DINOv3-ViT-L/16 (0.3B) as the default VFM for representation alignment. To ensure reproducibility, we include the training pseudocode in Algorithm 1 in Appendix, and list detailed model configurations and hyperparameters in Tab. 14 in Appendix. Implementation details of all loss objectives are provided in Sec. A.
Table 1. From baseline to SpeeDiff. We evaluate FID without guidance on ImageNet generation after 80 training epochs.
| Diffusion Loss for VAE | Configuration | gFID↓ |
|---|---|---|
| Detached(w/o direct gradient feedback) | Two-stage Baseline | 13.02 |
| Single-stage Baseline | 14.21 | |
| + TPR Loss | 11.65 | |
| + Refined Architecture | 7.52 | |
| + REPA++ | 3.47 | |
| End-to-end(w/ direct gradient feedback) | Vanilla E2E | 33.95 |
| + TPR Loss | 5.79 | |
| + Refined Architecture | 3.66 | |
| + REPA++ | 1.69 |
Sampling. For class-conditioned generation, we adopt the standard Euler–Maruyama SDE solver [52] with 250 NFEs by default. Guidance sampling uses AutoGuidance (AG) [25] instead of Classifier-Free Guidance (CFG) [21], as we observe that the benefit of CFG diminishes when the diffusion model attains strong unconditional performance with the null-class embedding. AG addresses this issue by leveraging a weaker auxiliary model that does not rely on null-class conditioning. Further implementation details and rationale are discussed in Sec. A.3.1.
Evaluation. For image generation, following common practice, we report generation Frechet Inception Distance (gFID) [20]), spatial FID (sFID) [39], Inception Score (IS) [47]), precision (Pre.) and recall (Rec.) [31], all computed with 50,000 generated samples. Unless specified, all images are generated without guidance. We perform evaluation using the official OpenAI diffusion model evaluation suite [8]. To assess the reconstruction capability of the
Table 2. ImageNet 256×256 generation benchmark. We report detailed results for both non-representation alignment and representation alignment methods. We additionally include results at 80 epochs for convergence speed comparison. SpeeDiff achieves state-of-the-art performance without guidance in both settings (↓ lower is better; ↑ higher is better).
| Method | VAE | Diffusion | Epochs | Generation w/o guidance | Generation w/ guidance | rFID↓ | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Model | Params (M) | Model | Params (M) | gFID↓ | sFID↓ | IS↑ | Prec.↑ | Rec.↑ | gFID↓ | sFID↓ | IS↑ | Prec.↑ | Rec.↑ | |||
| Non-representation Alignment Methods | ||||||||||||||||
| MaskDiT [64] | SD-VAE | 84 | DiT-XL/2 | 675 | 1600 | 5.69 | 10.34 | 177.9 | 0.74 | 0.60 | 2.28 | 5.67 | 276.6 | 0.80 | 0.61 | 0.61 |
| DiT [41] | 1400 | 9.62 | 6.85 | 121.5 | 0.67 | 0.67 | 2.27 | 4.60 | 278.2 | 0.83 | 0.57 | |||||
| SiT [37] | 1400 | 8.61 | 6.32 | 131.7 | 0.68 | 0.67 | 2.06 | 4.50 | 270.3 | 0.82 | 0.59 | |||||
| FasterDiT [59] | 400 | 7.91 | 5.45 | 131.3 | 0.67 | 0.69 | 2.03 | 4.63 | 264.0 | 0.81 | 0.60 | |||||
| MDT [13] | 1300 | 6.23 | 5.23 | 143.0 | 0.71 | 0.65 | 1.79 | 4.57 | 283.0 | 0.81 | 0.61 | |||||
| MDTv2 [14] | 1080 | - | - | - | - | - | 1.58 | 4.52 | 314.7 | 0.79 | 0.65 | |||||
| SpeeDiff (w/o REPA++) | ViT-VAE-B | 58 | Refined-DiT-B | 91 | 80 | 10.65 | 5.67 | 105.59 | 0.71 | 0.59 | 3.86 | 5.13 | 198.07 | 0.81 | 0.54 | 0.74 |
| 200 | 7.27 | 5.39 | 129.38 | 0.72 | 0.61 | 2.64 | 4.90 | 236.39 | 0.81 | 0.56 | 0.62 | |||||
| ViT-VAE-L | 207 | Refined-DiT-L | 319 | 80 | 5.31 | 4.78 | 144.62 | 0.76 | 0.61 | 2.15 | 4.65 | 245.47 | 0.82 | 0.58 | 0.58 | |
| 200 | 3.35 | 4.62 | 176.40 | 0.78 | 0.63 | 1.61 | 4.51 | 281.22 | 0.81 | 0.61 | 0.50 | |||||
| ViT-VAE-XL | 437 | Refined-DiT-XL | 672 | 80 | 3.66 | 4.42 | 172.03 | 0.78 | 0.62 | 1.80 | 4.40 | 267.10 | 0.81 | 0.59 | 0.54 | |
| 200 | 2.42 | 4.38 | 197.84 | 0.80 | 0.63 | 1.46 | 4.32 | 297.13 | 0.81 | 0.62 | 0.49 | |||||
| Representation Alignment Methods | ||||||||||||||||
| REPA [60] | SD-VAE | 84 | DiT-XL/2 | 675 | 80 | 7.90 | 5.06 | 122.6 | 0.70 | 0.65 | - | - | - | - | - | 0.61 |
| 800 | 5.90 | 5.73 | 157.8 | 0.70 | 0.69 | 1.42 | 4.70 | 305.7 | 0.80 | 0.65 | ||||||
| REG [57] | SD-VAE | 84 | DiT-XL/2 | 675 | 80 | 3.40 | - | - | - | - | 1.86 | 4.49 | 321.4 | 0.76 | 0.63 | 0.28 |
| 480 | 2.20 | - | - | - | - | 1.40 | 4.26 | 296.9 | 0.77 | 0.66 | ||||||
| REPA-E [33] | E2E-VAE | 70 | DiT-XL/1 | 675 | 80 | 3.46 | 4.17 | 159.8 | 0.77 | 0.63 | 1.67 | 4.12 | 266.3 | 0.80 | 0.63 | 0.28 |
| 800 | 1.83 | 4.22 | 217.3 | 0.77 | 0.66 | 1.26 | 4.11 | 314.9 | 0.79 | 0.66 | ||||||
| SpeeDiff (w/ REPA++) | ViT-VAE-B | 58 | Refined-DiT-B | 91 | 80 | 6.20 | 5.12 | 138.71 | 0.74 | 0.60 | 2.29 | 4.83 | 230.33 | 0.79 | 0.57 | 0.84 |
| 200 | 4.44 | 4.94 | 156.90 | 0.79 | 0/60 | 1.81 | 4.72 | 244.37 | 0.79 | 0.60 | 0.71 | |||||
| ViT-VAE-L | 207 | Refined-DiT-L | 319 | 80 | 2.15 | 4.21 | 207.87 | 0.79 | 0.61 | 1.41 | 4.15 | 292.90 | 0.80 | 0.61 | 0.62 | |
| 200 | 1.65 | 4.20 | 232.74 | 0.80 | 0.63 | 1.25 | 4.13 | 315.55 | 0.80 | 0.62 | 0.55 | |||||
| ViT-VAE-XL | 437 | Refined-DiT-XL | 672 | 80 | 1.69 | 4.14 | 234.56 | 0.80 | 0.63 | 1.29 | 4.08 | 309.42 | 0.80 | 0.63 | 0.59 | |
| 200 | 1.50 | 4.18 | 253.09 | 0.81 | 0.64 | 1.21 | 4.11 | 317.09 | 0.80 | 0.63 | 0.52 | |||||
Table 3. ImageNet 512×512 generation benchmark. We employ a more efficient 32× downsampled VAE while keeping all other settings consistent with the 256×256 setup. SpeeDiff offers flexible VAE configurations and enables efficient high-resolution generation without sacrificing performance (↓ lower is better; ↑ higher is better).
| Method | VAE | Diffusion | Epochs | Generation w/o guidance | Generation w/ guidance | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Model | Params (M) | FLOPs (G) | Model | Params (M) | FLOPs (G) | gFID↓ | sFID↓ | IS↑ | gFID↓ | sFID↓ | IS↑ | ||
| U-ViT [2] | SD-VAE | 84 | 541 + 1240 | U-ViT-H/4 | 501 | 133 | 400 | - | - | - | 4.05 | 6.44 | 263.79 |
| DiT [41] | DiT-XL/2 | 675 | 524 | 600 | 12.03 | 7.12 | 105.25 | 3.04 | 5.02 | 240.82 | |||
| SiT [37] | DiT-XL/2 | 675 | 524 | 600 | - | - | - | 2.62 | 4.18 | 252.21 | |||
| MaskDiT [64] | DiT-XL/2 | 675 | 524 | 800 | 10.79 | 13.41 | 145.08 | 2.50 | 5.10 | 256.27 | |||
| EDM2 [26] | EDM2-XS | 125 | 46 | 1600 | 3.53 | - | - | 2.91 | - | - | |||
| EDM2[26] | EDM2-XXL | 1523 | 406 | 1600 | 1.91 | - | - | 1.81 | - | - | |||
| SpeeDiff (w/o REPA++) | ViT-VAE-B | 61 | 8+8 | Refined-DiT-B | 91 | 22 | 200 | 7.43 | 5.96 | 131.42 | 2.98 | 5.42 | 180.92 |
| ViT-VAE-L | 212 | 27+27 | Refined-DiT-L | 319 | 79 | 200 | 2.97 | 4.81 | 181.58 | 1.87 | 4.46 | 223.57 | |
| ViT-VAE-XL | 444 | 57+57 | Refined-DiT-XL | 672 | 167 | 200 | 2.18 | 4.23 | 218.26 | 1.79 | 4.18 | 231.89 | |
| SpeeDiff (w/ REPA++) | ViT-VAE-B | 61 | 8+8 | Refined-DiT-B | 91 | 22 | 200 | 4.89 | 5.56 | 162.69 | 2.19 | 5.02 | 213.66 |
| ViT-VAE-L | 212 | 27+27 | Refined-DiT-L | 319 | 79 | 200 | 1.92 | 4.27 | 210.04 | 1.34 | 4.22 | 309.57 | |
| ViT-VAE-XL | 444 | 57+57 | Refined-DiT-XL | 672 | 167 | 200 | 1.53 | 4.07 | 258.47 | 1.26 | 4.03 | 322.55 | |
VAE, we additionally report the reconstruction FID (rFID) and Peak Signal-to-Noise Ratio (PSNR) [56]. For evaluating semantics of the learned latent space and its alignment to pretrained VFM representations, we further follow REPA [60] and report linear probing accuracy and the
CKNNA score [23].
4.2. Component-wise Comparison
We begin by examining the contribution of each component and, in particular, the effect of allowing diffusion loss gradi-

Figure 4. Selected class-conditioned samples from SpeeDiff-XL at (left) and (right) resolutions without guidance.
Pixel
Two-stage Baseline
SpeeDiff (w/o REPA++)
SpeeDiff (w/ REPA)

a. E2E training smooths latent space
b. Automatic semantic improvement
c. REPA++ enhances alignment
Figure 5. Analysis of latent and intermediate diffusion features. (a) Visualization of latents using Robust PCA [4] on 1000 images. (b) Linear probing accuracy on the ImageNet validation set, which shows end-to-end training with diffusion gradient feedback automatically improve semantics. (c) CKNNA evaluation of latent and intermediate diffusion features for the REPA++ components.
ents to update the VAE encoder. Beyond the configurations described in Sec. 3, we introduce more baselines to provide clearer reference points. The first is Two-stage Baseline of LDM, where a convolutional VAE (CNN-VAE) is trained to convergence before training a DiT-XL/1 diffusion model on its latent space. To isolate the effect of end-to-end gradient feedback, we also include a One-stage Baseline in which the VAE and diffusion model are trained jointly from scratch, but a stop-gradient operation prevents diffusion loss from propagating into the VAE encoder. In summary, as shown in Tab. 1, once TPR loss is applied to prevent latent collapse, end-to-end optimization consistently outperforms both detached variants.
4.3. Impact of E2E Training for Diffusion
Accelerated convergence. A primary advantage of SpeeDiff lies in its ability to substantially accelerate diffusion model convergence. On ImageNet , SpeeDiff-XL (w/ REPA++) reaches a gFID of 7.36 without guidance within 10 epochs, already surpassing the vanilla SiT baseline trained for 1400 epochs. As shown in Tab. 2, SpeeDiff-XL (w/o REPA++) attains a gFID of 3.66 without guidance after 80 epochs, indicating that allowing diffusion loss gradients to directly shape the latent space significantly improves convergence speed. The incorporation of REPA++ further strengthens this effect, enabling SpeeDiff-XL to reach a gFID of 1.69 without guidance after 80 epochs. SpeeDiff could produce high visual fidelity without guidance, with representative samples presented in Fig. 4.
Improved scaling behavior. SpeeDiff also induces improved scaling behavior in diffusion models. As shown in Fig. 1 and Tabs. 2 and 3, SpeeDiff exhibits a clearer and more monotonic scaling trend compared to prior state of the art approaches such as EDM2 [26]. SpeeDiff adopts a fully transformer based pipeline, which benefits from the strong scaling properties and avoids the capacity limitations of con-
Table 4. Can SpeeDiff pretrained VAE be used independently? A diffusion model trained on top of the frozen SpeeDiff pretrained VAE converges at nearly the same rate as SpeeDiff itself. Results are reported on ImageNet .
| Configuration | gFID↓ (10 epochs) | gFID↓ (80 epochs) |
|---|---|---|
| SpeeDiff-XL Pretrained VAE | 6.94 | 1.73 |
| Reference: SpeeDiff-XL | 7.36 | 1.69 |
Table 5. Ablation on REPA++. We evaluate different variants of REPA++ components on ImageNet . REPA++ with DINOv3-L yields the best overall performance.
| Configuration | gFID↓ (80 epochs) |
|---|---|
| REPA++ (DINOv3-ViT-L/16 [50]) | 1.69 |
| REPA++ (DINOv2-ViT-L/14 [40]) | 1.76 |
| Latent-REPA (DINOv3-ViT-L/16 [50]) | 2.28 |
| Diff-REPA (DINOv3-ViT-L/16 [50]) | 2.15 |
volution. In addition, SpeeDiff scales the VAE and diffusion model jointly rather than enlarging only the diffusion while keeping the VAE fixed. This joint scaling leads to improved scaling behavior. Further analysis in Sec. B.1 examines parameter allocation across the VAE encoder, VAE decoder, and diffusion model, and shows that appreciate allocation yields consistently stronger performance.
4.4. Impact of E2E Training for VAE Latent
Automatic semantic gain. Analysis of the latent spaces of SpeeDiff (w/o REPA++) and SpeeDiff (w/ REPA++) shows that end-to-end training with diffusion loss gradients naturally smooths the latent and strengthens its semantic organization, as illustrated in Fig. 5a, where independently trained VAEs tend to overfit low level image statistics and exhibit weak semantic separation. This phenomenon is further supported by the quantitative results in Fig. 5b, where latent linear probing accuracy on ImageNet improves by , indicating that the diffusion objective induces a more semantically aligned latent space.
Generation-friendly latent space. We further examine whether the trained VAE in SpeeDiff remains effective when used separately from the diffusion model it was trained with. We freeze the converged VAE from SpeeDiff-XL (w/ REPA++) and train a new diffusion model from scratch, which converges at a similar speed to SpeeDiff (Tab. 4). This suggests that SpeeDiff learns a generation-friendly latent space. From this perspective, SpeeDiff can be interpreted as performing latent pretraining, producing representations inherently better suited for downstream generative modeling.
4.5. Ablations
Components of REPA++. To understand the roles of the two components within REPA++, we evaluate Latent-REPA and Diff-REPA using the CKNNA metric computed with DINOv3-L. Latent-REPA notably improves the semantic alignment of the VAE latent space, although this benefit transfers weakly to the diffusion model. Diff-REPA, on the other hand, substantially improves the alignment of intermediate diffusion features, but the effect diminishes in deeper layers. REPA++ integrates these two components through a simple additive formulation, allowing their strengths to complement each other. As shown in Fig. 5c, the latent space inherits strong alignment from Latent-REPA, while the diffusion model maintains consistently high alignment across layers due to Diff-REPA. Quantitative results are provided in Tab. 5.
Table 6. Ablations on latent channels. Results show that 32 channels offer the best trade-off between reconstruction and generation. The results are evaluate on ImageNet after 80 epochs.
| Model | Metrics(80 epochs) | Latent Channels | ||||
|---|---|---|---|---|---|---|
| VAE | Diffusion | 16 | 32 | 64 | 128 | |
| ViT-VAE-B | Refined-DiT-B | gFID↓ | 7.43 | 6.20 | 7.66 | 12.06 |
| rFID↓ | 1.36 | 0.84 | 0.42 | 0.26 | ||
| PSNR↑ | 24.01 | 25.12 | 26.36 | 27.07 | ||
| ViT-VAE-B | Refined-DiT-XL | gFID↓ | 3.02 | 2.29 | 2.87 | 4.69 |
| rFID↓ | 1.24 | 0.78 | 0.53 | 0.28 | ||
| PSNR↑ | 24.03 | 25.28 | 26.33 | 27.16 | ||
| ViT-VAE-XL | Refined-DiT-XL | gFID↓ | 2.82 | 1.69 | 2.27 | 3.26 |
| rFID↓ | 0.89 | 0.59 | 0.34 | 0.20 | ||
| PSNR↑ | 24.67 | 25.53 | 26.44 | 27.38 | ||
Latent channels. The number of latent channels serves as a key hyperparameter governing the trade-off between reconstruction and generation. Increasing the latent channels generally alleviates the information bottleneck and improves reconstruction. However, excessively large latent channels often lead to a less compact and less semantically structured latent space, making the diffusion model more difficult to train. Across a range of model sizes and settings, we observe that 32 channels consistently yield the best overall performance, shown in Tab. 6.
5. Conclusion
In this work, we conduct a detailed analysis of why vanilla end-to-end training of the VAE and diffusion model fails, and identify latent space collapse as the primary cause. By introducing the Tweedie Pixel Reconstruction loss, we establish a stable and effective optimization pathway that enables the VAE to benefit directly from diffusion loss gradient supervision. Building on this foundation, architectural refinements together with the proposed REPA++ further improve convergence speed and generative quality. Overall, SpeeDiff sets new state-of-the-art results for both non-alignment and VFM-aligned latent diffusion models.
References
[1] Michael S Albergo, Nicholas M Boffi, and Eric Vanden-Eijnden. Stochastic interpolants: A unifying framework for flows and diffusions. arXiv preprint arXiv:2303.08797, 2023. 2
[2] Fan Bao, Shen Nie, Kaiwen Xue, Yue Cao, Chongxuan Li, Hang Su, and Jun Zhu. All are worth words: A vit backbone for diffusion models. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 22669–22679, 2023. 6
[3] Tianci Bi, Xiaoyi Zhang, Yan Lu, and Nanning Zheng. Vision foundation models can be good tokenizers for latent diffusion models. arXiv preprint arXiv:2510.18457, 2025. 2, 3
[4] Emmanuel J Candès, Xiaodong Li, Yi Ma, and John Wright. Robust principal component analysis? Journal of the ACM (JACM), 58(3):1–37, 2011. 7
[5] Bowei Chen, Sai Bi, Hao Tan, He Zhang, Tianyuan Zhang, Zhengqi Li, Yuanjun Xiong, Jianming Zhang, and Kai Zhang. Aligning visual foundation encoders to tokenizers for diffusion models. arXiv preprint arXiv:2509.25162, 2025. 2, 3
[6] Junsong Chen, Jincheng Yu, Chongjian Ge, Lewei Yao, Enze Xie, Yue Wu, Zhongdao Wang, James Kwok, Ping Luo, Huchuan Lu, and Zhenguo Li. Pixart- : Fast training of diffusion transformer for photorealistic text-to-image synthesis, 2023. 4, 1
[7] Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In 2009 IEEE conference on computer vision and pattern recognition, pages 248–255. Ieee, 2009. 5
[8] Prafulla Dhariwal and Alexander Nichol. Diffusion models beat gans on image synthesis. Advances in neural information processing systems, 34:8780–8794, 2021. 5
[9] Bradley Efron. Tweedie’s formula and selection bias. Journal of the American Statistical Association, 106(496):1602–1614, 2011. 2
[10] Patrick Esser, Robin Rombach, and Bjorn Ommer. Taming transformers for high-resolution image synthesis. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 12873–12883, 2021. 2
[11] Patrick Esser, Sumith Kulal, Andreas Blattmann, Rahim Entezari, Jonas Müller, Harry Saini, Yam Levi, Dominik Lorenz, Axel Sauer, Frederic Boesel, et al. Scaling rectified flow transformers for high-resolution image synthesis. In Forty-first international conference on machine learning, 2024. 2
[12] Stephanie Fu, Netanel Tamir, Shobhita Sundaram, Lucy Chai, Richard Zhang, Tali Dekel, and Phillip Isola. Dreamsim: Learning new dimensions of human visual similarity using synthetic data. arXiv preprint arXiv:2306.09344, 2023. 2
[13] Shanghua Gao, Pan Zhou, Ming-Ming Cheng, and Shuicheng Yan. Masked diffusion transformer is a strong image synthesizer. In Proceedings of the IEEE/CVF international conference on computer vision, pages 23164–23173, 2023. 6
[14] Shanghua Gao, Pan Zhou, Ming-Ming Cheng, and Shuicheng Yan. Mdtv2: Masked diffusion transformer is a strong image synthesizer. arXiv preprint arXiv:2303.14389, 2023. 6
[15] Yu Gao, Lixue Gong, Qiushan Guo, Xiaoxia Hou, Zhichao Lai, Fanshi Li, Liang Li, Xiaochen Lian, Chao Liao, Liyang Liu, et al. Seedream 3.0 technical report. arXiv preprint arXiv:2504.11346, 2025. 2
[16] Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial networks. Communications of the ACM, 63(11):139–144, 2020. 2
[17] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In CVPR, 2016. 5
[18] Kaiming He, Xinlei Chen, Saining Xie, Yanghao Li, Piotr Dollár, and Ross Girshick. Masked autoencoders are scalable vision learners. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 16000–16009, 2022. 2, 3
[19] Byeongho Heo, Song Park, Dongyoon Han, and Sangdoo Yun. Rotary position embedding for vision transformer. In European Conference on Computer Vision, pages 289–305. Springer, 2024. 1
[20] Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, Bernhard Nessler, and Sepp Hochreiter. Gans trained by a two time-scale update rule converge to a local nash equilibrium. Advances in neural information processing systems, 30, 2017. 5
[21] Jonathan Ho and Tim Salimans. Classifier-free diffusion guidance. arXiv preprint arXiv:2207.12598, 2022. 5, 4
[22] Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising diffusion probabilistic models. Advances in neural information processing systems, 33:6840–6851, 2020. 2, 3
[23] Minyoung Huh, Brian Cheung, Tongzhou Wang, and Phillip Isola. The platonic representation hypothesis. arXiv preprint arXiv:2405.07987, 2024. 6
[24] Tero Karras, Miika Aittala, Timo Aila, and Samuli Laine. Elucidating the design space of diffusion-based generative models. Advances in neural information processing systems, 35:26565–26577, 2022. 2
[25] Tero Karras, Miika Aittala, Tuomas Kynkäänniemi, Jaakko Lehtinen, Timo Aila, and Samuli Laine. Guiding a diffusion model with a bad version of itself. Advances in Neural Information Processing Systems, 37:52996–53021, 2024. 5, 4
[26] Tero Karras, Miika Aittala, Jaakko Lehtinen, Janne Hellsten, Timo Aila, and Samuli Laine. Analyzing and improving the training dynamics of diffusion models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 24174–24184, 2024. 6, 7
[27] Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. 5
[28] Diederik P Kingma, Max Welling, et al. Auto-encoding variational bayes, 2013. 1, 2, 3
[29] Weijie Kong, Qi Tian, Zijian Zhang, Rox Min, Zuozhuo Dai, Jin Zhou, Jiangfeng Xiong, Xin Li, Bo Wu, Jianwei Zhang, et al. Hunyuanvideo: A systematic framework for large video generative models. arXiv preprint arXiv:2412.03603, 2024. 2
[30] Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In NeurIPS, 2012. 5
[31] Tuomas Kynkäänniemi, Tero Karras, Samuli Laine, Jaakko Lehtinen, and Timo Aila. Improved precision and recall metric for assessing generative models. Advances in neural information processing systems, 32, 2019. 5
[32] Black Forest Labs, Stephen Batifol, Andreas Blattmann, Frederic Boesel, Saksham Consul, Cyril Diagne, Tim Dockhorn, Jack English, Zion English, Patrick Esser, Sumith Kulal, Kyle Lacey, Yam Levi, Cheng Li, Dominik Lorenz, Jonas Müller, Dustin Podell, Robin Rombach, Harry Saini, Axel Sauer, and Luke Smith. Flux.1 kontext: Flow matching for in-context image generation and editing in latent space, 2025. 2
[33] Xingjian Leng, Jaskirat Singh, Yunzhong Hou, Zhenchang Xing, Saining Xie, and Liang Zheng. Repa-e: Unlocking vae for end-to-end tuning with latent diffusion transformers. arXiv preprint arXiv:2504.10483, 2025. 2, 3, 5, 6
[34] Cheng Lu and Yang Song. Simplifying, stabilizing and scaling continuous-time consistency models. arXiv preprint arXiv:2410.11081, 2024. 3
[35] Jiasen Lu, Liangchen Song, Mingze Xu, Byeongjoo Ahn, Yanjun Wang, Chen Chen, Afshin Dehghan, and Yinfei Yang. A token: A unified tokenizer for vision. arXiv preprint arXiv:2509.14476, 2025. 2
[36] Chuofan Ma, Yi Jiang, Junfeng Wu, Jihan Yang, Xin Yu, Zehuan Yuan, Bingyue Peng, and Xiaojuan Qi. Unitok: A unified tokenizer for visual generation and understanding. arXiv preprint arXiv:2502.20321, 2025. 2
[37] Nanye Ma, Mark Goldstein, Michael S Albergo, Nicholas M Boffi, Eric Vanden-Eijnden, and Saining Xie. Sit: Exploring flow and diffusion-based generative models with scalable interpolant transformers. In European Conference on Computer Vision, pages 23–40. Springer, 2024. 2, 5, 6
[38] Takeru Miyato, Toshiki Kataoka, Masanori Koyama, and Yuichi Yoshida. Spectral normalization for generative adversarial networks. arXiv preprint arXiv:1802.05957, 2018. 3
[39] Charlie Nash, Jacob Menick, Sander Dieleman, and Peter W Battaglia. Generating images with sparse representations. arXiv preprint arXiv:2103.03841, 2021. 5
[40] Maxime Oquab, Timothée Darcet, Théo Moutakanni, Huy Vo, Marc Szafraniec, Vasil Khalidov, Pierre Fernandez, Daniel Haziza, Francisco Massa, Alaaeldin El-Nouby, et al. Dinov2: Learning robust visual features without supervision. arXiv preprint arXiv:2304.07193, 2023. 2, 3, 8
[41] William Peebles and Saining Xie. Scalable diffusion models with transformers. In Proceedings of the IEEE/CVF international conference on computer vision, pages 4195–4205, 2023. 1, 2, 4, 6
[42] Dustin Podell, Zion English, Kyle Lacey, Andreas Blattmann, Tim Dockhorn, Jonas Müller, Joe Penna, and Robin Rombach. Sdxl: Improving latent diffusion models for high-resolution image synthesis. arXiv preprint arXiv:2307.01952, 2023. 2
[43] Adam Polyak, Amit Zohar, Andrew Brown, Andros Tjandra, Animesh Sinha, Ann Lee, Apoorv Vyas, Bowen Shi, Chih-Yao Ma, Ching-Yao Chuang, et al. Movie gen: A cast of
media foundation models. arXiv preprint arXiv:2410.13720, 2024. 2
[44] Boris T Polyak and Anatoli B Juditsky. Acceleration of stochastic approximation by averaging. SIAM Journal on Control and Optimization, 1992. 5
[45] Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, et al. Learning transferable visual models from natural language supervision. In ICML, pages 8748–8763. PmLR, 2021. 2, 3
[46] Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, and Björn Ommer. High-resolution image synthesis with latent diffusion models. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 10684–10695, 2022. 1, 2
[47] Tim Salimans, Ian Goodfellow, Wojciech Zaremba, Vicki Cheung, Alec Radford, and Xi Chen. Improved techniques for training gans. Advances in neural information processing systems, 29, 2016. 5
[48] Noam Shazeer. Glu variants improve transformer. arXiv preprint arXiv:2002.05202, 2020. 1
[49] Minglei Shi, Haolin Wang, Wenzhao Zheng, Ziyang Yuan, Xiaoshi Wu, Xintao Wang, Pengfei Wan, Jie Zhou, and Jiwen Lu. Latent diffusion model without variational autoencoder. arXiv preprint arXiv:2510.15301, 2025. 2, 3
[50] Oriane Siméoni, Huy V. Vo, Maximilian Seitzer, Federico Baldassarre, Maxime Oquab, Cijo Jose, Vasil Khalidov, Marc Szafraniec, Seungeun Yi, Michaël Ramamonjisoa, Francisco Massa, Daniel Haziza, Luca Wehrstedt, Jianyuan Wang, Timothée Darcet, Théo Moutakanni, Leonel Sentana, Claire Roberts, Andrea Vedaldi, Jamie Tolan, John Brandt, Camille Couprie, Julien Mairal, Hervé Jégou, Patrick Labatut, and Piotr Bojanowski. DINOv3, 2025. 2, 3, 8
[51] Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. arXiv preprint arXiv:1409.1556, 2014. 2
[52] Yang Song, Jascha Sohl-Dickstein, Diederik P Kingma, Abhishek Kumar, Stefano Ermon, and Ben Poole. Score-based generative modeling through stochastic differential equations. arXiv preprint arXiv:2011.13456, 2020. 2, 5, 3
[53] Hung-Yu Tseng, Lu Jiang, Ce Liu, Ming-Hsuan Yang, and Weilong Yang. Regularizing generative adversarial networks under limited data. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 7921–7931, 2021. 3
[54] Arash Vahdat, Karsten Kreis, and Jan Kautz. Score-based generative modeling in latent space. In Advances in Neural Information Processing Systems, 2021. 1, 2
[55] Junke Wang, Yi Jiang, Zehuan Yuan, Bingyue Peng, Zuxuan Wu, and Yu-Gang Jiang. Omnitokenizer: A joint image-video tokenizer for visual generation. Advances in Neural Information Processing Systems, 37:28281–28295, 2024. 2
[56] Zhou Wang and Alan Conrad Bovik. Modern image quality assessment. Springer, 2006. 6
[57] Ge Wu, Shen Zhang, Ruijing Shi, Shanghua Gao, Zhenyuan Chen, Lei Wang, Zhaowei Chen, Hongcheng Gao, Yao Tang, Jian Yang, et al. Representation entanglement for generation:
Training diffusion transformers is much easier than you think. arXiv preprint arXiv:2507.01467, 2025. 6
[58] Jingfeng Yao and Xinggang Wang. Reconstruction vs. generation: Taming optimization dilemma in latent diffusion models. arXiv preprint arXiv:2501.01423, 2025. 2, 3, 4, 1
[59] Jingfeng Yao, Cheng Wang, Wenyu Liu, and Xinggang Wang. Fasterdit: Towards faster diffusion transformers training without architecture modification. Advances in Neural Information Processing Systems, 37:56166–56189, 2024. 6
[60] Sihyun Yu, Sangkyung Kwak, Huiwon Jang, Jongheon Jeong, Jonathan Huang, Jinwoo Shin, and Saining Xie. Representation alignment for generation: Training diffusion transformers is easier than you think. In ICLR, 2025. 2, 3, 5, 6
[61] Xiaohua Zhai, Basil Mustafa, Alexander Kolesnikov, and Lucas Beyer. Sigmoid loss for language image pre-training. In Proceedings of the IEEE/CVF international conference on computer vision, pages 11975–11986, 2023. 2
[62] Richard Zhang, Phillip Isola, Alexei A Efros, Eli Shechtman, and Oliver Wang. The unreasonable effectiveness of deep features as a perceptual metric. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 586–595, 2018. 2, 4
[63] Boyang Zheng, Nanye Ma, Shengbang Tong, and Saining Xie. Diffusion transformers with representation autoencoders. arXiv preprint arXiv:2510.11690, 2025. 2, 3
[64] Hongkai Zheng, Weili Nie, Arash Vahdat, and Anima Anandkumar. Fast training of diffusion models with masked transformers. arXiv preprint arXiv:2306.09305, 2023. 6
SpeeDiff: Scalable Pixel-Anchored End-to-End Latent Diffusion Model Supplementary Material
A. Detailed Implementation of SpeeDiff
This section provides comprehensive implementation details of SpeeDiff to ensure full reproducibility. We describe our model architectures in Sec. A.1, training configurations in Sec. A.2, and sampling setup in Sec. A.3. A complete summary of hyperparameters and model configurations is included in Tab. 14.
A.1. Model Details
A.1.1. ViT-VAE
We adopt a vision-transformer-based VAE (ViT-VAE) in place of the conventional convolutional VAE, as transformer architectures have better scalability and offer improved compute efficiency (see Tab. 7 for comparison).
Encoder. The encoder begins with a patch-embedding layer that tokenizes each patch into a hidden vector. We use for ImageNet and for generation. The embedded tokens are processed by a stack of standard transformer blocks equipped with 2D RoPE [19] positional encoding and SwiGLU [48] feedforward layers. A final linear projection maps the output tokens into a compact latent representation of dimension .
Decoder. The decoder mirrors the encoder. It first maps the latent tokens back to the hidden dimension through a linear layer, followed by transformer blocks, and finally an unpatch-embedding layer that reconstructs pixel-space outputs. To further refine visual details, we append a single convolutional layer initialized as an identity mapping. This lightweight refinement consistently improves visual quality.
A.1.2. Refined-DiT
Our diffusion model, Refined-DiT, is based on recent architectural advances from Lightening DiT [58] and incorporates a more parameter-efficient modulation mechanism. Due to spatial downsampling introduced by the VAE, we fix the diffusion model's patch size to 1, implemented as a simple linear projection into the transformer hidden dimension. The model then applies a sequence of diffusion transformer blocks. Instead of per-block modulation, we adopt a global modulation layer combined with learnable per-block biases, following the design strategy of PixArt- [6]. This approach reduces parameters and computational overhead while preserving generative performance.
Table 7. Model configurations. Comparison between our refined architecture (ViT-VAE+Refined-DiT) and the baseline in terms of parameters, FLOPs, and inference memory per image. ViT-VAE is more scalable and memory friendly in our end-to-end training framework.
| Configuration | ViT-VAE Encoder (ours) | ViT-VAE Decoder (ours) | Refined-DiT (ours) | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Params (M) | FLOPs (G) | Memory (M) | Params (M) | FLOPs (G) | Memory (M) | Params (M) | FLOPs (G) | Memory (M) | |
| Base | 28.98 | 7.41 | 11.0 | 28.95 | 7.41 | 11.78 | 91.38 | 21.79 | 10.29 |
| Large | 103.68 | 26.54 | 14.75 | 103.65 | 26.54 | 20.03 | 319.38 | 79.01 | 14.06 |
| XL | 218.63 | 55.97 | 19.88 | 218.58 | 55.97 | 28.78 | 672.23 | 167.07 | 19.20 |
| Configuration | CNN-VAE Encoder | CNN-VAE Decoder | DiT-XL/1 | ||||||
| Params (M) | FLOPs (G) | Memory (M) | Params (M) | FLOPs (G) | Memory (M) | Params (M) | FLOPs (G) | Memory (M) | |
| - | 28.42 | 69.01 | 193.31 | 41.42 | 126.43 | 161.62 | 675.15 | 114.42 | 12.41 |
A.2. Training Details
Algorithm 1 SpeeDiff: End-to-end pixel-anchored joint training of latent diffusion model
Require: Data , encoder , decoder , diffusion , two MLP adapters and (optional) while not converged do ▷ VAE Reconstruction
▷ Diffusion Flow Matching
▷ Tweedie Pixel Reconstruction
▷ REPA++ (optional) ; intermediate feature from
For SpeeDiff (w/o REPA++) For SpeeDiff (w/ REPA++)
Update end while
A.2.1. Pipeline
We summarize the training algorithm of SpeeDiff with pseudo-code in Algorithm 1. As visualized in Fig. 2, the algorithm consists of four loss branches: the VAE reconstruction loss (Sec. A.2.2), the diffusion flow matching loss (Sec. A.2.3), the Tweedie pixel reconstruction (TPR) loss (Sec. A.2.4), and the REPA++ alignment loss (Sec. A.2.5).
A.2.2. VAE Reconstruction
Given an image , the VAE encoder produces a Gaussian posterior
where and have the same dimensionality as the latent representation. The latent sample is obtained via the reparameterization trick:
Although our VAE is not used solely for generative sampling as in classical VAEs, we find that retaining the variational formulation surprisingly benefits downstream diffusion training. This observation is further discussed in Sec. B.3. The reconstruction is supervised by a combination of four losses: MSE, LPIPS, discriminator loss, and KL divergence.
MSE Loss. We compute the pixel-wise mean squared error between the clean and reconstructed images. Empirically, MSE and MAE yield similar visual quality, and we adopt MSE by default.
LPIPS Loss. We use the official LPIPS implementation [62] with a VGG backbone [51]. LPIPS is computed at the original image resolution without downsampling.
Discriminator Loss. We incorporate a PatchGAN-style discriminator to enhance perceptual fidelity. To ensure stable adversarial training without relying on warm-up schedules or dynamically adjusted weights, we introduce two modifications:
• Replace BatchNorm with SpectralNorm [38] to improve Lipschitz continuity and reduce training instability.
• Apply LeCam regularization [53], which tracks an exponential moving average of real and fake logits and penalizes large deviations, effectively smoothing discriminator updates.
These stabilizations allow us to adopt a fixed discriminator loss weight and enable adversarial supervision from the beginning of training without the need for special scheduling.
Variational Objective (KL Loss). The evidence lower bound (ELBO) [28] has an additional KL divergence loss between the posterior and the standard Gaussian prior . Interestingly, the KL weight strongly affects the trade-off between reconstruction of VAE and generative of diffusion. As the KL weight increases, reconstruction performance decreases while generative quality initially improves and then degrades. We select the turning point that yields the best generation performance; details are provided in Sec. B.3.
A.2.3. Diffusion Flow Matching
We adopt the linear flow-matching scheduler among several alternatives (variance preserving [22], variance exploding [52], TrigFlow [34], etc.) due to its simplicity and strong empirical performance. The stochastic interpolant is defined as , where . We use the velocity parameterization for diffusion model , which predicts the vector field of the probability flow ODE. The flow-matching loss is
where the time sampler for t is specified in Tab. 14. We observe that log-normal time sampling slightly accelerates Base model training, though the speedup becomes negligible for Large and XL models.
A.2.4. Tweedie Pixel Reconstruction (TPR) Loss
For a given , sampled latent , and interpolant , we estimate the clean latent using Tweedie's formula:
By definition, . Decoding this latent via the VAE decoder yields
This provides an additional pixel-space anchor for the diffusion model. We apply a combination of MSE and LPIPS losses between and .
A.2.5. REPA++
We adopt the REPA++ to align both the latent and intermediate diffusion features extracted from . The adapter is implemented as a two-layer MLP with SiLU activation.
A.2.6. Loss Coefficients
SpeeDiff consists of multiple loss components, yet we observe that the model is robust to a wide range of loss weights. Therefore, we adopt simple defaults: all losses use a weight of 1.0 except the discriminator loss and KL loss, which are set to 0.1 and , respectively. The discriminator weight improves training stability, while the KL weight is selected based on the analysis in Sec. B.3.
A.3. Sampling Details
In this section, we describe our guidance sampling strategy based on AutoGuidance [25] and discuss how representation alignment affects Classifier-Free Guidance (CFG) [21] in SpeeDiff. In particular, we analyze why the gains from CFG tend to saturate when REPA++ is enabled.
A.3.1. AutoGuidance
For all SpeeDiff variants, we train an additional bad version of the diffusion model required by AutoGuidance. Concretely, this bad model is architecturally smaller: it uses half the number of transformer blocks and half the number of attention heads compared to the main model. To decouple it from end-to-end training, we pair this bad diffusion model with the frozen VAE obtained from the 200-epoch checkpoint and train the bad diffusion model from scratch for only 20 epochs.
At sampling time, we apply AutoGuidance using this bad model in conjunction with the main model. The guidance scale and guidance intervals are tuned per model size to achieve the best gFID score.
A.3.2. Analysis of Unconditional Generation and CFG
We compare three settings for guidance: (1) without guidance, (2) CFG, and (3) AutoGuidance (AG). For SpeeDiff (w/ REPA++), we observe that the improvement from CFG over the unguided model is noticeably saturated, whereas AG continues to provide a substantial gain.
After careful analysis, we identify a key contributing factor: the unconditional generation of SpeeDiff (with REPA++) is already surprisingly strong. In other words, the null-class (unconditional) predictions of the main model produce high-quality samples. We illustrate unconditional samples in Fig. 6 and report their FID scores in Tab. 8. Due to the strong unconditional sampling quality, the negative direction in CFG provides only limited additional guidance. AutoGuidance avoids this issue by constructing the negative direction using the prediction of a deliberately degraded bad model under the conditional class. This alternative direction is substantially more informative, and as a result, AutoGuidance delivers a much larger improvement in FID compared to CFG.

Figure 6. Uncurated samples of unconditional generation. On ImageNet 512×512 with our SpeeDiff-XL (w/ REPA++) model (200 epochs) with the null-class. The unconditional generation is already surprisingly strong.
Table 8. Unconditional Generation. gFID on ImageNet 256×256 after 200 epochs.
| Method | gFID↓ (unconditional) |
|---|---|
| SpeeDiff-XL (w/o REPA++) | 22.32 |
| SpeeDiff-XL (w/ REPA++) | 4.03 |
Table 9. CFG vs. AG. gFID on ImageNet after 200 epochs. CFG yields limited gains for SpeeDiff (w/ REPA++) due to its strong unconditional generation.
| Method | gFID↓ (w/o guidance) | gFID↓ (w/ CFG) | gFID↓ (w/ AG) |
|---|---|---|---|
| SpeeDiff-XL (w/o REPA++) | 2.42 | 1.52 | 1.46 |
| SpeeDiff-XL (w/ REPA++) | 1.50 | 1.45 | 1.21 |
Table 10. ImageNet generation benchmark (continue). We report additional results for using different VAE and diffusion architectures to demonstrate the superior performance of refined architecture for both non-representation alignment and representation alignment methods ( lower is better; higher is better).
| Method | VAE | Diffusion | Epochs | Generation w/o guidance | Generation w/ guidance | rFID↓ | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Model | Params (M) | Model | Params (M) | gFID↓ | sFID↓ | IS↑ | Prec.↑ | Rec.↑ | gFID↓ | sFID↓ | IS↑ | Prec.↑ | Rec.↑ | |||
| Non-representation Alignment Methods | ||||||||||||||||
| SpeeDiff(w/o REPA++) | CNN-VAE | 70 | DiT-XL/1 | 675 | 80 | 5.89 | 5.49 | 145.58 | 0.75 | 0.61 | 2.25 | 5.35 | 254.22 | 0.81 | 0.57 | 0.73 |
| CNN-VAE | 70 | Refined-DiT-B | 91 | 80 | 9.24 | 5.53 | 111.26 | 0.72 | 0.59 | 3.50 | 5.23 | 200.70 | 0.80 | 0.54 | 0.69 | |
| Refined-DiT-L | 319 | 80 | 4.62 | 4.53 | 150.40 | 0.77 | 0.59 | 2.17 | 4.75 | 251.28 | 0.82 | 0.56 | 0.67 | |||
| Refined-DiT-XL | 672 | 80 | 3.71 | 4.53 | 166.52 | 0.78 | 0.61 | 2.12 | 4.69 | 252.60 | 0.83 | 0.56 | 0.61 | |||
| ViT-VAE-B | 58 | Refined-DiT-B | 91 | 80 | 10.65 | 5.67 | 105.59 | 0.71 | 0.59 | 3.86 | 5.13 | 198.07 | 0.81 | 0.54 | 0.74 | |
| ViT-VAE-L | 207 | Refined-DiT-L | 319 | 80 | 5.31 | 4.78 | 144.62 | 0.76 | 0.61 | 2.15 | 4.65 | 245.47 | 0.82 | 0.58 | 0.58 | |
| ViT-VAE-XL | 437 | Refined-DiT-XL | 672 | 80 | 3.66 | 4.42 | 172.03 | 0.78 | 0.62 | 1.80 | 4.40 | 267.10 | 0.81 | 0.59 | 0.54 | |
| Representation Alignment Methods | ||||||||||||||||
| SpeeDiff(w/ REPA++) | CNN-VAE | 70 | DiT-XL/1 | 675 | 80 | 2.83 | 4.31 | 185.36 | 0.78 | 0.62 | 1.80 | 4.37 | 273.49 | 0.79 | 0.63 | 0.62 |
| CNN-VAE | 70 | Refined-DiT-B | 91 | 80 | 5.82 | 5.08 | 142.07 | 0.75 | 0.60 | 2.78 | 5.28 | 216.66 | 0.78 | 0.58 | 0.62 | |
| Refined-DiT-L | 319 | 80 | 2.65 | 4.33 | 183.23 | 0.79 | 0.61 | 1.75 | 4.66 | 271.58 | 0.80 | 0.61 | 0.60 | |||
| Refined-DiT-XL | 672 | 80 | 2.15 | 4.21 | 206.49 | 0.80 | 0.62 | 1.74 | 4.55 | 279.13 | 0.81 | 0.61 | 0.64 | |||
| ViT-VAE-B | 58 | Refined-DiT-B | 91 | 80 | 6.20 | 5.12 | 138.71 | 0.74 | 0.60 | 2.29 | 4.83 | 230.33 | 0.79 | 0.57 | 0.84 | |
| ViT-VAE-L | 207 | Refined-DiT-L | 319 | 80 | 2.15 | 4.21 | 207.87 | 0.79 | 0.61 | 1.41 | 4.15 | 292.90 | 0.80 | 0.61 | 0.62 | |
| ViT-VAE-XL | 437 | Refined-DiT-XL | 672 | 80 | 1.69 | 4.14 | 234.56 | 0.80 | 0.63 | 1.29 | 4.08 | 309.42 | 0.80 | 0.63 | 0.59 | |
B. Additional Results and Ablations
B.1. Joint Scaling of VAE and Diffusion
In this section, we examine how jointly scaling the VAE and the diffusion model affects performance. Unlike prior latent-diffusion pipelines that pair a fixed-size VAE with diffusion models of various capacities, SpeeDiff benefits substantially from joint scaling both components. A larger VAE not only produces a more expressive latent space but also provides stronger feedback to the diffusion model during end-to-end training.
To understand how model capacity should be allocated, we systematically vary the number of transformer layers assigned to the encoder, decoder, and diffusion model. As shown in Fig. 7, several trends emerge. First, the encoder and decoder perform best when their depths are approximately balanced (around a 1:1 ratio). Second, dedicating roughly of total layers to the VAE yields a strong trade-off between reconstruction quality and downstream generative performance. Finally, we observe a consistent and stable scaling trend across model sizes, both with and without REPA++, when following a 1:1:3 allocation rule for encoder, decoder, and diffusion layers.
B.2. SpeeDiff with Conventional Architecture
We further evaluate the impact of our refined architectures by comparing ViT-VAE and Refined-DiT with conventional CNN-VAE and DiT variants. As shown in Tab. 10, both refinements consistently improve performance across model scales.
Across both non-aligned and REPA++ settings, our refined architectures provide consistent improvements over conventional CNN-VAE and DiT designs. Without alignment, replacing DiT with Refined-DiT already yields substantial gains (e.g., gFID improves from 5.89 to 3.71 with CNN-VAE), and replacing CNN-VAE with ViT-VAE further enhances performance, reaching 3.66 at the XL scale on ImageNet generation after 80 epochs. With REPA++, the benefits become even more pronounced: Refined-DiT-XL lowers gFID from 2.83 to 2.15, and jointly scaling the VAE achieves the best overall result of 1.69 on ImageNet generation after 80 epochs. Together, these findings confirm the effectiveness of our refined architectures.

a. VAE encoder and decoder
b. VAE and diffusion
c. Joint scaling
Figure 7. Joint scaling of VAE and diffusion. On ImageNet 256×256 generation, we examine how to allocate transformer layers between encoder, decoder, and diffusion. (a) Encoder and decoder perform best with a balanced 1:1 ratio. (b) Allocating about 40% of total layers to the VAE gives a strong trade-off. (c) A 1:1:3 allocation (encoder:decoder:diffusion) consistently works well with and without REPA++.
B.3. Analysis the Effect of KL Loss
The variational objective (KL loss) in the VAE loss plays a crucial role in balancing reconstruction of VAE and generative of diffusion. Recall that the KL term measures the divergence between the encoder posterior and the standard Gaussian prior :
Through extensive experiments, we find that the weight assigned to this KL term has a surprisingly strong influence on downstream diffusion performance. Setting the KL weight to zero effectively turns the model into a standard autoencoder (AE). Although this preserves reconstruction quality, it consistently harms generative performance, suggesting that a weakly regularized latent space is less suitable for diffusion training. Conversely, assigning too large a KL weight forces the latent distribution toward an overly restrictive prior, degrading both reconstruction and generation. Empirically, we observe that the average predicted standard deviation increases monotonically as the KL weight is raised from zero to sufficiently large values. This trend is summarized in Tab. 11, based on which we select the turning point of the KL weight that provides the best generative performance.
Table 11. Effect of KL Loss. We study how the KL loss shapes the latent space by measuring the average latent log-variance across spatial locations and samples. We additionally report both generation and reconstruction metrics on ImageNet after 80 epochs with SpeeDiff-XL (w/ REPA++).
| KL weight | 0 (AE) | 1e-6 | 3e-6 | 1e-5 (best) | 3e-5 | 1e-4 |
|---|---|---|---|---|---|---|
| Average log-variance | -123.31 | -13.26 | -9.25 | -6.87 | -4.31 | -2.13 |
| gFID↓ | 3.91 | 2.48 | 1.94 | 1.69 | 1.86 | 2.76 |
| rFID↓ | 0.34 | 0.39 | 0.44 | 0.59 | 0.87 | 1.46 |
| PSNR↑ | 27.59 | 27.33 | 26.98 | 26.05 | 24.83 | 22.08 |
B.4. Sensitivity to TPR Loss Weight
We ablate the TPR loss weight to examine the sensitivity of SpeeDiff to this hyperparameter. As shown in Tab. 12, performance remains stable across a wide range of weights (0.5–4.0), with all settings yielding comparable gFID, rFID, and PSNR. Notably, even a 4× increase from the default weight of 1.0 causes negligible degradation in generation quality (gFID 6.33 vs. 6.20), while slightly improving reconstruction metrics. This robustness indicates that SpeeDiff does not require careful tuning of the TPR loss weight in practice.
Table 12. Ablation on TPR loss weight with SpeeDiff-B (w/ REPA++) on ImageNet 256 × 256 after 80 epochs.
| TPR weight | 0.0 | 0.5 | 1.0 (default) | 2.0 | 4.0 |
|---|---|---|---|---|---|
| gFID↓ | 12.69 | 6.91 | 6.20 | 6.08 | 6.33 |
| rFID↓ | 0.90 | 0.85 | 0.84 | 0.80 | 0.74 |
| PSNR↑ | 25.40 | 25.56 | 25.61 | 25.65 | 25.87 |
B.5. Analysis of Practical Cost
We analyze the practical cost of SpeeDiff by measuring the time-level speedup attributable to end-to-end training. Specifically, we compare SpeeDiff (w/o REPA++) against the two-stage baseline, which assumes a pretrained VAE with preprocessed latents and thus requires only a single diffusion forward pass per training step. In contrast, our end-to-end approach additionally involves one VAE encoder call and two decoder calls per step, resulting in an approximately 2× slower per-step time (see Tab. 13 for detailed per-step timing and Tab. 7 for model FLOPs).
Despite this per-step overhead, SpeeDiff converges dramatically faster in terms of training steps. Taking the baseline's 7.93 FID without guidance at 4M steps as the reference point, SpeeDiff reaches the same FID in only 0.17M steps. This translates to a 23.52× step-level speedup and, after accounting for the per-step cost difference, a 12.14× time-level speedup. Notably, these numbers are conservative: the two-stage pipeline additionally requires VAE pretraining or finetuning as a prerequisite, whereas SpeeDiff trains the VAE jointly from scratch, further widening the practical efficiency gap.
Table 13. Practical cost and speedup. We evaluate on ImageNet 256×256 with 16 H100-SXM-80GB GPUs at batch size 256.
| Step time (s) | Required steps (M) | Step-level speedup | Time-level speedup | |
|---|---|---|---|---|
| Two-stage-XL | 0.16 | 4 | - | - |
| SpeeDiff-XL | 0.31 | 0.17 | 23.52× | 12.14× |
Regarding memory consumption, SpeeDiff-XL requires 57.34 GB peak memory compared to 26.97 GB for the two-stage baseline under the same training configuration. While the higher memory footprint is a limitation of end-to-end training, we consider it a reasonable trade-off given the substantial convergence speedup achieved.
C. Additional Qualitative Samples
We show additional samples of SpeeDiff-XL on both ImageNet 256×256 and 512×512 generation in Figs. 8 to 12 and Figs. 13 to 17, respectively.
Table 14. Detailed implementation of SpeeDiff on ImageNet at 256×256 and 512×512 resolutions. We report architecture, loss functions, training, and sampling hyperparameters. Rows highlighted in gray indicate values that differ across models.
| SpeeDiff-B (256) | SpeeDiff-L (256) | SpeeDiff-XL (256) | SpeeDiff-B (512) | SpeeDiff-L (512) | SpeeDiff-XL (512) | |
|---|---|---|---|---|---|---|
| ViT-VAE details | ||||||
| Size | Base | Large | XL | Base | Large | XL |
| Patch size | 16 | 16 | 16 | 32 | 32 | 32 |
| Layers | 4 | 8 | 9 | 4 | 8 | 9 |
| Hidden dims | 768 | 1024 | 1408 | 768 | 1024 | 1408 |
| Numbers of Heads | 12 | 16 | 22 | 12 | 16 | 22 |
| Dims per heads | 64 | 64 | 64 | 64 | 64 | 64 |
| Latent channels | 32 | 32 | 32 | 32 | 32 | 32 |
| Refined-DiT details | ||||||
| Size | Base | Large | XL | Base | Large | XL |
| Layers | 12 | 24 | 27 | 12 | 24 | 27 |
| Hidden dims | 768 | 1024 | 1408 | 768 | 1024 | 1408 |
| Numbers of Heads | 12 | 16 | 22 | 12 | 16 | 22 |
| Dims per heads | 64 | 64 | 64 | 64 | 64 | 64 |
| Patch size | 1 | 1 | 1 | 1 | 1 | 1 |
| Class drop ratio | 10% | 10% | 10% | 10% | 10% | 10% |
| VAE loss details | ||||||
| MSE weight | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
| LPIPS weight | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
| GAN weight | 0.1 | 0.1 | 0.1 | 0.1 | 0.1 | 0.1 |
| GAN starting step | 0 | 0 | 0 | 0 | 0 | 0 |
| GAN LeCam weight | 0.05 | 0.05 | 0.05 | 0.05 | 0.05 | 0.05 |
| GAN LeCam EMA | 0.999 | 0.999 | 0.999 | 0.999 | 0.999 | 0.999 |
| KL weight | 1e-5 | 1e-5 | 1e-5 | 1e-5 | 1e-5 | 1e-5 |
| Diffusion loss details | ||||||
| Time sampler | Log-norm (0.0, 1.0) | Uniform (0.0, 1.0) | Uniform (0.0, 1.0) | Log-norm (0.0, 1.0) | Uniform (0.0, 1.0) | Uniform (0.0, 1.0) |
| Loss weight | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
| Scheduler | Linear | Linear | Linear | Linear | Linear | Linear |
| Tweedie Pixel Reconstruction (TPR) loss details | ||||||
| L2 weight | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
| LPIPS weight | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
| REPA++ loss details | ||||||
| Latent REPA weight | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
| Diffusion REPA weight | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
| Diffusion REPA depth | 8 | 8 | 8 | 8 | 8 | 8 |
| Data augmentation details | ||||||
| Center Crop | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Random Horizontal Flip | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Training details | ||||||
| Batch size | 256 | 256 | 256 | 256 | 256 | 256 |
| Iterations | 1M | 1M | 1M | 1M | 1M | 1M |
| Epochs | 200 | 200 | 200 | 200 | 200 | 200 |
| Learning rate | 1e-4 | 1e-4 | 1e-4 | 1e-4 | 1e-4 | 1e-4 |
| Adam | 0.9 | 0.9 | 0.9 | 0.9 | 0.9 | 0.9 |
| Adam | 0.999 | 0.999 | 0.999 | 0.999 | 0.999 | 0.999 |
| Weight decay | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| EMA decay rate | 0.9999 | 0.9999 | 0.9999 | 0.9999 | 0.9999 | 0.9999 |
| Sampling details | ||||||
| SDE | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Solver | Euler–Maruyama | Euler–Maruyama | Euler–Maruyama | Euler–Maruyama | Euler–Maruyama | Euler–Maruyama |
| NFE | 250 | 250 | 250 | 250 | 250 | 250 |

Figure 8. Uncurated samples without guidance. On ImageNet with our SpeeDiff-XL (w/ REPA++) model (200 epochs). The class labels are loggerhead (33, left) and macaw (88, right).

Figure 9. Uncurated samples without guidance. On ImageNet with our SpeeDiff-XL (w/ REPA++) model (200 epochs). The class labels are sulphur-crested cockatoo (89, left) and golden retriever (207, right).

Figure 10. Uncurated samples without guidance. On ImageNet with our SpeeDiff-XL (w/ REPA++) model (200 epochs). The class labels are Siberian husky (250, left) and acoustic guitar (402, right).

Figure 11. Uncurated samples without guidance. On ImageNet with our SpeeDiff-XL (w/ REPA++) model (200 epochs). The class labels are baseball (429, left) and dogsled (537, right).

Figure 12. Uncurated samples without guidance. On ImageNet with our SpeeDiff-XL (w/ REPA++) model (200 epochs). The class labels are fire truck (555, left) and volcano (980, right).

Figure 13. Uncurated samples without guidance. On ImageNet with our SpeeDiff-XL (w/ REPA++) model (200 epochs). The class labels are white wolf (270, left) and Persian cat (283, right).

Figure 14. Uncurated samples without guidance. On ImageNet with our SpeeDiff-XL (w/ REPA++) model (200 epochs). The class labels are lion (291, left) and otter (360, right).

Figure 15. Uncurated samples without guidance. On ImageNet with our SpeeDiff-XL (w/ REPA++) model (200 epochs). The class labels are African elephant (386, left) and panda (388, right).

Figure 16. Uncurated samples without guidance. On ImageNet with our SpeeDiff-XL (w/ REPA++) model (200 epochs). The class labels are castle (483, left) and sports car (817).

Figure 17. Uncurated samples without guidance. On ImageNet with our SpeeDiff-XL (w/ REPA++) model (200 epochs). The class labels are suspension bridge (839, left) and pizza (963).