Procrustes:稀疏深度神经网络训练的数据流和加速器
Procrustes: a Dataflow and Accelerator for Sparse Deep Neural Network Training
摘要:
DNN修剪的成功导致了高能效推理加速器的发展,这些加速器支持具有稀疏权重和激活张量的修剪模型。然而,因为这些架构中的存储器布局和布局是针对$\mathit{inference}$期间的访问模式而优化的,所以它们不能有效地支持新兴的稀疏$\mathit{training}$技术。在本文中,我们证明了(a)加速稀疏训练需要一种协同设计方法,其中算法适用于硬件的约束,以及(b)稀疏DNN训练的硬件必须解决推理加速器中没有出现的约束。作为概念验证,我们调整稀疏训练算法以适应硬件加速;然后我们开发了稀疏、数据布局和负载平衡技术来加速它。最终的系统是一个稀疏DNN训练加速器,它可以产生与密集模型相同精度的修剪模型,而无需首先训练,然后修剪,最后重新训练密集模型。与使用最先进的DNN加速器在没有稀疏训练支持的情况下训练等效的未修剪模型相比,Procrustes消耗的能量最多减少3.26 $\times$,并在一系列模型中提供高达4 $\times$的加速,同时将权重修剪一个数量级并保持未修剪的准确性。
英文摘要:
The success of DNN pruning has led to the development of energy-efficient inference accelerators that support pruned models with sparse weight and activation tensors. Because the memory layouts and dataflows in these architectures are optimized for the access patterns during $\mathit{inference}$, however, they do not efficiently support the emerging sparse $\mathit{training}$ techniques. In this paper, we demonstrate (a) that accelerating sparse training requires a co-design approach where algorithms are adapted to suit the constraints of hardware, and (b) that hardware for sparse DNN training must tackle constraints that do not arise in inference accelerators. As proof of concept, we adapt a sparse training algorithm to be amenable to hardware acceleration; we then develop dataflow, data layout, and load-balancing techniques to accelerate it. The resulting system is a sparse DNN training accelerator that produces pruned models with the same accuracy as dense models without first training, then pruning, and finally retraining, a dense model. Compared to training the equivalent unpruned models using a state-of-the-art DNN accelerator without sparse training support, Procrustes consumes up to 3.26$\times$ less energy and offers up to 4$\times$ speedup across a range of models, while pruning weights by an order of magnitude and maintaining unpruned accuracy.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。