Abstract
This paper explores the intersection of control theory and deep learning by investigating the local observability of two-layer feedforward neural networks (FNNs). While neural network weights are typically considered unobservable due to architectural redundancies, the authors demonstrate that local identifiability is achievable under specific conditions—namely, when the number of inputs matches the number of hidden nodes and the weight matrix is non-singular. By employing "persistently exciting" input sequences, the study provides a theoretical framework for treating neural network training as a state estimation problem, validated through numerical simulations.
Introduction
Standard neural network training relies on Gradient Descent (GD) to minimize loss, yet GD offers few guarantees regarding reaching optimal weight configurations. An alternative approach treats training as a state estimation problem, viewing weights as hidden states of a dynamical system. For this to succeed, the system must be observable, allowing internal states to be uniquely determined from input-output data.
Because neural networks often exhibit redundancy, global observability is rarely possible. This paper investigates local observability, establishing the conditions under which a specific set of weights can be distinguished from its immediate neighbors.
Methodology
The research focuses on a two-layer FNN with $m$ inputs, $n$ hidden nodes (ReLU activation), and a single output.
The authors utilize the observability rank condition from control theory, involving several key steps:
- Dynamic Formulation: Representing the static network as a discrete-time system where weights are constant ($w_{t+1} = w_t$).
- Jacobian Analysis: Evaluating the Jacobian of the mapping from weights to outputs; observability requires this matrix to have full column rank.
- Factorization: Decomposing the Jacobian into components representing input sequences and ReLU activation states.
- Input Design: Developing "Persistently Exciting" (PE) input sequences designed to probe the network and reveal underlying weight values.
Key Insights
- The "m=n" Requirement: Local observability is guaranteed when the input dimension equals the hidden layer width, provided the weight matrix is non-singular.
- Redundancy and Interpretation: Overparameterization (e.g., $m < n$) leads to indistinguishable weights, contributing to the "black box" nature of deep models.
- Data-Dependent Observability: Unlike linear systems, observability in ReLU networks is a property of the specific input data used to probe the system.
- Neighborhood Stability: Theorem 3 establishes that an input sequence providing observability for a weight set $w$ also works for a neighborhood around $w$, facilitating weight tracking during online learning.
Key Results
The authors validated their theoretical framework using a $3 \times 3 \times 1$ FNN simulation. With a designed input sequence of length $N=9$, they demonstrated that target weights could be uniquely identified.
As illustrated in the figure, the $\ell_1$-norm of the output difference ($\Vert y - y' \Vert_1$) remains non-zero across 1,000 neighboring weight sets, confirming that the designed sequence effectively "fingerprints" the model's internal parameters.
Limitations and Future Work
The study is currently limited to two-layer FNNs with fixed output weights. Extending these observability proofs to deeper architectures is challenging due to vanishing gradients and nested nonlinearities. Additionally, the $m=n$ requirement contrasts with modern overparameterized models where $n \gg m$. Future work will focus on these complex regimes and the integration of these findings into online training methods like Moving Horizon Estimation (MHE).
Summary updated