Manuscript Offprint
arXiv:2608.29335GenFirst: Generation Before Reconstruction for Stable End-to-End Latent Generative Modeling
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Latent generative models typically follow a two-stage pipeline, training a variational autoencoder for reconstruction and then a generative model on the frozen latent space. Since reconstruction-optimized latents are not necessarily generation-friendly, jointly training both models is an appealing alternative. However, direct end-to-end training remains challenging, as it is prone to latent collapse and faces an generation–reconstruction conflict. In this work, we revisit this problem by analyzing how different objectives shape the latent space and identify two key insights. First, the entropy term in the Kullback-Leibler divergence (KL) objective is essential for preventing collapse: reconstruction and prior fitting both tend to shrink the posterior, while entropy preserves non-degenerate latent uncertainty. Second, reconstruction and generation exhibit asymmetric learning dynamics: reconstruction is fast and strongly supervised, whereas generation is slower and harder to optimize. Motivated by these insights, we achieve the first direct end-to-end training without latent collapse and further propose GenFirst, a simple generation-before-reconstruction strategy. The generative objective first shapes the latent space under weak reconstruction pressure, after which reconstruction is progressively strengthened to recover visual details. We validate this strategy using both continuous autoregressive priors with exact likelihoods and SiT priors with implicit likelihoods. With our end-to-end objective and GenFirst, SiT achieves a gFID of 0.97 with CFG and 1.45 without CFG on ImageNet , while MMDiT reaches a GenEval score of 0.90 on text-to-image generation. Beyond image generation, we further extend the framework to shared visual latents for generation and representation learning, and to continuous unified text–image generation. These results demonstrate the generality of stable end-to-end latent learning across generative priors and modalities.
Date: September 1, 2026
Contact: zgt@mail.ustc.edu.cn
Project Page: https://tom-zgt.github.io/GenFirst/
1 Introduction
Latent generative models [2, 25, 44, 47, 53, 59, 63, 66, 74, 94] have become a dominant paradigm for high-resolution image generation. Instead of modeling images directly in pixel space, they first use a variational autoencoder (VAE) [38] or visual tokenizer to compress raw pixels into a low-dimensional latent space and then train a generative model on this latent distribution. Such a two-stage pipeline greatly reduces modeling

× Fixed reconstruction-
optimized latent space is
suboptimal for generation

× Generation loss causes the latent space collapse
(a) Conventional Latent Training
(b) Naïve End-to-End Training

× Generation loss does not directly shape the latent space
(c) REPA-E

✓ Prior loss shapes latent space
Entropy term prevents collapse
(d) Stable End-to-End Training (Ours)
Figure 1 Comparison of latent generative modeling paradigms. (a) Conventional two-stage methods train generative models on a fixed, reconstruction-optimized latent space that may be suboptimal for generation. (b) Naïve end-to-end training allows the generative loss to update the encoder but causes latent collapse. (c) REPA-E avoids collapse by stopping generative gradients and reshaping the latent space through an external representation-alignment loss, preventing the generative objective from directly shaping the latent space. (d) Our method enables direct end-to-end training: the prior loss shapes a generation-friendly latent space, while the entropy term prevents collapse.
complexity and has enabled huge progress in image generation. However, recent works [42, 83, 85, 90, 91] show that a VAE latent space optimized for reconstruction is not necessarily optimal for generation. Reconstruction tends to preserve instance-level details, making the latent distribution overly dispersed and harder for generative models to fit and sample from. This mismatch between reconstruction and generation has motivated diverse approaches, including improved autoencoders [83], representation alignment [85], pixel-space generation [5, 43, 49, 86, 93], and end-to-end training [14, 42, 90]. Despite their different designs, these approaches all address a shared question: what representation is best suited for generative modeling?
A natural solution is to jointly train the VAE and generative model, allowing the generative objective to directly shape the latent space. JetFormer [69] and FARMER [93] use invertible normalizing flows [20, 87] instead of VAEs, while SimFlow [90] jointly trains a VAE and normalizing flow with fixed VAE variance. REPA-E [42] jointly trains diffusion models with a VAE, but observes severe latent collapse when gradients from the generative model are propagated to the VAE. It therefore stops the diffusion gradient and instead uses representation alignment for indirect supervision. Together, these designs highlight the promise of end-to-end latent generative modeling, while leaving its feasibility and optimization mechanism unclear.
In this paper, we therefore ask the first fundamental question: Is direct end-to-end training of VAEs and generative models feasible? REPA-E [42] observed that naively propagating the generative loss through the VAE causes latent collapse. To answer this question, we revisit end-to-end training from the perspective of the VAE objective and identify a previously overlooked prior-entropy imbalance ( ). LDM [59] established a practical VAE training recipe widely adopted by modern latent generative models, where a small KL weight weakly regularizes the latent space. The KL regularizer in the VAE objective consists of a prior-fitting term and a negative posterior-entropy term. The former encourages latent samples to match the Gaussian prior, whereas the latter preserves posterior uncertainty and prevents degeneracy. In naive end-to-end training, the added generative objective introduces a strong prior-fitting force, while posterior entropy remains suppressed by the inherited small KL weight. This imbalance drives the posterior variance toward zero and the latent representations toward a nearly constant value, ultimately causing latent collapse ( ). Our analysis turns latent collapse from an empirical failure mode into a diagnosable and correctable imbalance in the objective: stable end-to-end training requires explicitly preserving posterior entropy and balancing it against prior fitting.
After resolving the collapse issue, end-to-end training still faces a generation–reconstruction conflict [83]: reconstruction favors preserving instance-specific details, whereas generation favors a smoother and more

Training steps →
Figure 2 Visualization of the asymmetric learning dynamics between reconstruction and generation. Reconstruction reaches good image fidelity within much fewer training steps, while generation requires a longer optimization process to learn a sampleable latent distribution.
modelable latent distribution, potentially discarding information needed for faithful reconstruction. This results in a generation–reconstruction trade-off, where improving one objective often degrades the other ( ).
Therefore, we ask a second fundamental question: How can we mitigate the generation–reconstruction conflict to learn a latent space better suited for generative modeling? As shown in figure 2, our experiments reveal asymmetric learning dynamics between reconstruction and generation ( ). Reconstruction improves rapidly under direct supervision, whereas generation requires longer optimization to learn a globally sampleable latent distribution. Strong reconstruction pressure early in training can therefore anchor the encoder to a reconstruction-oriented latent space that is difficult for the generative model to learn. Conversely, maintaining excessive generative pressure can limit the recovery of visual details needed for high-quality decoding. These observations suggest that the key is not only how the two objectives are weighted, but also when each objective shapes the latent space.
This observation motivates GenFirst, a simple generation-before-reconstruction strategy for our end-to-end training framework. Rather than first learning a reconstruction-oriented latent space and then forcing the generative model to chase it, GenFirst allows the generative objective to shape the latent distribution early, under weak reconstruction pressure and explicit entropy preservation. Once the latent distribution can be effectively modeled by the generative prior, reconstruction is progressively strengthened to recover visual details. This ordering aligns with the asymmetric learning dynamics of the two objectives: generation needs to shape the latent geometry early, while reconstruction, being faster and more directly supervised, can be strengthened later.
We instantiate GenFirst in two representative settings. First, we adopt a continuous autoregressive prior from FARMER [93], where exact likelihood is available and the prior–entropy balance can be directly analyzed. Second, we apply GenFirst to SiT [47], a flow-matching prior with an implicit likelihood, to evaluate whether the strategy generalizes beyond exact-likelihood models. Across class-to-image and text-to-image generation, GenFirst consistently improves the generation–reconstruction trade-off, providing a practical and reliable recipe for stable end-to-end latent generative modeling. Beyond image generation, we further extend our end-to-end formulation to shared visual latents that support generation, representation learning, and reconstruction. We also apply it to continuous unified text–image modeling, demonstrating its generality across modalities.
We summarize our contributions as follows:
-
We identify a prior–entropy imbalance as the key cause of latent collapse in direct end-to-end training and show that preserving posterior entropy is essential for preventing collapse.
-
We reveal the asymmetric learning dynamics of generation and reconstruction and propose a GenFirst strategy that first shapes a generation-friendly latent space and then progressively recovers visual details.
-
We validate GenFirst with both exact-likelihood continuous autoregressive priors and SiT-based flow-matching priors, achieving a FID of 0.97 on ImageNet and a GenEval score of 0.90 on text-to-image generation. We also validate its applicability across objectives and modalities by further experiments.
Representation Learning for Generation. Recent works explore how to obtain more generation-friendly representations. REPA [85] improves diffusion models by aligning their intermediate hidden states with features from pretrained visual encoders such as DINOv2 [6]. VA-VAE [83] applies representation alignment to VAE training, while REPA-E [42] further propagates the REPA loss through the diffusion model to align the VAE latent space in an end-to-end manner. Another line of work [43, 49, 73, 86, 87, 93] revisits the original pixel representation and removes the VAE entirely. However, pixel-space generative models still face the challenge of modeling high-dimensional data and often remain less efficient than latent generative models.
End-to-End Generative Modeling. Several works study joint training of autoencoders and generative models. LSGM [71] jointly trains a VAE with score-based generative models using a complex design. REPA-E [42] jointly trains a VAE and a diffusion model by stopping the diffusion gradient to the VAE and introducing a representation alignment loss. JetFormer [69] and FARMER [93] jointly train lossless normalizing flows [39, 87] and autoregressive models [63] to map the data distribution to a latent distribution modeled by AR priors. SimFlow and MIMFlow [12, 90] jointly train a VAE and normalizing flows by fixing the VAE variance. Unified Latents [27] first jointly learns bitrate-controlled latents with an encoder, diffusion prior, and decoder, then freezes the encoder and retrains a larger generation-oriented latent diffusion prior for efficient, high-quality synthesis. However, existing works still lack a systematic understanding of direct end-to-end training between VAEs and generative models, especially the cause of latent collapse, the conflict between generation and reconstruction in shaping the latent space, and a simple general training strategy. In this paper, we revisit end-to-end latent generative modeling from the VAE objective, identify a prior-entropy imbalance as the key cause of collapse, and propose a generation-before-reconstruction strategy.
3 Revisiting End-to-End Latent Generative Modeling
A standard latent generative model is trained in two stages. In the first stage, a VAE is trained to encode images into a continuous latent space. Given an image , the encoder predicts a mean and a variance , which define a Gaussian posterior . A latent vector is then sampled from this posterior and decoded by to reconstruct the image . The VAE is optimized with a reconstruction loss, typically an loss between and , together with perceptual losses computed on , including LPIPS and GAN losses. In practice, a weak KL regularization term, usually with a very small weight such as [59], is also applied to and to mildly constrain the posterior distribution. The VAE training objective is
In the second stage, the pretrained VAE is frozen and a generative prior is trained on latents sampled from the encoder posterior. For an exact-likelihood generative prior , the prior loss is
A natural end-to-end alternative is to jointly optimize the VAE and the prior:
While this lets the prior directly shape the latent space, it also changes the forces acting on the encoder posterior. Without proper balancing, the posterior can degenerate and cause latent collapse.
dominant

dominant (no entropy)
entropy term
| Obj. | Std | Effect | |
|---|---|---|---|
| ↑ | ↓ | recon. ↑gen. may hurt | |
| ↓ | ↓ | gen. ↑until collapse | |
| - | ↑ | prevents collapse |
★ A sample from the prior model at inference.
Figure 3 Qualitative effects of each objective on the latent posterior. Here .
3.1 Prior-Entropy Imbalance Causes Latent Collapse
To understand why naive end-to-end training collapses, we revisit the KL term. For the standard Gaussian prior , the KL divergence can be decomposed as
The prior-fitting term pulls latent samples toward high-probability regions of the reference prior . The entropy term counteracts this effect by keeping the posterior from degenerating into point masses.
As described above, naive end-to-end training treats the VAE KL loss as an engineering regularizer and keeps the same tiny weight following LDM [59], typically . This overlooks the entropy-preserving role of the KL term when a learned prior loss is introduced. Once the generative objective is added, it introduces additional prior-fitting pressure and breaks the balance between prior fitting and posterior entropy: . This prior-entropy imbalance drives the posterior variance toward zero and pushes the posterior means to collapse to nearly the same code, resulting in a collapsed latent space. Based on this analysis, we explicitly separate prior fitting and posterior entropy in equation (3), and use to denote the generative objective that shapes the latent distribution:
In this view, the entropy term is not a minor regularizer, but rather provides a counteracting force to learned prior fitting and prevents latent collapse.
To further illustrate how different losses affect the latent space, we visualize two statistics: and . measures how widely the posterior means are distributed across images, while measures the average posterior uncertainty. As shown in figure 3, different objectives push the latent posterior in different directions. When reconstruction dominates, increases but decreases: images become easier to reconstruct, but the latent space contains gaps between codes and may be difficult to sample from. When prior fitting dominates without sufficient entropy, both and decrease, causing the posterior to collapse toward a nearly constant code. Adding the entropy term increases , increases posterior overlap and reduces gaps between sampled codes, which prevents collapse and improves sampleability. Additionally, we discuss a subtle shortcut solution behind the collapse behavior in section B.
3.2 Generation--Reconstruction Trade-off
After preventing latent collapse with entropy, end-to-end training still faces a generation–reconstruction conflict. To study this conflict, we keep the reconstruction-related loss weights the same as in the VAE training setting and vary only the prior loss weight. As shown in figure 5(a), increasing improves generation but hurts reconstruction: gFID improves from 120.60 to 8.06, while rFID worsens from 0.53 to 4.20. This suggests that generation and reconstruction favor different operating points along the observed trade-off and cannot generally reach their individual optima at one prior weight. We analyze this problem using the continuous autoregressive prior from FARMER [93], where the exact likelihood is available: .

