Abstract
Diffusion models have demonstrated a remarkable ability in Text-to-Image (T2I) generation applications. Despite the advanced generation output, they suffer from heavy computation overhead, especially for large models that contain tens of billions of parameters. Prior work has illustrated that replacing part of the denoising steps with a smaller model still maintains the generation quality. However, these methods only focus on saving computation for some timesteps, ignoring the difference in compute demand within one timestep. In this work, we propose HybridStitch, a new T2I generation paradigm that treats generation like editing. Specifically, we introduce a hybrid stage that jointly incorporates both the large model and the small model. HybridStitch separates the entire image into two regions: one that is relatively easy to render, enabling an early transition to the smaller model, and another that is more complex and therefore requires refinement by the large model. HybridStitch employs the small model to construct a coarse sketch while exploiting the large model to edit and refine the complex regions. According to our evaluation, HybridStitch achieves 1.83$\times$ speedup on Stable Diffusion 3, which is faster than all existing mixture of model methods.
Abstract (translated)
扩散模型在文本到图像(T2I)生成应用中展现出了非凡的能力。尽管这些模型的生成输出非常先进,但它们也面临着计算开销大的问题,尤其是在包含数十亿参数的大规模模型中更为明显。先前的研究表明,通过部分步骤用较小的模型替代去噪过程仍能保持生成质量。然而,这些方法仅关注于节省某些时间步长中的计算量,而忽略了单个时间步内部不同阶段的计算需求差异。 在本文工作中,我们提出了一种新的T2I生成范式——HybridStitch(混合缝合技术),将生成过程视为编辑过程来处理。具体而言,我们引入了一个混合阶段,该阶段同时结合了大规模模型和小规模模型的优势。HybridStitch将整个图像分为两个区域:一个相对容易渲染的区域,在此区域内可以尽早过渡到较小模型;另一个则是较为复杂的部分,因此需要大模型进行细化处理。通过这种方法,HybridStitch利用小型模型构建初步草图,并借助大型模型编辑和精炼复杂区域。 根据我们的评估,HybridStitch在Stable Diffusion 3上的速度提升了1.83倍,这比现有的所有混合模型方法都要快。
URL
https://arxiv.org/abs/2603.07815