Skip to main content
QUICK REVIEW

[Paper Review] Memory and Information Processing in Recurrent Neural Networks

Alireza Goudarzi, Sarah Marzen|arXiv (Cornell University)|Apr 23, 2016
Neural Networks and Reservoir ComputingComputer Science2 references10 citations
TL;DR

This paper presents an exact analytical framework to compute memory capacity and task performance in recurrent neural networks (RNNs), particularly reservoir computing systems, by relating network structure and input correlation to information retention and generalization. It shows that memory capacity exceeds N for correlated inputs and that regular network structures maximize capacity but are fragile, while irregular networks offer robustness at the cost of lower capacity.

ABSTRACT

Recurrent neural networks (RNN) are simple dynamical systems whose computational power has been attributed to their short-term memory. Short-term memory of RNNs has been previously studied analytically only for the case of orthogonal networks, and only under annealed approximation, and uncorrelated input. Here for the first time, we present an exact solution to the memory capacity and the task-solving performance as a function of the structure of a given network instance, enabling direct determination of the function--structure relation in RNNs. We calculate the memory capacity for arbitrary networks with exponentially correlated input and further related it to the performance of the system on signal processing tasks in a supervised learning setup. We compute the expected error and the worst-case error bound as a function of the spectra of the network and the correlation structure of its inputs and outputs. Our results give an explanation for learning and generalization of task solving using short-term memory, which is crucial for building alternative computer architectures using physical phenomena based on the short-term memory principle.

Motivation & Objective

  • To establish a direct mathematical link between network structure and memory capacity in RNNs beyond the annealed approximation.
  • To extend memory analysis to arbitrary networks with correlated inputs, moving beyond orthogonal or uncorrelated input assumptions.
  • To connect memory capacity directly to task-solving performance in supervised learning setups.
  • To quantify how network topology—specifically sparsity and randomness—affects memory and generalization in reservoir computing.
  • To derive expected and worst-case error bounds based on network spectra and input-output correlation structures.

Proposed method

  • Derives exact expressions for memory capacity using the network's weight matrix spectral radius and input autocorrelation functions.
  • Uses the state evolution equation $ x_{t+1} = \boldsymbol{\Omega}x_t + \boldsymbol{\omega}u_t $ to model network dynamics and compute cross- and auto-correlation matrices.
  • Applies spectral decomposition and power spectral density representations to express $ \mathbf{X}^\top\mathbf{X} $ and $ \mathbf{X}^\top\widehat{\mathbf{Y}} $ in frequency domain via $ \boldsymbol{\Omega}_+^{-1} $ and $ \boldsymbol{\Omega}_-^{-1} $.
  • Computes the readout weight $ \boldsymbol{\Psi} $ using regularized least-squares, incorporating Tikhonov regularization to stabilize solutions.
  • Evaluates performance using mean-squared error (MSE), with error expressions derived from input-output correlation functions and network eigenvalues.
  • Systematically varies network structure (ring to random graphs) and spectral radius $ \lambda $ to assess impact on memory and task performance.

Experimental results

Research questions

  • RQ1How does input correlation affect the memory capacity of a recurrent neural network beyond the uncorrelated case?
  • RQ2What is the exact relationship between network structure (spectral radius, sparsity, randomness) and memory capacity in RNNs?
  • RQ3Can memory capacity exceed the number of degrees of freedom $ N $ in RNNs, and under what input conditions does this occur?
  • RQ4How does network structure influence generalization performance on signal processing tasks such as NARMA10 and Mackey-Glass prediction?
  • RQ5What are the expected and worst-case error bounds for task performance as functions of network spectra and input correlation?

Key findings

  • Memory capacity exceeds $ N $ for exponentially correlated inputs, demonstrating that redundancy in input signals enables storage of longer sequences than degrees of freedom would suggest.
  • The total memory capacity normalized by $ N $ increases with input correlation, confirming that structured inputs enhance information retention.
  • Regular, deterministic network topologies (e.g., ring) achieve the highest memory capacity but are highly sensitive to structural perturbations.
  • Introducing slight randomness into the network reduces error in NARMA10 and Mackey-Glass tasks up to a point, indicating improved robustness, though performance eventually degrades with excessive irregularity.
  • The expected mean-squared error (MSE) converges to its true value with increasing sample size, explaining the system’s ability to generalize from training to test data.
  • Worst-case error bounds are derived based on the spectral properties of the weight matrix and input-output correlation, enabling performance prediction for arbitrary RNNs.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.