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

TamedFlow:面向教师辅助扩散采样的轨迹感知蒸馏

TamedFlow: Trajectory-Aware Distillation for Teacher-Assisted Diffusion Sampling

The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));University of Electronic Science and Technology of China(电子科技大学);The Hong Kong University of Science and Technology(香港科技大学);Huawei Technologies Ltd.(华为技术有限公司);Guangxi Zhuang Autonomous Region Information Center(广西壮族自治区信息中心)

Shuaiqi Cheng, Jiahao Zhang, Boyuan Gu, Yuxi Chen, Haiying Xu, Zexin Lu, Huiyu Zhou, Xuming Hu

AI总结:

TamedFlow针对扩散模型压缩与自适应推理结合的组合差距,通过跨架构特征对齐等技术训练压缩DiT,实现图像生成加速,在ImageNet上FID达2.58且速度提升2.25倍。

摘要:

扩散Transformer(DiTs)可生成高保真图像与视频,但推理需多次顺序模型评估。两种加速策略愈发重要:模型压缩降低单次评估成本,自适应推理通过复用、预测或投机执行规避部分教师模型计算。然而二者结合存在缺陷:直接将自适应方法应用于压缩后的学生模型会降低质量,该失效模式被称为“组合差距”。我们将此差距归因于逐点蒸馏与短视距执行的不匹配:在教师状态下训练的学生模型,其自身预测串联后未必保持可靠。我们提出TamedFlow,通过跨架构特征对齐、近恒速速度对齐头及随机展开监督,训练适配部署场景的压缩DiT。推理时,轻量可学习轨迹估计器对已完成草稿进行路由:被接受的草稿绕过教师,被拒绝的草稿回退并接收一次教师救援步骤。将DiT-XL/2蒸馏为DiT-B/2时,TamedFlow在ImageNet 256×256数据集上达到FID 2.58,速度较DDIM-50提升2.25倍。消融实验验证了轨迹监督的有效性,路由控制在延迟相近时更倾向于可学习轨迹估计器(LTE)而非随机决策。在ImageNet 512×512、MS-COCO及Latte/FaceForensics上的评估拓展了实证范围。

英文摘要:

Diffusion Transformers (DiTs) deliver high-fidelity image and video generation, but inference requires many sequential model evaluations. Two acceleration strategies are increasingly important: model compression makes each evaluation cheaper, while adaptive inference avoids selected teacher computation through reuse, forecasting, or speculative execution. Their combination, however, is brittle: directly applying the evaluated adaptive methods to a compressed student can degrade quality, an observed failure mode we call the \textbf{Combination Gap}. We link this gap to a mismatch between pointwise distillation and short-horizon execution: a student trained at teacher states need not remain reliable when its own predictions are chained. We propose \textbf{TamedFlow}, which trains a compressed DiT for this deployed role through cross-architecture feature alignment, a near-identity Velocity Alignment Head, and randomized rollout supervision. At inference, a lightweight Learnable Trajectory Estimator routes completed drafts: accepted drafts bypass the teacher, while rejected drafts roll back and receive one teacher rescue step. Distilling DiT-XL/2 into DiT-B/2, TamedFlow reaches FID $2.58$ at $2.25\times$ measured speedup over DDIM-50 on ImageNet $256\times256$. Ablations support trajectory supervision, and routing controls favor LTE over random decisions at nearly matched latency. Evaluations on ImageNet $512\times512$, MS-COCO, and Latte/FaceForensics extend the empirical scope.

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

↑