betaFeedback

WorksComputer Science

LiFT: Loop Flow Transformers

Abstract

We introduce Loop Flow Transformers (LiFT), a family of looped generative models that scales computation by repeatedly applying a shared Diffusion Transformer (DiT) core, with only light changes to the standard architecture. Rather than asking every recurrent step for the final prediction, LiFT trains each step with a single regression target: a point on a straight path from the model's initial estimate to the flow-matching target. Because we index these targets by a continuous depth coordinate, a trained model can loop far beyond its training depth with no retraining, early exits, or other modifications. In our experiments, these longer rollouts improve generation, so inference computation can grow without adding parameters. On ImageNet at 256x256, LiFT-L/2 achieves an FID 3.34 points lower than our dense DiT-XL/2 baseline while using approximately 60% fewer parameters, 32% fewer training FLOPs, and 52% fewer inference FLOPs.

Preprint.

Loop in Depth, Flow in Time

*Equal co-authorship; random order. †Equal supervision.

Introduction

Diffusion Transformers (DiTs) have become a dominant architecture for generative modeling, with increasingly large models driving advances across image, video, and scientific domains [1, 2, 3, 4]. Much of this progress, however, has come from increasing parameter count, so that generation quality remains closely tied to model size.

Looped transformers offer an alternative: by repeatedly applying a shared set of layers, they increase the network’s effective depth while keeping the number of trainable parameters fixed [5, 6]. In flow-based generation [7, 8, 9], this opens a second way to spend inference compute. A flow model generates an image by following a learned velocity field from noise to data, and the usual way to add compute is to take more integration steps, each requiring one network evaluation. Each step, however, can be no better than the network’s velocity estimate, so quality saturates once integration error is no longer the bottleneck [10, 11]. Looping instead spends additional compute within each step to refine the velocity estimate, so steps and loops act as complementary axes of inference compute [12]. Steps follow the flow more closely; loops estimate it more accurately. In principle, a trained looped model can therefore buy better predictions at test time by running more loops.

In practice, however, extra loops pay off only when two conditions are met. A model must be able to handle more loops than it was trained with, and the added compute must yield better quality than a dense model given the same compute. Results on both points have so far been mixed. Without dedicated training, a looped diffusion transformer produces coherent images only at its training depth [12]. Intermediate supervision can make looped models usable across depths, but loops beyond the training depth soon hurt rather than help: on ImageNet, FID worsens as soon as inference exceeds the training depth, and on video, quality peaks at 1.5 times the training depth [12]. In these methods every intermediate prediction is trained toward the complete output [12, 13], so no stage is given a distinct role. On the second condition, a looped DiT-B/4 trained with MeanFlow gave no advantage over a dense model at equal compute, and extra sampling steps paid off more than extra loops [14].

We address both conditions with the Loop Flow Transformer (LiFT), which, rather than asking every loop for the complete output, gives each loop its own target. Within each network evaluation, LiFT draws a straight path from the model’s initial velocity estimate to its training target and tells each loop how far along this path it is. Each loop is supervised at the matching point, so successive loops carry out successive stages of a single correction, and the last loop is trained on the target itself. Because progress along the path is continuous, the loop count only sets how finely the path is traversed, much as the number of integration steps does for generative time; both can be chosen after training. LiFT thus separates computational depth from generative time:

“Loop in depth, flow in time.”

Our results on ImageNet 256 × 256 (Figure 1) show that at the DiT-L/2 and DiT-XL/2 scales [1], LiFT outperforms larger dense DiTs with fewer parameters. The figure separates the number of integration steps TT from the number of loops used in training, KtrainK_{\mathrm{train}}, and at inference, KinfK_{\mathrm{inf}}. Dense DiTs level off as TT grows to 250 steps. A LiFT checkpoint trained at a fixed KtrainK_{\mathrm{train}} trails a dense DiT that executes the same number of blocks, but keeps improving as KinfK_{\mathrm{inf}} grows until it reaches FIDs the dense models do not attain, at lower inference cost. At DiT-B/2, the dense model remains stronger.

Figure 1. Looping a smaller model beats larger dense DiTs at L/2 and XL/2 scale. FID against inference FLOPs per parameter for LiFT checkpoints at 50 integration steps (solid; colour encodes inference depth, marker area parameter count) and for dense DiTs as the number of steps varies (dotted). Only at B/2, the dense model remains stronger.

Contributions

  1. A trajectory objective for recurrent generation. We introduce LiFT, which gives each loop its own target on a path from the model’s initial estimate to the training target, and trains the last loop on the standard flow-matching objective.

  1. Useful recurrence far beyond training depth. Without retraining, an XL/2 checkpoint trained with two loops reduces FID from 17.07 to 9.31 at sixteen loops, eight times its training loop count.

  1. Better generation with fewer parameters and lower inference cost. On ImageNet 256 × 256, LiFT-L/2 lowers FID by 3.34 relative to our dense DiT-XL/2 baseline, with about 60% fewer parameters, 52% fewer inference FLOPs, and the same training-token budget.

Background

Flow Matching

Let ρ0\rho_0 denote a tractable base distribution, typically N(0,I)\mathcal{N}(0, I), and let ρ1=pdata\rho_1 = p_{\mathrm{data}} denote the target data distribution. Flow matching learns a time-dependent velocity field that transports samples from ρ0\rho_0 to ρ1\rho_1 [7]. A simple construction, also underlying rectified flow and a special case of stochastic interpolants [8, 9], starts from independent draws x0∼ρ0x_0 \sim\rho_0 and x1∼ρ1x_1 \sim\rho_1 and defines the linear conditional path and its velocity as

xt=(1−t)x0+tx1,u⋆=dxtdt=x1−x0,t∈[0,1].(1)x_t = (1-t)x_0 + tx_1,\qquad u^\star= \frac{\mathrm{d}x_t}{\mathrm{d}t} = x_1 - x_0,\qquad t \in[0,1]. \tag*{(1)}

The marginal distribution ρt\rho_t of xtx_t interpolates between the base and data distributions. Because the corresponding sample-specific velocity target is available directly, training can regress it without simulating an ODE. With t∼U(0,1)t \sim\mathcal{U}(0,1) and dd output coordinates, the conditional flow-matching objective is

LFM(θ)=Ex0,x1,t[1d∥vθ(xt,t)−u⋆∥22].(2)\mathcal{L}_{\mathrm{FM}}(\theta) = \mathbb{E}_{x_0,x_1,t}\left[\frac{1}{d}\left\|v_\theta(x_t,t)-u^\star\right\|_2^2\right]. \tag*{(2)}

Its unrestricted regression optimum is the conditional mean v⋆(x,t)=E[u⋆∣xt=x,t]v^\star(x,t) = \mathbb{E}[u^\star\mid x_t = x,t], the marginal velocity associated with the path. Additional conditioning, such as a class label, can be included in both the predictor and this conditional expectation. At inference, the learned field defines a neural ODE [15]: generation starts from X0∼ρ0X_0 \sim\rho_0 and numerically integrates dXt/dt=vθ(Xt,t)\mathrm{d}X_t/\mathrm{d}t = v_\theta(X_t,t) to t=1t = 1, yielding an approximation to ρ1\rho_1. We write TT for the number of integration steps; with ordinary Euler integration, each step calls the learned field once.

Diffusion Transformers

Diffusion Transformers (DiTs) parameterize diffusion or flow-based generative models with a transformer backbone operating over image or latent patches [1]. The input is first embedded into a sequence of tokens and then processed by a stack of attention and feed-forward blocks. Generative time tt and, when available, auxiliary information such as a class label condition these blocks through mechanisms such as adaptive normalization and gated residual branches. A final prediction head maps the resulting token representations back to the input geometry to produce the quantity required by the generative objective. In our setting, this quantity is the flow-matching velocity vθ(xt,t)v_\theta(x_t,t).

Looped Transformers and Computational Depth

A conventional transformer assigns distinct parameters to each block. A looped transformer instead applies one shared block, or group of blocks, repeatedly, so executed depth grows with the number of passes while the parameter count stays fixed [5]. This distinction can be expressed through a prelude–core–coda decomposition, following Geiping et al. [6] and the architectural formulation of Chen et al. [16]. For an input xx and conditioning cc,

h0=Pθ(x,c),hk=Rθ(ϕ(hk−1,h0),c),uk=Dθ(hk,c).(3)h_0 = P_\theta(x,c),\qquad h_k = R_\theta(\phi(h_{k-1},h_0),c),\qquad u_k = D_\theta(h_k,c). \tag*{(3)}

The prelude PθP_\theta embeds the input once, producing the initial state h0h_0. The core RθR_\theta is applied KK times with the same weights; the boundary operator ϕ\phi links successive passes and may normalize the state and reinject h0h_0 so that every pass retains access to the input. The coda DθD_\theta maps any state to a prediction through its own transformer blocks, if any, and a prediction head, so u0u_0 is the prediction from the prelude alone and uKu_K the prediction after KK passes. The core may additionally receive an embedding of its pass index; § 3 builds on this. In our setting x=xtx = x_t, cc encodes tt and any class label, and vθ(xt,t)=uKv_\theta(x_t,t) = u_K.

With LPL_P, LRL_R, and LDL_D transformer blocks in the prelude, core, and coda, respectively, weight sharing separates the number of unique blocks from the number executed to produce the final prediction:

Lunique=LP+LR+LD,Lexecuted=LP+KLR+LD.L_{\mathrm{unique}} = L_P + L_R + L_D,\qquad L_{\mathrm{executed}} = L_P + K L_R + L_D.

These counts exclude the embedding and prediction heads and assume that the coda is evaluated only at the final state. This separation also underlies iso-depth scaling studies, which compare repeated computation with distinct layers at matched executed depth [17]. The loop count KK therefore controls computation within a single prediction, independently of any generative time coordinate. Training unrolls a chosen number of passes; at inference, their number can change without changing the trained parameters. Whether additional passes improve the prediction depends on the learned recurrence.

Parameter and compute budgets. Following Hoffmann et al. [18], let NN denote the number of trainable parameters, DD the number of training tokens processed, and CtrainC_{\mathrm{train}} the total training compute in FLOPs. For image models, tokens are patches of an image or its latent representation. With nn tokens per example, UU optimizer updates, and global batch size BbatchB_{\mathrm{batch}}, the training-data budget is

D=UBbatchn.D = U B_{\mathrm{batch}} n.

Repeated presentations of an image contribute to this count, whereas recurrent passes over the same tokens increase computation without increasing DD or adding parameters. Equal parameter or data budgets therefore need not imply equal training compute.

We separately measure inference compute per generated image as

Cinfer=TCforward(K),C_{\mathrm{infer}} = T C_{\mathrm{forward}}(K),

where TT is the number of integration steps and Cforward(K)C_{\mathrm{forward}}(K) is the cost of one velocity prediction with KK loops. These costs exclude tokenizer decoding.

LiFT

We introduce the Loop Flow Transformer (LiFT), a flow-based generative model that increases computational depth by repeatedly applying a shared transformer core. To train this recurrence, we construct a continuous reference path from the model’s initial velocity estimate to the flow-matching target. During training, we randomly sample intermediate depth coordinates ss, condition each core application on its coordinate, and supervise the resulting predictions at the corresponding points along the path. Each loop thus receives a distinct correction task, while the final prediction retains the ordinary flow-matching objective.

Method

For a training example (x0,x1,t)(x_0, x_1, t), let xtx_t and u⋆u^{\star} denote the interpolated state and conditional velocity target defined in Equation (1). We introduce a continuous computational-depth coordinate s∈[0,1]s \in[0, 1] to describe progress within a single velocity evaluation, keeping the noisy input, generative time, and any class condition fixed. Figure 2 expands one such evaluation, the dashed sampler step in panel (a), into the recurrence of panel (b): starting from a prelude state h0h_0, KK applications of the shared core produce states h1,…,hKh_1, \ldots, h_K, and a shared readout maps each state hkh_k to a prediction uku_k at depth sks_k. The loop path is chosen separately for the two phases: training unrolls KtrainK_{\mathrm{train}} loops, whereas inference may use a different depth KinfK_{\mathrm{inf}}; plain KK appears only in statements that hold for both. We suppress the fixed outer conditioning here and specify the recurrence in § 3.2.

Figure 2. Loop in depth, flow in time. (a) The sampler advances through generative time, calling the network once per step. (b) Within each call, a shared core is applied KK times, each time at its own depth coordinate sks_k, and a shared readout maps every state to a prediction uku_k. (c) In training, each uku_k is regressed onto its point uˉsk\bar{u}_{s_k} on the path from b=sg⁡(u0)b = \operatorname{sg}(u_0) to u∗u^*. (d) Training samples the interior coordinates at random; inference uses a uniform grid. Colours mark the same loop across panels; normalization and the first reinjection of h0h_0 are omitted for clarity.

A reference path in prediction space. The initial prediction defines an anchor b=sg⁡(u0)b = \operatorname{sg}(u_0), where sg denotes stop-gradient. Because it is computed before the recurrent rollout, this estimate depends on neither the sampled grid nor the loop count. We connect it to the sampled flow-matching target through the linear path

uˉs=(1−s)b+su⋆,s∈[0,1].(4)\bar{u}_s = (1-s)b + s u^{\star}, \qquad s \in[0,1]. \tag*{(4)}

For a fixed initial predictor b=b(z)b = b(z), where zz collects the noisy input, generative time, and any class condition, the reference path has conditional mean E[uˉs∣z]=(1−s)b(z)+sv⋆(z)\mathbb{E}[\bar{u}_s \mid z] = (1-s)b(z) + s v^{\star}(z), where v⋆(z)=E[u⋆∣z]v^{\star}(z) = \mathbb{E}[u^{\star} \mid z] is the marginal velocity of § 2.1. Its squared-loss regression optimum therefore progresses linearly from the initial estimate toward the marginal flow field, reaching the ordinary flow-matching optimum at s=1s = 1. Each depth coordinate thus defines a prediction task along the same correction path; Section C.1 gives the assumptions and derivation.

Random depth coordinates. To train the recurrence across this interval, we independently sample Ktrain−1K_{\mathrm{train}} - 1 coordinates from U(0,1)U(0,1) for each example at every update (Figure 2d, top). Sorting these draws and appending the endpoints gives

s0=0<s1<⋯<sKtrain−1<sKtrain=1.(5)s_0 = 0 < s_1 < \cdots< s_{K_{\mathrm{train}}-1} < s_{K_{\mathrm{train}}} = 1. \tag*{(5)}

We then unroll the same KtrainK_{\mathrm{train}} core applications at these coordinates, supervising each readout against its corresponding reference value, as in Figure 2c. Varying the sampled grid changes both the intermediate prediction tasks and the recurrent histories through which they are reached, while the rollout length stays fixed. Every grid retains the endpoint sKtrain=1s_{K_{\mathrm{train}}} = 1, so the final readout always addresses the complete flow-matching task.

Trajectory supervision over KtrainK_{\mathrm{train}} loops. Writing S=(s0,…,sKtrain)S = (s_0, \ldots, s_{K_{\mathrm{train}}}) for the sampled grid, we train the recurrent predictions with