(a) Latent dim

(b) VAE size
(c) Prior size
Figure 4 Larger latent dimension, VAE capacity, and prior capacity for balancing generation and reconstruction.
This setting allows us to directly control the strength of the generative objective. We then explore three natural strategies to mitigate this conflict, but find that they still fail to resolve it.
Increasing the latent dimension. We first increase the latent dimension to relax the information bottleneck [83]. As shown in figure 4a, larger latent dimensions can tolerate stronger prior weights, but the improvement is limited: even increasing the dimension from 16 to 128 only supports before reconstruction deteriorates. Moreover, a larger latent dimension makes the AR prior harder to model. Thus, increasing latent dimension shifts the trade-off but does not remove the generation–reconstruction conflict.
Scaling the VAE. We next test whether a stronger VAE can recover details from a more generation-friendly latent space. Compared with the default VAE (block = 2), we increase both encoder and decoder depth (block = 4), or increase only the decoder depth. As shown in figure 4b, scaling the VAE does not alleviate the conflict and can even hurt reconstruction, suggesting that simply increasing VAE capacity is insufficient.
Scaling the generative model. Finally, we scale the AR model size to better fit complex latent distributions. As shown in figure 4c, a larger prior improves generation but further degrades reconstruction, indicating stronger shaping pressure on the latent space. Therefore, scaling the prior can amplify the dominance of the generation objective rather than resolving the conflict.
3.3 Loss Balancing Is Not Enough
The above results show that increasing the latent dimension, scaling the VAE, or scaling the generative model does not remove the generation–reconstruction conflict. We next examine whether better loss balancing can alleviate it. As shown in figure 5(a), the prior loss weight strongly affects this trade-off. We therefore test several common weighting schemes with simple tuning, including constant weighting, cosine decay, and PI-style adaptive control [62]. However, table 2 shows that none consistently achieves a satisfactory balance, highlighting the difficulty of dynamically balancing the two objectives.
To understand this failure, we revisit the asymmetric learning dynamics between reconstruction and generation. As shown in figure 2, reconstruction is a fast and strongly supervised mapping problem: given latent samples, the decoder receives direct supervision from the target images and can quickly recover visual details. In contrast, generation is a slower distribution-modeling problem: the prior must learn the global latent distribution before it can produce realistic samples. Therefore, reconstruction can reach good image fidelity within far fewer training steps, whereas generation requires substantially longer training to produce recognizable samples. Based on this observation, we propose a generation-before-reconstruction training strategy (GenFirst), which treats the conflict as an optimization-order problem rather than a pure loss-balancing problem. GenFirst lets the generative prior shape a generation-friendly latent space and then strengthens reconstruction to recover visual details within the latent space.
4 Method
Building on the analysis in section 3, we jointly optimize the VAE and the latent generative model under a unified end-to-end objective. We first describe the general formulation, then instantiate the latent prior with a continuous autoregressive model [93] or SiT [47], and finally present GenFirst, our generation-before-reconstruction training strategy.
4.1 Stable End-to-End Latent Generative Training
Given an image , the encoder predicts the posterior parameters and , from which we sample , . The decoder reconstructs the image as . We optimize the unified end-to-end objective in equation (6), where the form of depends on the generative model.
Continuous autoregressive prior. For the exact-likelihood autoregressive model, we minimize the latent negative log-likelihood:
SiT prior. For SiT, we train a velocity field instead of an explicit likelihood. Given and , we construct
and optimize
Since SiT perturbs z with standard Gaussian noise, the latent value scale must remain bounded; otherwise, an excessively large z would make the injected noise relatively too small, allowing the model to exploit a shortcut to reduce the denoising loss. We therefore keep the standard VAE KL regularization with a small weight for the SiT prior loss:
This small KL term is used only for latent-scale regularization and is distinct from the explicit posterior-entropy term in equation (6), which provides the primary anti-collapse regularization.
4.2 Continuous Autoregressive Prior
We instantiate the exact-likelihood generative prior with the continuous autoregressive model from FARMER [93], and refer to this end-to-end autoregressive instantiation as EAR. EAR directly models the VAE latent distribution with an exact likelihood, providing a tractable prior loss for end-to-end training.
Given an image , the VAE encoder produces a latent tensor . We flatten the spatial dimensions of into a sequence of continuous tokens: , . The autoregressive prior factorizes the latent density as: , where denotes the class or text condition. We implement this prior with a causal Transformer following FARMER [93]. Condition tokens are placed at the beginning of the sequence, and each latent token attends only to previous condition and latent tokens. At position , the Transformer hidden state is used to predict the conditional density of the next continuous token . Since each is continuous, we cannot use a discrete softmax head. Instead, we follow [67, 69, 93] and use a Gaussian mixture model (GMM) head. Given the hidden state , the head predicts mixture weights, means, and variances for a -component diagonal Gaussian mixture:
The prior loss is the autoregressive negative log-likelihood in equation (7). During end-to-end training, this loss updates both the AR prior and the VAE encoder. Therefore, EAR not only learns to fit the current latent distribution, but also provides gradients that reshape the VAE latent space into one that is easier for the autoregressive prior to model.
4.3 Generation-before-Reconstruction Training
Motivated by the asymmetric learning dynamics discussed in section 3.3, we propose generation-before-reconstruction (GenFirst), a two-stage schedule based on the same end-to-end objective in equation (6). Throughout training, we keep the reconstruction, LPIPS, and GAN weights unchanged from standard VAE training, and tie the entropy weight to the prior weight, i.e., . GenFirst uses a larger prior weight in the generation-first stage and a smaller one in the reconstruction-refinement stage:
In the generation-first stage, the stronger generative objective plays the main role in shaping a generation-friendly latent space, while reconstruction preserves image information and posterior entropy prevents latent collapse. In the reconstruction-refinement stage, we reduce the prior and entropy weights so that reconstruction receives greater relative influence and recovers visual details without substantially disrupting the generation-friendly latent space formed in the first stage. In practice, we use a longer generation-first stage for latent-space formation and a shorter reconstruction-refinement stage for recovering visual details.
Unlike cosine schedules or PI-style adaptive weighting [62], GenFirst does not merely adjust loss magnitudes; it explicitly separates latent-space formation from reconstruction refinement according to the asymmetric learning dynamics of generation and reconstruction.
5 Experiments
5.1 Experimental Setup
Architecture configurations, dataset details, and stage-specific optimization details are provided in section C.1.
Datasets and metrics. We evaluate class-conditional generation on ImageNet [18] at and resolutions. For text-to-image generation, we train on publicly available datasets [13, 15, 16, 18, 35, 51, 54], and evaluate on GenEval [24] and DPG-Bench [31]. For ImageNet generation, we report gFID [28], Inception Score (IS) [60], Precision, and Recall [40] using 50K generated samples. For reconstruction, we report rFID, PSNR [33], LPIPS [89], and SSIM [77].
EAR. EAR combines the VAE architecture from MAR [44], using the f16d16 latent setting, with the continuous autoregressive prior from FARMER [93]. The VAE and AR prior are jointly trained from scratch using our end-to-end objective with GenFirst. We set for the 500-epoch generation-first stage and reduce both weights to 0.25 for the 140-epoch reconstruction-refinement stage. We use a batch size of 512 and linearly warm up the learning rate to during the first 10 epochs, then keep it constant.
EiT. EiT denotes our diffusion-based instantiation of the end-to-end framework. We use SiT [47] for class-conditional ImageNet generation and MMDiT [22] for text-to-image generation. Following REPA-E [42], training consists of an end-to-end phase followed by a prior-only phase. During the end-to-end phase, the VAE and SiT are jointly optimized using our end-to-end objective with GenFirst. We set for the 80-epoch generation-first stage and reduce both weights to 0.01 for the 40-epoch reconstruction-refinement stage. During the prior-only phase, we freeze the VAE and train SiT for an additional 800 epochs. Other optimization settings follow REPA-E [42].
High-resolution generation. For both EAR and EiT, we reuse the VAE trained at resolution and freeze it. We then train only the corresponding AR or SiT generative prior at resolution.
Text-to-image generation. We use the same two-phase training protocol for text-to-image generation. During the end-to-end phase, we consider two variants. Version A jointly trains SiT-XL/2 and the FLUX.1-dev VAE on ImageNet using the same end-to-end protocol as class-conditional EiT. Version B jointly trains a MMDiT-L/2 [22] and the FLUX.1-dev VAE directly on the text-to-image training data. During the prior-only phase, we freeze the resulting VAE and train the target MMDiT-XL/2 on the text-to-image dataset. Following UniDDT [75] and PixelGen [50], we train MMDiT at for 200K steps and then at for 80K steps. We further fine-tune it on OpenAI-4o datasets [13] for 40K steps as .

