Abstract
This paper investigates the topological property of closedness for sets of realized neural networks within Sobolev spaces $W^{k,p}$. For an $m$-times differentiable activation function $\rho$, we demonstrate that the set of neural networks of a fixed architecture is not closed in the $W^{m-1,p}$ norm. We further extend this to $W^{m,p}$ under specific conditions and show that for real analytic activation functions, nonclosedness persists across all $k \in \mathbb{N}$. A critical consequence of this nonclosedness is that approximating functions outside the network's realization set necessitates unbounded parameter growth. We characterize this growth through an "inverse error law" and provide experimental evidence of this phenomenon during Sobolev training.
Introduction
In the study of neural network approximation theory, a fundamental question is whether the set of functions representable by a specific architecture is "closed." In a closed set, any sequence of functions that converges (under a specific norm) must converge to a function already within that set. If a set is not closed, the network can approximate "target" functions that it cannot exactly represent.
While previous literature has established that neural network sets are often not closed in standard $L^p$ spaces—which only consider function values—this research shifts the focus to Sobolev spaces ($W^{k,p}$). Sobolev spaces are more rigorous, requiring proximity in both function values and their derivatives up to order $k$. This is particularly relevant to modern "Sobolev training" techniques, where models are optimized to match the gradients of a target function, a common practice in physics-informed neural networks (PINNs) and knowledge distillation.
The Smoothness Gap and Nonclosedness
The core finding of this work is that the closedness of a neural network set is intrinsically linked to the smoothness of its activation function $\rho$.
Differentiable Activations
For an activation function that is exactly $m$-times differentiable, the authors construct a sequence of neural networks $(\Phi_n)_{n \in \mathbb{N}}$ that converges in the $W^{m-1,p}$ norm to a function that no neural network of that architecture can realize. This proves that the set is not closed in $W^{m-1,p}$. Under slightly stronger conditions regarding the $m$-th derivative, this nonclosedness extends to the $W^{m,p}$ space.
Analytic Activations
For real analytic activation functions—such as Sigmoid, Tanh, or Arctan—the results are even more striking. The set of realized networks is shown to be nonclosed in $W^{k,p}$ for any $k \in \mathbb{N}$. Because these functions are infinitely differentiable and bounded, they can be used to approximate a vast array of target functions, but they can never exactly represent functions that exhibit different tail behaviors or lack analyticity.
The Price of Precision: Parameter Growth
A significant implication of nonclosedness is the behavior of network weights during approximation. If a target function lies on the boundary of the network set (but not within it), a sequence of networks can only approach this target if its parameters (weights and biases) tend toward infinity.
The authors propose an Inverse Error Law. They demonstrate that for most common activation functions, a specific sequence of networks can approximate a target (such as the derivative of the activation function) such that the $L^p$ approximation error is inversely proportional to the growth of the weights:
$$\text{Error} \approx \frac{1}{\|\text{Weights}\|}$$
This provides a mathematical foundation for the "exploding weights" often observed when training high-precision models on complex tasks.
Experimental Validation
To verify these theoretical claims, the authors performed "Sobolev training" using synthetic target functions designed to test mathematical boundaries. These targets were specifically chosen to be outside the exact representation power of the networks:
- Piecewise Functions: Training networks with smooth activations (like ELU) to learn piecewise linear or quadratic functions that have fewer derivatives than the activation function itself.
- Coordinate Projections: Using analytic activations (like Sigmoid) to learn simple unbounded projections ($P_1(x_1, x_2) = x_1$), which are impossible to represent exactly with bounded activations.
Using the Adam optimizer to minimize Sobolev loss (matching both values and gradients), the experiments consistently showed that as the training loss decreased, the total norm of the network weights increased steadily. Specifically, for Softsign networks, the relationship between the $L^2$ error and the weight norm followed the predicted $1/x$ curve, providing empirical weight to the theoretical Proposition 3.6.
Conclusion
This research highlights a fundamental trade-off in neural network approximation: the ability to approximate functions outside a network's formal definition comes at the cost of numerical stability. The nonclosedness of these sets in Sobolev spaces explains why seeking high-order derivative accuracy often leads to parameter explosion. Future work may explore how different regularization techniques or architectural expansions (increasing width or depth) interact with these topological boundaries to mitigate weight growth.
Summary updated