LLiFT(θ)=Ex0,x1,t,S[1Ktraind∑k=1Ktrain∥uk−((1−sk)b+sku∗)∥22],(6)\mathcal{L}_{\mathrm{LiFT}}(\theta) = \mathbb{E}_{x_0,x_1,t,S}\left[\frac{1}{K_{\mathrm{train}}d}\sum_{k=1}^{K_{\mathrm{train}}}\left\lVert u_k - \left((1-s_k)b+s_k u^*\right)\right\rVert_2^2\right], \tag*{(6)}

Here dd denotes the prediction dimension, and the loss averages uniformly over the KtrainK_{\mathrm{train}} recurrent readouts, with any class condition included in the expectation. At the endpoint sKtrain=1s_{K_{\mathrm{train}}} = 1, the reference recovers the conditional flow-matching target, while each intermediate coordinate specifies how much of the correction remains:

u⋆−uˉs=(1−s)(u⋆−b).u^\star-\bar{u}_s=(1-s)(u^\star-b).

The objective therefore distributes the prediction task across depth, supervising a progression toward the endpoint rather than asking every readout to recover it immediately.

Although the anchor bb is recomputed on every forward pass, it is detached when forming the targets, whereas gradients through the predictions propagate through the full recurrent rollout, including the prelude.

Supervising the initial estimate. The trajectory objective trains the recurrent predictions but does not directly require u0u_0 to approximate the target velocity. As the shared parameters change, its magnitude can drift, allowing the anchor contribution (1−s)b(1-s)b to dominate the intermediate targets and leaving the core to learn an unnecessarily large correction. To encourage a useful starting estimate, we add an auxiliary regression loss:

Ltrain(θ)=LLiFT(θ)+λLprelude(θ),Lprelude(θ)=Ex0,x1,t[1d∥u0−u⋆∥22].(7)\begin{aligned} \mathcal{L}_{\mathrm{train}}(\theta)&=\mathcal{L}_{\mathrm{LiFT}}(\theta)+\lambda\mathcal{L}_{\mathrm{prelude}}(\theta),\\ \mathcal{L}_{\mathrm{prelude}}(\theta)&=\mathbb{E}_{x_0,x_1,t}\left[\frac{1}{d}\lVert u_0-u^\star\lVert_2^2\right]. \tag*{(7)} \end{aligned}

The coefficient λ\lambda controls supervision of the initial prediction and is applied once outside the 1/Ktrain1/K_{\mathrm{train}} average, making its weight independent of the training loop count. Whereas this auxiliary term differentiates through u0u_0, the same prediction remains detached when constructing the trajectory targets. Consequently, at Ktrain=1K_{\mathrm{train}}=1, training combines the ordinary flow-matching objective with the separate prelude loss. Algorithm 1 in Section D.3 summarizes the procedure, with experimental settings reported in Section D.

Inference with a chosen depth budget. At each integration step, LiFT initializes a fresh prelude state and applies the shared core at sk=k/Kinfs_k=k/K_{\mathrm{inf}} (Figure 2d, bottom). Changing the loop budget therefore changes the computational grid while preserving its endpoint s=1s=1. The final readout at this endpoint supplies the velocity to the outer sampler of Figure 2a, while intermediate readouts are needed only during training. With Euler integration, the update is

xt+Δt=xt+Δt uθ(Kinf)(xt,t),(8)x_{t+\Delta t}=x_t+\Delta t\,u_\theta^{(K_{\mathrm{inf}})}(x_t,t), \tag*{(8)}

where uθ(Kinf)(xt,t)u_\theta^{(K_{\mathrm{inf}})}(x_t,t) denotes the final readout uKinfu_{K_{\mathrm{inf}}}, and Δt=1/T\Delta t=1/T for TT uniform steps.

Architecture

LiFT partitions a DiT backbone into a prelude PθP_\theta, a shared recurrent core RθR_\theta, and a prediction-only coda DθD_\theta that includes the velocity readout. The prelude embeds the input patches and processes them once per integration step, while the core reuses the same transformer blocks at every inner step. The fixed outer conditioning c=et(t)+ey(y)c=e_t(t)+e_y(y) sums embeddings of the generative time tt and the class label yy, omitting eye_y when no label is available, and the computation is

h0=Pθ(xt,c),hk=Rθ(RMSNorm⁡(hk−1)+h0,c+es(sk)),k=1,…,K,uk=Dθ(hk,c),k=0,…,K.(9)\begin{aligned} h_0&=P_\theta(x_t,c),\\ h_k&=R_\theta\bigl(\operatorname{RMSNorm}(h_{k-1})+h_0,c+e_s(s_k)\bigr),\qquad k=1,\ldots,K,\\ u_k&=D_\theta(h_k,c),\qquad k=0,\ldots,K. \tag*{(9)} \end{aligned}

The boundary operation normalizes the previous state and reinjects h0h_0 (the ⊕\oplus nodes in Figure 2b), preserving access to the input representation throughout the rollout. In addition to this input reinjection, we adapt the shared transformation to its position along the reference path by conditioning the core on es(sk)e_s(s_k) through adaptive normalization and residual gates, following timestep-modulated looped transformers [19]. This depth-dependent conditioning is confined to the core, whereas the prelude and coda use only the fixed outer condition cc. Within the core, however, the depth embedding supplies only the current coordinate sks_k; the preceding coordinate and interval length remain implicit in the recurrent history rather than appearing as explicit inputs.

The coda DθD_\theta maps each hidden state to a velocity prediction using parameters shared across depths. Because it serves only as a prediction branch, it does not modify the state passed to the next core application.

With LPL_P, LRL_R, and LDL_D transformer blocks in the prelude, core, and coda, LiFT contains LP+LR+LDL_P + L_R + L_D unique blocks but executes LP+KinfLR+LDL_P + K_{\mathrm{inf}}L_R + L_D blocks at inference. Because trajectory training also evaluates the coda at the initial state and every intermediate state, its forward pass instead executes LP+KtrainLR+(Ktrain+1)LDL_P + K_{\mathrm{train}}L_R + (K_{\mathrm{train}} + 1)L_D transformer blocks. These counts exclude embeddings and prediction heads; Section D.5.1 provides analytic FLOP accounting that includes these operations and backward computation.

Experiments

LiFT makes recurrent depth adjustable at inference, allowing a fixed set of parameters to support different computational budgets. We evaluate how this flexibility affects generation quality on class-conditional ImageNet, addressing four questions:

Q1. Does LiFT improve beyond its training depth, and overtake dense DiTs?

Q2. How does LiFT compare with larger dense models at comparable compute?

Q3. How should compute be split between recurrent depth and integration steps?

Q4. Which evaluated settings best fit a compute or parameter budget?

Experimental setup

We evaluate class-conditional generation on ImageNet-1k at 256×256256 \times256 resolution, using SD-VAE representations of shape 4×32×324 \times32 \times32.

Models. Our dense DiT baselines and LiFT use the same transformer blocks, adapted from SpeedrunDiT [20]. These blocks use RMSNorm, per-head RMS normalization of attention queries and keys, and two-dimensional rotary positional embeddings, while retaining GELU MLPs and adaLN-zero-style conditioning with gated residual branches. Sharing these modifications across model families controls for the underlying block design. We use the B/2, L/2, and XL/2 backbone dimensions, each with 2×22 \times2 latent patches.

In the main comparisons, LiFT uses four prelude blocks (LP=4L_P = 4), a shared recurrent core, and no transformer blocks in the coda (LD=0L_D = 0). The coda therefore consists only of a shared prediction head, which normalizes and conditionally modulates the tokens before projecting and unpatchifying the velocity prediction. During training, this head reads both the prelude and recurrent states; during sampling, it reads only the final state. Table 1 lists representative configurations; Table 15 in Section D.1 gives the complete list.

ModelLRL_RKtrainK_{\mathrm{train}}LexectrainL_{\mathrm{exec}}^{\mathrm{train}}NN (M)
DiT-B/2––12130.30
DiT-L/2––24457.83
DiT-XL/2––28674.82
LiFT-B/2-R1181256.69
LiFT-B/2-R4421288.58
LiFT-L/2-R55424175.79
LiFT-L/2-R1010224270.24
LiFT-XL/2-R88328293.96
LiFT-XL/2-R1212228389.58

Table 1. Same executed depth, far fewer parameters. Representative LiFT configurations and their dense references; LRL_R is the shared-core block count and LexectrainL_{\mathrm{exec}}^{\mathrm{train}} the executed training depth, including the LP=4L_P = 4 prelude blocks, and NN the parameter count. Table 15 lists all configurations.

Table 15. Complete model configurations and training resources for the checkpoints in Section A.1, with R denoting the shared-core block count. All LiFT models use four prelude blocks and no transformer coda, giving Lunique=4+LRL_{\mathrm{unique}} = 4 + L_R unique blocks and Lexectrain=4+KtrainLRL_{\mathrm{exec}}^{\mathrm{train}} = 4 + K_{\mathrm{train}}L_R executed blocks per training forward pass. Executed depth matches the dense reference within each backbone scale, with its shared value centered across each LiFT group. Parameter counts NN are obtained from the implementation and include conditioning and readout parameters, whereas block counts omit this work. The analytic forward-plus-backward estimate CtrainC_{\mathrm{train}} accounts for it using the protocol in Section D.2 and the accounting in Section D.5, and is reported in EFLOPs (101810^{18} FLOPs).

ModelLRL_RKtrainK_{\mathrm{train}}LuniqueL_{\mathrm{unique}}LexectrainL_{\mathrm{exec}}^{\mathrm{train}}NN (M)CtrainC_{\mathrm{train}} (EFLOPs)
Dense references
DiT-B/2––1212130.3017.666
DiT-L/2––2424457.8361.973
DiT-XL/2––2828674.8291.098
LiFT configurations
LiFT-B/2-R11851256.6917.697
LiFT-B/2-R22461267.3217.681
LiFT-B/2-R44281288.5817.673
LiFT-L/2-R1120524100.2362.089
LiFT-L/2-R2210624119.1262.031
LiFT-L/2-R445824156.9062.002
LiFT-L/2-R554924175.7961.996
LiFT-L/2-R101021424270.2461.984
LiFT-XL/2-R1124528126.6291.263
LiFT-XL/2-R2212628150.5391.181
LiFT-XL/2-R338728174.4391.153
LiFT-XL/2-R446828198.3491.139
LiFT-XL/2-R6641028246.1591.125
LiFT-XL/2-R8831228293.9691.118
LiFT-XL/2-R121221628389.5891.111

Training. We fix the training-data budget at D=3.2768×1010D = 3.2768 \times10^{10} latent-patch tokens per model across all main experiments. With 256 tokens per image, this corresponds to 500,000 optimizer updates at a global batch size of 256, independently of recurrent depth. All models share the data pipeline and optimization settings, using AdamW with a learning rate of 10−410^{-4}. Dense baselines are trained with conditional flow matching, while LiFT uses trajectory supervision with an auxiliary prelude-loss weight of λ=0.01\lambda= 0.01.

Within each backbone scale, we vary the shared-core size LRL_R and training depth KtrainK_{\mathrm{train}} while keeping the executed transformer depth 4+KtrainLR4 + K_{\mathrm{train}}L_R equal to the dense reference: 12 blocks for B/2, 24 for L/2, and 28 for XL/2. With the same training-token budget, this approximately matches transformer training computation while changing the balance between unique parameters and repeated computation. Our FLOP estimates additionally account for conditioning and intermediate readouts. With no transformer coda, their additional cost is less than 0.2% of the dense reference across these configurations; Section D.5.1 derives the comparison and gives the numerical budgets.

Evaluation. We sample with exponential-moving-average weights and Euler integration without classifier-free guidance, pairing the initial noise and class labels across configurations. For each setting, we generate 50,000 images and compute FID, spatial FID (sFID), and Inception Score (IS) from those same images using the official ADM evaluator. FID serves as the primary metric in the main comparisons. Section A lists every evaluated setting with its inference cost, FID, sFID, and IS, and Table 15 collects parameter counts and training costs, so every number quoted in this section can be traced to a table. Full optimization settings, evaluation details, and compute accounting are provided in Section D.

Q1: Generalization beyond training depth

Question: Does LiFT improve beyond its training depth, and overtake dense DiTs?

To assess depth generalization, we vary KinfK_{\mathrm{inf}} for each checkpoint with the sampler fixed at 50 integration steps. Figure 3 shows FID against inference depth, with training depths marked and dense B/2, L/2, and XL/2 drawn as horizontal references.

Figure 3. LiFT improves beyond its training depth, and its larger cores overtake dense DiTs. FID versus inference depth at 50 integration steps; rings mark training depth and dotted lines the dense DiTs. At L/2 and XL/2, the largest cores keep improving well past training depth and overtake the dense model of their scale, whereas single-block cores plateau. Training FLOPs match within each scale.

Increasing inference depth substantially reduces FID without further optimization. L/2 R10 improves from 20.30 at its two-loop training depth to 10.95 at eight inference loops; XL/2 R12 from 17.07 to 9.31 at sixteen inference loops; XL/2 R8 from 16.95 at three training loops to 9.50 at thirty-two inference loops. Checkpoints trained at larger depth follow the same trend with smaller gains (L/2 R5: 21.42 at four training loops to 16.21 at thirty-two inference loops), while the single-block cores plateau near their training depth, consistent with the limited capacity of a single shared block [12]. The curves of the largest cores flatten after eight to sixteen inference loops, with L/2 R10 and XL/2 R12 rising slightly at thirty-two loops. Table 2 summarizes the best depth for representative checkpoints.

ModelKtrainK_{\mathrm{train}}FID at KtrainK_{\mathrm{train}}Best KinfK_{\mathrm{inf}}Best FIDrr
B/2 R4237.951633.878×
L/2 R10220.30810.954×
XL/2 R12217.07169.318×
XL/2 R8316.95329.5010.67×
L/2 R5421.423216.218×
B/2 R1845.701645.582×

Table 2. The best inference depth is often far beyond the training depth. FID at training depth KtrainK_{\mathrm{train}} and best FID over inference depth KinfK_{\mathrm{inf}}, at ratio r=Kinf/Ktrainr = K_{\mathrm{inf}}/K_{\mathrm{train}}; Table 4 lists all checkpoints.

ModelKtrainK_{\mathrm{train}}FID at KtrainK_{\mathrm{train}}Best KinfK_{\mathrm{inf}}Best FIDrr
B/2 R4237.951633.878×8\times
L/2 R10220.30810.954×4\times
XL/2 R12217.07169.318×8\times
XL/2 R8316.95329.5010.67×10.67\times
B/2 R2441.161637.184×4\times
L/2 R5421.423216.218×8\times
XL/2 R6418.083212.208×8\times
L/2 R4527.503221.326.4×6.4\times
XL/2 R4626.113221.785.33×5.33\times
B/2 R1845.701645.582×2\times
XL/2 R3821.963221.234×4\times
L/2 R21027.751627.631.6×1.6\times
XL/2 R21224.953224.392.67×2.67\times
L/2 R12033.503233.211.6×1.6\times
XL/2 R12431.233230.851.33×1.33\times

