paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Dynamic Sparsity in Large-Scale Video DiT Training

大规模视频 DiT 训练中的动态稀疏性
ASPLOS Proceedings of the 31st ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 12025匹配度 1/10 · 该论文关注视频 Diffusion Transformer 训练中的动态稀疏注意力与分布式并行加速,属于机器学习系统/效率优化,不涉及静态分析、Agentic 程序分析、浮点程序分析、贝叶斯程序分析或 LLM 与程序语言的交叉。虽然用户画像包含“机器学习系统”,但核心方法并非将静态分析应用于 ML/Agent 系统,因此匹配度很低。引用 14 inbox
Xin Tan, Yuetao Chen, Yimin Jiang, Xing Chen, Kun Yan, Nan Duan, Yibo Zhu, Daxin Jiang, Hong Xu
crossref: 2026-09-12dblp: 2026-09-12arxiv: 2026-09-12

AI 速览

一句话:提出 DSV,利用动态注意力稀疏与稀疏感知上下文并行,加速视频 DiT 训练并保持模型质量。

视频 DiT 训练中 3D 全注意力呈二次复杂度,可占 95% 处理时间,成为高清长视频扩展的瓶颈。本文提出 DSV:先用基于低秩近似的两阶段算法捕捉动态注意力稀疏模式,再通过定制内核高效筛选关键 key-value 对并计算稀疏注意力;同时设计稀疏感知混合上下文并行,以在注意力头和块之间重新平衡因稀疏异质性造成的负载倾斜。实验表明,DSV 训练吞吐最高提升 3.02 倍,可扩展至 128 GPU 与 520k token 长度,且模型质量与全注意力方案相当。

问题
视频 DiT 中 3D 全注意力的二次复杂度导致训练瓶颈,尤其在高清长视频上占用大量时间并需要专门上下文并行。
方法
DSV 以低秩近似两阶段捕捉动态稀疏模式,用定制内核选择关键 KV 并计算稀疏注意力,并采用稀疏感知混合上下文并行重平衡负载。
评估
在最多 128 GPU 和 520k token 长度上评测,训练吞吐最高提升 3.02 倍,模型质量与全注意力基线相当。
原文摘要(Abstract)

Diffusion Transformers (DiTs) have shown remarkable performance in generating high-quality videos. However, the quadratic complexity of 3D full attention remains a bottleneck in scaling DiT training, especially with high-definition, lengthy videos, where it can consume up to 95% of processing time and demand specialized context parallelism. This paper introduces DSV to accelerate video DiT training by leveraging the dynamic attention sparsity we empirically observe. DSV uses a two-stage algorithm to capture the dynamic sparsity patterns via low-rank based approximation of the original query and key. It employs custom kernels to efficiently identify critical key-value pairs and compute the sparse attention. To accommodate the new sparsity dimension, DSV adopts a hybrid sparsity-aware context parallelism that re-balances the skewed workload across attention heads and blocks due to sparsity heterogeneity. DSV achieves up to 3.02x higher training throughput, scaling to 128 GPUs and 520k token lengths, while maintaining model quality comparable to full attention schemes.

链接与引用

DOI 原文 · arXiv · PDF(开放获取) · DBLP

BibTeX
@inproceedings{0004CJ00DZJ026,
  title = {Dynamic Sparsity in Large-Scale Video DiT Training},
  author = {Xin Tan and Yuetao Chen and Yimin Jiang and Xing Chen and Kun Yan and Nan Duan and Yibo Zhu and Daxin Jiang and Hong Xu},
  booktitle = {ASPLOS},
  year = {2025},
  doi = {10.1145/3760250.3762216}
}