(a) Fixed prior weight
(b) Reconstruction-refinement-stage prior weight
(c) Generation-first-stage duration
Figure 5 Generation–reconstruction trade-off and GenFirst schedule ablations. We report gFID (blue solid line) and rFID (orange dashed line), where lower is better. (a) Effect of prior loss weight. All models are trained with the same architecture and training budget. No fixed prior weight achieves a favorable generation–reconstruction trade-off. (b) Effect of the reconstruction-refinement-stage prior weight. A moderate prior weight in the reconstruction refinement stage gives the best generation–reconstruction trade-off. (c) Effect of the generation-first-stage duration. gFID decreases with more generation-first-stage training epochs and saturates with further training. Circled points indicate the default settings.
5.2 Analysis
For ease of analysis, unless otherwise specified, we use the exact-likelihood EAR as the default setting, and report gFID and IS without guidance.
Does end-to-end training learn a generation-friendly latent space? We compare four protocols in table 1: Frozen VAE is the standard two-stage baseline; Naive E2E propagates the generative loss to the VAE without explicit entropy preservation; Stable E2E uses our entropy-preserving objective and GenFirst strategy; and Frozen E2E-trined VAE freezes the VAE learned by our Stable E2E objective with GenFirst and trains a new prior from scratch. Naive E2E collapses for both EAR and SiT, whereas Stable E2E remains stable. More importantly, replacing the reconstruction-trained VAE with the frozen E2E-trained VAE substantially improves a newly trained prior: gFID decreases from 36.33 to 5.67 for EAR and from 7.90 to 3.57 for SiT. These results show that stable end-to-end training learns a more generation-friendly latent space. EAR and SiT exhibit different behaviors during joint training. For EAR, the tractable likelihood directly models the VAE latent density, so Stable E2E slightly outperforms retraining the prior on the frozen E2E-trained VAE. In contrast, SiT lacks an explicit likelihood over VAE latents, making joint VAE–SiT optimization less effective than freezing the E2E-trained VAE and training a new SiT prior.
Table 1 Stable end-to-end training learns a generation-friendly latent space. EAR is trained until gFID converges, whereas SiT is evaluated after 80 epochs. Frozen E2E-trained VAE freezes the VAE obtained from Stable E2E and trains a new prior from scratch. Collapsed indicates numerical instability with a NaN training loss.
| EAR | |||||
|---|---|---|---|---|---|
| Setting | gFID↓ | IS↑ | rFID↓ | PSNR↑ | SSIM↑ |
| Frozen VAE | 36.33 | 46.55 | 0.53 | 26.18 | 0.72 |
| Naive E2E | 294.90 | 1.48 | 0.70 | 25.11 | 0.68 |
| Stable E2E (ours) | 5.10 | 145.22 | 1.26 | 21.93 | 0.58 |
| Frozen E2E-trained VAE | 5.67 | 137.39 | 1.26 | 21.93 | 0.58 |
| SiT (80 epochs) | |||||
|---|---|---|---|---|---|
| Setting | gFID↓ | IS↑ | rFID↓ | PSNR↑ | SSIM↑ |
| Frozen VAE | 7.90 | 122.60 | 0.74 | 25.67 | 0.72 |
| Naive E2E | Collapsed | ||||
| Stable E2E (ours) | 92.38 | 13.94 | 0.57 | 25.13 | 0.71 |
| Frozen E2E-trained VAE | 3.57 | 166.49 | 0.57 | 25.13 | 0.71 |
How does prior weighting affect the generation–reconstruction trade-off? As shown in figure 5(a), increasing the prior loss weight improves generation but degrades reconstruction. When increases from 0 to 1.0, gFID improves from 120.60 to 8.06 and IS increases from 13.07 to 113.51, showing that stronger prior fitting makes the latent distribution easier to model. However, reconstruction quality drops substantially: rFID worsens from 0.53 to 4.20, PSNR decreases from 26.18 to 19.66, and SSIM decreases from 0.72 to 0.45. This confirms that the key challenge in end-to-end training is balancing a generation-friendly latent distribution with sufficient information for faithful decoding.
Table 2 Comparison of loss balancing strategies. GenFirst denotes our generation-before-reconstruction schedule. This experiment evaluates whether the generation-reconstruction conflict can be solved by simple weighting schedules, or whether the order of optimization matters. Collapsed indicates numerical instability with a NaN training loss.
| Strategy | gFID (w. CFG)↓ | IS (w. CFG)↑ | rFID↓ | PSNR↑ | SSIM↑ |
|---|---|---|---|---|---|
| GenFirst | 2.10 | 246.70 | 1.26 | 21.93 | 0.58 |
| Constant | 3.04 | 251.2 | 3.27 | 19.52 | 0.48 |
| Cosine decay | 5.45 | 136.11 | 0.66 | 23.87 | 0.67 |
| PI adaptive | Collapsed | ||||
| Frozen VAE | 6.97 | 147.04 | 0.53 | 26.18 | 0.72 |
Can simple loss balancing strategies resolve the conflict? We compare GenFirst with three representative weighting baselines: constant weighting, cosine decay, and PI-based adaptive control [62]; full settings are provided in section C.2. As shown in table 2, the tested baselines reach different points on the generation–reconstruction trade-off. Constant weighting achieves reasonable generation but degrades reconstruction (gFID 3.04, rFID 3.27), whereas cosine decay improves reconstruction at the cost of generation (gFID 5.45, rFID 0.66). The PI-controlled run becomes numerically unstable in our setting. GenFirst achieves the best gFID among the evaluated strategies, with a gFID of 2.10, an IS of 246.70, and an rFID of 1.26. These results suggest that it is difficult to solve the conflict by simply tuning or scheduling the prior weight; the optimization order is critical.
Effect of the reconstruction-refinement-stage prior weight. We further study how much prior pressure should be kept during the reconstruction-refinement stage. As shown in figure 5(b), reducing the weight from 0.5 to 0.25 improves both objectives: gFID decreases from 5.55 to 5.09, while rFID decreases from 2.93 to 1.29. When the weight is further reduced to 0.1, reconstruction improves slightly, but generation degrades to a gFID of 7.24. We therefore set , which provides the best trade-off among the tested values.
Effect of the generation-first-stage duration. We also vary the first-stage training duration from 200 to 560 epochs. As shown in figure 5(c), the results remain relatively stable across this range, with gFID varying from 6.10 to 6.42 and rFID from 1.21 to 1.42. Training for 500 epochs achieves the lowest gFID and rFID among the evaluated settings, while extending training to 560 epochs brings no further improvement. We therefore use 500 epochs as the default generation-first-stage training epoch.
Scalability of the EAR prior. We first jointly train the VAE with an EAR-L prior using GenFirst. We then freeze the VAE and train new EAR priors of different sizes from scratch on its latents, using a lightweight 6-layer normalizing-flow adapter [67, 87]. As shown in table 3(a), scaling the prior from 174M to 1.4B parameters consistently reduces gFID from 13.85 to 3.19, while IS increases from 79.00 to 181.99. This shows that GenFirst-trained latents continue to benefit from larger generative priors.
Effect of GMM capacity. Using the same frozen VAE, we fix the autoregressive backbone to EAR-L and train new priors from scratch with different numbers of GMM components . As shown in table 3(b), increasing from 32 to 1024 improves gFID from 6.08 to 5.01 and IS from 132.70 to 144.63. Further increasing to 4096 brings only marginal gains, indicating that the benefit largely saturates beyond in this setting.
Comparison with REPA-E. We compare EiT, which jointly optimizes SiT [47] and the VAE using our end-to-end objective with GenFirst, with REPA [85] and REPA-E [42] under the same 80-epoch training budget in table 4. Compared with REPA-E, EiT consistently achieves lower gFID across VAE initializations: 3.78 vs. 4.34 from scratch, 3.57 vs. 4.07 with SD-VAE initialization, and 2.79 vs. 3.46 with VA-VAE initialization. These results show that our end-to-end formulation with GenFirst further improves generation beyond REPA-E.
Table 3 Scaling behavior of EAR. The VAE is first jointly trained with an EAR-L prior under GenFirst; it is then frozen while we separately vary the EAR model size and the number of GMM components.
| Model | #Params | gFID↓ | IS↑ |
|---|---|---|---|
| B | 174M | 13.85 | 79.00 |
| L | 477M | 5.67 | 137.39 |
| XL | 775M | 3.91 | 163.71 |
| XXL | 1.4B | 3.19 | 181.99 |
| (b) GMM components. | ||
|---|---|---|
| GMM | gFID↓ | IS↑ |
| 32 | 6.08 | 132.70 |
| 64 | 5.67 | 137.39 |
| 128 | 5.64 | 137.24 |
| 1024 | 5.01 | 144.63 |
| 4096 | 5.00 | 144.99 |
Table 4 Comparison with REPA-E. We compare EiT with REPA and REPA-E under different VAE initialization settings. All models are evaluated after 80 training epochs.
| Method | gFID↓ | IS↑ | Prec.↑ | Rec.↑ |
|---|---|---|---|---|
| REPA [85] | 7.90 | 122.60 | 0.70 | 0.65 |
| REPA-E (scratch) [42] | 4.34 | 154.30 | 0.75 | 0.63 |
| REPA-E (SD-VAE init.) [42] | 4.07 | 161.80 | 0.76 | 0.62 |
| REPA-E (VA-VAE init.) [42] | 3.46 | 159.80 | 0.77 | 0.63 |
| EiT (scratch) | 3.78 | 161.42 | 0.78 | 0.61 |
| EiT (SD-VAE init.) | 3.57 | 166.49 | 0.77 | 0.62 |
| EiT (VA-VAE init.) | 2.79 | 175.40 | 0.78 | 0.63 |
Table 5 Effect of an optional normalizing flow. The VAE is frozen when training each AR prior.
| Setting | gFID↓ | IS↑ |
|---|---|---|
| Frozen VAE + AR | 110.10 | 14.79 |
| Frozen VAE + NF + AR | 36.33 | 46.55 |
| Stable E2E VAE + AR | 5.27 | 149.28 |
| Stable E2E VAE + NF + AR | 5.12 | 151.17 |

Figure 6 Class-to-image samples from EiT (row 1,2) and EAR (row 3,4) with guidance(CFG scale=4).
Optional normalizing flow. Following FARMER [93], we examine whether an additional normalizing flow (NF) is still needed for continuous AR modeling. As shown in table 5, adding NF to the frozen-VAE setting improves gFID from 110.10 to 36.33, indicating that NF transforms the reconstruction-optimized latent distribution into one that is easier for the AR prior to model. After end-to-end VAE training, however, the gain becomes marginal. This suggests that end-to-end training already produces a latent space well suited to continuous AR modeling, making the additional flow largely optional.
5.3 Main Results
Class-conditional ImageNet generation. We report results on ImageNet and in tables 6 and 7. We make three main observations. First, GenFirst benefits autoregressive generation. EAR uses only 312M parameters and achieves a guided gFID of 2.10, outperforming substantially larger continuous AR baselines, including GIVT (2.59), FARMER (3.60), and JetFormer (6.64). Second, using our end-to-end objective with GenFirst, EiT achieves a guided gFID of 0.988 on ImageNet after only 480 training epochs. To our knowledge, EiT is the first diffusion model reported to reach an FID below 1.0 without using the Fréchet Distance (FD) loss [82]. With 800 epochs, EiT further achieves an unguided gFID of 1.45, the best result among the diffusion models compared in table 6. Third, by jointly shaping the VAE latent space with the generative objective, GenFirst makes the latent space easier to model and substantially accelerates generative modeling. After only 80 epochs, EiT achieves an unguided gFID of 2.79, compared with 7.90 for REPA and 3.46 for REPA-E. These results demonstrate that the learned latent space supports both

head and shoulders portrait of a woman with sleek dark hair and gold earrings, high key white studio lighting.
upper body portrait of a woman under cherry blossoms, dappled sunlight, petals in the air.
upper body portrait of a woman in a sleek white spacesuit, helmet under her arm, soft blue rim lighting.

a-fluffy-white-cat-wearing-round-sunglasses-stud.
a close-up macro photograph of a blue morpho butterfly on a wet leaf.
a desert canyon with layered sandstone walls, wind-carved grooves, harsh midday sun.

a close-up portrait of an elderly fisherman with a weathered face and a white beard, soft window light, 85mm photograph.
cinematic upper body portrait of a young woman lit by neon signs at night, teal and magenta, shallow depth of field.
a red cube on top of a blue sphere.

a library where the bookshelves are made of waterfalls.
colorful ink diffusing in clear water, wispy tendrils, high-speed photograph.
a wave curling over with translucent turquoise water and spray, close-up.

a horse galloping trough shallow water, splashes and flying mane.
an astronaut riding a horse on the moon, earth in the sky.
a border collie leaping to catch a frisbee, grass and dirt kicked up.

a transparent glass teapot filled with blooming tea, backlit on a wooden table.
an ocean of liquid mercury under a violet sky with three moons, mirror-like reflections.
a photo of five colored pencils fanned out, one red, two blue and two green.
Figure 7 Qualitative comparison of text-to-image generation. Both settings use the same model and training data; the left uses the FLUX.1-dev VAE and the right our end-to-end trained VAE. End-to-end training improves perceptual quality and fine-grained textures (rows 1–3), produces more plausible and coherent images (rows 4–5), and improves text alignment (row 6).
Table 6 Class-conditional performance on ImageNet 256×256. * indicates the results obtained by sampling images with low-temperature strategy.
| Method | Epochs | #Params | W/o guidance | W/ guidance | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| gFID↓ | IS↑ | Prec.↑ | Rec.↑ | gFID↓ | IS↑ | Prec.↑ | Rec.↑ | |||
| Pixel Space | ||||||||||
| ADM [19] | 400 | 554M | 10.94 | 101.0 | 0.69 | 0.63 | 3.94 | 215.8 | 0.83 | 0.53 |
| RIN [34] | 480 | 410M | 3.42 | 182.0 | - | - | - | - | - | - |
| PixelFlow [9] | 320 | 677M | - | - | - | - | 1.98 | 282.1 | 0.81 | 0.60 |
| PixNerd [73] | 160 | 700M | - | - | - | - | 2.15 | 297.0 | 0.79 | 0.59 |
| SiD2 [30] | 1280 | - | - | - | - | - | 1.38 | - | - | - |
| TARFlow [87] | 320 | 1.4B | - | - | - | - | 4.69 | - | - | - |
| JetFormer [69] | 500 | 2.8B | - | - | - | - | 6.64 | - | 0.69 | 0.56 |
| FARMER [93] | 320 | 1.9B | - | - | - | - | 3.60 | 269.2 | 0.81 | 0.51 |
| JiT [43] | 600 | 2B | - | - | - | - | 1.82 | 292.6 | 0.79 | 0.62 |
| PixelDiT [86] | 320 | 797M | - | - | - | - | 1.61 | 292.7 | 0.78 | 0.64 |
| DeCo [49] | 600 | 682M | - | - | - | - | 1.69 | 304.0 | 0.79 | 0.63 |
| Latent Autoregressive | ||||||||||
| GIVT [67] | 500 | 1.67B | - | - | - | - | 2.59 | - | 0.81 | 0.57 |
| VAR [66] | 350 | 2.0B | 1.92 | 323.1 | 0.82 | 0.59 | 1.73 | 350.2 | 0.82 | 0.60 |
| MAR [44] | 800 | 943M | 2.35 | 227.8 | 0.79 | 0.62 | 1.55 | 303.7 | 0.81 | 0.62 |
| xAR [58] | 800 | 1.1B | - | - | - | - | 1.24 | 301.6 | 0.83 | 0.64 |
| Latent Diffusion | ||||||||||
| DiT [53] | 1400 | 675M | 9.62 | 121.5 | 0.67 | 0.67 | 2.27 | 278.2 | 0.83 | 0.57 |
| MaskDiT [94] | 1600 | 675M | 5.69 | 177.9 | 0.74 | 0.60 | 2.28 | 276.6 | 0.80 | 0.61 |
| SiT [47] | 1400 | 675M | 8.61 | 131.7 | 0.68 | 0.67 | 2.06 | 270.3 | 0.82 | 0.59 |
| MDTv2 [23] | 1080 | 675M | - | - | - | - | 1.58 | 314.7 | 0.79 | 0.65 |
| REPA [85] | 800 | 675M | 5.78 | 158.3 | 0.70 | 0.68 | 1.29 | 306.3 | 0.79 | 0.64 |
| VA-VAE [83] | 800 | 675M | 2.17 | 205.6 | 0.77 | 0.65 | 1.35 | 295.3 | 0.79 | 0.65 |
| DDT [74] | 400 | 675M | 6.27 | 154.7 | 0.68 | 0.69 | 1.26 | 310.6 | 0.79 | 0.65 |
| RAE [91] | 800 | 839M | 1.51 | 242.9 | 0.79 | 0.63 | 1.13 | 262.6 | 0.78 | 0.67 |
| End-to-End Generative models | ||||||||||
| SimFlow [90] | 160 | 1.4B | 13.72 | 105.2 | 0.67 | 0.62 | 2.15 | 276.8 | 0.83 | 0.57 |
| REPA-E [42] | 800 | 675M | 1.69 | 219.3 | 0.77 | 0.67 | 1.12 | 302.9 | 0.79 | 0.66 |
| EAR (Ours) (w/o GenFirst) | 500 | 312M | 5.17 | 147.5 | 0.70 | 0.59 | 3.04 | 251.2 | 0.73 | 0.55 |
| EAR (Ours) | 500+140 | 312M | 6.10/3.83* | 138.4/164.0* | 0.65 | 0.64 | 2.10 | 246.7 | 0.72 | 0.59 |
| EiT (Ours) | 80 | 675M | 2.79 | 175.4 | 0.78 | 0.63 | 1.38 | 271.3 | 0.79 | 0.63 |
| EiT (Ours) | 480 | 675M | 1.60 | 216.8 | 0.78 | 0.65 | 0.988 | 270.7 | 0.79 | 0.67 |
| EiT (Ours) | 800 | 675M | 1.45 | 226.7 | 0.79 | 0.65 | 0.969 | 283.4 | 0.79 | 0.67 |
Table 7 Class-conditional performance on ImageNet 512×512.
| Method | Epochs | #Params | gFID | IS | Prec. | Rec. |
|---|---|---|---|---|---|---|
| BigGAN-deep [4] | - | 158M | 8.43 | 177.9 | 0.88 | 0.29 |
| StyleGAN-XL [61] | - | - | 2.41 | 267.8 | 0.77 | 0.52 |
| VAR [66] | 350 | 2.3B | 2.63 | 303.2 | - | - |
| MAGVIT-v2 [84] | 1080 | 307M | 1.91 | 324.3 | - | - |
| MAR [44] | 800 | 481M | 1.73 | 279.9 | - | - |
| XAR [58] | 800 | 608M | 1.70 | 281.5 | - | - |
| ADM [19] | 871+210 | 731M | 3.85 | 221.7 | 0.84 | 0.53 |
| SiD2 [30] | - | - | 1.50 | - | - | - |
| PixNerd [73] | 340 | 700M | 2.84 | 245.6 | 0.80 | 0.59 |
| JiT [43] | 600 | 2B | 1.78 | 306.8 | - | - |
| PixelDiT [86] | 850 | 797M | 1.81 | 278.6 | 0.78 | 0.67 |
| DeCo [49] | 340 | 682M | 2.22 | 290.0 | 0.80 | 0.60 |
| DiT [53] | 600 | 674M | 3.04 | 240.8 | 0.84 | 0.54 |
| SiT [47] | 600 | 674M | 2.62 | 252.2 | 0.84 | 0.57 |
| REPA [85] | 200 | 675M | 2.08 | 274.6 | 0.83 | 0.58 |
| Unified Latents [27] | - | - | 1.31 | - | - | - |
| DDT [74] | 356 | 675M | 1.28 | 305.1 | 0.80 | 0.63 |
| EDM2 [37] | - | 1.5B | 1.25 | - | - | - |
| RAE [91] | 400 | 839M | 1.13 | 259.6 | 0.80 | 0.63 |
| STARFlow [25] | - | 1.4B | 3.00 | - | - | - |
| SimFlow + REPA-E | 160 | 1.4B | 2.74 | 304.9 | 0.81 | 0.57 |
| EAR (Ours) | 320 | 940M | 1.87 | 280.0 | 0.82 | 0.58 |
| EiT (Ours) | 80 | 675M | 1.63 | 278.9 | 0.81 | 0.61 |
| EiT (Ours) | 400 | 675M | 1.23 | 286.1 | 0.80 | 0.63 |
Table 8 Quantitative results on GenEval and DPG-Bench benchmarks. Best results are highlighted in bold. † indicates generation with prompt rewriting. * indicates replacing the original CLIP [55] text encoder with Qwen3-1.7B [1].
| Method | #Params | GenEval | DPG-Bench | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Single-Obj | Two-Obj | Count | Color | Position | Attr | Overall | |||
| PixArt [8] | 4.3B+0.6B | 0.98 | 0.50 | 0.44 | 0.80 | 0.08 | 0.07 | 0.48 | 71.11 |
| DALL-E 2[57] | - | 0.94 | 0.66 | 0.49 | 0.77 | 0.10 | 0.19 | 0.52 | - |
| Show-o [80] | 1.3B | 0.95 | 0.52 | 0.49 | 0.82 | 0.11 | 0.28 | 0.53 | - |
| Emu3-Gen [76] | 8B | 0.98 | 0.71 | 0.34 | 0.81 | 0.17 | 0.21 | 0.54 | 80.60 |
| SDXL[59] | 0.81B+2.6B | 0.98 | 0.74 | 0.39 | 0.85 | 0.15 | 0.23 | 0.55 | 74.65 |
| Janus[79] | 1.3B | 0.97 | 0.68 | 0.30 | 0.84 | 0.46 | 0.42 | 0.61 | 79.68 |
| JanusFlow [48] | 1.3B | 0.97 | 0.59 | 0.45 | 0.83 | 0.53 | 0.42 | 0.63 | 80.09 |
| FLUX.1 [Dev] [3] | 4.8B+12B | 0.98 | 0.81 | 0.74 | 0.79 | 0.22 | 0.45 | 0.66 | - |
| DALL-E 3[56] | - | 0.96 | 0.87 | 0.47 | 0.83 | 0.43 | 0.45 | 0.67 | 83.50 |
| SD3-Medium[22] | 5.5B+2B | 0.99 | 0.94 | 0.72 | 0.89 | 0.33 | 0.60 | 0.74 | 84.08 |
| Show-o2-7B [81] | 7B | 1.00 | 0.87 | 0.58 | 0.92 | 0.52 | 0.62 | 0.76† | 86.14 |
| MetaQuery-XL[52] | 7B | - | - | - | - | - | - | 0.80† | 82.05 |
| Janus-Pro-7B [10] | 7B | 0.99 | 0.89 | 0.59 | 0.90 | 0.79 | 0.66 | 0.80 | 84.19 |
| Z-Image-Turbo [65] | 4B+6B | 1.00 | 0.95 | 0.77 | 0.89 | 0.65 | 0.68 | 0.82 | 84.86 |
| BLIP3-o-8B[7] | 8B | - | - | - | - | - | - | 0.84 | 81.60 |
| FLUX.2 [Dev] [41] | 24B+32B | 1.00 | 0.99 | 0.79 | 0.93 | 0.73 | 0.78 | 0.87 | 87.57 |
| Qwen-Image [78] | 7B+20B | 0.99 | 0.92 | 0.89 | 0.88 | 0.76 | 0.77 | 0.87 | 88.32 |
| BAGEL-7B[17] | 7B | 0.98 | 0.95 | 0.84 | 0.95 | 0.78 | 0.77 | 0.88† | - |
| EiT (Ours) | 0.1B+1.3B | 1.00 | 0.94 | 0.83 | 0.94 | 0.87 | 0.82 | 0.90 | 82.60 |
| EiT (Ours)* | 1.7B+1.3B | 0.99 | 0.94 | 0.73 | 0.96 | 0.89 | 0.84 | 0.89 | 84.65 |