Table 4. Depth extrapolation for all evaluated checkpoints. All settings use 50 integration steps and 50,000 generated images. The best tested depth minimizes FID within each checkpoint’s measured sweep; r=Kinf/Ktrainr = K_{\mathrm{inf}}/K_{\mathrm{train}} is evaluated at that depth.

Inference depth alone also carries several checkpoints past the dense references. L/2 R10 overtakes both dense L/2 and dense XL/2 at three inference loops, and XL/2 R12 overtakes dense XL/2 at three as well. XL/2 R8 and R6 follow at four and eight inference loops, whereas L/2 R5 draws level with dense L/2 at eight inference loops and overtakes it at sixteen. Because TT is fixed, most of these crossings cost more inference FLOPs than the dense model they beat. The exception is L/2 R10 at three inference loops, which outperforms dense XL/2 (FID 14.64 versus 15.54) with slightly less inference compute (11.43 versus 11.86 TFLOPs) and 60% fewer parameters.

Finding: Training depth is not a ceiling: a checkpoint trained with few loops can be run with many more, turning a small model into a deeper one at inference.

Q2: Generation quality at comparable compute

Question: How does LiFT compare with larger dense models at comparable compute?

In Q1 we fixed TT, so most crossings of a dense reference cost more inference FLOPs than the dense model they beat. Here we compare on cost, Cinfer=TCforward(Kinf)C_{\mathrm{infer}} = T C_{\mathrm{forward}}(K_{\mathrm{inf}}): LiFT keeps 50 integration steps and varies KinfK_{\mathrm{inf}}, while the dense references vary TT (Figure 4).

Figure 4. Looping more reaches lower FID than sampling more for L/2 and XL/2. FID versus inference cost: LiFT varies loops at 50 integration steps (solid), and dense DiTs vary the number of steps (dotted); rings mark training depth. Training FLOPs match within each model scale only.

At its training depth, each LiFT checkpoint executes as many transformer blocks as its dense reference and therefore matches its inference cost, yet every evaluated checkpoint attains a higher FID than the same-scale dense model at 50 steps. For example, L/2 R10 reaches FID 20.30 at its two training loops, compared with 16.94 for dense L/2 at nearly identical cost. This gap is expected: at matched executed depth, a looped model replaces unique blocks with shared ones, and iso-depth scaling laws for looped language models find that a shared recurrence is worth only about half of a unique block [17]. The advantage of LiFT therefore emerges not at the training operating point but once test-time compute is reallocated, whether by extending recurrent depth beyond training or, as Q3 will show, by trading integration steps for loops.

Figure 4 shows that, once depth is extended, the outcome depends on scale. At B/2, the dense model remains stronger at every evaluated cost: the best LiFT B/2 result, FID 33.87, does not reach the 32.50 that dense B/2 attains with 25 integration steps at 1.150 TFLOPs. We attribute this gap to capacity: with at most 89M parameters for the same 32.8B training tokens, the B/2 cores appear too small for the data budget, so additional inference loops cannot compensate. At L/2 and XL/2, by contrast, recurrence yields operating points that improve on the dense reference while costing less. LiFT L/2 R10 with four inference loops attains FID 12.25 at 14.79 TFLOPs per image, whereas dense L/2 needs 16.14 TFLOPs and 100 steps to reach 16.17. Similarly, LiFT XL/2 R8 with four inference loops reaches FID 11.36 at 15.25 TFLOPs, compared with 14.69 at 23.72 TFLOPs for dense XL/2. Because each pair shares a backbone scale, these gains hold under comparable training FLOPs and identical training-token budgets, while LiFT uses 41% and 56% fewer parameters, respectively.

The same sweeps also permit a comparison across scales, although training budgets then differ. With eight inference loops, LiFT L/2 R10 attains FID 10.95 at 28.24 TFLOPs, whereas dense XL/2 reaches

14.30 only with 250 integration steps at 59.31 TFLOPs. LiFT therefore lowers FID by 3.34 points while using approximately 60% fewer parameters and 52% fewer inference FLOPs. Moreover, LiFT reaches this quality with about 32% less training computation (61.98 versus 91.10 EFLOPs).

Finding: A smaller recurrent model can stand in for a larger dense one. At equal depth it trails, as its fewer parameters predict, but, once the shared core has enough parameters, looping more at inference closes and then reverses the gap.

Q3: Allocating computation across depth and time

Question: How should compute be split between recurrent depth and integration steps?

The comparisons in Q2 fix LiFT at 50 steps, leaving open how a given budget should be divided between recurrent depth and integration steps. We therefore evaluate LiFT L/2 R10 over the joint grid T∈{10,25,50,100}T \in\{10, 25, 50, 100\} and Kinf∈{1,2,4,8,16,32}K_{\mathrm{inf}} \in\{1, 2, 4, 8, 16, 32\}. For each inference budget, Figure 5(a) reports the lowest FID among the settings that fit within it, alongside the dense envelopes, whereas Figure 5(b) maps FID across the full grid, so that allocations of equal cost can be compared directly.

Figure 5. Balancing inference loops and integration steps gives the best quality per budget. (a) Lowest measured FID within each inference budget for LiFT L/2 R10, which varies both, and for dense DiTs, which vary integration steps; labels give (T,Kinf)(T, K_{\mathrm{inf}}). (b) FID across inference loops and integration steps, interpolated between the measured dots; dashed lines connect allocations of equal cost, the white line marks the cost of dense L/2 at 50 steps (FID 16.94), and the pink path traces the best allocation as the budget grows. Dense L/2 matches LiFT’s training FLOPs.

Allowing both budgets to vary sharpens the comparison with dense L/2. With 25 integration steps and four inference loops, LiFT L/2 R10 achieves FID 13.16 at 7.397 TFLOPs per image, compared with 16.94 at 8.069 TFLOPs for dense L/2 with 50 steps, and thus improves generation with approximately 41% fewer parameters and 8% less inference computation. In Figure 5(b), this setting lies on the cheaper side of the white curve that marks the cost of dense L/2. The same setting also improves on the checkpoint’s own training configuration: relative to two training loops and 50 steps, it reduces FID from 20.30 to 13.16 while lowering cost from 8.070 to 7.397 TFLOPs. In this regime, recurrent refinement is a more efficient use of inference compute than additional integration steps.

Recurrence is not, however, always the better destination for additional compute. At sixteen inference loops and ten integration steps, the same model obtains FID 15.09 at 11.027 TFLOPs, which is both worse and more expensive than the four-loop, 25-step setting. Here, shifting computation toward integration steps improves the trade-off, so the preferable direction of reallocation depends on the starting configuration.

At larger budgets, the FID surface also flattens. With eight inference loops, doubling the number of steps from 50 to 100 leaves FID nearly unchanged at 10.95 and 10.96, whereas extending depth to thirty-two inference loops raises FID at both budgets. Even at this plateau, the best measured setting, FID 10.95 at 28.24 TFLOPs, remains well below the 15.74 that dense L/2 reaches with 250 steps at 40.35 TFLOPs. Section A.3 reports the selected operating points, and Section A the complete FID, sFID, and IS sweeps.

Finding: Inference quality depends on balancing KinfK_{\mathrm{inf}} against TT: neither more loops nor more integration steps alone yields the best result at a given budget.

Q4: Model selection under resource budgets

Question: Which evaluated settings best fit a compute or parameter budget?

Q3 varies the inference settings of a fixed checkpoint, but deployment also requires choosing the checkpoint itself. To support this choice, Figure 6 reports, for each target FID, the least inference compute and the fewest parameters with which any evaluated checkpoint reaches it. Conversely, a fixed budget on either resource identifies the best measured FID it can support. The two resources need not favor the same model, however. For example, at a target FID of 20, minimizing compute selects LiFT L/2 R10 with ten integration steps and four inference loops (2.96 TFLOPs per image), whereas minimizing parameters selects the smaller LiFT L/2 R5 (176M parameters).

Figure 6. LiFT needs fewer parameters for every quality target, and less compute for strict ones. Least inference compute (left) and fewest parameters (right) with which any evaluated LiFT or dense setting reaches each target FID; settings span scales with different training FLOPs.

Finding: When memory is the constraint, LiFT reaches any quality target with fewer parameters than a dense DiT, and strict targets with less compute as well.

Qualitative comparisons

Figure 7 complements these comparisons with paired generations from LiFT L/2 R10 and dense L/2.

Figure 7. More loops refine samples from the same noise. Selected paired samples from LiFT L/2 R10 at 50 integration steps and dense L/2 at varying numbers of steps; each row shares class and initial noise, and headers give inference TFLOPs per image. Compare the second column with the last: at eight inference loops, LiFT uses 30% less compute than dense L/2 at 250 steps and reaches a lower FID (10.95 versus 15.74).

Related Work

Recurrent computation and depth generalization. Reusing a shared transformation separates the number of trainable parameters from the depth of the executed computation, as in Universal Transformers [5]. The ability to benefit from additional iterations at inference also predates recent looped transformers: on algorithmic reasoning tasks, Schwarzschild et al. [21] demonstrate generalization beyond a fixed training depth, while Bansal et al. [22] investigate training strategies that sustain useful computation over longer rollouts. Recurrent language models extend this direction to larger scales, including training over distributions of recurrence counts [6]. Together, these works establish recurrent depth as a resource for inference-time computation; LiFT investigates how intermediate generative predictions should be supervised to make use of that resource.

Depth conditioning and computational trajectories. To adapt a shared transformation across recurrent applications, Xu and Sato [19] condition it on computational depth. LoopFormer [23] extends this perspective to normalized trajectories, using position and step-size conditioning to train shorter computations toward a full-depth solution. Whereas LoopFormer aligns trajectory endpoints across computational budgets, LiFT assigns distinct targets to intermediate velocity predictions within each rollout. Its normalized coordinate specifies the corresponding fraction of the correction toward the flow-matching target, while training keeps the number of recurrent applications fixed and randomizes their intermediate coordinates.

Recurrence in generative transformers. Within generative networks, DiT-Air [24] investigates layer sharing in diffusion transformers, while Ai et al. [25] examine recurrent layer arrangements inside flow-matching text-to-speech models. LoopDiT [14] provides a close architectural comparison: both methods combine a prelude, a shared recurrent core with depth-dependent conditioning, and an output stage. Within this shared layout, LoopDiT trains its final prediction with MeanFlow, whereas LiFT supervises the intermediate readouts of a flow-matching velocity predictor. The two methods also allocate shorter computations differently: LoopDiT retains a prefix of its training conditioning schedule, while LiFT changes the grid over the full interval [0,1][0,1], so every budget reaches s=1s=1.

Intermediate supervision for generative prediction. Beyond the sharing layout, the training objective determines what intermediate predictions are asked to recover. DeepFlow [13] studies intermediate flow-matching supervision and velocity alignment, while R-MDM [26] examines how the generative loss should be distributed across recurrent outputs. ELT [12] supplements supervision at sampled intermediate exits with self-distillation from a detached full-depth prediction and also reports depth extrapolation in UCF-101 video generation. LiFT organizes these prediction tasks along the reference uˉs=(1−s)sg⁡(u0)+s v∗\bar{u}_s=(1-s)\operatorname{sg}(u_0)+s\,v^*, assigning each readout a fraction of the correction toward the flow-matching target. Unlike a full-depth teacher used in self-distillation, the detached initial prediction defines the starting point from which this correction is measured. The resulting depth-indexed targets define different prediction tasks along the trajectory, while the final readout retains the complete endpoint task.

Computational depth and generative time. The distinction between computation within an evaluation and progression through the generative process also appears in continuous-depth models. ODEt(ODEl)\mathrm{ODE}_t(\mathrm{ODE}_l) [27] explicitly separates sampling time from network length and uses length consistency to relate predictions produced with different computational budgets. LiFT instead uses its continuous coordinate to define a reference trajectory in prediction space. Its core remains a discrete, depth-conditioned recurrence: additional loops change the rollout rather than refine a prescribed numerical solver for an inner ODE. A separate distinction concerns whether recurrent state is reused within a velocity evaluation or carried across the generative trajectory. RIN [28] and Thinking with Looped Flows [29] carry representations as the generative input changes, whereas LiFT initializes its recurrent state separately at each integration step. Flow Reasoning Models [30] provide a closer connection to refinement at fixed generative input: they recurrently condition on previous clean predictions and use Fixed-Point Forcing to construct detached, rollout-derived conditioning states. LiFT instead carries hidden features, differentiates through the recurrent rollout, and assigns depth-dependent velocity targets to its readouts.

Other forms of recursion and equilibrium. Recursive Flow Matching [31] relates rescaled generative trajectories through velocity and consistency supervision; its recursion connects transport problems rather than intermediate predictions within one velocity evaluation. Fixed Point Diffusion Models [32], Generative Equilibrium Transformers [33], and CoFRe [34] instead define repeated computation through a hidden-state equilibrium. These perspectives are complementary to LiFT’s finite, depth-conditioned rollout, whose reference path specifies how its predictions should progress without imposing a fixed-point equation on the hidden states.

Conclusion

LiFT gives each training loop of a recurrent DiT its own target, a point on a reference path from the model’s initial velocity estimate to the flow-matching target. With this supervision, recurrent depth behaves as a second inference-time axis: a fixed checkpoint keeps improving well beyond its training depth, and the best quality at a given budget comes from balancing inference loops against integration steps rather than maximizing either. Although LiFT trails a dense DiT of the same executed depth at its training depth, reallocating inference compute toward recurrence lets its larger-core L/2 and XL/2 checkpoints outperform larger dense DiTs with fewer parameters and less inference compute.

Implications. By making recurrent depth selectable at inference, LiFT allows a fixed checkpoint to adapt its computation to the available budget. Because the shared core adds executed depth without adding parameters, this flexibility could be particularly useful when parameter storage is more restrictive than computation, including memory-constrained edge devices. It also motivates further study of budget-aware generation in video and generative dynamics models.

Limitations. Our evaluation concerns class-conditional image generation at 256×256256 \times256 resolution without classifier-free guidance. Whether the same depth-scaling behavior extends to other modalities or guided sampling remains open. Within this setting, the advantage of LiFT depends on scale and operating point: at B/2, the dense model remains stronger at every evaluated cost, and at its training depth every LiFT checkpoint trails its same-scale dense reference. Each result also comes from a single training run and sample set. The deployment implications require hardware evaluation, since we report parameter counts and analytic FLOP estimates rather than device-level latency, energy consumption, or peak memory. Finally, inference depths are prescribed, and the joint allocation study covers one checkpoint over a finite grid; adaptive depth selection and broader optimization of inner and outer compute budgets remain for future study.

Acknowledgements

This project was supported by the ELLIS Unit Amsterdam and by SURF through access to the Snellius supercomputer. Cees G. M. Snoek is (partially) funded by the Horizon Europe project ELLIOT (GA No. 101214398).

Complete and extended experimental results

This appendix reports every measured setting behind the main figures, including small regressions, and extends the analysis of depth extrapolation and of the allocation of inference compute. Each operating point is evaluated once on 50,000 generated images, so small FID differences, such as those near the plateaus, have not been tested for statistical significance. Section D gives the architecture, training, and evaluation details.

Complete numerical results corresponding to the main figures

Table 3 lists the dense step sweeps and LiFT depth sweeps plotted in the main comparisons, with sampling costs computed as in Section D.5. Training depths, parameter counts, and training costs are collected in Table 15.

