Euclidean Contractivity of Neural Networks with Symmetric Weights

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

TL;DR

This paper establishes sharp sufficient conditions for the Euclidean ($\ell_2$) contractivity of continuous-time Hopfield and firing-rate neural networks with symmetric weights. By deriving novel algebraic results on matrix polytopes, the authors find contraction rates that are log-optimal for almost all symmetric synaptic matrices. Finally, they demonstrate how these contracting networks can be used to efficiently solve box-constrained quadratic optimization problems.

What Problem Does This Paper Address?

Continuous-time Recurrent Neural Networks (RNNs)—specifically Firing-Rate Neural Networks (FNNs) and Hopfield Neural Networks (HNNs)—are foundational models in both computational neuroscience and machine learning. To ensure these networks behave predictably and robustly, researchers look for properties like contractivity. A contracting system is highly stable: it forgets its initial conditions exponentially fast, converges to a unique equilibrium, and robustly resists external disturbances.

While recent work has successfully mapped out non-Euclidean contractivity (using $\ell_1$ and $\ell_\infty$ norms) for these networks, a comprehensive analysis using weighted Euclidean ($\ell_2$) norms has remained incomplete. Specifically, previous frameworks struggled to provide optimal contraction rates, handle weak contractivity (where the contraction rate is exactly zero), or accommodate non-smooth activation functions like the Rectified Linear Unit (ReLU) commonly used in modern machine learning. This paper bridges these gaps.

Methods

The authors tackle the problem by leveraging contraction theory combined with new, generalized algebraic results on matrix polytopes and products of symmetric matrices.

To find the best possible contractivity conditions, they define a specific scaling function $\theta_b(z)$ based on the maximum eigenvalue of the synaptic weight matrix $W$:

$$\theta_b(z) := 2b(1 + \sqrt{1 - z/b})$$

This function (visualized in Figure 1) is used to construct unique, optimal weighting matrices ($Q_{F,b}$ for FNNs and $Q_{H,b}$ for HNNs) that define a weighted Euclidean norm $\|x\|_{2,Q} = \|Qx\|_2$.

Plot of the function $\theta_b(z)$ with $b=5$, used to construct the optimal weighting matrices.

By analyzing the system's Jacobian within this custom norm space, the authors prove strong and weak infinitesimal contractivity. Crucially, they invoke Rademacher’s theorem to handle non-smooth, locally Lipschitz activation functions, evaluating the Jacobian "almost everywhere" to ensure the math holds up for functions like ReLU.

Datasets

Not discussed in the paper. This is a purely theoretical paper focused on mathematical proofs and algorithmic framework design; no empirical datasets were used for training or evaluation.

Key Insights and Ideas

  • Log-Optimality Achieved: The primary "aha moment" is that the derived contraction bounds are log-optimal for almost all symmetric synaptic matrices. This means no other weighted Euclidean norm can yield a strictly better contraction rate for these architectures.
  • FNNs and HNNs Diverge: Even though FNNs and HNNs are often treated as mathematically equivalent via coordinate transformations, this paper reveals that their contractivity properties do not exactly coincide. They require distinct matrix weights ($Q_{F,b}$ vs. $Q_{H,b}$) to prove optimal contractivity.
  • Embracing Non-Smoothness: Traditional contraction analysis often requires smooth, differentiable activation functions. By proving that contractivity holds for weakly increasing, locally Lipschitz functions, this work directly unites classical dynamical systems theory with modern deep learning components (like ReLU and soft-thresholding).

Key Results

  • Exact Contraction Rates: The paper provides explicit contractivity rates based on the spectral abscissa (maximum eigenvalue) of the weight matrix, $\alpha(W)$. For example, if $\alpha(W) < 1$, the FNN is strongly contracting. If $\alpha(W) = 1$, it is weakly contracting.
  • Singular Synapses: The authors extend their proofs to HNNs with singular (non-invertible) weight matrices, using an interconnected systems approach to guarantee strong contractivity even when the weight matrix has a non-trivial kernel.
  • An Optimization Solver: As a practical application, the authors propose an FNN model to solve quadratic optimization problems with box constraints: $$\dot{x} = -x + \text{sat}_{\mu,\nu}((I_n - A)x + u)$$ They prove that because this system is strictly contracting, its unique equilibrium point corresponds exactly to the global minimum of the optimization problem, offering a hardware-plausible way to solve complex constraints.

Limitations and Future Work

The most notable limitation is that the current findings are strictly constrained to symmetric synaptic matrices ($W = W^\top$) and homogeneous dissipation rates (where every neuron decays at the exact same rate).

For future work, the authors outline several promising expansions:

  1. Extending the framework to arbitrary, asymmetric synaptic matrices.
  2. Accommodating heterogeneous dissipation matrices to better reflect biological realities.
  3. Exploring higher-order contractivity properties and stochastic network models.
  4. Applying these optimal norms 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