(a) FID convergence

(b) GenEval score

(c) DPG score
Figure 8 End-to-end training using GenFirst accelerates convergence across generation tasks. (a) FID-50K without classifier-free guidance on class-conditional ImageNet generation. (b–c) GenEval and DPG scores for EiT Versions A/B and the SiT+REPA baseline on text-to-image generation. Both EiT variants surpass the baseline's 200K-step performance by 80K steps. Lower FID and higher GenEval and DPG scores indicate better performance.
exact-likelihood autoregressive and flow-matching generative priors.
At ImageNet , EAR achieves a gFID of 1.87, while EiT reaches 1.23 after 400 epochs, showing that the end-to-end trained VAE at ImageNet transfers effectively to higher-resolution generation.
Text-to-image generation. For text-to-image generation, the 1.3B EiT achieves an overall GenEval [24] score of 0.90, outperforming large-scale text-to-image models such as FLUX.2-dev [41] and Qwen-Image [78], as well as unified multimodal models, including MetaQuery [52] and BAGEL [17]. EiT also achieves a DPG-Bench [31] score of 82.60, which further improves to 84.65 when replacing the original CLIP text encoder with the stronger Qwen3-1.7B [1]. These results demonstrate strong compositional generation across object composition, counting, color, spatial relations, and attributes.
Training efficiency. figure 8 shows that GenFirst substantially accelerates convergence across both class-conditional and text-to-image generation. Specifically, we first jointly train the VAE and SiT using our end-to-end objective with GenFirst; we then freeze the resulting VAE and train a new SiT on this latent space. For class-conditional generation, GenFirst reaches FID 6.91 at 100K steps and FID 4.97 at 150K steps, outperforming the final results of SiT and REPA with at least and fewer training steps, respectively.

(a) Stable End-to-End Training with Contrastive Supervision
(b) Stable End-to-End Training with Caption Supervision

(c) Unified Text-Image Modeling via Stable End-to-End Diffusion
Figure 9 Further extension experiments. (a) Stable end-to-end training with latent-level SigLIP supervision for learning a shared latent space for generation and representation learning. (b) Stable end-to-end training with caption-based VLM-NLL supervision applied to intermediate visual features. (c) Unified text–image modeling with a block-causal diffusion transformer, where continuous text and image latents are jointly optimized for bidirectional text-to-image and image-to-text generation.
Table 9 Reconstruction and generation performance, and representation quality of different visual representations.
| Encoder | Setting | Reconstruction | Generation | Top-1 Acc.↑ | ||
|---|---|---|---|---|---|---|
| rFID↓ | PSNR↑ | GenEval↑ | DPG-Bench↑ | |||
| FLUX.1-dev VAE | Pretrained | 0.18 | 31.59 | - | - | 3.1 |
| Qwen3-VL ViT | Pretrained | - | - | - | - | 79.64 |
| Qwen3-VL ViT+projector | E2E | 0.42 | 27.79 | 0.89 | 83.70 | 77.71 |
| Qwen3-VL ViT+projector | E2E + SigLIP supervision | 0.39 | 27.64 | 0.90 | 83.76 | 79.25 |
| Qwen3-VL ViT+projector | E2E + VLM-NLL supervision | 0.46 | 27.19 | 0.89 | 83.49 | 81.69 |
It further matches REPA-E at approximately 2M steps, corresponding to a reduction in training cost, and reaches an FID of 1.45 at 4M steps. The same trend transfers to text-to-image generation. Both EiT variants exceed the GenEval and DPG scores of the 200K-step SiT+REPA baseline by 80K steps, while continuing to improve with additional training. These results show that end-to-end trained latent spaces accelerate the convergence of generative models.
Qualitative results. figure 6 presents class-conditional samples generated by EAR and EiT. Both models produce diverse and visually coherent images with fine-grained details and strong correspondence to the input conditions. figure 7 compares text-to-image generation using the same MMDiT [22] and training data, differing only in the VAE; the left uses the FLUX.1-dev VAE and the right our end-to-end trained VAE. End-to-end training improves text-to-image generation in three aspects. First, it substantially improves perceptual quality and fine-grained textures. For example, the fisherman exhibits more realistic skin details and beard texture, while the cat shows finer and more natural fur; similar improvements are also visible in the butterfly, sandstone, and reflective material examples. Second, it improves generation plausibility and structural coherence. For example, the baseline generates a horse with three hind legs, whereas our end-to-end trained VAE produces a more anatomically plausible structure. Third, our end-to-end trained VAE improves text alignment. For example, it more faithfully captures the blooming tea inside the transparent teapot and correctly renders the specified count of three moons.
5.4 Further Extensions
Toward a shared latent space for generation and representation learning. Our experiments above focus on end-to-end training where the latent space is shaped by the generative prior. Here, we further investigate whether the same framework can learn a shared latent space for both generation and representation learning, such that the latent space is generation-friendly, semantically rich, and supports high-quality reconstruction. As shown in figure 9, we explore two ways of introducing an representation-learning objective
Table 10 Text-to-image and image-to-text performance of frozen text/image VAEs versus our end-to-end trained counterparts, all with the same block-causal MMDiT and the same three-stage recipe. Image-to-text is evaluated on the COCO [45] Karpathy test split with pycocoevalcap [11], following [64, 95].
| Setting | Text-to-image | Image-to-text | ||||||
|---|---|---|---|---|---|---|---|---|
| GenEval↑ | DPG-Bench↑ | CIDEr↑ | BLEU-4↑ | METEOR↑ | ROUGE-L↑ | SPICE↑ | CLIPScore↑ | |
| Frozen text VAE + frozen image VAE | 79.88 | 63.96 | 20.03 | 5.36 | 13.72 | 29.01 | 8.03 | 53.21 |
| E2E-trained text VAE + frozen image VAE | 81.87 | 68.24 | 30.19 | 7.46 | 16.81 | 32.95 | 11.12 | 55.96 |
| E2E-joint-trained text VAE and image VAE | 86.57 | 72.68 | 33.28 | 7.76 | 17.74 | 34.16 | 11.81 | 57.97 |
Frozen text + frozen image VAE
E2E text VAE
E2E text + image VAE (joint)
"A domestic cat with a sleek coat stands alert next to a plush brown teddy bear, seated on a hardwood floor ... near a light-colored wall, with a hint of a houseplant's green leaves in the corner."
"the iconic Sydney Opera House, with its white sail-like shells, sits prominently on the left. To the right, the Eiffel Tower, constructed of intricate iron lattice work ... Behind both landmarks, the majestic Mount Everest looms, its snow-capped peak."
Text-to-image

