English

Time complexity of in-memory solution of linear systems

Computational Complexity 2020-05-12 v1 Emerging Technologies Numerical Analysis Numerical Analysis

Abstract

In-memory computing with crosspoint resistive memory arrays has been shown to accelerate data-centric computations such as the training and inference of deep neural networks, thanks to the high parallelism endowed by physical rules in the electrical circuits. By connecting crosspoint arrays with negative feedback amplifiers, it is possible to solve linear algebraic problems such as linear systems and matrix eigenvectors in just one step. Based on the theory of feedback circuits, we study the dynamics of the solution of linear systems within a memory array, showing that the time complexity of the solution is free of any direct dependence on the problem size N, rather it is governed by the minimal eigenvalue of an associated matrix of the coefficient matrix. We show that, when the linear system is modeled by a covariance matrix, the time complexity is O(logN) or O(1). In the case of sparse positive-definite linear systems, the time complexity is solely determined by the minimal eigenvalue of the coefficient matrix. These results demonstrate the high speed of the circuit for solving linear systems in a wide range of applications, thus supporting in-memory computing as a strong candidate for future big data and machine learning accelerators.

Keywords

Cite

@article{arxiv.2005.04530,
  title  = {Time complexity of in-memory solution of linear systems},
  author = {Zhong Sun and Giacomo Pedretti and Piergiulio Mannocci and Elia Ambrosi and Alessandro Bricalli and Daniele Ielmini},
  journal= {arXiv preprint arXiv:2005.04530},
  year   = {2020}
}

Comments

Accepted by IEEE Trans. Electron Devices. The authors thank Scott Aaronson for helpful discussion about time complexity

R2 v1 2026-06-23T15:25:44.230Z