ModelKinfK_{\mathrm{inf}}TTTFLOPs/imageFIDsFIDIS
Dense B/2–10.046321.17408.502.04
Dense B/2–100.46044.4913.1845.92
Dense B/2–251.15032.508.9253.42
Dense B/2–502.30030.107.8454.64
Dense B/2–1004.60029.227.3955.11
Dense B/2–25011.50128.827.1954.86
Dense L/2–10.161321.15410.262.02
Dense L/2–101.61429.5910.9968.33
Dense L/2–254.03519.056.9082.98
Dense L/2–508.06916.945.9886.15
Dense L/2–10016.13916.175.6786.99
Dense L/2–25040.34715.745.5287.61
Dense XL/2–10.237319.32409.102.03
Dense XL/2–102.37227.809.8672.85
Dense XL/2–255.93117.686.5789.16
Dense XL/2–5011.86215.545.8192.56
Dense XL/2–10023.72314.695.5293.38
Dense XL/2–25059.30814.305.4393.83
LiFT B/2 R11500.95972.1110.9023.70
LiFT B/2 R12501.15160.7111.1428.14
LiFT B/2 R13501.34253.099.8431.52
LiFT B/2 R14501.53449.549.2432.91
LiFT B/2 R15501.72647.608.9133.52
LiFT B/2 R18502.30145.708.3233.79
LiFT B/2 R116503.83445.587.9933.61
LiFT B/2 R132506.90145.677.9233.46
LiFT B/2 R21501.15168.5511.8224.45
LiFT B/2 R22501.53449.279.6333.50
LiFT B/2 R23501.91743.188.4936.79
LiFT B/2 R24502.30141.167.8337.60
LiFT B/2 R25502.68439.587.0638.22
LiFT B/2 R28503.83437.626.3339.29
LiFT B/2 R216506.90037.186.1539.34
LiFT B/2 R2325013.03337.506.2139.16

Table 3. Complete numerical results corresponding to the main figures. Each row reports FID, sFID, and IS from the same 50,000 generated images. RR denotes the number of blocks in the shared core; a dash denotes a dense model.

ModelKinfK_{\mathrm{inf}}TTTFLOPs/imageFIDsFIDIS
LiFT B/2 R411.53442.407.5039.06
LiFT B/2 R422.30037.956.6740.19
LiFT B/2 R433.06737.376.4140.61
LiFT B/2 R44503.83335.105.6641.95
LiFT B/2 R454.60035.115.6842.00
LiFT B/2 R486.90034.155.4142.71
LiFT B/2 R41613.03233.875.3443.06
LiFT B/2 R43225.29633.965.3443.21
LiFT L/2 R111.682121.21104.667.27
LiFT L/2 R122.01875.2910.0522.40
LiFT L/2 R132.35564.2210.1126.97
LiFT L/2 R142.69154.589.6031.10
LiFT L/2 R15503.02748.169.2434.91
LiFT L/2 R184.03639.088.4240.80
LiFT L/2 R1166.72733.927.4244.82
LiFT L/2 R1208.07233.507.2845.18
LiFT L/2 R13212.10833.217.1745.60
LiFT L/2 R212.01885.7610.2317.47
LiFT L/2 R222.69158.558.8628.08
LiFT L/2 R233.36342.977.9838.21
LiFT L/2 R244.03635.417.5544.81
LiFT L/2 R25504.70831.747.3448.56
LiFT L/2 R286.72628.046.9653.47
LiFT L/2 R2108.07127.756.8953.92
LiFT L/2 R21612.10627.636.7453.71
LiFT L/2 R23222.86527.906.7153.21
LiFT L/2 R412.69181.2910.4919.10
LiFT L/2 R424.03644.759.0436.04
LiFT L/2 R435.38032.016.6948.01
LiFT L/2 R45508.07027.506.3653.61
LiFT L/2 R4812.10423.415.0359.29
LiFT L/2 R41622.86321.714.5061.80
LiFT L/2 R43244.38021.324.3662.56
LiFT L/2 R513.02747.918.5835.52
LiFT L/2 R524.70827.807.2256.95
LiFT L/2 R536.38922.716.5865.41
LiFT L/2 R54508.07021.426.2267.99
LiFT L/2 R559.75119.815.4770.97
LiFT L/2 R5814.79416.944.7377.30
LiFT L/2 R51628.24216.274.5579.02
LiFT L/2 R53255.13816.214.5279.18
LiFT L/2 R1014.70831.836.2251.22
LiFT L/2 R1028.07020.306.3471.80
LiFT L/2 R10311.43114.644.2284.12
LiFT L/2 R1045014.79312.254.1292.01
LiFT L/2 R10518.15511.704.3393.53
LiFT L/2 R10828.24110.954.7497.17
LiFT L/2 R101655.13610.994.6296.87
LiFT L/2 R1032108.92611.574.0793.75
LiFT XL/2 R112.119122.5218.8711.80
LiFT XL/2 R122.54379.7712.7518.44
LiFT XL/2 R132.96769.9110.7123.90
LiFT XL/2 R143.39160.4611.5527.93
LiFT XL/2 R15503.81452.3610.8731.92
LiFT XL/2 R185.08639.838.9740.41
LiFT XL/2 R1168.47632.287.2947.04
LiFT XL/2 R12411.86631.237.0447.95
LiFT XL/2 R13215.25630.856.9348.22

Table 3 (continued).

ModelKinfK_{\mathrm{inf}}TTTFLOPs/imageFIDsFIDIS
12.543102.4044.0912.42
23.39061.268.3626.55
34.23843.927.9037.17
45.08535.727.8844.80
LiFT XL/2 R25505.93231.147.5250.13
88.47426.086.7957.16
1211.86424.956.4258.63
1615.25324.606.2558.94
3228.81024.396.1459.21
12.96778.9711.0018.98
24.23846.808.6235.51
35.50832.637.8449.36
LiFT XL/2 R34506.77926.707.2857.76
58.05023.906.9362.75
811.86321.966.4066.05
1622.03021.235.8967.20
3242.36521.235.8367.27
13.39099.6915.7914.56
25.08549.7210.0732.10
36.77933.527.5646.02
LiFT XL/2 R455010.16826.015.6255.15
611.86326.116.3254.92
815.25223.665.4158.32
1628.80822.184.9360.49
3255.91921.784.7661.32
14.23741.779.4041.59
26.77923.677.3364.82
39.32119.176.6574.46
LiFT XL/2 R645011.86218.086.2276.97
514.40416.025.3082.10
822.02913.114.5591.00
1642.36212.394.3893.69
3283.02912.204.3394.54
15.08533.918.9750.74
28.47319.936.9574.82
311.86216.956.0281.87
LiFT XL/2 R845015.25111.364.33100.08
518.64011.114.25101.13
828.8069.934.02107.47
1655.9179.533.94109.25
32110.1389.503.93109.29
16.77927.717.1560.14
211.86217.076.4182.66
316.94512.744.4293.63
LiFT XL/2 R1245022.02810.694.13102.06
527.11110.254.02103.72
842.3619.553.96106.79
1683.0269.313.93107.88
32164.3569.713.89106.20

Table 3 (continued, PDF p. 21).

Depth-generalization matrices

Figure 8 and Table 5 report every measured point in the main depth sweeps, with rows identifying checkpoints and columns specifying inference depth. We express depth extrapolation through the ratio

Figure 8. FID of every checkpoint in the main depth sweeps across inference depths, on a shared colour scale. The outlined cell in each row marks training depth, and grey cells indicate unevaluated settings.

ModelKtrainK_{\mathrm{train}}1234568101216202432
B/2 R4242.4037.9537.3735.1035.11†–34.15––33.87––33.96†
rr–0.501.001.502.002.503.004.005.006.008.0010.0012.0016.00
L/2 R10231.8320.3014.6412.2511.70–10.95––10.99†––11.57†
rr–0.501.001.502.002.503.004.005.006.008.0010.0012.0016.00
XL/2 R12227.7117.0712.7410.6910.25–9.55––9.31––9.71†
rr–0.501.001.502.002.503.004.005.006.008.0010.0012.0016.00
XL/2 R8333.9119.9316.9511.3611.11–9.93––9.53––9.50
rr–0.330.671.001.331.672.002.673.334.005.336.678.0010.67
B/2 R2468.5549.2743.1841.1639.58–37.62––37.18––37.50†
rr–0.250.500.751.001.251.502.002.503.004.005.006.008.00
L/2 R5447.9127.8022.7121.4219.81–16.94––16.27––16.21
rr–0.250.500.751.001.251.502.002.503.004.005.006.008.00
XL/2 R6441.7723.6719.1718.0816.02–13.11––12.39––12.20
rr–0.250.500.751.001.251.502.002.503.004.005.006.008.00
L/2 R4581.2944.7532.01–27.50–23.41––21.71––21.32
rr–0.200.400.600.801.001.201.602.002.403.204.004.806.40
XL/2 R4699.6949.7233.52–26.0126.11†23.66––22.18––21.78
rr–0.170.330.500.670.831.001.331.672.002.673.334.005.33
B/2 R1872.1160.7153.0949.5447.60–45.70––45.58––45.67†
rr–0.120.250.380.500.620.751.001.251.502.002.503.004.00
XL/2 R3878.9746.8032.6326.7023.90–21.96––21.23––21.23
rr–0.120.250.380.500.620.751.001.251.502.002.503.004.00
L/2 R21085.7658.5542.9735.4131.74–28.0427.75–27.63––27.90†
rr–0.100.200.300.400.500.600.801.001.201.602.002.403.20
XL/2 R212102.4061.2643.9235.7231.14–26.08–24.9524.60––24.39
rr–0.080.170.250.330.420.500.670.831.001.331.672.002.67
L/2 R120121.2175.2964.2254.5848.16–39.08––33.9233.50–33.21
rr–0.050.100.150.200.250.300.400.500.600.801.001.201.60
XL/2 R124122.5279.7769.9160.4652.36–39.83––32.28–31.2330.85
rr–0.040.080.120.170.210.250.330.420.500.670.831.001.33

Table 5. FID of every checkpoint across inference depths, with the depth ratio rr beneath each row. Bold values mark training depth, dashes denote unevaluated settings, and † marks an increase in FID relative to the preceding evaluated depth.

r=KinfKtrainr = \frac{K_{\mathrm{inf}}}{K_{\mathrm{train}}}

so that evaluating a two-loop checkpoint at sixteen loops corresponds to r=8r = 8. Because rows differ in backbone and core size as well as in training depth, comparisons across rows also reflect the architecture.

Observed extrapolation. Several checkpoints improve substantially beyond training depth before their gains diminish. L/2 R10, for example, reduces FID from 20.30 to 10.95 at r=4r = 4, and XL/2 R12 from 17.07 to 9.31 at r=8r = 8; both then regress slightly at larger depths, whereas L/2 R5 and XL/2 R6 reach their best tested FID at 32 loops. By contrast, the single-block cores, as well as the two-block cores in L/2 and XL/2, gain little beyond training depth.

Joint allocation of inference computation

Increasing recurrent depth and increasing the number of integration steps both add sampling computation, but their effects need not be interchangeable. We therefore evaluate LiFT L/2 R10 over the Cartesian grid

T∈{10,25,50,100},Kinf∈{1,2,4,8,16,32}.T \in\{10, 25, 50, 100\}, \qquad K_{\mathrm{inf}} \in\{1, 2, 4, 8, 16, 32\}.

Because all settings use the same frozen 500,000-update checkpoint, trained at K=2K = 2 with four prelude blocks, ten core blocks, and auxiliary prelude-loss weight λ=0.01\lambda= 0.01, the sweep holds trainable parameters, training tokens, and training compute fixed. Every setting follows the evaluation protocol of Section D.4, so initial noise and class labels are paired across settings.

§ 4.4 draws its main allocation results from this grid: four loops at 25 integration steps improve on the two-loop training setting at lower cost, whereas sixteen loops at ten steps are both worse and more expensive than that setting.

Diminishing returns. The gains from both recurrence and integration steps diminish at larger budgets. At eight loops, increasing the number of steps from 25 to 50 reduces FID from 11.39 to 10.95, whereas doubling the steps again to 100 leaves FID nearly unchanged at 10.96. Eight loops is the best tested depth at all three of these step counts, while extending the rollout from eight to 32 loops worsens FID at all four budgets.

Metric dependence. Even at a fixed number of steps, the preferred depth depends on the quality metric. At 25 integration steps, for example, increasing depth from eight to 32 improves sFID from 4.36 to 3.96, even as FID worsens from 11.39 to 12.14 and IS decreases from 97.79 to 94.34.

Figure 9. FID across integration steps and recurrent depth. Colour encodes FID on a logarithmic scale.

TTKinfK_{\mathrm{inf}}TFLOPs/imageFIDsFIDIS
1010.94248.61310.75141.770
1021.61433.63311.49758.830
1042.95918.9556.10781.803
1085.64815.2895.42890.433
101611.02715.0945.48190.670
103221.78516.4355.60686.694
2512.35434.8196.89849.804
2524.03522.5707.27069.810
2547.39713.1654.04191.327
25814.12011.3904.36097.795
251627.56811.4024.30897.103
253254.46312.1423.96394.345
5014.70831.8286.22351.216
5028.07020.3046.34571.805
50311.43114.6424.21784.120
50414.79312.2554.12392.013
50518.15511.7024.32693.526
50828.24110.9524.74497.169
501655.13610.9944.61596.865
5032108.92611.5674.07493.746
10019.41530.5865.93351.696
100216.13919.4225.92672.730
100429.58712.0434.37291.961
100856.48210.9615.18095.980
10016110.27110.9995.00295.332
10032217.85111.4844.33093.193

Table 6. Complete joint-sweep operating points for LiFT L/2 R10, including additional depths 3 and 5 at 50 integration steps. All metrics in a row use the same images.

Measured operating-point envelopes. To compare these allocations within an inference budget BB, we select the measured LiFT operating point with the lowest FID:

(n∗,k∗)∈argmin⁡(n,k)∈G:nCforward(k)≤B FID⁡(n,k),(n^*, k^*) \in\underset{(n,k)\in\mathcal{G}: nC_{\mathrm{forward}}(k)\le B}{\operatorname{argmin}} \ \operatorname{FID}(n,k),

where G\mathcal{G} contains all measured operating points from the joint sweep, together with the additional depths Kinf=3,5K_{\mathrm{inf}}=3,5 evaluated with 50 integration steps. Selecting within this set gives an observed FID, step count, and recurrent depth for each budget, without interpolating between settings. We apply the same budget constraint to dense B/2 and L/2 over T∈{1,10,25,50,100,250}T \in\{1, 10, 25, 50, 100, 250\}, using the analytic FLOP accounting of the main figures and excluding VAE decoding.

LiFT L/2 R10 and dense L/2 also have comparable training computation, with an estimated LiFT overhead of 0.019% (Section D.5.1), whereas dense B/2 has a smaller training budget.

Figure 5 shows these envelopes in the main text, while Table 7 records the setting selected at each measured budget.

