On the Generalization Behavior of Deep Residual Networks From a Dynamical System Perspective
Organizations: School of Mathematical Sciences, Nankai University, Tianjin, China
Abstract
Deep neural networks (DNNs) have significantly advanced machine learning, with model depth playing a central role in their successes. The dynamical system modeling approach has recently emerged as a powerful framework, offering new mathematical insights into the structure and learning behavior of DNNs. In this work, we establish generalization error bounds for both discrete- and continuous-time residual networks (ResNets) by combining Rademacher complexity, flow maps of dynamical systems, and the convergence behavior of ResNets in the deep-layer limit. The resulting bounds are of order with respect to the number of training samples , and include a structure-dependent negative term, yielding depth-uniform and asymptotic generalization bounds under milder assumptions. These findings provide a unified understanding of generalization across both discrete- and continuous-time ResNets, helping to close the gap in both the order of sample complexity and assumptions between the discrete- and continuous-time settings.
Figures & tables
| Symbol | Meaning | Appears in |
| Dimension of input/output | Subsection 2.2 | |
| Number of layers | Eq. ( 1 ) | |
| Discretization step | Eq. ( 1 ) | |
| Discrete-time learnable parameter | Subsection 2.2 | |
| Output function of the -th layer in Eq.( 1 ) with | Subsection 2.2 | |
| Hypothesis set of discrete-time ResNet at -th | Eq. ( 3 ) |
| Activation functions | ||||
|---|---|---|---|---|
| ReLU [ 14 ] | \left\{\begin{array}[]{ll}x,\ x\geq 0\\ 0,\ x<0\end{array}\right. | |||
| PReLU [ 22 ] | \left\{\begin{array}[]{ll}x,\ x\geq 0\\ a_{1}x,\ x<0\end{array}\right. | |||
| TReLU | \left\{\begin{array}[]{ll}x-\lambda,\ x\geq\lambda\\ 0,\ x<\lambda\end{array}\right. | |||
| ELU [ 10 ] | \left\{\begin{array}[]{ll}x,\ x\geq 0\\ a_{2}(e^{x}-1),\ x<0\end{array}\right. | \begin{array}[]{ll}-a_{2}(e^{-x}-1)\\ \ \ \cdot\boldsymbol{1}_{[0,\infty)}(x)\end{array} | (0,0) | |
| TEReLU [ 38 ] | \left\{\begin{array}[]{ll}x-\lambda_{1},\ x\geq\lambda_{1}\\ 0,\ -\lambda_{2}<x<\lambda_{1}\\ a_{2}(e^{x+\lambda_{2}}\!-\!1),\!x\!\leq\!-\lambda_{2}\end{array}\right. | \begin{array}[]{ll}-a_{2}(e^{-x}-1)\\ \ \ \cdot\boldsymbol{1}_{[0,\infty)}(x)\end{array} | ||
| [ 4 ] | \left\{\begin{array}[]{ll}x-\lambda,\ x\geq\lambda\\ 0,\ -\lambda<x<\lambda\\ x+\lambda,\ x\leq-\lambda&\end{array}\right. | ( ) |
| Testing accuracy | ||||||
| (T, L) | Samples | |||||
| (6, 6) | MNIST | 99.549 | 99.589 | 99.639 | 99.669 | 99.629 |
| CIFAR10 | 84.375 | 89.083 | 90.865 | 92.348 | 92.839 | |
| CIFAR100 | 49.189 | 59.165 | 66.216 | 68.139 | 72.516 | |
| (6, 24) | MNIST | 99.479 | 99.589 | 99.579 | 99.659 | 99.669 |
| CIFAR10 | 84.896 | 89.694 | 91.526 | 92.728 | 93.58 | |
Neural Network Generalization
Neural network generalization studies why trained models perform well on unseen data and how architecture, data, and training shape that ability.
See all 299 papers