We introduce a principled method to train end-to-end analog neural networks by stochastic gradient descent. In these analog neural networks, the weights to be adjusted are implemented by the conductances of programmable resistive devices such as memristors [Chua, 1971], and the nonlinear transfer functions (or `activation functions') are implemented by nonlinear components such as diodes. We show mathematically that a class of analog neural networks (called nonlinear resistive networks) are energy-based models: they possess an energy function as a consequence of Kirchhoff's laws governing electrical circuits. This property enables us to train them using the Equilibrium Propagation framework [Scellier and Bengio, 2017]. Our update rule for each conductance, which is local and relies solely on the voltage drop across the corresponding resistor, is shown to compute the gradient of the loss function. Our numerical simulations, which use the SPICE-based Spectre simulation framework to simulate the dynamics of electrical circuits, demonstrate training on the MNIST classification task, performing comparably or better than equivalent-size software-based neural networks. Our work can guide the development of a new generation of ultra-fast, compact and low-power neural networks supporting on-chip learning.
Lagrangian-based Equilibrium Propagation: generalisation to arbitrary boundary conditions & equivalence with Hamiltonian Echo Learning
University of Groningen(格罗宁根大学);Univ. Lille, Inria, CNRS, Centrale Lille, UMR 9189 - CRIStAL(里尔大学、法国国家信息与自动化研究所、法国国家科学研究中心、中央理工-里尔高等电力学院,UMR 9189 - CRIStAL);Centrum Wiskunde & Informatica(荷兰国家数学与计算机科学研究中心);The University of Sheffield(谢菲尔德大学)
Backpropagation at the Infinitesimal Inference Limit of Energy-Based Models: Unifying Predictive Coding, Equilibrium Propagation, and Contrastive Hebbian Learning
MRC Brain Networks Dynamics Unit(英国医学研究理事会脑网络动力学部门);University of Oxford(牛津大学)
Scaling Equilibrium Propagation to Deep ConvNets by Drastically Reducing its Gradient Estimator Bias
Université Paris-Saclay(巴黎萨克雷大学);CNRS(法国国家科学研究中心);Unité Mixte de Physique(联合物理实验室);Thales(泰雷兹集团);Mila(米拉研究所);Université de Montréal(蒙特利尔大学);Canadian Institute for Advanced Research(加拿大高等研究院);Google(谷歌)
Equilibrium Propagation with Continual Weight Updates
Centre de Nanosciences et de Nanotechnologies, Université Paris-Saclay(巴黎萨克雷大学纳米科学与纳米技术中心);Unité Mixte de Physique, CNRS, Thales, Université Paris-Saclay(巴黎萨克雷大学、法国国家科学研究中心、泰雷兹集团联合物理单位);Mila, Université de Montréal(蒙特利尔大学米拉研究所);Canadian Institute for Advanced Research(加拿大高等研究院)
Continual Weight Updates and Convolutional Architectures for Equilibrium Propagation
Centre de Nanosciences et de Nanotechnologies, Université Paris-Saclay(巴黎萨克雷大学纳米科学与纳米技术中心);Unité Mixte de Physique, CNRS, Thales, Université Paris-Saclay(巴黎萨克雷大学、法国国家科学研究中心、泰雷兹集团联合物理单位);Canadian Institute for Advanced Research(加拿大高等研究院);Mila, Université de Montréal(蒙特利尔大学米拉研究所)