Diffusion models have gained significant popularity in image generation tasks. However, generating high-quality content remains notably slow because it requires running model inference over many time steps. To accelerate these models, we propose to aggressively quantize both weights and activations, while simultaneously promoting significant activation sparsity. We further observe that the stated sparsity pattern varies among different channels and evolves across time steps. To support this quantization and sparsity scheme, we present a novel diffusion model accelerator featuring a heterogeneous mixed-precision dense-sparse architecture, channel-last address mapping, and a time-step-aware sparsity detector for efficient handling of the sparsity pattern. Our 4-bit quantization technique demonstrates superior generation quality compared to existing 4-bit methods. Our custom accelerator achieves 6.91x speed-up and 51.5% energy reduction compared to traditional dense accelerators.
ZEUS: Accelerating Diffusion Models with Only Second-Order Predictor
Department of Electrical and Computer Engineering, Duke University(杜克大学电气与计算机工程系);Department of Computer Science, Duke University(杜克大学计算机科学系);Department of Statistical Science, Duke University(杜克大学统计科学系)
Shanghai Jiao Tong University(上海交通大学);South China University of Technology(南方科技大学);Beihang University(北航);Huawei Technologies Ltd(华为技术有限公司);Shanghai AI Lab(上海人工智能实验室);Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州))
SpeCa: Accelerating Diffusion Transformers with Speculative Feature Caching
Shanghai Jiao Tong University(上海交通大学);Shandong University(山东大学);University of Electronic Science and Technology of China(电子科学与技术大学);The Hong Kong University of Science and Technology (Guangzhou)(香港科学与技术大学(广州));Tsinghua University(清华大学);National University of Singapore(新加坡国立大学)
Timeripple: Accelerating vDiTs by Understanding the Spatio-Temporal Correlations in Latent Space
Shanghai Jiao Tong University(上海交通大学);Shanghai Qizhi Institute(上海启智研究院);Huawei Technologies Co.,Ltd(华为技术有限公司);Institute of Computing Technology, Chinese Academy of Science(中国科学院计算技术研究所)
Stanford University(斯坦福大学);NVIDIA(英伟达);Massachusetts Institute of Technology(麻省理工学院);Google Brain(谷歌大脑)
卷积神经网络(CNN)是计算密集型的,这限制了其在移动设备上的应用。它们的能量主要取决于执行卷积所需的乘法次数。Winograd的最小过滤算法(Lavin,2015)和网络修剪(Han et al.,2015)可以减少操作计数,但是这两种方法不能直接组合$-$,应用Winograd变换填充权重和激活两者中的稀疏性。我们对基于Winograd的CNN提出了两个修改,以使这些方法能够利用稀疏性。首先,我们将ReLU操作移动到Winograd域中,以增加转换激活的稀疏性。其次,我们修剪Winograd域中的权重,以利用静态权重稀疏性。对于CIFAR-10,CIFAR-100和ImageNet数据集上的模型,我们的方法分别将乘法次数减少了$10.4\times$,$6.8\times$和$10.8\times$,准确性损失小于$0.1\%$,优于之前的基线$2.0\times$ - $3.0\times$。我们还表明,将ReLU移动到Winograd域可以进行更积极的修剪。
ToProVAR: Efficient Visual Autoregressive Modeling via Tri-Dimensional Entropy-Aware Semantic Analysis and Sparsity Optimization
School of Computer Science, Peking University(北京大学计算机科学学院);School of Electronics Engineering and Computer Science, Peking University(北京大学电子工程与计算机科学学院);National Key Laboratory for Multimedia Information Processing, Peking University(北京大学多媒体信息处理国家重点实验室)