arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.05342cs.ETcs.ARcs.NE
收藏

深度神经网络中存内类比矩阵计算的二次训练首次演示

First Demonstration of Second-order Training of Deep Neural Networks with In-memory Analog Matrix Computing

Peking University(北京大学)

Saitao Zhang, Yubiao Luo, Shiqing Wang, Pushen Zuo, Yongxiang Li, Lunshuai Pan, Zheng Miao, Zhong Sun

AI总结:

本文首次利用存内类比矩阵计算实现深度神经网络的二次训练,通过减少训练周期和提升能效,展示了其在高效人工智能加速中的潜力。

摘要:

二次优化方法通过利用曲率信息,比随机梯度下降(SGD)和Adam等一阶方法具有更快且更稳定的收敛速度。然而,其实际应用受到倒置二次信息矩阵成本过高的限制,特别是在大规模神经网络训练中。本文首次演示了利用存内类比矩阵计算(AMC)的二次优化器,该计算采用电阻随机存取存储器(RRAM)进行矩阵倒置(INV)操作,单步完成。我们通过训练一个两层卷积神经网络(CNN)进行手写字母分类来验证该优化器,实现了比具有动量的SGD和Adam分别少26%和61%的训练周期。在使用相同二次方法的更大任务中,我们的系统相比最先进的数字处理器,在吞吐量上提升了5.88倍,在能效上提升了6.9倍。这些结果证明了AMC电路在二次神经网络训练中的可行性和有效性,为高效能人工智能加速开辟了新路径。

英文摘要:

Second-order optimization methods, which leverage curvature information, offer faster and more stable convergence than first-order methods such as stochastic gradient descent (SGD) and Adam. However, their practical adoption is hindered by the prohibitively high cost of inverting the second-order information matrix, particularly in large-scale neural network training. Here, we present the first demonstration of a second-order optimizer powered by in-memory analog matrix computing (AMC) using resistive random-access memory (RRAM), which performs matrix inversion (INV) in a single step. We validate the optimizer by training a two-layer convolutional neural network (CNN) for handwritten letter classification, achieving 26% and 61% fewer training epochs than SGD with momentum and Adam, respectively. On a larger task using the same second-order method, our system delivers a 5.88x improvement in throughput and a 6.9x gain in energy efficiency compared to state-of-the-art digital processors. These results demonstrate the feasibility and effectiveness of AMC circuits for second-order neural network training, opening a new path toward energy-efficient AI acceleration.

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

↑