Budget (TFLOPs)LiFT TTLiFT KKLiFT FIDDense settingDense FID
0.046–Dense B/2, T=1T=1321.169
0.161–––Dense L/2, T=1T=1321.150
0.460–Dense B/2, T=10T=1044.486
0.94248.613Dense B/2, T=10T=1044.486
1.150148.613Dense B/2, T=25T=2532.501
1.61448.613Dense L/2, T=10T=1029.591
1.61433.633Dense L/2, T=10T=1029.591
2.300233.633Dense L/2, T=10T=1029.591
2.3541033.633Dense L/2, T=10T=1029.591
2.95918.955Dense L/2, T=10T=1029.591
4.03518.955Dense L/2, T=25T=2519.047
4.035418.955Dense L/2, T=25T=2519.047
4.60018.955Dense L/2, T=25T=2519.047
4.70818.955Dense L/2, T=25T=2519.047
5.648815.289Dense L/2, T=25T=2519.047
7.39713.165Dense L/2, T=25T=2519.047
8.06913.165Dense L/2, T=50T=5016.940
8.07013.165Dense L/2, T=50T=5016.940
9.415413.165Dense L/2, T=50T=5016.940
11.02713.165Dense L/2, T=50T=5016.940
11.43113.165Dense L/2, T=50T=5016.940
11.5012513.165Dense L/2, T=50T=5016.940
14.12011.390Dense L/2, T=50T=5016.940
14.79311.390Dense L/2, T=50T=5016.940
16.13911.390Dense L/2, T=100T=10016.173
16.139811.390Dense L/2, T=100T=10016.173
18.15511.390Dense L/2, T=100T=10016.173
21.78511.390Dense L/2, T=100T=10016.173
27.56811.390Dense L/2, T=100T=10016.173

Table 7. FID-minimizing measured settings within each inference budget. The dense column selects among both evaluated dense backbones. Budgets are rounded for display; nearby distinct costs may share a printed value.

Budget (TFLOPs)LiFT TTLiFT KKLiFT FIDDense settingDense FID
28.24110.952Dense L/2, T=100T=10016.173
29.58710.952Dense L/2, T=100T=10016.173
40.34710.952Dense L/2, T=250T=25015.743
54.46310.952Dense L/2, T=250T=25015.743
55.13650810.952Dense L/2, T=250T=25015.743
56.48210.952Dense L/2, T=250T=25015.743
108.92610.952Dense L/2, T=250T=25015.743
110.27110.952Dense L/2, T=250T=25015.743
217.85110.952Dense L/2, T=250T=25015.743

Table 7 (continued).

Ablations and diagnostics

This appendix first ablates two training choices, the depth coordinates and the auxiliary prelude loss, and then examines how a trained model responds to changes in its inference grid. The training ablations share one setup: LiFT B/2 with four prelude blocks, a two-block shared core, four training loops, and no transformer coda. Each setting is trained once for 100,000 updates at a global batch size of 256, otherwise following the pipeline and optimization settings of Section D, and generation follows the evaluation protocol of Section D.4. Sections B.3 and B.4 then turn to a frozen L/2 checkpoint and ask how its intermediate predictions and final velocities vary with the inference grid.

Random versus fixed depth coordinates

This comparison isolates the effect of sampling the depth coordinates at random. The fixed-grid variant replaces the random interior coordinates with the uniform grid sk=k/Ktrains_k = k/K_{\mathrm{train}} and uses it both to condition the core and to construct the reference targets, while the random-grid variant keeps its sampled coordinates for both. Everything else is shared: the two runs use the same architecture, depth embeddings, and trajectory supervision, and both are evaluated on the uniform grid sk=k/Kinfs_k = k/K_{\mathrm{inf}}. To keep the comparison free of auxiliary prelude regression, both variants set λ=0\lambda= 0, whereas the main experiments use λ=0.01\lambda= 0.01.

Random coordinates improve robustness away from the training depth. At four loops, the two checkpoints attain similar FID: 68.51 with random coordinates and 68.31 with fixed coordinates. The fixed-grid model reaches its best tested FID of 66.35 at five loops, slightly below the random-grid model’s best of 66.97 at eight loops. The difference between the two models becomes clearer at larger depths, where fixed-grid FID rises to 75.26 at 16 loops and 86.95 at 32, while the random-grid model stays close to its best, at 67.71 and 68.38, respectively (Figure 10). Random coordinates also improve FID at depths below the training budget, particularly at one and two loops.

Figure 10. Training-grid randomization improves depth robustness. Both models use trajectory supervision with λ=0\lambda= 0 and are evaluated on uniform grids ending at s=1s = 1. Each point uses the same 50,000 initial noise samples and class labels, EMA weights, 50 Euler steps, and no classifier-free guidance. Hollow rings mark the training depth, K=4K = 4.

sFID and IS show the same pattern at large depth: at 32 loops, random coordinates give sFID 9.26 and IS 18.92, compared with 14.87 and 15.78 for fixed coordinates. Table 8 lists every evaluated setting.

Random ssFixed ss
KinfK_{\mathrm{inf}}FID ↓sFID ↓IS ↑FID ↓sFID ↓IS ↑
198.4815.8014.58151.2357.036.64
278.5710.7518.1999.4713.1214.88
370.879.0019.3275.818.0718.48
468.519.4319.4968.319.4519.55
567.469.5119.4766.3510.6519.74
866.979.4319.3166.6010.4419.25
1667.719.2619.0575.2611.8617.51
3268.389.2618.9286.9514.8715.78

Table 8. Random versus fixed training coordinates. Complete metrics for B/2 R2 with Ktrain=4K_{\mathrm{train}} = 4, λ=0\lambda= 0, and 100,000 updates. All settings use 50,000 images and 50 integration steps.

Prelude-loss / λ\lambda ablation

The prelude-loss sweep keeps trajectory supervision and random depth coordinates and varies only λ∈{0,0.01,0.1,1}\lambda\in\{0, 0.01, 0.1, 1\}; its λ=0\lambda= 0 run is the random-grid run of Section B.1. As in Equation (7), the auxiliary term is added once, outside the average over recurrent predictions. Its role is to keep the initial prediction, and hence the anchor, at the scale of the target, so we track the anchor’s magnitude and error throughout training.

A small auxiliary weight controls anchor drift. Without prelude supervision, the anchor RMS rises throughout training, reaching 3.39 over the final 10,000 updates against a target RMS of 1.30, and its median MSE to the flow-matching target grows to 7.96. All three nonzero weights prevent this drift, keeping the anchor RMS near 0.93 and its MSE below 0.84 (Figure 11 and Table 9), so even λ=0.01\lambda= 0.01 suffices.

λ\lambdaAnchor RMSPrelude MSEGradient normValidation MSE
03.38757.96260.09780.777666
0.010.92380.83160.05680.775813
0.10.93110.81000.06610.776069
10.93800.79920.15250.777948

Table 9. Prelude-loss training diagnostics. Anchor RMS, prelude MSE, and gradient norm are medians of logged values over updates 90,000–100,000. Validation MSE uses EMA weights at update 100,000.

Figure 11. Prelude supervision controls the scale of the initial prediction. LiFT B/2 R2, trained with K=4K = 4 for 100,000 updates, varying only the auxiliary weight λ\lambda. Training panels show logged values faintly and an 11-point moving median prominently, omitting the first 2,000 updates; validation curves show unsmoothed full-validation EMA velocity MSE. The dashed line marks the approximate target RMS.

Larger weights bring no further benefit. Stronger prelude regression reduces the prelude’s own error further but does not help downstream. The final validation MSE is lowest at λ=0.01\lambda= 0.01, if only by about 0.24% relative to the zero-weight run (Table 9), and FID is lowest there as well: 64.81 at Kinf⁡=8K_{\inf} = 8, compared with 66.97 without prelude supervision, 65.32 with λ=0.1\lambda= 0.1, and 70.03 with λ=1\lambda= 1 (Figure 12). We therefore use λ=0.01\lambda= 0.01 throughout, and Table 10 lists every evaluated depth.

Figure 12. Generation quality across prelude-loss weights. FID, sFID, and IS for the same four 100,000-update checkpoints used in Figure 11. Each point uses 50,000 generated images with 50 integration steps, with common initial noise and class labels. Hollow rings mark the training depth, K=4K = 4.

λ\lambdaMetricK=1K = 1234581632
0FID98.4878.5770.8768.5167.4666.9767.7168.38
sFID15.8010.759.009.439.519.439.269.26
IS14.5818.1919.3219.4919.4719.3119.0518.92
0.01FID93.9075.6969.2266.3965.2464.8165.4666.01
sFID16.5511.8610.219.238.668.358.398.47
IS15.4718.8720.0020.2920.3320.2720.1620.07
0.1FID87.9675.2969.7967.3866.2765.3265.5965.99
sFID14.9411.7110.309.418.818.238.198.27
IS16.2618.5819.6419.8919.8819.8719.7419.69
1FID82.9476.3472.7971.3170.5770.0370.2370.40
sFID12.6111.0510.319.809.419.089.018.97
IS17.0018.0318.4918.6418.6318.6718.6418.61

Table 10. Complete prelude-loss sweep. All runs use the same B/2 R2 architecture, Ktrain=4K_{\mathrm{train}} = 4, and 100,000 updates. Each setting uses 50,000 images, EMA weights, 50 Euler steps, and no classifier-free guidance.

Prediction trajectories

Whereas the generation experiments measure how additional recurrence affects sample quality, this analysis looks inside a single evaluation of the velocity field. We first compare the intermediate readouts with the supervised reference path toward the sampled target, and then with the chord joining the model’s own initial and final estimates.

Paired evaluation protocol. We use the EMA weights of the frozen LiFT L/2 R10 checkpoint from Section A.3, trained with Ktrain=2K_{\mathrm{train}} = 2. From the ImageNet validation set, we select 512

unique examples, excluding exact source duplicates of training images, and evaluate each at t∈{0.05,0.25,0.5,0.75,0.95}t \in\{0.05, 0.25, 0.5, 0.75, 0.95\}. Every depth and grid receives the same image, noise, class label, and noisy state xt=(1−t)x0+tx1x_t = (1-t)x_0 + tx_1. Uniform inference grids use Kinf∈{1,2,3,4,5,8,16,32}K_{\mathrm{inf}} \in\{1, 2, 3, 4, 5, 8, 16, 32\}; the trajectory plots show five representative depths from two to 32. We average measurements over generative times within each image before summarizing across images, with approximate 95% intervals given by 1.96 standard errors.

Progress toward the supervised target. For each input, let b=u0b = u_0 and Δ=u⋆−b\Delta= u^\star- b. We decompose the displacement of readout kk into progress along the target direction and an orthogonal residual:

αk=⟨uk−b,Δ⟩∥Δ∥22,ek=(uk−b)−αkΔ.(10)\alpha_k = \frac{\langle u_k-b,\Delta\rangle}{\lVert\Delta\rVert_2^2}, \qquad e_k = (u_k-b)-\alpha_k\Delta. \tag*{(10)}

The reference path has αk=sk\alpha_k = s_k and ek=0e_k = 0. At uniform depth four, the measured mean projections are 0.246, 0.493, 0.737, and 0.982 at s=0.25,0.5,0.75,1s = 0.25, 0.5, 0.75, 1, respectively. At the same coordinates, depth 32 gives 0.249, 0.495, 0.738, and 0.982, showing that this depth-indexed progression persists with substantially more recurrent applications than were used in training (Figure 13a).

Figure 13. Prediction trajectories of LiFT L/2 R10, trained with two loops. (a) Projected progress toward the sampled target follows the assigned depth coordinate. (b) Projection onto each rollout’s own endpoint chord is close to linear, and (c) the orthogonal residual remains similar across depths. Curves average five generative times within each of 512 images; shaded bands show approximate 95% intervals across images. Chord endpoints agree by construction.

Geometry between the model’s own predictions. To examine the realized path without reference to the sampled target, we replace Δ\Delta by the chord q=uK−bq = u_K-b of each rollout and define

βk=⟨uk−b,q⟩∥q∥22,rk=(uk−b)−βkq.(11)\beta_k = \frac{\langle u_k-b,q\rangle}{\lVert q\rVert_2^2}, \qquad r_k = (u_k-b)-\beta_k q. \tag*{(11)}

The projection βk\beta_k tracks sks_k closely across the tested depths (Figure 13b): the mean absolute discrepancy over interior readouts is 0.0006 at K=2K = 2 and 0.0051 at K=32K = 32. The orthogonal residual is similar across depths as well: it is already 6.07% of the final prediction norm at the training depth K=2K = 2 and reaches 8.68% at K=32K = 32 (Figure 13c), so running sixteen times as many loops changes the shape of the trajectory only slightly. Table 11 reports absolute and normalized residuals over the interior readouts.

KinfK_{\mathrm{inf}}∣βk−sk∣\lvert\beta_k-s_k\rvert∥rk∥2/d\lVert r_k\rVert_2/\sqrt{d}100∥rk∥2/∥uK−b∥2100\lVert r_k\rVert_2/\lVert u_K-b\rVert_2100∥rk∥2/∥uK∥2100\lVert r_k\rVert_2/\lVert u_K\rVert_2
20.00060.05560.566.07
40.00300.07100.647.72
80.00400.07640.688.29
160.00490.07820.708.48
320.00510.08000.728.68

Table 11. Intermediate deviations from each rollout’s own endpoint chord. We average over interior readouts, then generative times and images; the endpoints are excluded because they lie on the chord by construction. The last two columns use different normalization scales.

A learned progression beyond training depth. For this two-loop checkpoint, projections of intermediate predictions onto their own endpoint chord remain almost linear in the depth coordinate through 32 inference loops.

Computational-grid consistency

Although the preceding analysis shows a regular progression within each rollout, different intermediate coordinates could still lead to different endpoints. We therefore perturb the computational grid while holding the generative state fixed, testing whether the final velocity remains consistent as the route through computational depth changes.

Protocol. We retain the checkpoint, 512 paired examples, and five generative times from Section B.3. At inference depth four, we compare the uniform grid (0.25, 0.5, 0.75, 1) with front-loaded (0.1, 0.2, 0.4, 1), back-loaded (0.6, 0.8, 0.9, 1), and three independently seeded random-grid variants. We construct each random grid by sorting three uniform draws and appending the endpoint one; the same per-image grid is used at all five generative times. Uniform grids at depths 1, 2, 3, 5, 8, 16, 32 additionally test sensitivity to the number of intermediate predictions. The initial depth coordinate is zero in every case.

Endpoint agreement at fixed depth. For grid gg, let u(g)u^{(g)} denote its final velocity and u(4)u^{(4)} the prediction on the uniform four-step grid. We measure

δg=∥u(g)−u(4)∥2∥u(4)∥2,cg=⟨u(g),u(4)⟩∥u(g)∥2∥u(4)∥2.(12)\delta_g = \frac{\left\lVert u^{(g)} - u^{(4)} \right\rVert_2}{\left\lVert u^{(4)} \right\rVert_2}, \qquad c_g = \frac{\left\langle u^{(g)}, u^{(4)} \right\rangle}{\left\lVert u^{(g)} \right\rVert_2 \left\lVert u^{(4)} \right\rVert_2}. \tag*{(12)}

