English

Computing optimal discrete readout weights in reservoir computing is NP-hard

Computational Complexity 2019-08-27 v1

Abstract

We show NP-hardness of a generalized quadratic programming problem, which we called Unconstrained N-ary Quadratic Programming (UNQP). This problem has recently become practically relevant in the context of novel memristor-based neuromorphic microchip designs, where solving the UNQP is a key operation for on-chip training of the neural network implemented on the chip. UNQP is the problem of finding a vector vSN\mathbf{v} \in S^N which minimizes vTQv+vTc\mathbf{v}^T\,Q\,\mathbf{v} +\mathbf{v}^T \mathbf{c} , where S={s1,,sn}ZS = \{s_1, \ldots, s_n\} \subset \mathbb{Z} is a given set of eligible parameters for v\mathbf{v}, QZN×NQ \in \mathbb{Z}^{N \times N} is positive semi-definite, and cZN\mathbf{c} \in \mathbb{Z}^{N}. In memristor-based neuromorphic hardware, SS is physically given by a finite (and small) number of possible memristor states. The proof of NP-hardness is by reduction from the Unconstrained Binary Quadratic Programming problem, which is a special case of UNQP where S={0,1}S = \{0, 1\} and which is known to be NP-hard.

Keywords

Cite

@article{arxiv.1809.01021,
  title  = {Computing optimal discrete readout weights in reservoir computing is NP-hard},
  author = {Fatemeh Hadaeghi and Herbert Jaeger},
  journal= {arXiv preprint arXiv:1809.01021},
  year   = {2019}
}

Comments

8 pages submitted to Neurocomputing

R2 v1 2026-06-23T03:53:51.067Z