Kaijing Ma

Paper Notes

Scaling Rectified Flow Transformers for High-Resolution Image Synthesis

Paper Notes

Patrick Esser*, Sumith Kulal, Andreas Blattmann, …, Robin Rombach* (Stability AI; * equal first authors)

ICML 2024 · Based on arXiv v1 (March 5, 2024)

arXiv 2403.03206v1

Overview: Problem, Approach, and Core Evidence

Paper Figure 2: MM-DiT Architecture。 (a) Overview: The caption enters three frozen text encoders. The pooled vectors from CLIP-G/14 and CLIP-L/14 have 768+1280=2048 dimensions. They and the sinusoidal timestep embedding pass through separate MLPs and are added. This produces global conditioning y, used only for adaLN-style modulation (α, β, γ, δ, ε, ζ). The two CLIP encoders each provide 77 tokens from their penultimate layers. These are concatenated along channels into 2048 dimensions, then zero-padded to 4096. The result is concatenated along the sequence axis with 77 T5-XXL tokens. This gives text sequence c, with 77+77=154 tokens and shape 154×4096. The image latent is divided into 2×2 patches and receives positional embeddings, producing x. (b) One MM-DiT block: c and x each have separate LayerNorm, modulation, Linear, and MLP weights. The sequences join only for one joint-attention operation, then separate into their respective streams. Q and K optionally receive RMSNorm, or QK-norm. Only the image stream enters the output path. Modulation, Linear projection, and unpatching produce the velocity.

Three Main Conclusions

  • Training objective: rf/lognorm(0.00, 1.00) ranks first among 61 formulations, with an average rank of 1.54. Uniformly sampled rf ranks 5.67, below the previously common eps/linear formulation at 2.88.
  • Architecture: On CC12M, MM-DiT outperforms DiT, CrossDiT, and UViT in validation loss, CLIP, and FID. Three weight sets perform only slightly better than two, so the final design uses two.
  • Scaling: Depth increases from 15 to 38, reaching 8B parameters and 5×10²² training FLOPs without signs of saturation. Validation loss strongly correlates with GenEval (r=−0.920), human-preference Elo (r=−0.982), and T2I-CompBench (r=−0.898). Larger models lose less performance with fewer sampling steps.

One-Sentence Summary

This work first systematically scales rectified flow to text-to-image generation. Rectified flow connects data and noise with straight lines and regresses velocity ε−x₀. Training samples intermediate t more often through a logit-normal distribution, performing best among 61 formulations. The backbone becomes MM-DiT, with separate stream weights and joint attention. The recipe also includes a 16-channel AE, 50/50 synthetic captions, QK-norm, and resolution-dependent timestep shifts. The model scales to 8B parameters. Validation loss decreases smoothly and strongly correlates with GenEval and human preference. Its overall GenEval score is 0.74, above DALL-E 3 at 0.67.

Problem: Promising RF Theory Without Large-Scale Validation

  • How should the forward diffusion path be chosen? This path determines the curvature of the reverse ODE. Curved paths require many integration steps. Straight paths may be traversed in one step with less accumulated error. A forward process that fails to reach full noise also creates training-test mismatch, such as gray-looking generated images.
  • Rectified flow (Liu et al.; Albergo & Vanden-Eijnden; Lipman et al.) connects data and noise with straight lines. Its theory is more favorable and its concept simpler. However, its advantages had appeared only in small- to medium-scale experiments, mostly with class conditioning. It had not become standard practice.
  • Text-to-image backbone: A common design feeds fixed text representations into the network through cross-attention. The text representation itself does not update with the image. The authors consider this suboptimal. Scaling laws for text-to-image diffusion models had also not been studied.

Approach: Three Components

  • Improved RF training: The distribution of t changes from uniform to intermediate-biased sampling through logit-normal, mode, and CosMap. This is equivalent to time-dependent loss weighting. A unified framework supports large-scale comparisons of 61 formulations, including EDM, cosine, and LDM-Linear.
  • MM-DiT: Text and image tokens have separate weight sets. They concatenate inside attention, allowing information to flow in both directions.
  • Scaling study and high-resolution recipe: A 16-channel AE, 50/50 CogVLM-generated captions, QK-norm, and variable-aspect-ratio positional embeddings are combined. Resolution-dependent timestep shifts use α=3. DPO alignment follows.

Four Text-to-Image Backbones (Paper Section 5.2.3)