The front-loaded and back-loaded grids alter the endpoint by a mean 1.89% and 1.82%, respectively, with mean cosine similarity above 0.9997. The three random-grid variants give similar mean differences of 1.72–1.85%, but have heavier tails: the 95th percentiles of per-image time-averaged differences are 4.26–4.61%, compared with 2.58–2.66% for the two fixed nonuniform grids (Table 12).

GridMean (%)Image-mean p95Worst-time p95CosineTarget MSE
Uniform K=1K = 111.01±0.2011.01 \pm0.2014.8826.860.991980.7765
Uniform K=2K = 25.12±0.125.12 \pm0.127.6316.590.998050.7669
Uniform K=3K = 32.61±0.072.61 \pm0.074.088.920.999480.7668
Uniform K=4K = 40.00±0.000.00 \pm0.000.000.001.000000.7670
Uniform K=5K = 51.70±0.051.70 \pm0.052.806.640.999770.7675
Uniform K=8K = 82.65±0.102.65 \pm0.104.8813.980.999270.7684
Uniform K=16K = 163.66±0.143.66 \pm0.146.8518.940.998720.7689
Uniform K=32K = 324.24±0.134.24 \pm0.137.0318.720.998500.7686
Front-loaded1.89±0.041.89 \pm0.042.664.720.999770.7667
Back-loaded1.82±0.041.82 \pm0.042.584.840.999770.7673
Random 11.85±0.111.85 \pm0.114.617.430.999680.7671
Random 21.82±0.111.82 \pm0.114.516.950.999700.7671
Random 31.72±0.101.72 \pm0.104.267.010.999720.7671

Table 12. Paired endpoint agreement with the uniform K=4K = 4 prediction. Differences are percentages of the reference prediction norm; means have approximate 95% intervals across 512 images. The image-mean p95 averages the five times within each image before taking the percentile, whereas the worst-time p95 first takes their maximum. All nonuniform grids have K=4K = 4. MSE is measured against u∗u^*.

Changing the number of recurrent applications. Relative to uniform K=4K = 4, the two-step endpoint differs by 5.12% on average, and the 32-step endpoint by 4.24% (mean cosine 0.9985), even at 16 times the training depth. These averages conceal variation with generative time (Figure 14): at K=32K = 32 and t=0.5t = 0.5, the mean difference is 6.90% and its 95th percentile 15.48%. Taking each image’s largest difference across the five times at this depth gives a 95th percentile of 18.72%. Target MSE, by contrast, barely moves, staying within 0.7667–0.7689 for all grids with K≥2K \ge2.

Figure 14. Sensitivity of the final velocity to the computational grid, relative to uniform K=4K = 4 at the identical noisy input. The left panel shows the mean relative distance and the right shows its 95th percentile across 512 images at each generative time. Solid curves change coordinates while holding K=4K = 4 fixed; the dashed curve also increases the number of recurrent applications to 32.

Numerical precision. We recompute the uniform four-step endpoint in FP32 for the same first 16 examples at each time and compare it with the BF16 prediction, yielding pooled RMSE ϵ\epsilon between 0.0065 and 0.0150 (Table 13). On these identical examples, fixed-depth grid differences are comparable to this numerical scale near t=0.05t = 0.05 but generally exceed it at intermediate times. Among the listed grids, the largest ratio of grid-difference RMSE to ϵ\epsilon is 7.5, for uniform depth 32 at t=0.5t = 0.5, so precision explains only the smallest of the observed differences.

ttBF16–FP32 RMSEFront/ϵ\epsilonBack/ϵ\epsilonRandom 1/ϵ\epsilonK=32/ϵK = 32/\epsilon
0.050.006631.20.90.81.2
0.250.006543.54.32.45.9
0.500.007173.53.02.77.5
0.750.009372.42.51.94.9
0.950.015001.51.41.12.8

Table 13. Numerical precision check on the same 16 examples at each time. The second column gives pooled BF16–FP32 endpoint RMSE for uniform K=4K = 4. The remaining columns divide each grid’s pooled RMSE relative to that BF16 reference by the numerical baseline, using the identical examples.

Interpretation. Together, the trajectory and endpoint measurements support a regular depth-conditioned progression that is only mildly sensitive to the tested changes of intermediate coordinates.

Analysis of the LiFT objective

This appendix states the assumptions behind the conditional-regression result of § 3.1, derives the training gradient with a detached anchor, and interprets the reference path through Euclidean minimum action, Gaussian transport, and Fisher geometry, with Gaussian KL divergence recovering its fitting objective.

Conditional regression result

The target u⋆u^\star depends on sampled endpoints that are not individually available at inference, so its regression optimum is conditional on the predictor’s inputs. Fix an initial predictor b=b(xt,t)b = b(x_t,t) and write z=(xt,t)z = (x_t,t), including any conditioning variable when present. Let v⋆(z)=E[u⋆∣z]v^\star(z) = \mathbb{E}[u^\star\mid z] denote the conditional outer velocity. For a fixed depth ss, the reference target and its conditional mean are

Ys=(1−s)b(z)+su⋆,ms(z)=E[Ys∣z]=(1−s)b(z)+sv⋆(z).(13)Y_s = (1-s)b(z) + su^\star,\qquad m_s(z) = \mathbb{E}[Y_s \mid z] = (1-s)b(z) + sv^\star(z). \tag*{(13)}

For any deterministic prediction f(z)f(z) and finite second moments, the squared-error decomposition is

E[∥f(z)−Ys∥22∣z]=∥f(z)−ms(z)∥22+s2E[∥u⋆−v⋆(z)∥22∣z].(14)\mathbb{E}\left[\lVert f(z)-Y_s\rVert_2^2 \mid z\right] = \lVert f(z)-m_s(z)\rVert_2^2 + s^2\mathbb{E}\left[\lVert u^\star-v^\star(z)\rVert_2^2 \mid z\right]. \tag*{(14)}

The random depth grid is independent of the endpoint pair, so conditioning additionally on the full grid SS leaves E[u⋆∣z,S]=v⋆(z)\mathbb{E}[u^\star\mid z,S] = v^\star(z). The same decomposition therefore applies at each sks_k, even though a recurrent prediction can depend on the preceding depth coordinates. Consequently, the unrestricted regression optimum progresses from the fixed initial predictor toward the population velocity field, reaching the ordinary flow-matching optimum at s=1s = 1. These optima assume a fixed anchor function and unrestricted predictions; parameter sharing, finite capacity, and optimization can prevent their simultaneous realization.

Gradient flow with a detached anchor

During training, bb is recomputed from the current model but detached within each update. If JθukJ_{\theta u_k} is the total Jacobian of the kkth readout through the unrolled computation, the trajectory gradient is

gθ=Ex0,x1,t,S[2Kd∑k=1K(Jθuk)⊤(uk−uˉsk)].(15)g_\theta= \mathbb{E}_{x_0,x_1,t,S}\left[\frac{2}{Kd}\sum_{k=1}^{K}(J_{\theta u_k})^\top(u_k-\bar{u}_{s_k})\right]. \tag*{(15)}

The Jacobian includes dependence on h0h_0 through both initialization and boundary reinjection, excluding only the target-side dependence through b=sg⁡(u0)b = \operatorname{sg}(u_0). Thus, the fixed-anchor path arguments apply to the reference within each update, while the anchor itself evolves across updates.

The prelude loss in Equation (7) adds 2λdE[(Jθu0)⊤(u0−u⋆)]\frac{2\lambda}{d}\mathbb{E}[(J_\theta u_0)^\top(u_0-u^\star)] to this gradient, directly supervising how the initial prediction is learned across updates. Since the anchor remains detached in the trajectory terms, this supervision leaves the form of the reference path and its fixed-endpoint derivations unchanged.

Scope of the construction. The regression and path arguments characterize the supervision: conditional regression describes optimal predictions for a fixed anchor, and the path arguments below characterize the reference connecting the endpoints. The recurrent core is not required to satisfy a fixed-point equation or implement a numerical solver for an inner ODE. Consequently, changing the inference-depth grid tests how the learned recurrence generalizes; these analyses provide no guarantee of reduced numerical integration error.

Euclidean minimum action

For the path arguments, fix a training example (x0,x1,t)(x_0,x_1,t) and the endpoints b=sg⁡(u0)b = \operatorname{sg}(u_0) and u⋆=x1−x0u^\star= x_1-x_0. Paths have unit duration and absolutely continuous means with square-integrable derivatives. The Gaussian constructions restrict every admissible path to a common, fixed covariance σ2I\sigma^2 I, where σ>0\sigma> 0. The model fits predictions at the random coordinates S=(s0,…,sK)S=(s_0,\ldots,s_K) defined in Equation (5), using weights 1/K1/K and coordinate normalization 1/d1/d. These regression weights specify how the selected path is fitted, separately from the assumptions that select the path itself.

Fix b,u⋆∈Rdb,u^\star\in\mathbb{R}^d and let Δ=u⋆−b\Delta= u^\star-b. For any absolutely continuous path γ\gamma with square-integrable derivative and endpoints γ(0)=b\gamma(0)=b, γ(1)=u⋆\gamma(1)=u^\star, the endpoint constraints give ∫01γ˙(s) ds=Δ\int_0^1 \dot{\gamma}(s)\,\mathrm{d}s=\Delta. Expanding a squared residual therefore yields

A[γ]=12∫01∥γ˙(s)∥22 ds=12∥Δ∥22+12∫01∥γ˙(s)−Δ∥22 ds.(16)A[\gamma]=\frac{1}{2}\int_0^1\|\dot{\gamma}(s)\|_2^2\,\mathrm{d}s=\frac{1}{2}\|\Delta\|_2^2+\frac{1}{2}\int_0^1\|\dot{\gamma}(s)-\Delta\|_2^2\,\mathrm{d}s. \tag*{(16)}

The second term is nonnegative and vanishes if and only if γ˙(s)=Δ\dot{\gamma}(s)=\Delta almost everywhere. Integrating with the initial boundary condition gives the unique minimizer γ(s)=b+sΔ=(1−s)b+su⋆\gamma(s)=b+s\Delta=(1-s)b+su^\star.1

The same argument applies to a nonuniform depth grid. Let δk=sk−sk−1>0\delta_k=s_k-s_{k-1}>0, z0=bz_0=b, zK=u⋆z_K=u^\star, and interpolate the knots linearly between successive coordinates. The resulting action is

AS(z0:K)=12∑k=1K∥zk−zk−1∥22δk=12∥Δ∥22+12∑k=1K∥zk−zk−1−δkΔ∥22δk.(17)\begin{aligned} A_S(z_{0:K})&=\frac{1}{2}\sum_{k=1}^{K}\frac{\|z_k-z_{k-1}\|_2^2}{\delta_k}\\ &=\frac{1}{2}\|\Delta\|_2^2+\frac{1}{2}\sum_{k=1}^{K}\frac{\|z_k-z_{k-1}-\delta_k\Delta\|_2^2}{\delta_k}. \tag*{(17)} \end{aligned}

Since ∑kδk=1\sum_k\delta_k=1, the minimizing increments are zk−zk−1=δkΔz_k-z_{k-1}=\delta_k\Delta, giving zk=b+skΔ=uˉskz_k=b+s_k\Delta=\bar{u}_{s_k} for every sampled grid. Uniform grids recover increments Δ/K\Delta/K as a special case. Thus randomizing the coordinates changes the reference knots without changing the underlying minimum-action path.

The factors 1/δk1/\delta_k belong to the action of the interpolated path and thereby determine its minimizing knots. Once these knots are selected as targets, Equation (6) averages their prediction errors with weights 1/K1/K. Applying the action directly to the model’s successive increments would instead define a different loss and produce different gradients.

Gaussian, Fisher, and KL interpretations

Gaussian probability transport

A probabilistic view lifts a path of means μs\mu_s into the translated Gaussian family

qs(w)=N(w;μs,σ2I),μ0=b,μ1=u⋆.(18)q_s(w)=\mathcal{N}(w;\mu_s,\sigma^2 I),\qquad\mu_0=b,\quad\mu_1=u^\star. \tag*{(18)}

Here w∈Rdw \in\mathbb{R}^d is a velocity-space variable, and the auxiliary distributions describe the fixed training example. The translation field as(w)=μ˙sa_s(w)=\dot{\mu}_s transports this family and satisfies

∂sqs(w)+∇w⋅(qs(w)as(w))=0,Aprob[q,a]=12∫01∫Rd∥as(w)∥22qs(w) dw ds.(19)\partial_s q_s(w)+\nabla_w\cdot\left(q_s(w)a_s(w)\right)=0,\qquad\mathcal{A}_{\mathrm{prob}}[q,a]=\frac{1}{2}\int_0^1\int_{\mathbb{R}^d}\lVert a_s(w)\rVert_2^2q_s(w)\,\mathrm{d}w\,\mathrm{d}s. \tag*{(19)}

Any admissible field transporting this density path satisfies Eqs[as(w)]=μ˙s\mathbb{E}_{q_s}[a_s(w)]=\dot{\mu}_s, assuming finite energy and sufficient decay for integration by parts. Jensen’s inequality then gives Eqs∥as(w)∥22≥∥μ˙s∥22\mathbb{E}_{q_s}\lVert a_s(w)\rVert_2^2\ge\lVert\dot{\mu}_s\rVert_2^2, with equality for the constant field as=μ˙sa_s=\dot{\mu}_s. Minimizing the transport action within this fixed-covariance family thus reduces to minimizing 12∫01∥μ˙s∥22 ds\frac{1}{2}\int_0^1\lVert\dot{\mu}_s\rVert_2^2\,\mathrm{d}s. By the preceding derivation, the reference distribution is

qˉs=N((1−s)b+su⋆,σ2I).(20)\bar{q}_s=\mathcal{N}\left((1-s)b+su^\star,\sigma^2I\right). \tag*{(20)}

Associating each readout with qθ,k=N(uk,σ2I)q_{\theta,k}=\mathcal{N}(u_k,\sigma^2I) and fitting it to qˉsk\bar{q}_{s_k} by KL divergence gives the trajectory objective, as derived in Section C.4.3. In this interpretation, the auxiliary Gaussians are transported by shifting their means while keeping covariance fixed across depth. The deterministic network passes the terminal mean to the outer sampler as its velocity prediction; it neither samples ww nor estimates posterior uncertainty.

Fisher geometry with fixed covariance

The fixed-covariance family also gives the reference an information-geometric interpretation. For q(w;μ)=N(w;μ,σ2I)q(w;\mu)=\mathcal{N}(w;\mu,\sigma^2I), the score with respect to the mean and its Fisher information matrix are

∇μlog⁡q(w;μ)=σ−2(w−μ),GF(μ)=Eq[(∇μlog⁡q)(∇μlog⁡q)T]=σ−2I.(21)\nabla_\mu\log q(w;\mu)=\sigma^{-2}(w-\mu),\qquad G_F(\mu)=\mathbb{E}_q\left[(\nabla_\mu\log q)(\nabla_\mu\log q)^\mathsf{T}\right]=\sigma^{-2}I. \tag*{(21)}

The Fisher metric on this mean submanifold is constant, so its path energy is a scaled Euclidean action:

AF[μ]=12∫01μ˙sTGFμ˙s ds=σ−2A[μ].(22)\mathcal{A}_F[\mu]=\frac{1}{2}\int_0^1\dot{\mu}_s^\mathsf{T}G_F\dot{\mu}_s\,\mathrm{d}s=\sigma^{-2}\mathcal{A}[\mu]. \tag*{(22)}

The unique constant-speed energy minimizer between the specified endpoints is therefore μs=uˉs\mu_s=\bar{u}_s. Fitting the predicted Gaussian means to this geodesic by KL again gives Equation (6).

This conclusion requires covariance to be fixed along every admissible path. Equal endpoint covariances alone are insufficient, because allowing covariance to vary changes the manifold and can give geodesics that leave this subfamily [35]. A common, constant positive-definite covariance Σ\Sigma would still give a straight mean geodesic under GF=Σ−1G_F=\Sigma^{-1}, but its KL fitting criterion would be a Mahalanobis error. The isotropic assumption makes that error proportional to the unweighted MSE used here.

Gaussian KL projection

Once the reference path is specified, Gaussian KL provides a direct derivation of its fitting loss. At a depth sks_k, let qˉk=N(uˉsk,σ2I)\bar{q}_k=\mathcal{N}(\bar{u}_{s_k},\sigma^2I) and qθ,k=N(uk,σ2I)q_{\theta,k}=\mathcal{N}(u_k,\sigma^2I). Their log-density ratio gives

DKL(qˉk∥qθ,k)=12σ2Ew∼qˉk[∥w−uk∥22−∥w−uˉsk∥22]=12σ2∥uk−uˉsk∥22.(23)\begin{aligned} D_{\mathrm{KL}}(\bar{q}_k\Vert q_{\theta,k})&=\frac{1}{2\sigma^2}\mathbb{E}_{w\sim\bar{q}_k}\left[\lVert w-u_k\rVert_2^2-\lVert w-\bar{u}_{s_k}\rVert_2^2\right]\\ &=\frac{1}{2\sigma^2}\lVert u_k-\bar{u}_{s_k}\rVert_2^2. \tag*{(23)} \end{aligned}

The cross term vanishes because Eqˉk[w−uˉsk]=0\mathbb{E}_{\bar{q}_k}[w-\bar{u}_{s_k}]=0. Thus, after averaging over training examples and recurrent depths,

LKL=Ex0,x1,T,s[1K∑k=1KDKL(qˉk∥qθ,k)]=d2σ2LLiFT.(24)\mathcal{L}_{\mathrm{KL}}=\mathbb{E}_{x_0,x_{1,T},s}\left[\frac{1}{K}\sum_{k=1}^{K}D_{\mathrm{KL}}(\bar{q}_k\Vert q_{\theta,k})\right]=\frac{d}{2\sigma^2}\mathcal{L}_{\mathrm{LiFT}}. \tag*{(24)}

The factor dd accounts for coordinate averaging in the implemented MSE. Because σ\sigma is fixed, the objectives differ only by a positive constant and have proportional gradients under the same detached-boundary convention. Their equivalence therefore requires no Gaussian sampling or variance parameter in the implementation. Whereas the action and geometric arguments select a reference path, KL recovers the criterion used to fit it once that path is specified.

Reproducibility and implementation

The main comparisons share the same data pipeline, transformer block design, and optimization settings, allowing dense and recurrent architectures to be evaluated under a common protocol. Section A provides the numerical results for these comparisons.

Data and architecture

We use class-conditional ImageNet-1k at 256×256256 \times256 resolution. Images follow the ADM/DiT preprocessing convention: BOX downsampling, bicubic resizing, and a 256×256256 \times256 center crop. Each preprocessed image is encoded into one cached SD-VAE posterior sample, with posterior noise drawn on CPU from a seed determined by the cache seed and global image index. The resulting 4×32×324 \times32 \times32 latents are scaled by 0.18215 and stored in FP16. Training reuses these cached representations while sampling fresh flow noise and generative times.

Dense DiT and LiFT use the same SpeedrunDiT-adapted transformer blocks, with RMSNorm, per-head query/key normalization, two-dimensional rotary embeddings, GELU MLPs, and adaLN-zero-style conditioning with gated residual branches. Table 14 gives the backbone dimensions; all models use 2×22 \times2 latent patches, yielding 256 tokens per image.

BackboneWidthAttention headsDense depth
B/27681212
L/210241624
XL/211521628

Table 14. Backbone dimensions shared by the dense and recurrent models. Dense depth counts transformer blocks.

Within this shared block design, LiFT uses four prelude blocks and no transformer blocks in the coda for the main comparisons. A shared prediction head reads out the prelude and recurrent states during training, whereas sampling requires only the final readout. Because the core is shared, each LiFT model has fewer parameters than its dense backbone. The depth embedding adds a small overhead relative to a dense model with the same number of unique blocks, and the parameter count remains fixed when the loop count changes. Table 15 collects the configurations and their analytic training costs.

Training protocol

The main protocol uses 500,000 optimizer updates with a global batch size of 256 and the optimization and numerical settings in Table 16. Under this common protocol, dense models use conditional flow matching, while LiFT uses the trajectory objective with an auxiliary prelude loss of weight λ=0.01\lambda= 0.01, added once outside the average over recurrent predictions.

Table 16. Shared settings for the main training protocol.

SettingValue
OptimizerAdamW
Training updates500,000
Global batch size256
Learning rate10−410^{-4}
Schedule500 warmup updates, then constant
Adam coefficients(0.9, 0.999)
Adam ϵ\epsilon10−810^{-8}
Weight decay0
Gradient clippingGlobal norm 1
EMA decay0.999
Training seed42
Computation precisionBF16
Parameter and loss-accumulation precisionFP32

Both model families use standard Gaussian flow noise, uniform generative times, and a linear noise-to-data interpolant, retaining class labels throughout training without label dropout. LiFT also samples interior depth coordinates independently for each example and update, then sorts them and appends the endpoint s=1s = 1. The number of recurrent applications remains fixed within each run.

The reported B/2, L/2, and XL/2 checkpoints in Section A.1 were trained on four NVIDIA H100 GPUs, with 64 examples per GPU and no gradient accumulation; Table 15 reports their analytic training costs, computed as in Section D.5.

Training and sampling pseudocode

In each training update, Algorithm 1 independently samples the noise, generative time, and depth coordinates for every example in the minibatch. Each MSE averages over examples and latent coordinates, while the loop average is written explicitly. The prelude weight λ\lambda controls direct supervision of the initial prediction, using the experimental value given in Section D.2. Only the copy of that prediction used in the trajectory target is detached; the auxiliary loss differentiates through the prediction itself.

Algorithm 1 LiFT trajectory training with random depth coordinates

Require: Parameters θ\theta, training depth K≥1K \ge1, minibatch (x1,y)(x_1,y), prelude weight λ\lambda

  1. Sample x0∼N(0,I)x_0 \sim\mathcal{N}(0,I) and t∼U(0,1)t \sim\mathcal{U}(0,1) per example

  2. xt←(1−t)x0+tx1x_t \leftarrow(1-t)x_0 + tx_1; u⋆←x1−x0u^\star\leftarrow x_1-x_0

  3. Draw K−1K-1 independent uniform depths and sort them into s1,…,sK−1s_1,\ldots,s_{K-1}

  4. Set s0←0s_0 \leftarrow0, sK←1s_K \leftarrow1 {No interior samples when K=1K=1}

  5. c←et(t)+ey(y)c \leftarrow e_t(t)+e_y(y); h0←Pθ(xt,c)h_0 \leftarrow P_\theta(x_t,c); h←h0h \leftarrow h_0

  6. u0←Dθ(h0,c)u_0 \leftarrow D_\theta(h_0,c); b←sg⁡(u0)b \leftarrow\operatorname{sg}(u_0)

  7. ℓ←λMSE⁡(u0,u⋆)\ell\leftarrow\lambda\operatorname{MSE}(u_0,u^\star) {Outside the loop average}

  8. for k=1,…,Kk=1,\ldots,K do

  9. h←Rθ(RMSNorm⁡(h)+h0,c+es(sk))h \leftarrow R_\theta(\operatorname{RMSNorm}(h)+h_0,c+e_s(s_k))

  10. uk←Dθ(h,c)u_k \leftarrow D_\theta(h,c)

  11. uˉk←(1−sk)b+sku⋆\bar{u}_k \leftarrow(1-s_k)b+s_ku^\star

  12. ℓ←ℓ+MSE⁡(uk,uˉk)/K\ell\leftarrow\ell+\operatorname{MSE}(u_k,\bar{u}_k)/K

  13. end for

  14. Backpropagate ℓ\ell through all predictions and recurrent hidden states

  15. Update θ\theta with the optimizer; update the EMA parameters

To preserve numerical ordering and endpoint spacing, the implementation draws and sorts interior coordinates in FP64, then applies si=(1−Kϵ)r(i)+iϵs_i=(1-K\epsilon)r_{(i)}+i\epsilon, with ϵ=10−6\epsilon=10^{-6}, before casting the grid to FP32. Here r(i)r_{(i)} is the iith sorted uniform draw, and the endpoints remain exactly zero and one. The resulting separation leaves the loss weights unchanged and introduces no step-size factor into the core.

Algorithm 2 LiFT sampling with TT Euler steps and KinfK_{\mathrm{inf}} inner loops

Require: EMA parameters, condition yy, integration steps TT, inner loops KinfK_{\mathrm{inf}}

  1. Sample x∼N(0,I)x \sim\mathcal{N}(0,I)

  2. for j=0,…,T−1j=0,\ldots,T-1 do

  3. t←j/Tt \leftarrow j/T; c←et(t)+ey(y)c \leftarrow e_t(t)+e_y(y)

  4. h0←Pθ(x,c)h_0 \leftarrow P_\theta(x,c); h←h0h \leftarrow h_0

  5. for k=1,…,Kinfk=1,\ldots,K_{\mathrm{inf}} do

  6. s←k/Kinfs \leftarrow k/K_{\mathrm{inf}}

  7. h←Rθ(RMSNorm⁡(h)+h0,c+es(s))h \leftarrow R_\theta(\operatorname{RMSNorm}(h)+h_0,c+e_s(s))

  8. end for

  9. x←x+Dθ(h,c)/Tx \leftarrow x+D_\theta(h,c)/T

  10. end for

  11. return Decode xx with the latent tokenizer’s decoder

At inference, only the final prediction advances the outer sample, so the sampling algorithm omits intermediate readouts and the training anchor. It uses no classifier-free guidance (scale 1), as specified in the evaluation protocol.

Evaluation protocol

Each setting generates 50,000 images, with 50 samples per class. Sample i∈{0,…,49,999}i \in\{0,\ldots,49{,}999\} receives class label i mod 1000i \bmod1000 and initial Gaussian noise generated in FP32 on CPU with seed 200042+i200042+i. This assignment pairs the initial noise and class labels across models and sampling budgets. We preserve these sample identities across distributed generation and resumed jobs to maintain the pairing throughout evaluation.

Sampling uses EMA weights and Euler integration from noise to data, without classifier-free guidance (scale 1). Each integration step requires one velocity evaluation. Depth sweeps hold the number of steps at 50, while step sweeps vary it. At every integration step, LiFT reinitializes the prelude state and uses the uniform inference-depth coordinates sk=k/Kinfs_k=k/K_{\mathrm{inf}}.

Transformer inference uses BF16, while Euler updates and VAE decoding use FP32. We decode samples with stabilityai/sd-vae-ft-mse, using a latent scaling factor of 0.18215.

The decoded samples are evaluated with the official ADM Inception evaluator. FID and sFID compare features from all 50,000 generated images with the published ImageNet reference statistics, while IS is computed from the same generated images.

Compute accounting

The 32 × 32 latent grid contains n=(32/2)2=256n = (32/2)^2 = 256 patch tokens. With U=500,000U = 500{,}000 updates and global batch size Bbatch=256B_{\mathrm{batch}} = 256, the training-data budget is

D=UBbatchn=3.2768×1010(25)D = U B_{\mathrm{batch}} n = 3.2768 \times10^{10} \tag*{(25)}

latent-patch tokens, corresponding to 128 million image presentations. This data budget counts repeated image presentations, with recurrent computation over the same tokens accounted for separately below. Parameter counts include all trainable embedding, conditioning, transformer, and readout parameters.

To account for computation, we estimate FLOPs from the architecture, counting two operations per multiply-add. Let Cforwardtrain(Ktrain)C_{\mathrm{forward}}^{\mathrm{train}}(K_{\mathrm{train}}) denote the forward cost per example during training. For LiFT, this includes the prelude, all recurrent applications, depth conditioning, and the anchor and intermediate readouts. For the dense baseline, it includes the ordinary forward pass and final prediction. Total training computation is estimated as

Ctrain≈3UBbatchCforwardtrain(Ktrain),(26)C_{\mathrm{train}} \approx3 U B_{\mathrm{batch}} C_{\mathrm{forward}}^{\mathrm{train}}(K_{\mathrm{train}}), \tag*{(26)}

with the factor of three approximating the combined forward and backward cost. The depth argument is omitted for dense models. Section D.5.1 expands both costs in terms of the individual model components.

Sampling requires only the final readout. Its cost per generated image is therefore

Cinfer=TCforward(Kinf),(27)C_{\mathrm{infer}} = T C_{\mathrm{forward}}(K_{\mathrm{inf}}), \tag*{(27)}

where CforwardC_{\mathrm{forward}} includes patch embedding, the prelude, every core application, conditioning, and the final prediction head, but excludes SD-VAE decoding.

Within each backbone scale, matching executed transformer depth approximately matches training computation; the following derivation quantifies the remaining overhead from conditioning and readouts when the coda contains no transformer blocks.

Cost of trajectory supervision

Because trajectory supervision reads out every recurrent state, each operation in the prediction branch contributes repeatedly to the training cost. A zero-block coda, paired with the four-block prelude used in our comparisons, limits this repeated computation to the prediction head. We quantify its cost using the analytic accounting of Section D.5, with two operations per multiply-add.

General training and sampling costs. Let LPL_P, LRL_R, and LDL_D denote the numbers of transformer blocks in the prelude, shared core, and prediction-only coda, respectively. Write fblkf_{\mathrm{blk}} for the forward cost of one block, fheadf_{\mathrm{head}} for the prediction head after the coda, fsf_s for one depth embedding, and fi0f_{i_0} for the patch embedding and outer-time conditioning computed once per example. With K=KtrainK = K_{\mathrm{train}}, training computes u0,…,uKu_0, \ldots, u_K, giving

Cforwardtrain(K)=fi0+Kfs+[LP+KLR+(K+1)LD]fblk+(K+1)fhead.(28)\begin{aligned} C_{\mathrm{forward}}^{\mathrm{train}}(K) &= f_{i_0} + K f_s + [L_P + K L_R + (K + 1)L_D] f_{\mathrm{blk}} \\ &\quad+ (K + 1)f_{\mathrm{head}}. \tag*{(28)} \end{aligned}

The K+1K + 1 prediction branches include the initial estimate used as the anchor and every recurrent readout. Sampling requires only the final prediction, reducing the cost at depth K=KinfK = K_{\mathrm{inf}} to