Image-to-text
GT caption: a group of kids playing soccer in a field
A game game is don double baseball here, a boy and a girl in orange uniform, and aate-t, ball in the background, set against a grassy field.
A group of people frisbee in a grassy field.
Children playing soccer in a field, spectators nearby.
GT caption: Colorful bird sitting on a branch of a tree.
A swing, perched on a tree branch amidst a lush green forest.
in in perched on patches username tree branch.
A bird perched on a tree branch surrounded by green foliage.
GT caption: A woman is cutting into a cake with a large knife.
Woman in red dress cooking traditional turnover burger, red wisdomal setting.
A woman in a red dress leans with a salmately a dessert on a table.
Woman in red dress cutting a cake.
Figure 10 Qualitative comparison of the three latent-space settings. All three settings use the same MMDiT and sampling configuration. Top: text-to-image generation on DPG-Bench. Bottom: image-to-text generation on COCO Karpathy test split. End-to-end trained latents improve prompt fidelity and caption coherence, with joint text–image latent training producing the strongest qualitative results.
into the text-to-image end-to-end training setting described above. We replace the FLUX.1-dev VAE [3] encoder with the Vision Transformer (ViT) [21] from Qwen3-VL [1] followed by a dimension-reduction projector that predicts the posterior mean and variance. We randomly initialize the decoder, freeze the encoder, and first train the decoder for 100K steps for image reconstruction before end-to-end training.
In the first setting (figure 9(a)), we directly impose representation supervision on the latent representation. Specifically, we apply a SigLIP loss [70, 88] across samples within each batch together with a classification-based supervision loss [32] on the latent features. This design allows the representation-learning objective to directly shape the same latent representation used by the generative model. In the second setting (figure 9(b)), we use the intermediate ViT features from the encoder for representation supervision. We feed these visual features together with the corresponding image captions into Qwen3-VL and minimize the negative log-likelihood (NLL) of the caption tokens [68]. Unlike contrastive learning, which typically benefits strongly from large batch sizes due to its reliance on in-batch negatives, this objective is independent of cross-sample comparisons.
As shown in table 9, end-to-end training with the generative objective alone achieves an ImageNet linear-probe accuracy of 77.71. Adding latent-level SigLIP supervision improves the accuracy to 79.25, while slightly improving generation and reconstruction, reaching 0.90 GenEval, 83.76 DPG-Bench, and 0.39 rFID. VLM-NLL supervision yields a substantially larger semantic improvement, increasing linear-probe accuracy to 81.69, which exceeds the 79.64 accuracy of the pretrained Qwen3-VL ViT. Meanwhile, it largely preserves generative performance, achieving 0.89 GenEval and 83.49 DPG-Bench, with only a moderate change in reconstruction quality. These results show that representation supervision can be incorporated into our end-to-end framework while largely preserving the generation-friendly properties of the learned latent space. Overall, these results suggest that end-to-end latent learning can extend beyond generation and jointly support generation, representation learning, and reconstruction within a shared latent space.
Unified text-image modeling via end-to-end diffusion. We further investigate whether our end-to-end formulation can extend beyond image latents to jointly model text and images. As shown in figure 9(c), we encode text into continuous latent representations with a text VAE and reconstruct the original text through a decoder using a cross-entropy (CE) loss. We then feed both text and image latents into a block-causal MMDiT [22] and train text-to-image and image-to-text generation. The block-causal MMDiT uses the same model scale as the MMDiT-XL/2 in our text-to-image experiments. The diffusion objectives from both directions shape the latent representations, while the entropy term prevents latent collapse. We apply the same GenFirst strategy to balance latent modeling and reconstruction. Due to computational constraints, the end-to-end phase uses only half as many training steps as our text-to-image experiment, while the subsequent prior-only phase uses only 30.8% of its text-to-image training samples.
We initialize the text VAE from Cola [26] and first replace the frozen text VAE with its end-to-end trained counterpart while keeping the image VAE frozen. As shown in table 10, this improves GenEval from 79.88 to 81.87 and DPG-Bench from 63.96 to 68.24, while also substantially improving image-to-text generation, with CIDEr increasing from 20.03 to 30.19. Jointly training both the text and image VAEs further improves performance to 86.57 on GenEval and 72.68 on DPG-Bench, while achieving a CIDEr [72] score of 33.28 for image-to-text generation. Consistent improvements are also observed across BLEU-4, METEOR, ROUGE-L, SPICE, and CLIPScore. The qualitative comparisons in figure 10 show the same trend: end-to-end trained latents improve prompt fidelity in text-to-image generation and produce more coherent and accurate captions in image-to-text generation. These results show that end-to-end latent learning extends beyond images and can jointly improve continuous text and image representations within a unified generative model.
6 Conclusion
We revisit end-to-end training of VAEs and generative models and make two key observations. First, we find that latent collapse in naive end-to-end training is mainly caused by a prior-entropy imbalance. Second, we identify asymmetric learning dynamics underlying the generation–reconstruction conflict. Based on these observations, we introduce an entropy-preserving end-to-end objective that enables stable direct joint training and further propose GenFirst, a generation-before-reconstruction strategy that mitigates the generation–reconstruction conflict. Experiments show that our method learns more generation-friendly latent spaces and improves the generation–reconstruction trade-off. We hope this work provides a simple and practical recipe for stable end-to-end latent generative modeling.
7 Limitations
Although GenFirst enables stable end-to-end training and substantially alleviates the generation–reconstruction conflict, it does not completely eliminate the trade-off. The end-to-end trained VAE therefore still sacrifices some reconstruction fidelity, as reflected by metrics such as PSNR. Further improving reconstruction while preserving a generation-friendly latent space remains an important direction for future work. Additionally, EAR is limited by the current CFG strategy for continuous autoregressive models. Without CFG, scaling the EAR prior consistently improves gFID, whereas gFID with CFG does not improve accordingly. Developing stronger guidance methods for continuous autoregressive models is therefore left for future work. Finally, our text-to-image experiments use a substantially smaller training corpus than large-scale text-to-image models. Scaling the data and training budget may further reveal the potential of end-to-end learned latent spaces.
Acknowledgments
We would like to extend our deepest appreciation to Qinyu Zhao, Qiushan Guo, Shuai Wang, Shuchen Xue, Hongcan Guo, and Yian Zhao for their insightful discussions and valuable support.
Appendix
Table 11 Fine-grained evaluation of text-to-image generation. We report category-wise results on GenEval [24] and DPG-Bench [31] for two model variants.
| GenEval | |||||||
|---|---|---|---|---|---|---|---|
| Method | Single Obj. | Two Obj. | Counting | Color | Position | Color Attr. | Overall |
| EiT (Version A) | 100.00 | 94.44 | 83.12 | 94.15 | 86.75 | 81.75 | 0.8987 |
| EiT (Version B) | 99.06 | 93.18 | 82.81 | 94.95 | 88.25 | 78.00 | 0.8920 |
| DPG-Bench | ||||||
|---|---|---|---|---|---|---|
| Method | Global | Entity | Attribute | Relation | Other | Overall |
| EiT (Version A) | 88.30 | 86.91 | 88.75 | 89.64 | 85.66 | 82.60 |
| EiT (Version B) | 84.26 | 88.10 | 87.16 | 88.87 | 89.23 | 82.06 |
Table 12 VAE reconstruction evaluation on ImageNet-256. While our end-to-end training substantially improves generation quality, the resulting VAEs maintain competitive reconstruction performance with only a minor degradation.
| VAE | rFID | PSNR | SSIM | LPIPS |
|---|---|---|---|---|
| FLUX.1-dev VAE [3] | 0.18 | 31.59 | 0.90 | 0.05 |
| E2E-trained VAE (Version A, Flux.1-dev VAE init.) | 0.23 | 29.43 | 0.85 | 0.07 |
| E2E-trained VAE (Version B, Flux.1-dev VAE init.) | 0.21 | 29.37 | 0.85 | 0.07 |
| SD-VAE [59] | 0.74 | 25.67 | 0.72 | 0.13 |
| E2E-trained VAE (f8d4, SD-VAE init.) | 0.57 | 25.13 | 0.71 | 0.14 |
| VA-VAE [83] | 0.28 | 26.32 | 0.76 | 0.11 |
| E2E-trained VAE (f16d32, VA-VAE init.) | 0.36 | 25.82 | 0.74 | 0.12 |
A More Analysis
Fine-grained evaluation of text-to-image generation. We further report the detailed GenEval and DPG-Bench results of our two text-to-image model variants in table 11. Version A performs the end-to-end phase on ImageNet, whereas Version B performs the end-to-end phase on the text-to-image training data. The detailed training configurations of both variants are provided in section C.1. Version A performs slightly better overall, while the two variants remain close, indicating that end-to-end VAE training is effective on both ImageNet and text-to-image training data.
Effect of end-to-end training on VAE reconstruction. We evaluate the reconstruction quality of different VAEs in table 12. Compared with their corresponding pretrained VAEs, end-to-end trained VAEs show a moderate degradation in reconstruction metrics while maintaining strong reconstruction quality overall. For the FLUX.1-dev VAE, end-to-end training changes rFID from 0.18 to 0.23/0.21 and PSNR from 31.59 to 29.43/29.37 for Variants A/B. A similar trend is observed for SD-VAE and VA-VAE: the end-to-end trained variants retain comparable rFID, PSNR, SSIM, and LPIPS, although some reconstruction fidelity is sacrificed. This result is consistent with the generation–reconstruction trade-off discussed in section 3.2: end-to-end training reshapes the latent space toward generative modeling at the cost of a moderate decrease in reconstruction quality.
Ablation on GenFirst prior weights for SiT. We first use , which already achieves reasonable generation and reconstruction performance. Reducing the prior weights to (0.1, 0.01) further improves both generation and reconstruction, with rFID decreasing from 0.61 to 0.57 and FID decreasing from 4.44 to 3.57. This suggests that (1, 0.1) still applies excessive prior pressure and does not reach a favorable generation–reconstruction trade-off. When the weights are further reduced to (0.01, 0.01), reconstruction continues to improve, but generation degrades. We therefore use (0.1, 0.01) as the default setting and leave finer tuning of the two-stage prior weights to future work due to computational constraints.
Effect of end-to-end training and REPA. We further disentangle the contributions of end-to-end training and REPA [85] in table 14. Using SD-VAE [59] with vanilla SiT-XL/2 [47] yields an FID of 17.20, while applying REPA during the prior-only phase improves it to 7.90. Replacing the frozen SD-VAE with our end-to-end trained VAE already improves the vanilla SiT-XL/2 result to an FID of 8.09, even without REPA.
Table 13 Ablation on GenFirst prior weights for SiT. We vary the prior weights in the generation-first and reconstruction-refinement stages.
| rFID | PSNR | SSIM | LPIPS | FID | IS | ||
|---|---|---|---|---|---|---|---|
| 1.00 | 0.10 | 0.61 | 24.57 | 0.70 | 0.15 | 4.44 | 154.25 |
| 0.10 | 0.01 | 0.57 | 25.13 | 0.71 | 0.14 | 3.57 | 166.49 |
| 0.01 | 0.01 | 0.48 | 25.17 | 0.72 | 0.14 | 3.84 | 161.40 |
Table 14 Effect of end-to-end training and REPA. We disentangle the contributions of end-to-end latent learning and representation alignment [85] to SiT [47] generation.
| End-to-end phase | Prior-only phase (80 epochs) | FID | |||
|---|---|---|---|---|---|
| VAE | Model | REPA | Model | REPA | |
| SD-VAE [59] | - | - | SiT-XL/2 [47] | ✕ | 17.20 |
| SD-VAE [59] | - | - | SiT-XL/2 [47] | ✓ | 7.90 |
| E2E-trained VAE (SD-VAE init.) | SiT-XL/2 [47] | ✕ | SiT-XL/2 [47] | ✕ | 8.09 |
| E2E-trained VAE (SD-VAE init.) | SiT-XL/2 [47] | ✓ | SiT-XL/2 [47] | ✕ | 6.83 |
| E2E-trained VAE (SD-VAE init.) | SiT-XL/2 [47] | ✓ | SiT-XL/2 [47] | ✓ | 3.57 |
in either training phase. Following REPA-E [42], introducing REPA during the end-to-end phase further improves the FID to 6.83. Applying REPA again during the subsequent prior-only phase further reduces the FID to 3.57. These results show that end-to-end VAE training and REPA provide complementary rather than conflicting benefits: end-to-end training reshapes the latent space to make it easier for the generative model to learn, while REPA further improves generation through representation alignment.
B A Shortcut Solution in Naive End-to-End Training
When the learned prior objective is strong while posterior entropy is weak, we observe that the encoder can reduce both the posterior variance and the diversity of posterior means. In the extreme case,
where is nearly constant across different images. Since the posterior noise becomes very small, the decoder may still exploit small residual differences in for reconstruction, even though the overall latent distribution is already highly concentrated.
For a diffusion or flow-matching prior, such a concentrated latent distribution also makes the denoising objective artificially easy. Consider the linear interpolation used by SiT,
If the latent collapses to , then
Therefore, predicting the target velocity requires little knowledge of the image distribution: the model can approximately recover the target through a simple affine transformation of the noisy input around the nearly constant code . The denoising loss can thus become small even though the generative model has not learned a meaningful latent distribution.
This explains why preserving posterior entropy is important during end-to-end training. Increasing the entropy prevents from vanishing. Under non-trivial posterior noise, if all posterior means were also nearly identical, the latent samples of different images would become indistinguishable to the decoder. The reconstruction objective therefore encourages to remain image-dependent and distributed across the latent space. Together, entropy preservation and reconstruction discourage both variance and mean collapse. Motivated by this observation, we tie the entropy weight to the prior weight in our default end-to-end objective, . This keeps posterior-entropy preservation coupled to the strength of prior-fitting pressure and avoids the degenerate shortcut observed in naive end-to-end training.
C Implementation Details
C.1 Training and Inference Details
We provide the complete architecture, training, and inference configurations for EAR, EiT, and text-to-image EiT in tables 15 to 17. Below, we summarize the training pipeline and the relationship between different resolutions and model variants.
EAR on ImageNet. The detailed EAR configuration is provided in table 15. For ImageNet , we jointly train the MAR VAE [44] and the continuous AR prior [93] from scratch using the two-stage GenFirst schedule. The resulting VAE is then reused for the resolution experiment: we keep the VAE frozen and train a larger EAR prior on the higher-resolution latent sequences. Therefore, the resolution experiment evaluates whether the latent space learned by GenFirst at resolution transfers to higher-resolution generative modeling without further adapting the tokenizer. We follow FARMER [93] for the continuous-AR parameterization and resampling-based classifier-free guidance.
EiT on ImageNet. The ImageNet EiT configuration is summarized in table 16. At ImageNet , training consists of an end-to-end phase followed by a prior-only phase. During the end-to-end phase, the VAE and SiT are jointly optimized using the two-stage GenFirst schedule. We then freeze the resulting VAE and train a new SiT on its latent space. For resolution , we directly reuse and freeze the VA-VAE obtained from the resolution end-to-end stage, and train only a new SiT at the higher resolution. We observe that the latent space changes rapidly during end-to-end training, which can leave the decoder insufficiently adapted to the updated latents. Therefore, for the ImageNet-256 EiT results in table 6 only, we additionally fine-tune the VAE decoder for 10K steps after the end-to-end stage. This improves the 80-epoch unguided gFID from 3.00 to 2.79. This decoder fine-tuning is not used in the other EiT experiments. For the corresponding 80-epoch guided result, we use CFG scale 2.0 with a guidance interval of [0.2, 0.85]. Unless otherwise specified, the optimization and REPA settings follow REPA-E [42]; complete architecture, training, and inference configurations are provided in table 16.
Text-to-image EiT. We consider two variants for obtaining an end-to-end trained FLUX.1-dev VAE [3], as detailed in table 17. In Version A, the VAE is jointly trained with a smaller MMDiT (MMDiT-L/2) directly on the text-to-image training data using GenFirst. In Version B, the VAE is jointly trained with SiT-XL/2 on ImageNet using the same GenFirst setting as class-conditional EiT. These variants compare a VAE shaped directly by text-conditioned generation with one shaped by class-conditional ImageNet generation. After the end-to-end phase, we freeze the resulting VAE and train the same MMDiT-XL/2 prior for both variants. We first train at for 200K steps, continue at for 80K steps, and finally fine-tune on the OpenAI-4o dataset [13] at for 40K steps. Complete architecture, optimization, and inference settings are provided in table 17.
C.2 Details of Loss-Balancing Baselines
We provide additional implementation details for the loss-balancing baselines compared in table 2. All variants use the same EAR architecture, dataset, and reconstruction-related loss weights; they differ only in how the influence of the generative objective is controlled during training.
Constant weighting. We use a fixed prior weight throughout 320 training epochs, with . We observe that training largely converges around 260 epochs, with little additional improvement from longer training. Moreover, as shown in figure 5(a), smaller constant prior weights consistently yield worse generation–reconstruction trade-offs than . We therefore report as the strongest constant-weight baseline.
Cosine decay. We train for 320 epochs and smoothly decay the prior weight from 0.5 to 0.1 with a cosine schedule. The entropy weight follows the same schedule, i.e., . We performed a simple hyperparameter sweep but did not obtain better results than the constant-weight setting.
PI-based adaptive control. We additionally test a feedback-based strategy inspired by ControlVAE [62]. Instead of prescribing a fixed schedule, the controller adjusts how strongly the generative objective updates the VAE encoder through a w. Thus, w = 1.0 allows the full generative gradient to propagate to the encoder,
Table 15 Detailed training configuration of EAR on ImageNet. EAR-256 jointly trains the VAE and AR prior with GenFirst. For EAR-512, we reuse and freeze the VAE obtained from EAR-256 and train only the AR prior at the higher resolution.
| Configuration | EAR-256 | EAR-512 |
|---|---|---|
| Architecture | ||
| VAE architecture | MAR VAE [44] | EAR-256 VAE (frozen) |
| Latent configuration | ||
| AR backbone | EAR-312M | EAR-940M |
| Transformer depth | 24 | 36 |
| Hidden dimension | 1024 | 1280 |
| Attention heads | 16 | 20 |
| GMM components | 64 | 1024 |
| Training | ||
| Trainable modules | VAE + AR prior | AR prior only |
| Training resolution | ||
| Generation-first stage | 500 epochs | - |
| 1.0/1.0 | - | |
| Reconstruction-refinement stage | 140 epochs | - |
| 0.25/0.25 | - | |
| Prior-only training | - | 320 epochs |
| Global batch size | 512 | 512 |
| Optimizer | AdamW [] | AdamW [] |
| Learning rate | ||
| LR schedule | 10-epoch linear warmup, then constant | 10-epoch linear warmup, then constant |
| EMA rate | 0.9999 | 0.9999 |
| Class token drop (for CFG) | 0.1 | 0.1 |
| Inference | ||
| Eval batch size | 50 | 50 |
| Guidance | resampling-based CFG [93] | resampling-based CFG [93] |
| Weight temperature (Propose stage) | 0.9 | 0.9 |
| Variance temperature (Propose stage) | 0.9 | 0.9 |
| Sample number from | 4/4 | 4/4 |
| Weight temperature (Weigh stage) | -0.55 | -0.5 |
| Variance temperature (Weigh stage) | 1.1 | 1.0 |
| Resampling temperature | 0.9 | 1.0 |
| CFG scale | 1.5 | 2.0 |
while smaller weakens this update. The controller uses the per-step reconstruction error as feedback with target following ControlVAE [62]. We initialize and constrain it to [0.004096, 1.0]. In our experiments, the reconstruction error is substantially above the target during early training, causing to rapidly decrease toward its lower bound. It subsequently oscillates between different values, leading to abrupt changes in the gradient received by the latent encoder and numerical instability. We also performed simple tuning of the controller hyperparameters, but did not obtain stable training under the tested configurations.
C.3 Toward a Shared Latent Space for Generation and Representation Learning
As discussed in section 5.4, we further examine whether the end-to-end framework can learn a visual representation that simultaneously supports reconstruction, generation, and representation learning. In this section, we describe the autoencoder architecture, training schedule, and discrimination objectives used in the three settings reported in table 9.
Qwen3-VL-based visual tokenizer. We replace the convolutional encoder of the FLUX.1-dev VAE [3] with the vision tower of Qwen3-VL-2B-Instruct [1]. At an input resolution of , the patch size of 16 produces a grid of visual tokens. Each token is represented by a 1,024-dimensional feature before the spatial merger. We construct a Gaussian projector on top of these features. We first apply a LayerNorm initialized from the normalization layer of the pretrained Qwen3-VL merger. Two independent linear projections then map each 1,024-dimensional visual token to 64 dimensions, predicting the posterior mean and log-variance, respectively:
where and . The 64 outputs associated with each ViT token are reshaped into a block with 16 channels. The resulting latent therefore has shape , matching both the dimensionality and spatial rate of the FLUX latent. This allows us to retain the generative architecture and training setting used in our text-to-image experiments. The decoder is randomly initialized and consists of a 12-layer ViT with width 1,024 and 16 attention heads. Each decoder token predicts a RGB patch. We additionally employ two lightweight convolutional layers after assembling the image to reduce visible artifacts at patch boundaries.
Decoder warm-up. Directly optimizing the randomly initialized decoder together with the pretrained vision tower exposes the encoder to large and uninformative reconstruction gradients at the beginning of training. In preliminary experiments, this rapidly degraded the semantic structure inherited from Qwen3-VL. We therefore first freeze the Qwen3-VL vision tower and train only the Gaussian bottleneck and decoder for 100K steps. In this warm-up stage, we apply only a weak KL regularizer with weight ; the adversarial loss is enabled after 10K steps.
End-to-end training. After decoder warm-up, we unfreeze the vision tower and jointly optimize the encoder, projector, decoder, and an MMDiT-L/2 generative prior. Apart from the discrimination objective, this stage follows the text-to-image end-to-end training recipe used in our main experiments, including the reconstruction losses, flow-matching objective, entropy regularization, and REPA alignment to DINOv2 features.
Due to the available computational budget, we shorten the original two-stage schedule by a factor of two. We first train for 200K steps with the prior weight set to 0.1. We then train for another 100K steps with the prior weight set to 0.01. For the two discrimination variants, the discrimination-loss weight is the same as the prior weight. The global batch size is 256. We compare the following three settings.
Stable E2E without discrimination supervision. The first setting uses only reconstruction, generative, entropy, and REPA objectives. It serves as the generation–reconstruction baseline and does not receive an explicit discrimination objective.
Latent-level SigLIP supervision. In the second setting, discrimination supervision is applied directly to the same normalized latent consumed by MMDiT, which is a sequence of 64-dimensional tokens. A linear stem maps each token to width 1,024, after which a learnable query performs attention pooling. The pooled feature is projected to the 768-dimensional CLIP image-text embedding space. Given normalized image and text embeddings and , we use the sigmoid pairwise objective [88]
where for a matched image-caption pair and -1 otherwise. Text features and negatives are gathered across workers, so the loss uses the global batch.
We complement this objective with classification-based caption supervision [32]. The pooled image feature predicts a bag of CLIP caption tokens. Caption tokens form a multi-hot target, which is reweighted using online inverse document frequency and normalized into a probability distribution. The corresponding soft cross-entropy is
This weighting suppresses frequent syntactic tokens and concentrates the gradient on visually informative content words. The complete discrimination objective is
This objective directly shapes the latent representation used by the generative model.
Trunk-level VLM-NLL supervision. In the third setting, we preserve the interface between the Qwen3-VL vision tower and its pretrained language model. Rather than applying supervision after the 16-channel bottleneck latent, we branch from the ViT trunk and feed its native merged visual tokens to the frozen Qwen3-VL-2B language model. We also retain the original DeepStack features injected into the early language-model layers. For an image x and its caption , the discrimination loss is the caption-token negative log-likelihood
The Qwen3-VL language model, language-model head, spatial merger, and DeepStack mergers are all frozen. Consequently, the NLL can only be reduced by preserving visual features that remain readable by the original Qwen3-VL language model. Unlike SigLIP supervision, the VLM-NLL objective does not depend on cross-sample negatives and therefore does not require a large global batch.
Evaluation. We evaluate reconstruction using posterior-mean reconstructions on 50K ImageNet validation images and report rFID and PSNR. Semantic accessibility is measured by an ImageNet ridge linear probe trained on 100K images and evaluated on 10K validation images. For final generation evaluation, we freeze each trained visual tokenizer and train the same MMDiT-XL pipeline used in our text-to-image experiments before evaluating GenEval and DPG-Bench.
C.4 Unified Text--Image Modeling via End-to-End Diffusion
As discussed in section 5.4, our end-to-end formulation is not restricted to image latents and can be applied to other modalities. We therefore extend our framework to text and jointly model text and images within a single diffusion backbone, allowing the generative objective to shape both text and image latent spaces.
Text latent representation. We initialize the text VAE from Cola [26]. Each text token is encoded into a 16-dimensional continuous latent, and the decoder reconstructs the original tokens with a cross-entropy loss. We train the encoder and decoder trunks together with the latent projections ( 194M trainable parameters), while freezing the token embedding and output vocabulary head. The encoder applies a non-affine LayerNorm to the posterior mean, so we do not apply the additional latent normalization used for image latents. To handle variable-length captions efficiently, text sequences are packed without padding and converted to a dense representation with a validity mask only before entering the diffusion model.
Block-causal joint diffusion. During the end-to-end phase, we jointly model text and image latents using a block-causal MMDiT-L/2 [22] with 24 blocks, width 1024, 16 attention heads, and patch size 2. The model maintains separate streams for the two modalities and couples them through joint attention. At resolution, each image contains latent tokens, while text contains at most 256 latent tokens and is partitioned into blocks of 16 tokens. Image tokens use bidirectional attention, whereas text tokens use block-causal attention, enabling block-wise generation of .
We train text-to-image and image-to-text with equal sampling probability. For each sample, only the target modality is noised and supervised by the diffusion objective, while the conditioning modality is kept clean at t = 0. Image timesteps are sampled independently per example, whereas text timesteps are sampled independently for each text block. For text generation, each noisy block attends to all preceding clean blocks and to the noisy tokens within the current block, allowing all blocks to be trained in parallel with clean prefix conditioning. Cross-modal attention is direction-dependent: image tokens attend to clean text for , while text tokens attend to clean image features for . For classifier-free guidance, we drop the conditioning modality with probability 0.1 by disabling the corresponding cross-modal attention.
Training objective. The text VAE follows the same end-to-end formulation as the image branch:
where is the flow-matching objective of the joint diffusion model and . Following our analysis in section 3.1, the entropy term counteracts the prior-fitting pressure and prevents latent collapse. We apply the entropy term to a modality only when it is generated, since a clean conditioning modality does not receive prior-fitting pressure from the diffusion objective. For text-only end-to-end training, the image VAE remains frozen and only the text encoder receives generative gradients. For joint end-to-end training, both text and image VAEs are optimized under the same GenFirst schedule, allowing the bidirectional diffusion objectives to shape both latent spaces.
Training and evaluation. We compare three latent-training settings. In the first setting, both the Cola text VAE and the FLUX.1-dev image VAE [3] are kept frozen, providing a fully frozen latent baseline. In the second setting, we end-to-end train the text VAE together with the block-causal MMDiT while keeping the FLUX.1-dev image VAE frozen, isolating the effect of reshaping the text latent space. In the third setting, both the Cola-initialized text VAE and the FLUX.1-dev image VAE are jointly optimized with the block-causal MMDiT, allowing the bidirectional generative objectives to reshape both latent spaces. End-to-end training is conducted at resolution on the same dataset as our text-to-image experiments, with captions truncated to 256 tokens. We use a batch size of 256, AdamW [46] with learning rates of for MMDiT and for the text VAE, and gradient clipping at 1.0. We use for the first 200K steps and reduce both to 0.01 for another 100K steps. For joint end-to-end training, the same GenFirst schedule is applied to both text and image latent optimization.
After end-to-end latent training, we freeze the resulting text and image VAEs and train a new block-causal MMDiT-XL/2 from scratch. The prior-only model uses 28 blocks, width 1152, and 16 attention heads, matching the model scale of MMDiT-XL/2 in our main text-to-image experiments. We follow the same training protocol as our text-to-image experiments: 200K steps at , 80K steps at , followed by 40K steps of fine-tuning on GPT-4o data. We evaluate text-to-image generation using GenEval and DPG-Bench. We evaluate image-to-text generation on the COCO Karpathy test split using CIDEr, BLEU-4, METEOR, ROUGE-L, SPICE, and CLIPScore.
D More Qualitative Results
figures 11 to 14 present additional uncurated examples on ImageNet with EiT. figures 15 to 18 present additional uncurated examples on ImageNet with EAR.