Four Text-to-Image Backbones (Paper Section 5.2.3)
DiT (concatenation)CrossDiTUViTMM-DiT
Text input mechanismSequence concatenationcross-attnSequence concatenationSequence concatenation
Separate text / image weights×△×✓
Text representation updates across layers✓×✓✓
CC12M ranking (Figure 4)WorstSecondThirdBest

Concatenation-based DiT can be viewed as MM-DiT with one shared weight set. UViT combines U-Net and transformer designs. It learns faster initially but ultimately underperforms CrossDiT. △ indicates that CrossDiT text supplies only K/V and bypasses the image-stream MLP.

1 / 4Based on arXiv v1 (March 5, 2024)

Unified Framework, Timestep Distributions, and MM-DiT Details

Unified Framework: One Forward Path

Generative ODE: A sample starts from noise distribution p₁. Solving the generative ODE produces a sample from data distribution p₀. Direct training through a differentiable ODE solver, as in Neural ODEs, is too expensive. The alternative regresses a vector field without simulation.

dyₜ = vΘ(yₜ,t) dt

Forward process: Every formulation takes the following form.

zₜ = aₜx₀ + bₜε,ε∼N(0,I)

The boundary values are a₀=1, b₀=0, a₁=0, and b₁=1. Thus t=0 represents data and t=1 pure noise. The map ψₜ(·|ε): x₀↦aₜx₀+bₜε defines the conditional path. Its velocity uₜ(z|ε) generates pₜ(·|ε). The marginal vector field follows Lipman et al.:

uₜ(z) = Eε[uₜ(z|ε) pₜ(z|ε)/pₜ(z)]

This generates marginal path pₜ, as proved using the continuity equation in Appendix B.1. FM → CFM: Direct regression of uₜ(z) is intractable because ε must be marginalized:

LFM = Eₜ,pₜ(z) ‖vΘ(z,t)−uₜ(z)‖²

Replacing it with the conditional target preserves the gradients and changes the objective only by a constant. The derivation appears in Appendix B.1, Equations 30 to 36:

LCFM = Eₜ,pₜ(z|ε),p(ε) ‖vΘ(z,t)−uₜ(z|ε)‖²

Noise prediction: The conditional velocity can be rewritten using log-SNR λₜ.

uₜ(z|ε) = (a′ₜ/aₜ)z − (λ′ₜbₜ/2)ε;λₜ=log(aₜ²/bₜ²)

The definition εΘ=2/(λ′ₜbₜ)·((a′ₜ/aₜ)zₜ−vΘ(zₜ,t)) turns CFM into a weighted ε-prediction loss. Any time weighting leaves the optimal solution unchanged. The unified expression follows Kingma & Gao (2023):

Lw(x₀) = −½ Eₜ,ε[wₜλ′ₜ ‖εΘ(zₜ,t)−ε‖²]

Note: Formulations differ through the choice of (aₜ,bₜ), network parameterization (ε / v / F / velocity), and weight wₜ. The distribution of t, discussed below, provides another distinction.

Note: SD3 Reverses the Time Direction of Liu et al.

  • SD3: x₀ is data and ε is noise. Time t=0 is the data endpoint, while t=1 is noise. Generation integrates from t=1 to t=0.
  • Liu et al. 2022: X₀~π₀ is noise and X₁ is data. The target is X₁−X₀, with integration from t=0 to 1. The correspondence is:
Liu: Xₜ=tX₁+(1−t)X₀;SD3: zₜ=(1−t)x₀+tε;tSD3=1−tLiu

SD3 therefore predicts ε−x₀ toward noise, differing in sign from Liu's X₁−X₀. The formulas require conversion between conventions. This particularly affects the sign of logit-normal parameter m and the shift formula.

Compared Forward Processes (Section 3)

  • Rectified Flow: aₜ=1−t and bₜ=t. The network directly predicts velocity vΘ using LCFM, with corresponding weight wₜRF=t/(1−t).
  • EDM (Karras et al.): A variance-exploding path with F prediction:
zₜ=x₀+bₜε;bₜ=exp F⁻¹N(t|Pₘ,Pₛ)

Here λₜ~N(−2Pₘ,(2Pₛ)²). The original paper uses (Pₘ,Pₛ)=(−1.2,1.2). Cosine follows Nichol & Dhariwal:

zₜ=cos(πt/2)x₀+sin(πt/2)ε
wₜ=sech(λₜ/2)(ε-pred);wₜ=e^(−λₜ/2)(v-pred)

