通过混合梯度计算迈向数字绑定模拟模块的训练
Towards training digitally-tied analog blocks via hybrid gradient computation
AI总结:
本文提出前馈绑定能量模型 ff-EBMs,通过混合反向传播与平衡传播的梯度计算方法,将可训练的模拟能量模块逐步集成到数字加速器中,并在 ImageNet32 上取得 EP 领域新 SOTA。
摘要:
在标准数字电子领域,功耗效率正趋于平台期,因此需要新型硬件、模型和算法来降低人工智能训练的成本。基于能量的模拟电路与平衡传播(Equilibrium Propagation,EP)算法的结合,构成了一种用于神经网络基于梯度的优化的极具吸引力的替代计算范式。然而,现有的模拟硬件加速器通常包含数字电路,以维持辅助性的非权重驻留操作、缓解模拟器件缺陷,并利用现有的数字加速器。这种异构硬件方法需要一种新的理论模型构建模块。在本工作中,我们引入了前馈绑定能量模型(Feedforward-tied Energy-based Models,ff-EBMs),这是一种由前馈模块和基于能量的模块组成的混合模型,分别对应数字电路和模拟电路。我们推导出一种新算法,通过分别在前馈部分和基于能量的部分进行反向传播和“平衡传播”,端到端地计算 ff-EBMs 中的梯度,从而使 EP 能够应用于更加灵活和现实的架构。我们在以深度霍普菲尔德网络(Deep Hopfield Networks,DHNs)作为基于能量的模块的 ff-EBMs 上,通过实验证明了所提方法的有效性。我们首先表明,一个标准的 DHN 可以被任意分割成任意均匀大小的模块,同时保持性能。随后,我们在 ImageNet32 上训练 ff-EBMs,并在 EP 文献中建立了新的最先进(SOTA)性能(46% top-1 准确率)。我们的方法提供了一条有原则、可扩展且可逐步推进的路线图,以将可自训练的模拟计算原语逐步集成到现有的数字加速器中。
英文摘要:
Power efficiency is plateauing in the standard digital electronics realm such that novel hardware, models, and algorithms are needed to reduce the costs of AI training. The combination of energy-based analog circuits and the Equilibrium Propagation (EP) algorithm constitutes one compelling alternative compute paradigm for gradient-based optimization of neural nets. Existing analog hardware accelerators, however, typically incorporate digital circuitry to sustain auxiliary non-weight-stationary operations, mitigate analog device imperfections, and leverage existing digital accelerators.This heterogeneous hardware approach calls for a new theoretical model building block. In this work, we introduce Feedforward-tied Energy-based Models (ff-EBMs), a hybrid model comprising feedforward and energy-based blocks accounting for digital and analog circuits. We derive a novel algorithm to compute gradients end-to-end in ff-EBMs by backpropagating and "eq-propagating" through feedforward and energy-based parts respectively, enabling EP to be applied to much more flexible and realistic architectures. We experimentally demonstrate the effectiveness of the proposed approach on ff-EBMs where Deep Hopfield Networks (DHNs) are used as energy-based blocks. We first show that a standard DHN can be arbitrarily split into any uniform size while maintaining performance. We then train ff-EBMs on ImageNet32 where we establish new SOTA performance in the EP literature (46 top-1 %). Our approach offers a principled, scalable, and incremental roadmap to gradually integrate self-trainable analog computational primitives into existing digital accelerators.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。