Class 011, goldfinch, Carduelis carduelis

Class 018, magpie

Class 025, European fire salamander

Class 074, garden spider, Aranea diademata

Class 096, toucan

Class 107, jellyfish

Class 127, white stork, Ciconia ciconia

Class 153, Maltese dog, Maltese terrier, Maltese
Figure 11 Uncurated samples from EiT (480 epochs) with guidance on ImageNet .

Class 222, kuvasz

Class 271, red wolf, maned wolf, Canis rufus

Class 286, cougar, puma, catamount, mountain lion

Class 294, brown bear, bruin, Ursus arctos

Class 302, ground beetle, carabid beetle

Class 309, bee

Class 326, lycaenid, lycaenid butterfly

Class 388, giant panda, panda, panda bear
Figure 12 Uncurated samples from EiT (480 epochs) with guidance on ImageNet .

Class 402, acoustic guitar

Class 425, barn

Class 437, beacon, lighthouse, beacon light, pharos

Class 466, bullet train, bullet

Class 505, coffeepot

Class 525, dam, dike, dyke

Class 538, dome

Class 572, goblet
Figure 13 Uncurated samples from EiT (480 epochs) with guidance on ImageNet .

Class 698, palace

Class 718, pier

Class 757, recreational vehicle

Class 831, studio couch, day bed