LDM-Linear, used in LDM, modifies the DDPM schedule. It preserves variance, with bₜ=√(1−aₜ²) and discrete t=0,…,T−1:

aₜ=(∏ᵢ₌₀^(t−1)(1−βᵢ))^(1/2);√βᵢ=√β₀+i/(T−1)(√βT−√β₀)

In DDPM, βₜ itself is linear. The experiments label these formulations eps/linear and v/linear.

Core Change: A New RF Timestep Distribution (Section 3.1)

  • Motivation: The RF loss trains uniformly over t in [0,1]. However, predicting ε−x₀ is hardest in the middle. At t=0 and t=1, the optimal prediction is merely a distribution mean. Intermediate times require simultaneously inferring data and noise.
  • Sampling equals weighting: Replacing uniform t with density π(t) gives an equivalent weight:
wₜ=t/(1−t)·π(t)

The original RF weight is therefore multiplied by π(t). Logit-Normal uses u~N(m,s) and t=sigmoid(u):

πln(t;m,s)=[s√(2π)t(1−t)]⁻¹ exp(−(logit(t)−m)²/(2s²))

Values m<0 favor the data endpoint, while m>0 favor noise. Parameter s controls the width. One drawback is zero density at endpoints 0 and 1.

Mode, a heavy-tailed distribution, tests whether zero endpoint density is harmful. It uses a density positive throughout [0,1]. With u~U(0,1), t=fmode(u), and πmode(t;s)=d fmode⁻¹(t)/dt:

fmode(u;s)=1−u−s(cos²(πu/2)−1+u)

The function is monotone for −1≤s≤2/(π−2). Positive s favors the middle, and negative s favors both ends. At s=0, the distribution is uniform, matching the previous RF default. CosMap matches RF log-SNR to the cosine schedule, with u~U(0,1):

t=1/(1+tan(πu/2));πCosMap(t)=2/(π−2πt+2πt²)
Paper Figure 11: Timestep Distributions。 Left: Mode densities for s=−0.54,0,0.81,1.29. Larger s produces a sharper central peak. Right: Logit-normal densities for (m,s)=(0,0.5),(0,1),(0.5,1),(−0.5,1).

The 61 Formulations (Section 5.1)

  • ε and v prediction × linear / cosine schedules: 4 formulations.
  • rf/mode(s): Seven evenly spaced s values from −1 to 1.75, plus s=1.0 and s=0. The latter is uniform rf, giving 9 formulations.
  • rf/lognorm(m,s): A grid over m∈[−1,1] and s∈[0.2,2.2], giving 30 formulations.
  • rf/cosmap: 1 formulation.
  • edm(Pₘ,Pₛ): Pₘ∈[−1.2,1.2] and Pₛ∈[0.6,1.8], giving 15 formulations.
  • edm/rf and edm/cos match the log-SNR weights of rf and v/cos, giving 2 formulations.
  • Setup: ImageNet uses captions of the form “a photo of a 〈class name〉”. CC12M is also evaluated. Training uses batch 1024, AdamW with learning rate 10⁻⁴, and 1000 warmup steps. EMA is 0.99, updated every 100 batches. Each text encoder is independently zeroed with probability 46.4%. About 10% of steps are unconditional, supporting CFG.
  • Evaluation: The checkpoint with the lowest EMA validation loss is selected. COCO-2014 validation provides CLIP scores and FID using CLIP L/14 features, with 1000 images per setting. Six Euler sampling settings are used: 50 steps × CFG 1.0 / 2.5 / 5.0, plus 5 / 10 / 25 steps × CFG 5.0.
  • Ranking: Six sampling settings × EMA or no EMA × 2 datasets gives 24 settings. Within each setting, repeated Pareto-front extraction produces nondominated rankings over (CLIP,FID). The 24 ranks are then averaged.

MM-DiT Details (Section 4, Appendix B.2)

  • Text: CLIP L/14, OpenCLIP bigG/14, and T5-v1.1-XXL are all frozen. Their pooled outputs concatenate into cvec∈R²⁰⁴⁸. The CLIP penultimate-layer sequence has shape 77×2048 and is zero-padded to 4096 dimensions. Concatenation with the T5 sequence, 77×4096, gives cctxt∈R¹⁵⁴ˣ⁴⁰⁹⁶.
  • Why two uses: Pooled vectors preserve only coarse information. They therefore provide modulation together with t, like DiT class conditioning. Fine details require the token sequence.
  • Size depends only on depth d: hidden=64·d, MLP width=4·64·d, and attention heads=d. Depth d=24 gives about 2B parameters, while d=38 gives 8B.
  • Image: An AE with f=8 produces 16-channel latents, normalized by global mean and variance. With 2×2 patches, sequence length is (h/2)(w/2).
