arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2501.04012cs.MMcs.LG
收藏

FlexCache:面向视频扩散的灵活近似缓存系统

FlexCache: Flexible Approximate Cache System for Video Diffusion

University of Waterloo(滑铁卢大学)

Desen Sun, Henry Tian, Tim Lu, Sihang Liu

AI总结:

针对视频扩散模型缓存需求大、计算成本高的问题,本文提出 FlexCache,通过缓存压缩、物景解耦和定制替换策略提升命中率与吞吐量。

摘要:

文本到视频应用正受到公众越来越多的关注。其中,扩散模型已成为最突出的方法,在视觉内容生成方面提供了令人印象深刻的质量。然而,它仍面临巨大的计算复杂性,生成单个视频通常需要数分钟。尽管先前研究已经解决了文本到图像扩散模型中的计算开销问题,但由于视频生成涉及显著更大的缓存需求和更高的计算要求,所开发的技术并不能直接适用于视频扩散模型。我们提出 FlexCache,这是一个灵活的近似缓存系统,通过两项主要设计应对这些挑战。首先,我们在将缓存保存到存储之前对其进行压缩。我们的压缩策略平均可减少 6.7 倍的消耗。随后,我们发现通过解耦物体和背景,近似缓存系统可以实现更高的命中率和计算节省。我们进一步设计了定制的缓存替换策略,以更好地支持上述两项技术。通过评估,与最先进的扩散近似缓存系统相比,FlexCache 实现了 1.26 倍的更高吞吐量,并降低了 25% 的成本。

英文摘要:

Text-to-Video applications receive increasing attention from the public. Among these, diffusion models have emerged as the most prominent approach, offering impressive quality in visual content generation. However, it still suffers from substantial computational complexity, often requiring several minutes to generate a single video. While prior research has addressed the computational overhead in text-to-image diffusion models, the techniques developed are not directly suitable for video diffusion models due to the significantly larger cache requirements and enhanced computational demands associated with video generation. We present FlexCache, a flexible approximate cache system that addresses the challenges in two main designs. First, we compress the caches before saving them to storage. Our compression strategy can reduce 6.7 times consumption on average. Then we find that the approximate cache system can achieve higher hit rate and computation savings by decoupling the object and background. We further design a tailored cache replacement policy to support the two techniques mentioned above better. Through our evaluation, FlexCache reaches 1.26 times higher throughput and 25% lower cost compared to the state-of-the-art diffusion approximate cache system.

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

↑