Euclidean Contractivity of Neural Networks With Symmetric Weights

Veronica Centorrino, Anand Gokhale, Alexander Davydov, Giovanni Russo, Francesco Bullo

Abstract

This paper investigates stability conditions of continuous-time Hopfield and firing-rate neural networks by leveraging contraction theory. First, we present a number of useful general algebraic results on matrix polytopes and products of symmetric matrices. Then, we give sufficient conditions for strong and weak Euclidean contractivity, i.e., contractivity with respect to the $\ell_2$ norm, of both models with symmetric weights and (possibly) non-smooth activation functions. Our contraction analysis leads to contraction rates which are log-optimal in almost all symmetric synaptic matrices. Finally, we use our results to propose a firing-rate neural network model to solve a quadratic optimization problem with box constraints.

Introduction

In both computational neuroscience and machine learning, understanding the stability of Recurrent Neural Networks (RNNs) is vital. A stable network is one where the influence of initial conditions fades over time, and the system converges to a unique equilibrium regardless of its starting state.

The gold standard for proving this stability is contraction theory. If a system is "contracting," any two trajectories will converge toward each other over time. While researchers have previously established stability conditions using $\ell_1$ and $\ell_\infty$ norms, the analysis for the more common Euclidean ($\ell_2$) norm has historically been incomplete. Specifically, previous conditions were often not "tight," meaning they did not necessarily identify the best possible convergence rate. This research fills that gap for two major models: Firing-Rate Neural Networks (FNNs) and Hopfield Neural Networks (HNNs).

Methodology

The authors leverage logarithmic norms (log-norms) to study infinitesimal contractivity. Their approach involves several key steps:

  1. Matrix Polytopes: They develop new algebraic results for sets of matrices (polytopes). Since neural network dynamics often involve a synaptic weight matrix $W$ scaled by a diagonal matrix of activation slopes, the stability analysis requires finding a norm that minimizes the log-norm across this entire set of possible matrices.
  2. Weighted Euclidean Norms: Instead of using a standard $\ell_2$ norm, they define specific weighting matrices ($Q$) based on the eigenvectors and eigenvalues of the synaptic matrix $W$.
  3. Handling Non-Smoothness: Many modern networks use non-smooth activation functions like ReLU. The authors use Rademacher’s theorem to ensure their stability proofs hold even when the activation function is not perfectly differentiable everywhere.
  4. Interconnected Systems: For HNNs with singular (non-invertible) weights, they use a "divide and conquer" strategy, decomposing the system into interconnected components to prove stability.

Theoretical Insights

  • Log-Optimality: The most significant contribution is the derivation of a weighted Euclidean norm that is log-optimal. This means the resulting contraction rate is the best possible bound achievable for almost all symmetric synaptic matrices.
  • FNN vs. HNN: While FNNs and HNNs are often treated as equivalent, the paper highlights that their contractivity properties are not identical. The specific weighting matrices required to prove stability differ between the two models.
  • The Power of Symmetry: By assuming symmetric synaptic weights ($W = W^\top$), the authors utilize the spectral properties of the matrix to find explicit, simple conditions for stability: the network is strongly contracting as long as the "spectral abscissa" (the largest eigenvalue) of $W$ is less than 1.
  • Weak Contractivity: The paper addresses the "weak" case where the contraction rate is zero. This is crucial for systems that exhibit conservation laws or invariance properties where trajectories stay within a bounded distance of each other rather than converging to a single point.

Key Results

The theoretical framework yields sharp bounds for neural network stability. For an FNN, if the maximum eigenvalue of the weight matrix $\alpha(W) < 1$, the network is strongly contracting with a rate of $1 - \alpha(W)$.

Figure 1: Visualization of the derived contraction rate bounds $\theta_b(z)$ as a function of system parameters.

Beyond theoretical bounds, the authors propose a specific FNN architecture designed to solve quadratic optimization problems with box constraints (e.g., $\min \frac{1}{2}y^\top Ay - u^\top y$ subject to $\mu \le y \le \nu$). They prove that this optimization-solving FNN is globally exponentially stable, meaning it is guaranteed to find the unique optimal solution rapidly from any starting state.

Conclusion and Future Work

While the current results provide a rigorous foundation for symmetric weights, they rely on the synaptic weight matrix being symmetric and assume homogeneous dissipation rates across neurons. Future research directions include extending these "sharp" Euclidean conditions to asymmetric matrices and heterogeneous dissipation rates. Additionally, the authors suggest applying these results to sparse reconstruction networks and implicit learning models.

Summary updated

BibTeX
@article{centorrino2023euclidean,
  author = {Veronica Centorrino and Anand Gokhale and Alexander Davydov and Giovanni Russo and Francesco Bullo},
  title = {{Euclidean Contractivity of Neural Networks With Symmetric Weights}},
  journal = {IEEE Control. Syst. Lett},
  year = {2023},
}
Figure