2 / 4Based on arXiv v1 (March 5, 2024)

Ablation Evidence for Formulations, Backbones, and the Training Recipe

Result 1: The Best Formulation (Paper Table 1)

Result 1: The Best Formulation (Paper Table 1)
variantOverall mean rank ↓5 steps only50 steps only
rf/lognorm(0.00, 1.00)1.541.251.50
rf/lognorm(1.00, 0.60)2.083.502.00
rf/lognorm(0.50, 0.60)2.718.501.00
rf/mode(1.29)2.753.253.00
rf/lognorm(0.50, 1.00)2.831.502.50
eps/linear (LDM-Linear)2.884.252.75
rf/mode(1.75)3.332.752.75
rf/cosmap4.133.754.00
edm(0.00, 0.60)5.6313.253.25
rf (uniform t, the Liu et al. default)5.676.505.75
v/linear6.835.757.75
edm(0.60, 1.20)9.0013.009.00
v/cos9.1712.258.75
edm/cos11.0414.2511.25
edm/rf13.0415.2513.25
edm(−1.20, 1.20) (original EDM parameters)15.5820.2515.00

For variants with multiple hyperparameters, only the best two settings are listed. Only RF variants with modified t distributions outperform eps/linear. Uniform rf ranks 10th among the 16 listed formulations. rf/lognorm(0.50,0.60) ranks first at 50 steps but averages 8.5 at 5 steps. Selection based on one setting can therefore be misleading.

Detailed Metrics at 25 Sampling Steps (Paper Table 2)

Detailed Metrics at 25 Sampling Steps (Paper Table 2)
variantImageNet CLIP ↑ImageNet FID ↓CC12M CLIP ↑CC12M FID ↓
rf0.24749.700.21794.90
edm(−1.20,1.20)0.23663.120.200116.60
eps/linear0.24548.420.22290.34
v/cos0.24450.740.20997.87
v/linear0.24651.680.217100.76
rf/lognorm(0.50,0.60)0.25680.410.233120.84
rf/mode(1.75)0.25344.390.21894.06
rf/lognorm(1.00,0.60)0.254114.260.234147.69
rf/lognorm(−0.50,1.00)0.24845.640.21989.70
rf/lognorm(0.00,1.00) (final choice)0.25045.780.22489.91

In the reference table, pink shading marks the best value, underlining the second, and italics the third. Noise-end-biased sampling, with m>0 and small s, gives high CLIP but very poor FID. Across four metrics, rf/lognorm(0.00,1.00) places third twice and second once. It remains stable on both measures.

Why Are Losses Not Compared Directly?

Losses from different formulations have different scales and cannot be compared directly. They also need not correlate with sample quality. The comparison therefore uses CLIP for text alignment and FID for quality across multiple sampling settings. The metrics often trade off: noise-biased sampling raises CLIP while worsening FID. Pareto nondominated ranking captures this tradeoff instead of relying on one number. Conclusion: rf/lognorm(0.00,1.00) wins no individual metric, but consistently ranks near the top across settings. This motivates its selection as the default.

Result 2: Backbone Architecture (Paper Figure 4)

Paper Figure 4: Backbone Architecture。 On CC12M, validation loss appears on the left, averaged over t levels 1 to 7. FID and CLIP appear on the right, all plotted against training steps. DiT underperforms UViT, while CrossDiT outperforms UViT, despite UViT learning faster initially. MM-DiT substantially outperforms CrossDiT and DiT. Three weight sets separate CLIP and T5 tokens. They offer only a small improvement over two sets while adding parameters and memory. The final design therefore uses two.

16-Channel AE (Table 3)

16-Channel AE (Table 3)
Reconstruction metric (f=8)4 ch8 ch16 ch
FID ↓2.411.561.06
Perceptual Sim. ↓0.850.680.45
SSIM ↑0.750.790.86
PSNR ↑25.1226.4028.62
Paper Figure 10: AE and Model Size。 The 16-channel latent is harder to predict, giving worse generation FID with small models. At depth 22, its gap from the 8-channel version becomes negligible. The authors choose 16 channels because the model will scale further.

50/50 Synthetic Captions (Table 4)

