arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2506.05096cs.CV
收藏

Astraea:一种面向视频扩散Transformer的令牌级加速框架

Astraea: A Token-wise Acceleration Framework for Video Diffusion Transformers

Shanghai Jiao Tong University(上海交通大学);Shanghai Qizhi Institute(上海启智研究院);Huawei Technologies Co.,Ltd(华为技术有限公司)

Haosong Liu, Yuge Cheng, Wenxuan Miao, Zihan Liu, Aiyue Chen, Jing Lin, Yiwu Yao, Chen Chen, Jingwen Leng, Yu Feng, Minyi Guo

AI总结:

Astraea提出令牌选择与稀疏注意力机制,结合进化算法搜索最优配置,在单GPU上实现2.4倍、8 GPU上13.2倍的推理加速,同时保持视频质量。

摘要:

视频扩散Transformer(vDiTs)在文本到视频生成方面取得了巨大进展,但其高计算需求对实际部署构成了重大挑战。尽管已有研究提出在不同粒度上减少工作负载的加速方法,但这些方法往往依赖启发式规则,限制了其适用性。我们提出Astraea,一个在性能目标下为基于vDiT的视频生成搜索近最优配置的框架。其核心是,Astraea提出了一种轻量级的令牌选择机制和一种内存高效、GPU友好的稀疏注意力策略,从而在最小化生成质量影响的同时,实现执行时间的线性节省。同时,为了确定不同时间步的最优令牌缩减量,我们进一步设计了一个搜索框架,利用经典进化算法自动有效地确定令牌预算的分配。综合来看,Astraea在单GPU上实现了高达2.4倍的推理加速,并具有出色的可扩展性(在8个GPU上实现高达13.2倍的加速),同时与最先进方法相比,视频质量提升超过10 dB(与基线相比,VBench损失小于0.5%)。

英文摘要:

Video diffusion transformers (vDiTs) have made tremendous progress in text-to-video generation, but their high compute demands pose a major challenge for practical deployment. While studies propose acceleration methods to reduce workload at various granularities, they often rely on heuristics, limiting their applicability. We introduce Astraea, a framework that searches for near-optimal configurations for vDiT-based video generation under a performance target. At its core, Astraea proposes a lightweight token selection mechanism and a memory-efficient, GPU-friendly sparse attention strategy, enabling linear savings on execution time with minimal impact on generation quality. Meanwhile, to determine optimal token reduction for different timesteps, we further design a search framework that leverages a classic evolutionary algorithm to automatically determine the distribution of the token budget effectively. Together, Astraea achieves up to 2.4$\times$ inference speedup on a single GPU with great scalability (up to 13.2$\times$ speedup on 8 GPUs) while achieving up to over 10~dB video quality compared to the state-of-the-art methods ($<$0.5\% loss on VBench compared to baselines).

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

↑