arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2503.04871cs.CVcs.LGeess.IV
收藏

面向图像与视频生成中扩散模型的轻量级快速解码器研究

Toward Lightweight and Fast Decoders for Diffusion Models in Image and Video Generation

Alexey Buzovkin, Evgeny Shilov

AI总结:

本文针对稳定扩散模型推理慢、内存占用高的问题,提出基于轻量级Vision Transformer和Taming Transformer的定制解码器,在图像和视频生成中实现显著加速并降低内存需求。

摘要:

我们研究了通过在图像和视频合成中引入轻量级解码器来减少稳定扩散模型推理时间和内存占用的方法。传统潜在扩散流程依赖大型变分自编码器(Variational Autoencoder)解码器,这会拖慢生成速度并消耗大量GPU内存。我们提出使用轻量级Vision Transformer和Taming Transformer架构定制训练的解码器。实验表明,在COCO2017上图像生成整体加速最高可达15%,子模块解码速度最高可提升20倍,并在UCF-101视频任务上获得额外收益。内存需求得到适度降低,虽然与默认解码器相比感知质量有小幅下降,但在速度和可扩展性方面的提升对于大规模推理场景(例如生成10万张图像)至关重要。我们的工作进一步结合了高效视频生成的进展,包括双掩码策略,展示了提升生成模型可扩展性和效率的更广泛努力。

英文摘要:

We investigate methods to reduce inference time and memory footprint in stable diffusion models by introducing lightweight decoders for both image and video synthesis. Traditional latent diffusion pipelines rely on large Variational Autoencoder decoders that can slow down generation and consume considerable GPU memory. We propose custom-trained decoders using lightweight Vision Transformer and Taming Transformer architectures. Experiments show up to 15% overall speed-ups for image generation on COCO2017 and up to 20 times faster decoding in the sub-module, with additional gains on UCF-101 for video tasks. Memory requirements are moderately reduced, and while there is a small drop in perceptual quality compared to the default decoder, the improvements in speed and scalability are crucial for large-scale inference scenarios such as generating 100K images. Our work is further contextualized by advances in efficient video generation, including dual masking strategies, illustrating a broader effort to improve the scalability and efficiency of generative models.

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

↑