50/50 Synthetic Captions (Table 4)
GenEval success rate %Original50/50
Color Attribution11.7524.75
Colors71.5468.09
Position6.5018.00
Counting33.4441.56
Single Object95.0093.75
Two Objects41.4152.53
Overall43.2749.78

Two MM-DiT models with d=15 each train for 250k steps. CogVLM generates the synthetic captions. Human captions often describe only the subject, omitting background and composition. Using only synthetic captions might cause forgetting of concepts unknown to the VLM. The recipe therefore mixes equal shares.

Result 1 Revisited: RF Needs Fewer Steps (Figure 3)

Paper Figure 3: FID and Sampling Steps。 FID changes with sampling steps. Faint curves represent the other variants. RF variants clearly lead at low step counts. Beyond 25 steps, only rf/lognorm(0.00,1.00) remains competitive with eps/linear.
3 / 4Based on arXiv v1 (March 5, 2024)

High Resolution, Scaling, Results, and Reading Questions

High-Resolution Recipe (Section 5.3)

  • Data: Filtering removes sexual content, low-aesthetic-score images, and duplicates. SSCD clustering uses 16,000 clusters. At clique size 10, suspected memorized samples decrease 5×. AE latents and text embeddings are precomputed and stored. T5 requires 19.05 GB of GPU memory. Computing it online would slow each 2B-model step by 98.3%.
  • Two stages: Pretraining starts at 256². Fine-tuning then uses higher resolutions and mixed aspect ratios, with buckets sampled by pixel count approximately S².
  • QK-norm: Mixed-precision training diverges at high resolution, while full precision would be about 2× slower. Q and K receive RMSNorm with a learnable scale, following Dehghani et al.'s ViT approach. Together with AdamW ε=10⁻¹⁵, this stabilizes bf16 training. QK-norm can also be added to pretrained models that lacked it.
Paper Figure 5: QK-norm。 These are averages over the final 5 blocks of the 2B model with d=24. Without QK-norm, the maximum attention logit keeps increasing and attention entropy collapses. NaNs appear around 6k steps. Both quantities remain stable with QK-norm.
  • Positional encoding: The model uses 2D frequency encoding. Direct interpolation across aspect ratios gives incorrect side lengths. An “extend and interpolate” grid instead uses ((p−(hmax−s)/2)·256/S)ₚ vertically, followed by center cropping.
  • Resolution-dependent timestep shift: More pixels preserve more signal at the same t, requiring more noise. For a constant image, each pixel is zₜ=(1−t)c+tε. Uncertainty in estimating c from n pixels is:
σ(t,n)=t/(1−t)·√(1/n)

Equating σ(tₙ,n) and σ(tₘ,m) gives:

tₘ=√(m/n)tₙ/[1+(√(m/n)−1)tₙ];α=√(m/n)
λₜₘ=λₜₙ−2logα=λₜₙ−log(m/n)

Thus log-SNR shifts by log(m/n), similarly to Hoogeboom et al. When α>1, tₘ>tₙ, placing the same step closer to the noise endpoint.

Paper Figure 6: Timestep Shift。 Upper left: Mapping curves for different α values. Upper right: Human-preference Elo for the 1024² model sampled with different α values. Values 3.0 and 6.0 score highest, while 1.5 and 1.0 are clearly worse. Bottom: The 512² model trains and samples with α=1.0 in the top row and 3.0 below. The final 1024² training and sampling both use α=3.0.

DPO alignment (Appendix C) follows Wallace et al.'s Diffusion-DPO. Rank-128 LoRA adapters are added to every linear layer. The 2B model trains for 4k steps, and the 8B model for 2k steps. Human evaluation on 128 Parti prompts shows greater preference for both prompt following and image quality.

Scaling (Paper Figure 8, Table 6)

Paper Figure 8: Scaling and Validation Loss。 These panels excerpt the image-model results. Top: Models with d=15,18,21,30,38 train at 256², batch 4096, for 500k steps. Validation loss decreases smoothly with training steps and FLOPs, without saturation. Bottom: Validation loss strongly correlates with GenEval (r=−0.920) and human-preference Elo (r=−0.982). The original figure also includes T2I-CompBench (r=−0.898) and video models. The video settings use d=18,24,30, 16 frames, batch 512, and 140k steps, with human-preference r=−0.908. Validation loss is computed separately at equally spaced t levels in (0,1), then averaged with t=1 excluded. At d=38, the learning rate requires adjustment at 3×10⁵ steps to prevent divergence.
Table 6: Few-Step Sampling and Path Length
5/50 steps10/5020/50Path length
depth=154.300.860.21191.13
depth=303.590.700.24187.96
depth=382.710.140.08185.96

