KirchhoffNet: A Scalable Ultra Fast Analog Neural Network
Zhengqi Gao, Fan-Keng Sun, Ron Rohrer, Duane S. Boning
TL;DR
KirchhoffNet introduces a physics-grounded, analog RC-circuit–style neural network where inputs are initial node voltages and outputs are voltages at a readout time, with edge-based nonlinear currents driving the dynamics $\mathbf{C}\dot{\mathbf{v}}+\mathbf{G}\mathbf{v}=\mathbf{b}$. Trained via the adjoint method, it supports time-sliced layers that can change topology across layers, using FC-like and convolution-like NE layers plus Proj extensions, enabling deep architectures without traditional layers. Empirical results across regression, image classification, and generation/density matching show competitive performance with existing Neural ODEs and graph-based models, while highlighting the potential for rapid, hardware-efficient inference. The work argues for analog hardware as a scalable paradigm for large-scale neural networks, outlining practical pathways and challenges toward circuit-level realization and fabrication. Overall, KirchhoffNet offers a promising new direction that merges physical circuit dynamics with neural computation to achieve fast, energy-aware AI accelerators.
Abstract
In this paper, we leverage a foundational principle of analog electronic circuitry, Kirchhoff's current and voltage laws, to introduce a distinctive class of neural network models termed KirchhoffNet. Essentially, KirchhoffNet is an analog circuit that can function as a neural network, utilizing its initial node voltages as the neural network input and the node voltages at a specific time point as the output. The evolution of node voltages within the specified time is dictated by learnable parameters on the edges connecting nodes. We demonstrate that KirchhoffNet is governed by a set of ordinary differential equations (ODEs), and notably, even in the absence of traditional layers (such as convolution layers), it attains state-of-the-art performances across diverse and complex machine learning tasks. Most importantly, KirchhoffNet can be potentially implemented as a low-power analog integrated circuit, leading to an appealing property -- irrespective of the number of parameters within a KirchhoffNet, its on-chip forward calculation can always be completed within a short time. This characteristic makes KirchhoffNet a promising and fundamental paradigm for implementing large-scale neural networks, opening a new avenue in analog neural networks for AI.