Cforward(K)=fi0+Kfs+(LP+KLR+LD)fblk+fhead.(29)C_{\mathrm{forward}}(K) = f_{i_0} + K f_s + (L_P + K L_R + L_D)f_{\mathrm{blk}} + f_{\mathrm{head}}. \tag*{(29)}

Although all recurrent applications share the same parameters, each application contributes to the computation in these expressions.

Because the stop-gradient on b=sg⁡(u0)b = \operatorname{sg}(u_0) removes only the target-side derivative, backpropagation still traverses the prelude state and every recurrent transition, and the auxiliary prelude loss also differentiates through u0u_0. The usual approximation of the backward pass as twice the forward cost therefore applies, and substituting these forward costs into Equations (26) and (27) gives the total training and inference budgets. The forward cost includes the anchor computation whether or not the auxiliary prelude loss is enabled.

Why we use a zero-block coda. Consider a dense model with the same block design and width, and L=LP+KLR+LDL = L_P + K L_R + L_D blocks. Its forward cost is Cforwarddense=fio+Lfblk+fheadC_{\mathrm{forward}}^{\mathrm{dense}} = f_{\mathrm{io}} + Lf_{\mathrm{blk}} + f_{\mathrm{head}}. This dense model matches LiFT’s executed transformer depth at sampling depth KK, but LiFT’s trajectory training incurs an additional

Cforwardtrain(K)−Cforwarddense=K(LDfblk+fhead+fs).(30)C_{\mathrm{forward}}^{\mathrm{train}}(K) - C_{\mathrm{forward}}^{\mathrm{dense}} = K\left(L_D f_{\mathrm{blk}} + f_{\mathrm{head}} + f_s\right). \tag*{(30)}

The repeated coda evaluations account for the transformer-block overhead that remains when only sampling depth is matched. We therefore choose LD=0L_D = 0 and LP+KtrainLR=LL_P + K_{\mathrm{train}}L_R = L in the matched-training comparisons. This choice equalizes transformer-block computation, leaving the additional prediction heads and depth embeddings as the remaining overhead. Under the same training-cost approximation, their relative cost is

CtrainLiFTCtraindense−1=Ktrain(fhead+fs)Cforwarddense,(31)\frac{C_{\mathrm{train}}^{\mathrm{LiFT}}}{C_{\mathrm{train}}^{\mathrm{dense}}} - 1 = \frac{K_{\mathrm{train}}(f_{\mathrm{head}} + f_s)}{C_{\mathrm{forward}}^{\mathrm{dense}}}, \tag*{(31)}

for equal update and global-batch budgets. The total FLOPs are therefore approximately, rather than exactly, matched.

Numerical accounting for our models. For nn patch tokens, hidden width ww, MLP width mm, patch dimension qq, and sinusoidal embedding dimension ff, our implementation counts

fblk=n(8w2+4wm+4nw)+12w2,fs=2(fw+w2),fio=2nqw+2(fw+w2),fhead=4w2+2nwq.(32)\begin{aligned} f_{\mathrm{blk}} &= n(8w^2 + 4wm + 4nw) + 12w^2, \qquad f_s = 2(fw + w^2),\\ f_{\mathrm{io}} &= 2nqw + 2(fw + w^2), \qquad f_{\mathrm{head}} = 4w^2 + 2nwq. \tag*{(32)} \end{aligned}

The block expression includes attention projections, both attention matrix products, the MLP, and the conditioning projection. For our SD-VAE models, n=256n = 256, q=22×4=16q = 2^2 \times4 = 16, m=4wm = 4w, and f=256f = 256. Including all supervised readouts gives the representative comparisons in Table 17.

BackboneLRL_RKtrainK_{\mathrm{train}}Dense (EFLOPs)LiFT (EFLOPs)Extra cost
B/22417.665517.68120.0889%
L/210261.972661.98420.0188%
XL/24691.097691.13910.0455%

Table 17. Analytic training compute for representative matched-depth configurations. Each model uses 500,000 updates and a global batch size of 256; one EFLOP is 101810^{18} operations. LiFT uses LP=4L_P = 4 and LD=0L_D = 0. The totals include the forward and approximate backward cost of conditioning and all trajectory readouts. Overheads are computed before rounding the totals.

Across all matched-depth configurations in Table 15, the additional cost ranges from 0.044% to 0.178% for B/2, from 0.019% to 0.188% for L/2, and from 0.015% to 0.182% for XL/2. Thus, every configuration differs from its same-scale dense reference by less than 0.2% under this accounting.

References

  1. [1]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. URL https://arxiv.org/abs/2212.09748.
  2. [2]Patrick Esser, Sumith Kulal, Andreas Blattmann, Rahim Entezari, Jonas Müller, Harry Saini, Yam Levi, Dominik Lorenz, Axel Sauer, Frederic Boesel, Dustin Podell, Tim Dockhorn, Zion English, and Robin Rombach. Scaling rectified flow transformers for high-resolution image synthesis. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pages 12606–12633, 2024. URL https://proceedings.mlr.press/v235/esser24a.html.arxiv.org/abs/2403.03206
  3. [3]Adam Polyak et al. Movie Gen: A cast of media foundation models. arXiv preprint arXiv:2410.13720, 2024. URL https://arxiv.org/abs/2410.13720.
  4. [4]NVIDIA. Cosmos world foundation model platform for physical AI. arXiv preprint arXiv:2501.03575, 2025. URL https://arxiv.org/abs/2501.03575.
  5. [5]Mostafa Dehghani, Stephan Gouws, Oriol Vinyals, Jakob Uszkoreit, and Łukasz Kaiser. Universal transformers. In International Conference on Learning Representations, 2019. URL https://arxiv.org/abs/1807.03819.
  6. [6]Jonas Geiping, Sean McLeish, Neel Jain, John Kirchenbauer, Siddharth Singh, Brian R. Bartoldson, Bhavya Kailkhura, Abhinav Bhatele, and Tom Goldstein. Scaling up test-time compute with latent reasoning: A recurrent depth approach. In Advances in Neural Information Processing Systems, volume 38, 2025. URL https://proceedings.neurips.cc/paper_files/paper/2025/hash/3b01972cf31e6fa0fe29e4b8b5c2a0a1-Abstract-Conference.html.arxiv.org/abs/2502.05171
  7. [7]Yaron Lipman, Ricky T. Q. Chen, Heli Ben-Hamu, Maximilian Nickel, and Matt Le. Flow matching for generative modeling. In International Conference on Learning Representations, 2023. URL https://arxiv.org/abs/2210.02747.
  8. [8]Xingchao Liu, Chengyue Gong, and Qiang Liu. Flow straight and fast: Learning to generate and transfer data with rectified flow. In International Conference on Learning Representations, 2023. URL https://arxiv.org/abs/2209.03003.
  9. [9]Michael S. Albergo and Eric Vanden-Eijnden. Building normalizing flows with stochastic interpolants. In International Conference on Learning Representations, 2023. URL https://arxiv.org/abs/2209.15571.
  10. [10]Yilun Xu, Mingyang Deng, Xiang Cheng, Yonglong Tian, Ziming Liu, and Tommi Jaakkola. Restart sampling for improving generative processes. In Advances in Neural Information Processing Systems, 2023. URL https://arxiv.org/abs/2306.14878.
  11. [11]Nanye Ma, Shangyuan Tong, Haolin Jia, Hexiang Hu, Yu-Chuan Su, Mingda Zhang, Xuan Yang, Yandong Li, Tommi Jaakkola, Xuhui Jia, and Saining Xie. Inference-time scaling for diffusion models beyond scaling denoising steps. arXiv preprint arXiv:2501.09732, 2025. URL https://arxiv.org/abs/2501.09732.
  12. [12]Sahil Goyal, Swayam Agrawal, Gautham Govind Anil, Prateek Jain, Sujoy Paul, and Aditya Kusupati. ELT: Elastic looped transformers for visual generation. In European Conference on Computer Vision, 2026. URL https://arxiv.org/abs/2604.09168.
  13. [13]Inkyu Shin, Chenglin Yang, and Liang-Chieh Chen. Deeply supervised flow-based generative models. In Proceedings of the IEEE/CVF International Conference on Computer Vision, 2025. URL https://arxiv.org/abs/2503.14494.
  14. [14]Wenhao Chai. LoopDiT: Loop transformers for diffusion models. Technical blog post, 2026. URL https://wenhaochai.com/blogs/loopdit.html.
  15. [15]Ricky T. O. Chen, Yulia Rubanova, Jesse Bettencourt, and David Duvenaud. Neural ordinary differential equations. In Advances in Neural Information Processing Systems, 2018. URL https://arxiv.org/abs/1806.07366.
  16. [16]Zixi Chen, Akshay Vegesna, Samip Dahal, and Andrew Gordon Wilson. How model growth, recursion, and boundary operators influence scaling exponents. arXiv preprint arXiv:2609.19107, 2026. URL https://arxiv.org/abs/2609.19107.
  17. [17]Kristian Schwethelm, Daniel Rückert, and Georgios Kaissis. How much is one recurrence worth? iso-depth scaling laws for looped language models. arXiv preprint arXiv:2604.21106, 2026. URL https://arxiv.org/abs/2604.21106.
  18. [18]Jordan Hoffmann, Sebastian Borgeaud, Arthur Mensch, Elena Buchatskaya, Trevor Cai, Eliza Rutherford, Diego de Las Casas, Lisa Anne Hendricks, Johannes Welbl, Aidan Clark, Tom Hennigan, Eric Noland, Katie Millican, George van den Driessche, Bogdan Damoc, Aurelia Guy, Simon Osindero, Karen Simonyan, Erich Elsen, Oriol Vinyals, Jack W. Rae, and Laurent Sifre. Training compute-optimal large language models. In Advances in Neural Information Processing Systems, volume 35, 2022. URL https://proceedings.neurips.cc/paper_files/paper/2022/file/c1e2faff6f58870935f114ebe04a3e5-Paper-Conference.pdf.arxiv.org/abs/2203.15556
  19. [19]Kevin Xu and Issei Sato. On expressive power of looped transformers: Theoretical analysis and enhancement via timestep encoding. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pages 69613–69646, 2025. URL https://proceedings.mlr.press/v267/xu25x.html.arxiv.org/abs/2410.01405
  20. [20]Swayam Bhanded. Speedrunning ImageNet diffusion. Transactions on Machine Learning Research, August 2026. URL https://openreview.net/forum?id=0mYu3uPM3j.arxiv.org/abs/2512.12386
  21. [21]Avi Schwarzschild, Eitan Borgnia, Arjun Gupta, Furong Huang, Uzi Vishkin, Micah Goldblum, and Tom Goldstein. Can you learn an algorithm? generalizing from easy to hard problems with recurrent networks. In Advances in Neural Information Processing Systems, volume 34, 2021. URL https://proceedings.neurips.cc/paper/2021/hash/3501672ebc68a5524629080e3ef60aef-Abstract.html.arxiv.org/abs/2106.04537
  22. [22]Arpit Bansal, Avi Schwarzschild, Eitan Borgnia, Zeyad Emam, Furong Huang, Micah Goldblum, and Tom Goldstein. End-to-end algorithm synthesis with recurrent networks: Extrapolation without overthinking. In Advances in Neural Information Processing Systems, volume 35, 2022. URL https://proceedings.neurips.cc/paper_files/paper/2022/hash/7ef0331dbe58a59d83941dfa7d975aa-Abstract-Conference.html.
  23. [23]Ahmadreza Jeddi, Marco Ciccone, and Babak Taati. LoopFormer: Elastic-depth looped transformers for latent reasoning via shortcut modulation. In International Conference on Learning Representations, 2026. URL https://arxiv.org/abs/2602.11451.
  24. [24]Chen Chen, Rui Qian, Wenze Hu, Tsu-Jui Fu, Jialing Tong, Xinze Wang, Lezhi Li, Bowen Zhang, Alex Schwing, Wei Liu, and Yinfei Yang. DiT-Air: Revisiting the efficiency of diffusion model architecture design in text to image generation. arXiv preprint arXiv:2503.10618, 2025. URL https://arxiv.org/abs/2503.10618.
  25. [25]Jiabo Ai, Peng Han, Yuchen Song, and Zhengjun Yue. Depth through recurrence: Looped transformers for flow-matching TTS. arXiv preprint arXiv:2609.29768, 2026. URL https://arxiv.org/abs/2609.29768.
  26. [26]Alba Carballo-Castro, Julianna Piskorz, Paulius Rauba, Mihaela van der Schaar, and Pascal Frossard. Recursive scaling in masked diffusion models. arXiv preprint arXiv:2606.18022, 2026. URL https://arxiv.org/abs/2606.18022.
  27. [27]Denis Gudovskiy, Wenzhao Zheng, Tomoyuki Okuno, Yohei Nakata, and Kurt Keutzer. ODE_t(ODE_t): Shortcutting the time and the length in diffusion and flow models for faster sampling. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision, 2026. URL https://arxiv.org/abs/2506.21714.
  28. [28]Allan Jabri, David J. Fleet, and Ting Chen. Scalable adaptive computation for iterative generation. In Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, pages 14569–14589, 2023. URL https://proceedings.mlr.press/v202/jabri23a.html.arxiv.org/abs/2212.11972
  29. [29]Ayhan Suleymanzade, Chanhyuk Lee, Floor Eijkelboom, Nicholas M. Boffi, İsmail İlkan Ceylan, and Jinwoo Kim. Thinking with looped flows. arXiv preprint arXiv:2609.11801, 2026. URL https://arxiv.org/abs/2609.11801.
  30. [30]Alec Helbling, Andrey Bryutkin, Mauro Martino, Duen Horng Chau, Nima Dehmamy, and Hendrik Strobelt. Flow reasoning models: Turning flows into efficient recurrent reasoners. arXiv preprint arXiv:2606.29150, 2026. URL https://arxiv.org/abs/2606.29150.
  31. [31]Jiahe Huang, Sihan Xu, Sharvaree Vadgama, and Rose Yu. Recursive flow matching. arXiv preprint arXiv:2605.26535, 2026. URL https://arxiv.org/abs/2605.26535.
  32. [32]Xingjian Bai and Luke Melas-Kyriazi. Fixed point diffusion models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2024. URL https://arxiv.org/abs/2401.08741.
  33. [33]Zhengyang Geng, Ashwini Pokle, and J. Zico Kolter. One-step diffusion distillation via deep equilibrium models. In Advances in Neural Information Processing Systems, volume 36, 2023. URL https://arxiv.org/abs/2401.08639.
  34. [34]Andrea Miele, Yiming Qin, Alba Carballo-Castro, Justin Deschenaux, and Pascal Frossard. Fixed-point masked generative modeling. arXiv preprint arXiv:2605.31215, 2026. URL https://arxiv.org/abs/2605.31215.
  35. [35]Frank Nielsen. Fisher–Rao and pullback hilbert cone distances on the multivariate Gaussian manifold with applications to simplification and quantization of mixtures. In Proceedings of 2nd Annual Workshop on Topology, Algebra, and Geometry in Machine Learning, volume 221 of Proceedings of Machine Learning Research, pages 488–504, 2023. URL https://proceedings.mlr.press/v221/nielsen23b.html.

Paper details

vlnc:W_ytv6zmvu
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents