Manuscript Offprint

arXiv:2610.05538

LiFT: Loop Flow Transformers

Mohammad Mahdi Derakhshani, Pedro M. P. Curvo, Gertjan J. Burghouts, Jan-Willem van de Meent, Cees G. M. Snoek

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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 256×256256 \times 256, 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.

Coming Soon

Coming Soon

Coming Soon

LIFT loops at inference KinfK_{inf} (50 steps)

Figure

Parameter count

100M 300M 600M dense

Dense steps (left to right): 10, 25, 50, 100, 250

XL/2

Inference FLOPs per image per parameter (thousands)

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.

1 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–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–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:

References (32)