arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.31977cs.CVcs.AI
收藏

蒸馏成环:将预训练扩散Transformer转换为可调整深度的环模型

Distill to Loop: Turning Pretrained Diffusion Transformers into Looped Models with Adjustable Depth

Virginia Tech(弗吉尼亚理工大学)

Chenru Wang, Shengwei An

AI总结:

本文提出Dooop方法,将预训练非环扩散Transformer蒸馏为可调整深度的环模型,在SD3-medium上以约37%的参数量匹配教师模型性能,环引导可显著提升生成指标。

摘要:

环Transformer会沿网络深度复用一个共享权重的模块。现有环扩散Transformer需从头训练,尽管存在强大的预训练非环扩散Transformer,仍会重复完整的预训练成本。本文提出Distill to Loop(Dooop),将预训练非环扩散Transformer蒸馏为学生环模型,其模块由教师模型初始化。我们将蒸馏建模为向教师模型的不动点迭代,其中每个环的输出都被训练以匹配教师模型,且每个环对应深度维度上常微分方程(ODE)的一步。因此,单个模型在推理时可运行任意数量的环而无需重新训练,扩散模型采样的高阶ODE求解器可沿深度维度应用以提升效果。同时,由于环模型在每个环后都会生成输出,我们还在不同环数的输出间构建环引导,以少量额外计算提升生成样本质量。在SD3-medium上,参数约为教师模型37%的学生环模型,在GenEval、ImageReward、PickScore和HPSv2.1指标上,2至4个环时平均性能与教师模型相当,2个环时计算量约为教师模型的58%;在四步SD3-medium上,环引导使上述四项指标的平均值从88.2提升至99.2。

英文摘要:

Looped transformers reuse one block of shared weights along the depth of the network. Recent looped diffusion transformers are trained from scratch, which repeats the full pretraining cost although strong pretrained non-looped diffusion transformers exist. We propose Distill to Loop (Dooop), which distills a pretrained non-looped diffusion transformer into a looped student whose blocks are initialized from the teacher's. We cast distillation as a fixed-point iteration toward the teacher, in which the output after every loop is trained toward the teacher, and each loop is one step of an ordinary differential equation in depth. As a result, one model runs any number of loops at test time without retraining, and the higher-order ODE solvers of diffusion model sampling can be applied along the depth dimension for better results. Meanwhile, because a looped model produces an output after every loop, we also construct loop guidance between the outputs of different loop counts, which improves the generated samples at little extra compute. On SD3-medium, a looped student with about 37% of the teacher's parameters matches the teacher on average over GenEval, ImageReward, PickScore and HPSv2.1 with two to four loops, and with two loops it uses about 58% of the teacher's compute. And on a four-step SD3-medium, loop guidance raises the average of the four metrics from 88.2 to 99.2.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