2025-05-29 · 进阶 · 机器学习 · 计算机视觉

One-Way Ticket:Time-Independent Unified Encoder for Distilling Text-to-Image Diffusion Models

本文提出了一种名为Time-independent Unified Encoder (TiUE)的统一编码器,用于加速文本到图像的扩散模型,同时保持图像质量和多样性。

更新于 2025-05-29。作者:Senmao Li、Lei Wang、Kai Wang、Tao Liu、Jiehang Xie、Joost van de Weijer、Fahad Shahbaz Khan、Shiqi Yang、Yaxing Wang、Jian Yang。

中文摘要

文本到图像(T2I)扩散模型在生成模型领域取得了显著的进步;然而,它们在推理速度和图像质量之间面临着权衡,给高效部署带来了挑战。现有的T2I模型压缩版本可以以更少的采样步骤生成高保真图像,但通常在多样性和质量方面存在困难,尤其是在单步模型中。从我们的分析中,我们观察到UNet编码器中存在冗余计算。我们的研究结果表明,对于T2I扩散模型来说,解码器在捕捉更丰富和更明确的语义信息方面更为擅长,而编码器可以有效地在来自不同时间步的解码器之间共享。基于这些观察结果,我们为学生模型UNet架构引入了第一个时间无关的统一编码器TiUE,这是一种无循环的图像生成方法,用于提炼T2I扩散模型。采用单遍方案,TiUE在多个解码器时间步之间共享编码器特征,实现了并行采样,并显著降低了推理时间复杂度。此外,我们还引入了一个KL散度项来规范噪声预测,这增强了生成图像的感知真实性和多样性。实验结果表明,TiUE优于包括LCM、SD-Turbo和SwiftBrushv2在内的最先进方法,产生了更多样化和真实的成果,同时保持了计算效率。

英文摘要

Text-to-Image (T2I) diffusion models have made remarkable advancements in generative modeling; however, they face a trade-off between inference speed and image quality, posing challenges for efficient deployment. Existing distilled T2I models can generate high-fidelity images with fewer sampling steps, but often struggle with diversity and quality, especially in one-step models. From our analysis, we observe redundant computations in the UNet encoders. Our findings suggest that, for T2I diffusion models, decoders are more adept at capturing richer and more explicit semantic information, while encoders can be effectively shared across decoders from diverse time steps. Based on these observations, we introduce the first Time-independent Unified Encoder TiUE for the student model UNet architecture, which is a loop-free image generation approach for distilling T2I diffusion models. Using a one-pass scheme, TiUE shares encoder features across multiple decoder time steps, enabling parallel sampling and significantly reducing inference time complexity. In addition, we incorporate a KL divergence term to regularize noise prediction, which enhances the perceptual realism and diversity of the generated images. Experimental results demonstrate that TiUE outperforms state-of-the-art methods, including LCM, SD-Turbo, and SwiftBrushv2, producing more diverse and realistic results while maintaining the computational efficiency.

解读

一句话总结

本文提出了一种名为Time-independent Unified Encoder (TiUE)的统一编码器,用于加速文本到图像的扩散模型,同时保持图像质量和多样性。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt