arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.11674cs.ETcond-mat.dis-nncs.LG
收藏

一种模拟非线性电阻网络的快速算法

A Fast Algorithm to Simulate Nonlinear Resistive Networks

Rain AI

Benjamin Scellier

AI总结:

本文提出一种基于二次规划和坐标下降的快速算法来仿真非线性电阻网络,相比SPICE仿真可训练大327倍的网络且速度提升160倍,显著改善了网络规模与训练时长的比值。

摘要:

长期以来,模拟电气网络一直被研究作为用于机器学习的节能计算平台,在推理过程中利用模拟物理特性。近年来,电阻网络因其能够使用局部规则(如平衡传播)进行学习而引起了特别关注,这也为训练过程带来了潜在的重要能效提升。尽管具有潜在优势,这些电阻网络的仿真一直是评估其可扩展性的重大瓶颈,现有方法要么局限于线性网络,要么依赖于真实但速度缓慢的电路仿真器(如SPICE)。在假设理想电路元件的前提下,我们提出了一种用于非线性电阻网络仿真的新方法,将其构建为一个带线性不等式约束的二次规划问题,并使用一种快速、精确的坐标下降算法进行求解。我们的仿真方法显著优于现有的基于SPICE的仿真,能够训练规模大327倍的网络,速度提高160倍,从而使网络规模与训练周期时长的比值提升50,000倍。我们的方法能够促进非线性模拟电气网络仿真领域取得更快速的进展。

英文摘要:

Analog electrical networks have long been investigated as energy-efficient computing platforms for machine learning, leveraging analog physics during inference. More recently, resistor networks have sparked particular interest due to their ability to learn using local rules (such as equilibrium propagation), enabling potentially important energy efficiency gains for training as well. Despite their potential advantage, the simulations of these resistor networks has been a significant bottleneck to assess their scalability, with current methods either being limited to linear networks or relying on realistic, yet slow circuit simulators like SPICE. Assuming ideal circuit elements, we introduce a novel approach for the simulation of nonlinear resistive networks, which we frame as a quadratic programming problem with linear inequality constraints, and which we solve using a fast, exact coordinate descent algorithm. Our simulation methodology significantly outperforms existing SPICE-based simulations, enabling the training of networks up to 327 times larger at speeds 160 times faster, resulting in a 50,000-fold improvement in the ratio of network size to epoch duration. Our approach can foster more rapid progress in the simulations of nonlinear analog electrical networks.

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

↑