arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2303.04721cs.LGcs.ARcs.ET
收藏

快速偏移校正的内存计算训练

Fast offset corrected in-memory training

IBM Research(IBM研究院)

Malte J. Rasch, Fabio Carta, Omebayode Fagbohungbe, Tayfun Gokmen

AI总结:

本文提出两种改进的内存计算训练算法c-TTv2和AGAD,通过斩波器校正偏移,放宽器件要求,加速DNN训练。

摘要:

基于电阻式交叉阵列的内存计算已被提出用于以高效方式加速深度学习工作负载。为了充分发挥内存计算的潜力,希望同时加速大型深度神经网络(DNN)的训练和推理。过去,已提出专门的内存计算训练算法,不仅加速前向和反向传播,还建立了在内存中并行更新权重的技巧。然而,最先进的算法(Tiki-Taka版本2(TTv2))仍需要近乎完美的偏移校正,并可能因编程和估计不准确以及器件材料的长期不稳定性而产生潜在偏差。在此,我们提出并描述了两种新的改进内存计算算法(Chopped-TTv2(c-TTv2)和带动态参考的模拟梯度累积(AGAD)),它们保持相同的运行时复杂度,但使用斩波器校正任何剩余的偏移。这些算法大大放宽了器件要求,从而扩大了可能用于此类快速内存DNN训练的潜在材料范围。

英文摘要:

In-memory computing with resistive crossbar arrays has been suggested to accelerate deep-learning workloads in highly efficient manner. To unleash the full potential of in-memory computing, it is desirable to accelerate the training as well as inference for large deep neural networks (DNNs). In the past, specialized in-memory training algorithms have been proposed that not only accelerate the forward and backward passes, but also establish tricks to update the weight in-memory and in parallel. However, the state-of-the-art algorithm (Tiki-Taka version 2 (TTv2)) still requires near perfect offset correction and suffers from potential biases that might occur due to programming and estimation inaccuracies, as well as longer-term instabilities of the device materials. Here we propose and describe two new and improved algorithms for in-memory computing (Chopped-TTv2 (c-TTv2) and Analog Gradient Accumulation with Dynamic reference (AGAD)), that retain the same runtime complexity but correct for any remaining offsets using choppers. These algorithms greatly relax the device requirements and thus expanding the scope of possible materials potentially employed for such fast in-memory DNN training.

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

↑