CLIP reduction relative to 50 steps, in percent, uses a fixed seed. Path length is Σ‖vΘ·dt‖ over 50 steps. Larger models follow “straighter” paths and lose less performance at low step counts.

Final Results (Paper Table 5, Figure 7)

Final Results (Paper Table 5, Figure 7)
GenEvalOverallTwo objectsCountingPositionColor attribution
SD v1.50.430.380.350.040.06
PixArt-α0.480.500.440.080.07
SDXL0.550.740.390.150.23
IF-XL0.610.740.660.130.35
DALL-E 30.670.870.470.430.45
Ours 512² d=38 (without DPO)0.680.840.660.400.43
Ours 512² d=38 + DPO0.710.890.730.340.47
Ours 1024² d=38 + DPO0.740.940.720.330.60

This is an excerpt; Single and Colors are additional columns in the original. For 512² without DPO, overall scores rise monotonically with depth. Values at d=18/24/30/38 are 0.58/0.62/0.64/0.68. DALL-E 3 still leads on Position at 0.43.

Paper Figure 7: Human Preference。 The 8B model is compared with SOTA models on Parti-prompts. Win rates cover visual aesthetics, prompt following, and typography, with a red reference line at 50%. Only visual aesthetics against Ideogram-V1.0 falls slightly below 50%.

Removing T5: Each of the three encoders has 46.3% dropout during training, allowing any subset at inference. T5-XXL has 4.7B parameters. Removing it by zeroing yields win rates against the complete model of 50% for aesthetics, 46% for prompt following, and 38% for typography. T5 becomes clearly important only for highly detailed scene descriptions or longer text.

Relation to Liu et al. and InstaFlow

  • Inherited from Liu et al. 2022: Straight-line interpolation and regression of straight-line velocity. SD3 uses only 1-rectified flow. RF, Flow Matching, and Stochastic Interpolants are treated as the same model family.
  • Not used: There is no reflow or distillation. Sampling of t is no longer uniform, and time runs in the opposite direction. The derivation follows Lipman's CFM rather than Liu's Rectify theory. Appendix A also notes that RF does not provide optimal transport.
  • InstaFlow (Liu et al. 2023) uses reflow to distill pretrained SD into a few-step or one-step model. It is post-training acceleration. SD3 instead trains a large model from scratch with the RF objective. It targets good quality at few steps rather than one-step generation. The two approaches can be combined.

Questions After Reading

  • 1. What is SD3's “RF” loss? With zₜ=(1−t)x₀+tε, the model regresses vΘ≈ε−x₀ and samples t~logit-normal(0,1).
  • 2. Why does nonuniform t equal weighting? Eₜ~π[ℓₜ]=Eₜ~U[π(t)ℓₜ], with wₜ=t/(1−t)·π(t). The optimum stays unchanged; only the optimization trajectory changes.
  • 3. Why favor intermediate t? At either endpoint, the optimal prediction is merely a mean. Intermediate times are hardest. Uniform rf ranks only 10th among the 16 formulations listed in Table 1.
  • 4. Which formulation is chosen, and why? rf/lognorm(0.00,1.00) averages rank 1.54 across 24 settings. It ranks near the top at both 5 and 50 steps.
  • 5. How does MM-DiT fundamentally differ from CrossDiT? Text has its own weights and updates across layers. Joint attention enables interaction in both directions. In CrossDiT, text supplies only fixed K/V.
  • 6. Why is a timestep shift necessary? At higher resolution, the signal is easier to recover at the same t. Equating σ yields the tₘ formula. The 1024² model uses α=3.
  • 7. What does QK-norm solve? Large models at high resolution suffer exploding attention logits and entropy collapse, causing divergence. RMSNorm enables bf16 training.
  • 8. Why a 16-channel AE? It raises the reconstruction ceiling, with FID 1.06 versus 2.41. It requires a larger model, fitting the scaling objective.
  • 9. Can validation loss replace evaluation? The paper considers it a simple, general indicator. Correlations with GenEval and human preference reach −0.92 and −0.98.
  • 10. Is T5 worthwhile? It has 4.7B parameters and high memory costs. Removing it leaves aesthetics unchanged but reduces the typography win rate to 38%.
4 / 4Based on arXiv v1 (March 5, 2024)

Original figures and data come from the cited paper. Explanations and comparisons are reading notes. Source versions and figure labels appear beside the material.