Wang and An introduce Distill to Loop (Dooop), a method that converts pretrained non-looped diffusion transformers into looped architectures with adjustable depth, avoiding the cost of training looped models from scratch. Dooop initializes a student model's shared block from a pretrained teacher and frames distillation as a fixed-point iteration, training the output after each loop toward the teacher's output; each loop corresponds to one step of an ordinary differential equation (ODE) in depth. This formulation enables arbitrary loop counts at inference without retraining and permits higher-order ODE solvers to be applied along the depth dimension for improved quality. Additionally, the authors propose loop guidance, which leverages outputs from different loop counts to enhance samples with minimal extra compute. Evaluated on SD3-medium, a looped student with approximately 37% of the teacher's parameters matches the teacher's average performance across GenEval, ImageReward, PickScore, and HPSv2.1 using two to four loops, while two loops require only about 58% of the teacher's compute. On a four-step SD3-medium, loop guidance increases the average of the four metrics from 88.2 to 99.2.
Read original
huggingface/daily-papers