Class 945, bell pepper

Class 963, pizza, pizza pie

Class 976, promontory, headland, head, foreland

Class 985, daisy
Figure 14 Uncurated samples from EiT (480 epochs) with guidance on ImageNet .

Class 012, house finch, linnet, Carpodacus mexicanus

Class 017, jay

Class 037, box turtle, box tortoise

Class 084, peacock

Class 090, lorikeet

Class 105, koala, koala bear, kangaroo bear, native bear

Class 117, chambered nautilus, pearly nautilus, nautilus

Class 148, killer whale, killer, orca, grampus, sea wolf
Figure 15 Uncurated samples from EAR (640 epochs) with guidance on ImageNet .

Class 207, golden retriever

Class 232, Border collie

Class 277, red fox, Vulpes vulpes

Class 292, tiger, Panthera tigris

Class 323, monarch, monarch butterfly, milkweed butterfly

Class 348, ram, tup

Class 387, lesser panda, red panda, panda

Class 393, anemone fish
Figure 16 Uncurated samples from EAR (640 epochs) with guidance on ImageNet .

Class 407, check, ambulance

Class 417, balloon

Class 438, beaker

Class 449, boathouse

Class 475, car mirror

Class 556, fire screen, fireguard

Class 579, grand piano, grand

Class 598, home theater, home theatre
Figure 17 Uncurated samples from EAR (640 epochs) with guidance on ImageNet .

Class 628, liner, ocean liner

Class 658, mitten

Class 780, schooner

Class 832, stupa, tope

Class 933, cheeseburger

Class 946, cardoon

Class 973, coral reef

Class 980, volcano
Figure 18 Uncurated samples from EAR (640 epochs) with guidance on ImageNet .
Table 16 Detailed training configuration of EiT on ImageNet. EiT-256 first jointly trains the VAE and SiT with the two-stage GenFirst schedule, after which the VAE is frozen and SiT training continues. EiT-512 directly reuses and freezes the EiT-256 VAE and trains only SiT.
| Configuration | EiT-256 | EiT-512 |
|---|---|---|
| Architecture | ||
| VAE | SD-VAE / VA-VAE | EiT-256 VAE (frozen, VA-VAE version) |
| Latent configuration | ||
| Generative backbone | SiT-XL/2 [47] / SiT-XL/1 [47] | SiT-XL/1 [47] |
| Transformer depth | 28 | 28 |
| Hidden dimension | 1152 | 1152 |
| Attention heads | 16 | 16 |
| End-to-end phase | ||
| Trainable modules | VAE + SiT | - |
| Generation-first stage | 80 epochs | - |
| 0.1/0.1 | - | |
| Reconstruction-refinement stage | 40 epochs | - |
| 0.01/0.01 | - | |
| Prior-only phase | ||
| VAE | frozen | frozen |
| Trainable modules | SiT only | SiT only |
| Training resolution | ||
| Training duration | 800 epochs | 400 epochs |
| Shared optimization | ||
| Global batch size | 256 | 256 |
| Optimizer | AdamW [, ]=0.9, 0.999 | AdamW [, ]=0.9, 0.999 |
| Learning rate | ||
| LR schedule | constant | constant |
| EMA rate | 0.9999 | 0.9999 |
| Class token drop (for CFG) | 0.1 | 0.1 |
| REPA | ||
| for SiT | 0.5 | 0.5 |
| for VAE | 1.5 | 1.5 |
| Alignment depth | 8 | 8 |
| Encoder | DINOv2-B [6] | DINOv2-B [6] |
| Inference | ||
| Guidance | CFG [29]+Autoguidance [36] | CFG |
| Sampler | SDE | SDE |
| Sampling steps | 250 | 250 |
| Weak model | 20 epochs | - |
| Autoguidance scale | 1.3 | - |
| CFG scale | 1.5 | 2.5 |
| Guidance interval | [0.2, 0.7] | [0.2, 0.8] |
Table 17 Detailed training configuration of EiT for text-to-image generation. We consider two settings for the end-to-end latent-shaping phase: joint training with SiT on ImageNet or with a smaller MMDiT on the T2I training mixture. The resulting VAE is then frozen and used to train the target MMDiT.
| Configuration | EiT (Version A) | EiT (Version B) |
|---|---|---|
| Architecture | ||
| VAE | FLUX.1-dev VAE [3] | FLUX.1-dev VAE [3] |
| Latent configuration | f8d16 | f8d16 |
| Text Encoder | - | clip-vit-large-patch14 [55] |
| Generative backbone (E2E phase) | SiT-XL/2 [47] | MMDiT-L/2 [22] |
| Backbone depth (E2E phase) | 28 | 24 |
| Hidden dimension (E2E phase) | 1152 | 1024 |
| Attention heads (E2E phase) | 16 | 16 |
| Training data (E2E phase) | ImageNet | T2I mixture |
| Training resolution (E2E phase) | ||
| Text Encoder | clip-vit-large-patch14 [55] | |
| Generative backbone (Frozen VAE phase) | MMDiT-XL/2 | |
| Backbone depth (Frozen VAE phase) | 28 | |
| Hidden dimension (Frozen VAE phase) | 1152 | |
| Attention heads (Frozen VAE phase) | 16 | |
| Training data (Frozen VAE phase) | T2I mixture | |
| Training resolution (Frozen VAE phase) | ||
| End-to-end phase | ||
| Trainable modules | VAE + SiT | VAE + MMDiT |
| Global batch size | 256 | 256 |
| Generation-first stage | 80 epochs | 400K steps |
| 0.1/0.1 | 0.1/0.1 | |
| Reconstruction-refinement stage | 40 epochs | 200K steps |
| 0.01/0.01 | 0.01/0.01 | |
| Frozen-VAE MMDiT training | ||
| VAE | Frozen E2E-trained VAE | |
| T2I mixture, | 200K steps, global batch size 1536 | |
| T2I mixture, | 80K steps, global batch size 512 | |
| 4o data fine-tuning, | 40K steps, global batch size 512 | |
| Inference | ||
| Sampler | Euler | |
| Sampling steps | 50 | |
| CFG scale | 7.0 | |
| CFG interval | [0.35, 1.0] | |
References
[1] Shuai Bai, Yuxuan Cai, Ruizhe Chen, Keqin Chen, Xionghui Chen, Zesen Cheng, Lianghao Deng, Wei Ding, Chang Gao, Chunjiang Ge, et al. Qwen3-vl technical report. arXiv preprint arXiv:2511.21631, 2025.
[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.
[3] black-forest labs. Flux.1-dev. https://huggingface.co/black-forest-labs/FLUX.1-dev, 2024.
[4] Andrew Brock. Large scale gan training for high fidelity natural image synthesis. arXiv preprint arXiv:1809.11096, 2018.
[5] Qi Cai, Jingwen Chen, Chengmin Gao, Zijian Gong, Yehao Li, Yingwei Pan, Yi Peng, Zhaofan Qiu, Kai Yu, Yiheng Zhang, et al. Hidream-ol-image: A natively unified image generative foundation model with pixel-level unified transformer. arXiv preprint arXiv:2605.11061, 2026.
[6] Mathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou, Julien Mairal, Piotr Bojanowski, and Armand Joulin. Emerging properties in self-supervised vision transformers. In Proceedings of the IEEE/CVF international conference on computer vision, pages 9650–9660, 2021.
[7] Jihai Chen, Zhiyang Xu, Xichen Pan, Yushi Hu, Can Qin, Tom Goldstein, Lifu Huang, Tianyi Zhou, Saining Xie, Silvio Savarese, et al. Blip3-o: A family of fully open unified multimodal models-architecture, training and dataset. arXiv preprint arXiv:2505.09568, 2025.
[8] Junsong Chen, Chongjian Ge, Enze Xie, Yue Wu, Lewei Yao, Xiaozhe Ren, Zhongdao Wang, Ping Luo, Huchuan Lu, and Zhenguo Li. Pixart-\sigma: Weak-to-strong training of diffusion transformer for 4k text-to-image generation. arXiv preprint arXiv:2403.04692, 2024.
[9] Shoufa Chen, Chongjian Ge, Shilong Zhang, Peize Sun, and Ping Luo. Pixelflow: Pixel-space generative models with flow. arXiv preprint arXiv:2504.07963, 2025.
[10] Xiaokang Chen, Zhiyu Wu, Xingchao Liu, Zizheng Pan, Wen Liu, Zhenda Xie, Xingkai Yu, and Chong Ruan. Janus-pro: Unified multimodal understanding and generation with data and model scaling. arXiv preprint arXiv:2501.17811, 2025.
[11] Xinlei Chen, Hao Fang, Tsung-Yi Lin, and Ramakrishna Vedantam. https://github.com/salaniz/pycocoevalcap, 2020.
[12] Yang Chen, Xiaowei Xu, Shuai Wang, Xinwen Zhang, Qiushi Guo, Tiezheng Ge, and Limin Wang. Mimflow: Integrating masked image modeling with normalizing flows for end-to-end image generation. arXiv preprint arXiv:2606.26016, 2026.
[13] Zhihong Chen, Xuehai Bai, Yang Shi, Chaoyou Fu, Huanyu Zhang, Haotian Wang, Xiaoyan Sun, Zhang Zhang, Liang Wang, Yuanxing Zhang, et al. Opengpt-4o-image: A comprehensive dataset for advanced image generation and editing. arXiv preprint arXiv:2509.24900, 2025.
[14] Wenda Chu, Bingliang Zhang, Jiaqi Han, Yizhuo Li, Linjie Yang, Yisong Yue, and Qiushan Guo. End-to-end autoregressive image generation with 1d semantic tokenizer. arXiv preprint arXiv:2605.00503, 2026.
[15] common canvas. common-canvas/commoncatalog-cc-by-nc-sa · Datasets at Hugging Face — huggingface.co. https://huggingface.co/datasets/common-canvas/commoncatalog-cc-by-nc-sa, 2024. [Accessed 06-11-2025].
[16] deepghs. deepghs/midjourney_captioned_23m_full · Datasets at Hugging Face — huggingface.co. https://huggingface.co/datasets/deepghs/midjourney_captioned_23m_full, 2024. [Accessed 06-11-2025].
[17] Chaorui Deng, Deyao Zhu, Kunchang Li, Chenhui Gou, Feng Li, Zeyu Wang, Shu Zhong, Weihao Yu, Xiaonan Nie, Ziang Song, et al. Emerging properties in unified multimodal pretraining. arXiv preprint arXiv:2505.14683, 2025.
[18] 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.
[19] Prafulla Dhariwal and Alexander Nichol. Diffusion models beat gans on image synthesis. Advances in neural information processing systems, 34:8780–8794, 2021.
[20] Laurent Dinh, Jascha Sohl-Dickstein, and Samy Bengio. Density estimation using real nvp. In International Conference on Learning Representations, 2017.
[21] Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, et al. An image is worth words: Transformers for image recognition at scale. arXiv preprint arXiv:2010.11929, 2020.
[22] 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.
[23] 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.
[24] Dhruba Ghosh, Hannaneh Hajishirzi, and Ludwig Schmidt. Geneval: An object-focused framework for evaluating text-to-image alignment. Advances in Neural Information Processing Systems, 36:52132–52152, 2023.
[25] Jiatao Gu, Tianrong Chen, David Berthelot, Huangjie Zheng, Yuyang Wang, Ruixiang Zhang, Laurent Dinh, Miguel Angel Bautista, Josh Susskind, and Shuangfei Zhai. Starflow: Scaling latent normalizing flows for high-resolution image synthesis. arXiv preprint arXiv:2506.06276, 2025.
[26] Hongcan Guo, Qinyu Zhao, Yian Zhao, Shen Nie, Rui Zhu, Qiushan Guo, Feng Wang, Tao Yang, Hengshuang Zhao, Guoqiang Wei, et al. Continuous latent diffusion language model. arXiv preprint arXiv:2605.06548, 2026.
[27] Jonathan Heek, Emiel Hoogeboom, Thomas Mensink, and Tim Salimans. Unified latents (ul): How to train your latents. arXiv preprint arXiv:2602.17270, 2026.
[28] 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.
[29] Jonathan Ho and Tim Salimans. Classifier-free diffusion guidance. arXiv preprint arXiv:2207.12598, 2022.
[30] Emiel Hoogeboom, Thomas Mensink, Jonathan Heek, Kay Lamerigts, Ruiqi Gao, and Tim Salimans. Simpler diffusion (sid2): 1.5 fid on imagenet512 with pixel-space diffusion. arXiv preprint arXiv:2410.19324, 2024.
[31] Xiwei Hu, Rui Wang, Yixiao Fang, Bin Fu, Pei Cheng, and Gang Yu. Ella: Equip diffusion models with llm for enhanced semantic alignment. arXiv preprint arXiv:2403.05135, 2024.
[32] Zilong Huang, Qinghao Ye, Bingyi Kang, Jiashi Feng, and Haoqi Fan. Classification done right for vision-language pre-training. Advances in Neural Information Processing Systems, 37:96483–96504, 2024.
[33] Quan Huynh-Thu and Mohammed Ghanbari. Scope of validity of psnr in image/video quality assessment. Electronics letters, 44(13):800–801, 2008.
[34] Allan Jabri, David Fleet, and Ting Chen. Scalable adaptive computation for iterative generation. arXiv preprint arXiv:2212.11972, 2022.
[35] JourneyDB. JourneyDB/JourneyDB · Datasets at Hugging Face — huggingface.co. https://huggingface.co/datasets/JourneyDB/JourneyDB, 2023. [Accessed 06-11-2025].
[36] 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.
[37] 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.
[38] Diederik P Kingma and Max Welling. Auto-encoding variational bayes. arXiv preprint arXiv:1312.6114, 2013.
[39] Alexander Kolesnikov, André Susano Pinto, and Michael Tschannen. Jet: A modern transformer-based normalizing flow. arXiv preprint arXiv:2412.15129, 2024.
[40] 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.
[41] Black Forest Labs. FLUX.2: Frontier Visual Intelligence. https://bfl.ai/blog/flux-2, 2025.
[42] 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.
[43] Tianhong Li and Kaiming He. Back to basics: Let denoising generative models denoise. arXiv preprint arXiv:2511.13720, 2025.
[44] Tianhong Li, Yonglong Tian, He Li, Mingyang Deng, and Kaiming He. Autoregressive image generation without vector quantization. Advances in Neural Information Processing Systems, 37:56424–56445, 2024.
[45] Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollár, and C Lawrence Zitnick. Microsoft coco: Common objects in context. In European conference on computer vision, pages 740–755. Springer, 2014.
[46] Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. arXiv preprint arXiv:1711.05101, 2017.
[47] 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. arXiv preprint arXiv:2401.08740, 2024.
[48] Yiyang Ma, Xingchao Liu, Xiaokang Chen, Wen Liu, Chengyue Wu, Zhiyu Wu, Zizheng Pan, Zhenda Xie, Haowei Zhang, Xingkai Yu, et al. Janusflow: Harmonizing autoregression and rectified flow for unified multimodal understanding and generation. In Proceedings of the Computer Vision and Pattern Recognition Conference, pages 7739–7751, 2025.
[49] Zehong Ma, Longhui Wei, Shuai Wang, Shiliang Zhang, and Qi Tian. Deco: Frequency-decoupled pixel diffusion for end-to-end image generation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 43600–43610, 2026.
[50] Zehong Ma, Ruihan Xu, and Shiliang Zhang. Pixelgen: Pixel diffusion beats latent diffusion with perceptual loss. arXiv e-prints, pages arXiv–2602, 2026.
[51] megalith. madebyollin/megalith-10m · Datasets at Hugging Face — huggingface.co. https://huggingface.co/datasets/madebyollin/megalith-10m, 2023. [Accessed 06-11-2025].
[52] Xichen Pan, Satya Narayan Shukla, Aashu Singh, Zhuokai Zhao, Shlok Kumar Mishra, Jialiang Wang, Zhiyang Xu, Jihai Chen, Kunpeng Li, Felix Juefei-Xu, et al. Transfer between modalities with metaqueries. arXiv preprint arXiv:2504.06256, 2025.
[53] 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.
[54] pixparse. pixparse/cc12m-wds · Datasets at Hugging Face — huggingface.co. https://huggingface.co/datasets/pixparse/cc12m-wds, 2024. [Accessed 06-11-2025].
[55] 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 International conference on machine learning, pages 8748–8763. PmLR, 2021.
[56] Aditya Ramesh, Mikhail Pavlov, Gabriel Goh, Scott Gray, Chelsea Voss, Alec Radford, Mark Chen, and Ilya Sutskever. Zero-shot text-to-image generation. In International conference on machine learning, pages 8821–8831. Pmlr, 2021.
[57] Aditya Ramesh, Prafulla Dhariwal, Alex Nichol, Casey Chu, and Mark Chen. Hierarchical text-conditional image generation with clip latents. arXiv preprint arXiv:2204.06125, 1(2):3, 2022.
[58] Sucheng Ren, Qihang Yu, Ju He, Xiaohui Shen, Alan Yuille, and Liang-Chieh Chen. Beyond next-token: Next-x prediction for autoregressive visual generation. arXiv preprint arXiv:2502.20388, 2025.
[59] 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.
[60] 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.
[61] Axel Sauer, Katja Schwarz, and Andreas Geiger. Stylegan-xl: Scaling stylegan to large diverse datasets. In ACM SIGGRAPH 2022 conference proceedings, pages 1–10, 2022.
[62] Huajie Shao, Shuochao Yao, Dachun Sun, Aston Zhang, Shengzhong Liu, Dongxin Liu, Jun Wang, and Tarek Abdelzaher. Controlvae: Controllable variational autoencoder. In International conference on machine learning, pages 8655–8664. PMLR, 2020.
[63] Peize Sun, Yi Jiang, Shoufa Chen, Shilong Zhang, Bingyue Peng, Ping Luo, and Zehuan Yuan. Autoregressive model beats diffusion: Llama for scalable image generation. arXiv preprint arXiv:2406.06525, 2024.
[64] Chameleon Team. Chameleon: Mixed-modal early-fusion foundation models. arXiv preprint arXiv:2405.09818, 2024.
[65] Z-Image Team. Z-image: An efficient image generation foundation model with single-stream diffusion transformer. arXiv preprint arXiv:2511.22699, 2025.
[66] Keyu Tian, Yi Jiang, Zehuan Yuan, Bingyue Peng, and Liwei Wang. Visual autoregressive modeling: Scalable image generation via next-scale prediction. Advances in neural information processing systems, 37:84839–84865, 2024.
[67] Michael Tschannen, Cian Eastwood, and Fabian Mentzer. GIVT: Generative infinite-vocabulary Transformers. arXiv:2312.02116, 2023.
[68] Michael Tschannen, Manoj Kumar, Andreas Steiner, Xiaohua Zhai, Neil Houlsby, and Lucas Beyer. Image captioners are scalable vision learners too. Advances in Neural Information Processing Systems, 36:46830–46855, 2023.
[69] Michael Tschannen, André Susano Pinto, and Alexander Kolesnikov. Jetformer: An autoregressive generative model of raw images and text. arXiv preprint arXiv:2411.19722, 2024.
[70] Michael Tschannen, Alexey Gritsenko, Xiao Wang, Muhammad Ferjad Naeem, Ibrahim Alabdulmohsin, Nikhil Parthasarathy, Talfan Evans, Lucas Beyer, Ye Xia, Basil Mustafa, et al. Siglip 2: Multilingual vision-language encoders with improved semantic understanding, localization, and dense features. arXiv preprint arXiv:2502.14786, 2025.
[71] Arash Vahdat, Karsten Kreis, and Jan Kautz. Score-based generative modeling in latent space. Advances in neural information processing systems, 34:11287–11302, 2021.
[72] Ramakrishna Vedantam, C Lawrence Zitnick, and Devi Parikh. Cider: Consensus-based image description evaluation. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 4566–4575, 2015.
[73] Shuai Wang, Ziteng Gao, Chenhui Zhu, Weilin Huang, and Limin Wang. Pixnerd: Pixel neural field diffusion. arXiv preprint arXiv:2507.23268, 2025.
[74] Shuai Wang, Zhi Tian, Weilin Huang, and Limin Wang. Decoupled diffusion transformer. arXiv preprint arXiv:2504.05741, 2025.
[75] Shuai Wang, Liang Li, Yang Chen, Ruopeng Gao, Yao Teng, and Limin Wang. Uniddt: Unifying multimodal understanding and generation with decoupled diffusion transformer. arXiv preprint arXiv:2606.16255, 2026.
[76] Xinlong Wang, Xiaosong Zhang, Zhengxiong Luo, Quan Sun, Yufeng Cui, Jinsheng Wang, Fan Zhang, Yueze Wang, Zhen Li, Qiying Yu, et al. Emu3: Next-token prediction is all you need. arXiv preprint arXiv:2409.18869, 2024.
[77] Zhou Wang, Alan C Bovik, Hamid R Sheikh, and Eero P Simoncelli. Image quality assessment: from error visibility to structural similarity. IEEE transactions on image processing, 13(4):600–612, 2004.
[78] Chenfei Wu, Jiahao Li, Jingren Zhou, Junyang Lin, Kaiyuan Gao, Kun Yan, Sheng-ming Yin, Shuai Bai, Xiao Xu, Yilei Chen, et al. Qwen-image technical report. arXiv preprint arXiv:2508.02324, 2025.
[79] Chengyue Wu, Xiaokang Chen, Zhiyu Wu, Yiyang Ma, Xingchao Liu, Zizheng Pan, Wen Liu, Zhenda Xie, Xingkai Yu, Chong Ruan, et al. Janus: Decoupling visual encoding for unified multimodal understanding and generation. In Proceedings of the Computer Vision and Pattern Recognition Conference, pages 12966–12977, 2025.
[80] Jinheng Xie, Weijia Mao, Zechen Bai, David Junhao Zhang, Weihao Wang, Kevin Qinghong Lin, Yuchao Gu, Zhijie Chen, Zhenheng Yang, and Mike Zheng Shou. Show-o: One single transformer to unify multimodal understanding and generation. arXiv preprint arXiv:2408.12528, 2024.
[81] Jinheng Xie, Zhenheng Yang, and Mike Zheng Shou. Show-o2: Improved native unified multimodal models. arXiv preprint arXiv:2506.15564, 2025.
[82] Jiawei Yang, Zhengyang Geng, Xuan Ju, Yonglong Tian, and Yue Wang. Representation fr`echet loss for visual generation. arXiv preprint arXiv:2604.28190, 2026.
[83] Jingfeng Yao, Bin Yang, and Xinggang Wang. Reconstruction vs. generation: Taming optimization dilemma in latent diffusion models. In Proceedings of the Computer Vision and Pattern Recognition Conference, pages 15703–15712, 2025.
[84] Lijun Yu, José Lezama, Nitesh B Gundavarapu, Luca Versari, Kihyuk Sohn, David Minnen, Yong Cheng, Vighnesh Birodkar, Agrim Gupta, Xiuye Gu, et al. Language model beats diffusion-tokenizer is key to visual generation. arXiv preprint arXiv:2310.05737, 2023.
[85] 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. arXiv preprint arXiv:2410.06940, 2024.
[86] Yongsheng Yu, Wei Xiong, Weili Nie, Yichen Sheng, Shiqiu Liu, and Jiebo Luo. Pixeldit: Pixel diffusion transformers for image generation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 14273–14282, 2026.
[87] Shuangfei Zhai, Ruixiang Zhang, Preetum Nakkiran, David Berthelot, Jiatao Gu, Huangjie Zheng, Tianrong Chen, Miguel Angel Bautista, Navdeep Jaitly, and Josh Susskind. Normalizing flows are capable generative models. arXiv preprint arXiv:2412.06329, 2024.
[88] Xiaohua Zhai, Basil Mustafa, Alexander Kolesnikov, and Lucas Beyer. Sigmoid loss for language image pre-training. In 2023 IEEE/CVF International Conference on Computer Vision (ICCV), pages 11941–11952. IEEE, 2023.
[89] 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.
[90] Qinyu Zhao, Guangting Zheng, Tao Yang, Rui Zhu, Xingjian Leng, Stephen Gould, and Liang Zheng. Simflow: Simplified and end-to-end training of latent normalizing flows. arXiv preprint arXiv:2512.04084, 2025.
[91] Boyang Zheng, Nanye Ma, Shengbang Tong, and Saining Xie. Diffusion transformers with representation autoencoders. arXiv preprint arXiv:2510.11690, 2025.
[92] Guangting Zheng, Yehao Li, Yingwei Pan, Jiajun Deng, Ting Yao, Yanyong Zhang, and Tao Mei. Hierarchical masked autoregressive models with low-resolution token pivots. arXiv preprint arXiv:2505.20288, 2025.
[93] Guangting Zheng, Qinyu Zhao, Tao Yang, Fei Xiao, Zhijie Lin, Jie Wu, Jiajun Deng, Yanyong Zhang, and Rui Zhu. Farmer: Flow autoregressive transformer over pixels. arXiv preprint arXiv:2510.23588, 2025.
[94] Hongkai Zheng, Weili Nie, Arash Vahdat, and Anima Anandkumar. Fast training of diffusion models with masked transformers. arXiv preprint arXiv:2306.09305, 2023.
[95] Chunting Zhou, Lili Yu, Arun Babu, Kushal Tirumala, Michihiro Yasunaga, Leonid Shamis, Jacob Kahn, Xuezhe Ma, Luke Zettlemoyer, and Omer Levy. Transfusion: Predict the next token and diffuse images with one multi-modal model. In International Conference on Learning Representations, volume 2025, pages 6446–6469, 2025.