[Paper Review] Deeper or Wider: A Perspective from Optimal Generalization Error with Sobolev Loss
This paper analyzes the optimal generalization error of deeper versus wider fully connected ReLU neural networks under Sobolev loss, showing that deeper networks (DeNNs) outperform wider ones (WeNNs) when sample size and function regularity are high, while wider networks are better under low regularity. The key insight is that DeNNs achieve superior approximation rates with fewer parameters, especially under $H^k$ losses, guiding architecture design for PDEs and physics-informed learning.
Constructing the architecture of a neural network is a challenging pursuit for the machine learning community, and the dilemma of whether to go deeper or wider remains a persistent question. This paper explores a comparison between deeper neural networks (DeNNs) with a flexible number of layers and wider neural networks (WeNNs) with limited hidden layers, focusing on their optimal generalization error in Sobolev losses. Analytical investigations reveal that the architecture of a neural network can be significantly influenced by various factors, including the number of sample points, parameters within the neural networks, and the regularity of the loss function. Specifically, a higher number of parameters tends to favor WeNNs, while an increased number of sample points and greater regularity in the loss function lean towards the adoption of DeNNs. We ultimately apply this theory to address partial differential equations using deep Ritz and physics-informed neural network (PINN) methods, guiding the design of neural networks.
Motivation & Objective
- To resolve the longstanding debate on whether deeper or wider neural networks generalize better under Sobolev training.
- To analyze the optimal generalization error of DeNNs and WeNNs by decomposing it into approximation and sampling errors.
- To determine how sample size $M$, parameter count $W$, and function regularity (via Sobolev norms) influence the superiority of DeNNs or WeNNs.
- To extend theoretical analysis beyond bounded parameter constraints to recover the true approximation advantage of DeNNs.
- To provide practical design guidance for deep Ritz and PINN methods in solving partial differential equations.
Proposed method
- Analyzes generalization error in Sobolev training using $L^2$, $H^1$, and $H^2$ losses, decomposing it into approximation and sampling error components.
- Uses pseudo-dimension bounds to control Rademacher complexity and bound sampling error, with new bounds derived for derivatives of deep ReLU networks.
- Derives approximation error rates for DeNNs and WeNNs under $W^{n,ty}$-bounded functions, showing $\mathcal{O}(W^{-2n/d})$ for DeNNs and $\mathcal{O}(W^{-n/d})$ for WeNNs under $L^2$ loss.
- Establishes that DeNNs achieve better approximation rates than shallow networks without bounded parameter constraints, recovering super-convergence.
- Applies theoretical findings to deep Ritz and PINN methods, linking loss regularity to optimal network architecture.
- Employs concentration inequalities and expected risk bounds to relate generalization error to data sampling and network width/depth.
Experimental results
Research questions
- RQ1Under what conditions does a deeper neural network generalize better than a wider one under Sobolev loss?
- RQ2How do the number of sample points $M$ and the regularity of the target function (measured in $W^{n,ty}$) affect the optimal choice between depth and width?
- RQ3Can the approximation superiority of deeper networks be rigorously established without imposing uniform parameter bounds?
- RQ4How does the choice of Sobolev loss ($L^2$, $H^1$, $H^2$) influence the trade-off between depth and width in generalization error?
- RQ5To what extent can theoretical generalization error bounds guide architecture design in physics-informed neural networks and deep Ritz methods?
Key findings
- Deeper networks (DeNNs) achieve an approximation error of $\mathcal{O}(W^{-2n/d})$ under $L^2$ loss, while wider networks (WeNNs) achieve $\mathcal{O}(W^{-n/d})$, showing DeNNs have superior approximation capacity.
- For $H^1$ loss, DeNNs achieve $\mathcal{O}(W^{-(2n-2)/d})$ approximation error, and for $H^2$ loss, $\mathcal{O}(W^{-(2n-4)/d})$, indicating improved performance with higher regularity.
- Sampling error for DeNNs scales as $\mathcal{O}(W^2/M)$, while for WeNNs it is $\mathcal{O}(W/M)$, making DeNNs more sensitive to data scarcity.
- When $M$ is large and the function is smooth ($n$ large), DeNNs outperform WeNNs; when regularity is low, WeNNs are more effective.
- Theoretical curves in Figure 1 show that for a given $(W,M)$ pair, DeNNs are optimal to the left of the $L^2$ curve, while WeNNs dominate to the right, especially under higher $H^k$ losses.
- The results justify the use of deeper architectures in deep Ritz and PINN methods, where $H^1$ and $H^2$ losses are standard, due to their ability to capture higher-order regularity.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.