iTranslated by AI
Understanding the Essence of How Deep Learning Learns with Massive Over-parameterization
Introduction
Author's Motivation
Keywords for this article include:
- Universal Approximation Theorem
- Double Descent
- Over-parameterization
- Benefits of Depth
There are already many excellent Japanese resources explaining these topics:
My goal is to write an article that lets you "get a feel for how to successfully train deep learning models just by reading this." Since the themes surrounding deep learning are vast, starting to read academic papers is still a daunting task, even with tools like NotebookLM, and you often need to read various individual articles to cover each topic. While tools like DeepResearch might provide more information, I believe that as of 2025, they don't yet reach the level of "getting a feel for successful deep learning training" when it comes to curated explanations with varying levels of detail and effective use of figures.[1] Although I use the expression "get a feel for it," I aim for a level of understanding that goes one step beyond purely descriptive explanations.
Also, the generative AI boom has increased interest in AI. I want to share the exciting aspects of deep learning, which is the core of current generative AI, with those newcomers.
Most importantly, as output is the most effective way to learn, I am writing this article for my own study as well.
The Mystery of Massive Parameters
As you are likely familiar with through generative AI, models like Transformer and Diffusion are realized by deep neural networks (deep learning). While the number of parameters used in state-of-the-art LLMs as of 2025 is often undisclosed, the open-source model Llama 3.1 has 405B (B: Billion, so 405B is 405 billion) parameters. Other undisclosed models like GPT-4 and Gemini 2.5 are said to have over a trillion parameters.
On the other hand, those who have learned classical statistical models should be familiar with the following fact:
As the number of parameters increases, overfitting becomes more likely.
In fact, in linear regression models, when the number of feature dimensions exceeds the number of data points, any set of labels can be perfectly reproduced. This is clear from a linear algebra perspective: if we explain
Traditionally, statistics used the Akaike Information Criterion (AIC) for model selection, and in decision trees, we adjusted depth, or in regression, we adjusted regularization parameters to improve generalization performance while balancing the number of parameters. However, in recent neural networks, models with parameter counts far exceeding the number of data points have emerged[3], and they boast remarkable generalization performance.
So, how do today's deep learning models, which boast astonishing performance, find appropriate parameters while avoiding overfitting? Does a model parameter set capable of performing complex tasks like language and image generation even exist? To help you understand these questions, I will explain what I have studied in this article.
Structure of This Article
This article is organized as follows:
- Does a solution even exist? (Universal Approximation Theorem)
- Learn that neural networks have strong expressive power and that parameters exist to approximate almost any function.
- Can the existing solution be found? (Over-parameterization)
- Now that we know appropriate parameters exist, can we discover them? We will understand that it can be discovered through over-parameterization.
- Will the found solution generalize? (Double Descent)
- Finding a point where training error is nearly 0 through over-parameterization is good, but a question arises: won't the "bias-variance tradeoff" occur, where generalization performance declines as the number of parameters increases? We will confirm "Double Descent," where the bias-variance tradeoff does not occur, and understand why generalization performance improves.
- Why do deeper layers make it easier to find generalizing solutions? (Approximation Error Rate)
- If we can improve generalization performance by excessively increasing the number of parameters, shallow neural networks might seem sufficient. We will consider why deep neural networks are necessary.
Expressive Power of Deep Learning
What level of expressive power do neural networks have, given that they can represent such complex functions as those seen in today's generative AI, going beyond image recognition and machine translation?
Universal Approximation Theorem
The Universal Approximation Theorem claims the following:
A neural network with two or more layers can approximate any continuous function with arbitrary precision.
However, the Universal Approximation Theorem is merely an existence theorem. It only states that good parameters exist for a sufficiently large neural network, but it says nothing about how to find those parameters. That is, it must be considered separately from learnability and generalization issues. In this chapter, we will not touch upon the part about finding parameters and will focus on existence.
For more detailed explanations, the following article is helpful.
It takes time to fully understand, but let's grasp the image that it seems to exist. I have created some animations showing how simple functions can approximate another simple function by superimposing them. As an intuitive understanding, if you keep increasing the width of a single layer of a neural network, the number of functions that can be superimposed increases. Then, if you tune the weights nicely, you can draw any shape.[4]

Approximating a quadratic function with a step function.

Approximating a quadratic function with a ReLU function

Approximating a cubic function with a ReLU function
Talking about the mathematical image, if you use the difference of ReLU functions, you can create something like a step function.

An image of creating a step-like function from ReLU. If you can make such step-like functions, it seems you could create any function by combining them.
Of course, not only continuous functions but also discontinuous functions can be approximated. There are many cases in the real world where data changes discontinuously.
Can Good Parameters Be Found?
In the previous chapter, we learned that good parameters exist, but can they be found in reality?
The Difficulty of Finding Parameters
In simple machine learning models such as logistic regression, the loss function is a convex function (figure below), and you can always find the optimal solution by descending the gradient.

If the loss function is a convex function, you can always find the optimal solution by moving parameters in the direction where the loss decreases. Cited from Convex function (Wikipedia).
On the other hand, the loss function of deep learning has a very complex structure. Since the number of parameters easily exceeds hundreds of millions, it is difficult to visualize the loss function or grasp the whole picture, but through techniques like dimension reduction, some visualizations have been made, like the one below.

Visualization of a deep learning loss function using dimension reduction (the
As you can see, the shape of a neural network's loss function is typically very complex. Depending on luck with initial values, one must overcome several mountains due to stochastic fluctuations and find a deep valley.[5] It is distinctly different from loss functions like logistic regression.
However, in reality, this Stochastic Gradient Descent finds "valleys" that are good enough for practical use with realistic computational resources and time, even for non-convex loss functions. In this chapter, I will introduce techniques to make it easier to find "valleys" that reduce training loss.
Flatness of the Loss Landscape
In this section, we focus on the geometric properties of the "loss landscape" of the parameter space to be explored. In various academic papers[6], it has been researched that the flatter the convergence point of the loss function, the higher the generalization performance.[7]
For an intuitive understanding, please see the visualization graph of the loss function below. In the figure on the left, where the loss function is low, it is flat, whereas on the right, it is relatively sharp.

Visualization graph of a loss function obtained from a simple experiment. The lower the
Intuitively, if parameters are determined in a flat region of the loss function, the loss does not fluctuate significantly even if the parameters change. This is based on the idea that solutions in such regions are likely to be resilient to fluctuations in data, which are test data. Also, the relationship between mini-batch size and the region where parameters converge can be summarized as follows:
-
When the mini-batch size is large: Because it calculates a stable gradient with little noise, it tends to fall straight into a sharp "valley" (Sharp Minima) of the loss function. This sharp "valley" is a solution specialized too much to the training data (overfitted), and there is a risk that the loss will deteriorate rapidly if the data shifts even slightly (becoming test data).
-
When the mini-batch size is small: Because the gradient contains noise, this noise helps in the search, making it easier to find a wider "flat valley" (Flat Minima) without being trapped in a sharp valley bottom. A flat region is considered to have high generalization performance and to be robust against unknown data because the loss is stable even if the parameters change slightly.
As of 2025, the relationship between loss landscape flatness and generalization performance is not thought to be a simple causal relationship (if it's flat, it generalizes), but I believe it is considered to be deeply related. In this way, there is a way of thinking that overfitting is prevented by devising ways to find solutions that generalize easily.
Over-parameterized Parameters Find Points Where Loss is Almost 0
There are also efforts to make it easier to find solutions by increasing parameters more than necessary to achieve a certain performance (over-parameterization). This is what is called the blessing of dimensionality; even if loss cannot be reduced by updating some parameters, there is a high possibility that it can be reduced by increasing others. In other words, as an image, if there are excessive parameters, there exists a point where the loss is almost 0 that can be reached from any initial value of the parameters, and as a result, one can find appropriate parameters.
Also, according to research by Du et al., it is shown that if gradient descent is applied to an over-parameterized neural network, the training loss can achieve almost 0, even though the loss function is a non-convex objective function. If the loss function were a convex function, one could always move to the point with the lowest loss by repeating gradient descent, but if it is not, one should not be able to find it without luck or an enormous amount of time. The amazing thing about this study is that it shows that even if it has a non-convex shape, a point where the loss is almost 0 is always found in linear time.[8] The feel is as follows[9].
Let's define the loss as follows:
Where:
-
is the predicted value of the neural network for dataf(\theta, x_i) .x_i -
is the ground-truth label of datay_i .x_i -
is all the parameters of the neural network.\theta
When gradient descent is applied, the change in the residual (the difference between the truth and prediction)
This equation shows that the residual at the next step is obtained by multiplying the current residual by a matrix
-
is the identity matrixI -
is the learning rate (step size of gradient descent)\eta -
is the Gram matrix induced by the neural network parametersG(k) during training\theta(k)
Each element of this Gram matrix
And the characteristic of this Gram matrix
The stability of this Gram matrix is explained mainly in two stages:
-
Stability during initialization: The Gram matrix
of a randomly initialized network is close to a fixed matrixG(0) .K^{(H)} -
Stability during training: As training progresses, the Gram matrix
maintains a state close to the initialG(k) .G(0)
Due to this stability, the residual dynamics behave approximately linearly as in the previous equation. Due to this approximate linear dynamics, the training loss
In the paper, it is proven that if the network width
In other words, even if the loss function as a whole is non-convex, due to over-parameterization, the decrease in loss due to gradient descent behaves as if it were optimizing a linear system, so one can reach a global minimum solution (= a point with zero training loss).[10]
The Contradiction of Generalizing with Massive Parameters
With countless solutions achieving zero training error, why can learning algorithms find a "good" solution even for unknown test data? We will focus on Double Descent to unravel this.
Statistics textbooks often say that generalization performance deteriorates when the number of parameters becomes massive, and this can be explained by the bias-variance tradeoff.
In this chapter, we will first understand the bias-variance tradeoff, then confirm that "Double Descent," where it does not hold, is established both experimentally and mathematically, and aim to know why overfitting does not occur with massive parameters.
Bias-Variance Tradeoff
Many of you have likely heard the term itself.
Overview
In machine learning, a model's prediction error can be decomposed into three components: bias, variance, and noise. Noise is the uncertainty included in the data, which is a fundamentally unremovable error, so we will explain without noise this time. On top of that, decomposing it into bias and variance is called bias-variance decomposition. This is an important concept for understanding model performance, and the image is as follows:
Here, bias represents the deviation from the true function
I have illustrated states of high bias, high variance, and a balanced state in order from left to right.

This is an example with simple polynomial regression. The faint approximation curves represent model curves for each resampling.
Organizing the content of this figure gives the following:
| State | Model Complexity and Characteristics | Training Error | Test Error |
|---|---|---|---|
| High Bias (Underfitting) | The model is too simple and cannot capture the data features. | High | High |
| High Variance (Overfitting) | The model is too complex and has even learned data noise. | Low | High |
| Good Balance (Good Fit) | The model complexity is appropriate and captures major data features. | Low | Low |
As a point of understanding, when estimating multiple times with different datasets, if the variance is high, the model is not stable, and one ends up estimating widely different models. Comparing the faint approximation curves in the upper (left) and (middle) of the figure, you can see that the variability of the model is larger in the middle. This is the point of understanding for a state where variance (model variability) is large.
Double Descent
Double Descent is the shocking content that the previous bias-variance tradeoff collapses.

A figure representing double descent. Left (a) shows the behavior in classical models with relatively few parameters, and right (b) is the behavior in modern models with a large number of parameters. The horizontal axis is model expressive power (i.e., number of parameters), and the vertical axis represents something like prediction error on test data. In left (a), performance improves as the number of parameters increases in the beginning, like the traditional bias-variance tradeoff, but once the parameters can completely remember the learning data, generalization performance declines (variance rises), taking a U-shape. On the other hand, right (b), while drawing a U-shape like (a) in the beginning, exhibits a two-stage error phenomenon (Double Descent) where generalization performance improves if you continue to increase the number of parameters after that. Cited from Reconciling modern machine learning practice and the bias-variance trade-off Figure 1.
Double Descent, which runs counter to the common sense of traditional statistics that prediction performance (generalization performance) improves when the number of parameters is far larger than the number of data points (over-parameterization region), can be quantitatively explained using mathematical formulas in high-dimensional linear regression models, not just as a mere empirical rule.
1. Definition and Decomposition of Generalization Performance (Prediction Risk)
First, generalization performance is evaluated by the "prediction risk"
Prediction risk is defined by the following equation:
As is well-known in statistics, this prediction risk can be decomposed into two components: bias and variance.
Details of these formula expansions
Formula Expansion of Prediction Risk
Let
Since
Since
If we write notation as
is obtained.
Bias-Variance Decomposition
Decompose
First, consider the part
Substitute into the original equation and expand.
Here:
-
Bias term
: Indicates how far the estimator's mean is from the true value||E[\hat{\beta}|X] - \beta||^2_{\Sigma} . This relates to the capability of how accurately the model can represent the true function.\beta -
Variance term
: Indicates how much the estimator varies across different training datasets. This relates to how sensitive the model is to noise in the training data.\text{Tr}[\text{Cov}(\hat{\beta}|X)\Sigma]
2. Bias and Variance of Ridgeless Least Squares Estimator
To capture the property of models that "perfectly interpolate data (training error becomes zero)," which is widely used, especially in deep learning models, we focus on minimum
Bias
-
Bias:
B_X(\hat{\beta};\beta)=\beta^T \Pi \Sigma \Pi \beta -
Variance:
V_X(\hat{\beta};\beta)= \sigma^2/n \text{Tr}[\hat{\Sigma}^+ \hat{\Sigma}]
Here,
Understand the meaning of this formula with a feel
Note that in the paper, it is assumed
Bias
Confirm that
The parameter estimation for linear regression is given by the unbiased estimator as follows[13].
Here, replacing the inverse matrix part with a generalized inverse matrix,
becomes. Therefore,
However, we let
Variance
Confirm that
First, calculate the covariance matrix of
Note that when
Here, the noise covariance is
Using the Moore-Penrose generalized inverse matrix property
becomes. Substituting this into the variance term
is obtained. On the other hand, the final variance formula shown in the text was
Using the text's notation
Comparing this result with our derived
This is a setting often used in high-dimensional analysis, and by placing this assumption, the variance term can be expressed in a more concise form.
Supplementary notes on viewing bias
- In the case of
(underparametrized: parameter count < data point count)p < n
Since
- In the case of
(overparametrized: parameter count > data point count)p > n
3. Change in Prediction Risk in Over-parameterization
So far has been the preamble, and this is the crux. How prediction risk changes in the region of "over-parameterization" where the number of parameters
First, let
-
(squared norm of the estimated parameters)r^2 = ||\beta||^2_2 \gamma = p/n \gamma > 1
We have already shown in the previous term that the bias term is
is obtained, and the behavior of the bias term and variance term can be analyzed separately from this equation.
Deriving the asymptotic prediction risk
Behavior of the Bias Term r^2 (1 - 1/ \gamma)
As
Intuitively, when
To rephrase, even if the model becomes very complex and
Behavior of the Variance Term \sigma^2 / (\gamma - 1)
As
This phenomenon might seem counterintuitive to those who have the image that if parameters increase, one can draw prediction curves passing through all training data points in various ways, but it can be explained as follows: As
With this, in the simple linear regression case for the isotropic features model, we have mathematically confirmed the phenomenon where prediction risk diverges at the interpolation threshold

Confirming the double descent where prediction risk (generalization performance) recovers after deteriorating at
Since the setting here is too simple, the
Double Descent in Latent Space Models
The basic settings for this model are as follows:
-
: The response variable (target variable) for they_i \in \mathbb{R} -th data point.i -
: The latent feature vector for thez_i \in \mathbb{R}^d -th data point. This is not directly observed.i -
: The true coefficient vector corresponding to the latent feature\theta \in \mathbb{R}^d . This shows a linear relationship betweenz_i andy_i in the latent space.z_i -
: The noise in the response variable\xi_i \sim N(0, \sigma_\xi^2) . Follows a Gaussian distribution with mean zero and variancey_i .\sigma_\xi^2 -
: Thex_{ij} -th element of the observed feature vectorj for thex_i \in \mathbb{R}^p -th data point.i -
: The weight vector indicating how thew_j \in \mathbb{R}^d -th observed featurej is generated from the latent featurex_{ij} . In this case,z_i denotes thew_j^T -th row of matrixj , andW is the inner product of thex_{ij} -th row ofj andW plus noise.z_i -
: The noise in the observed featureu_{ij} \sim N(0, 1) . Follows an iid Gaussian distribution with mean zero and variance 1.x_{ij}
In this model, data is generated from a low-dimensional latent space (
Deriving the limit of prediction risk in this case is also extremely difficult, so I will omit it, but it becomes a complex formula like the following (from Surprises in High-Dimensional Ridgeless Least Squares Interpolation Corollary 4.).
As a result, in the latent space model, prediction risk monotonically decreases from where

Cited from Surprises in High-Dimensional Ridgeless Least Squares Interpolation Figure 6.
This is partly my interpretation, but under conditions like the latent space model, two things can be considered:
Intuitive Understanding of Monotonic Decrease in Prediction Risk under Over-parameterization
In this setting, each feature vector
Intuitive Understanding of Regularization Parameter \lambda \to 0
In large-scale over-parameterization, it is explained in the paper that the optimal regularization parameter[15] value becomes

As learning parameters increase (note the color representing the ratio of parameter count to training data count), the optimal regularization parameter
This phenomenon is explained by the idea that when input noise is intrinsically contained in the model, that noise functions as an additional regularization term. If the feature matrix
However, this idea of implicit regularization has been viewed with skepticism in recent years. For example, research by Nagarajan et al. states that implicit regularization alone cannot explain the superior generalization performance of over-parameterized neural networks.

The second figure from the left shows how the squared norm of weight parameters increases as training data increases. If implicit regularization were effective (as in the situation where test error decreases, as in the third figure from the left), the norm of the weight parameters should approach 0, but this is an example where that is not happening. Cited from Deep Double Descent: Where Bigger Models and More Data Hurt Figure 1. Cited from Uniform convergence may be unable to explain generalization in deep learning Figure 1.
Double Descent in Multi-layer Neural Networks
Double descent is observed as a phenomenon not only in ridgeless regression with shallow layers but also in models with deep layers. For example, as shown in the figure below, double descent is also confirmed when continuously increasing the number of parameters in multi-layer neural networks like ResNet18.

Cited from Deep Double Descent: Where Bigger Models and More Data Hurt Figure 1.
Does performance deteriorate when increasing training data?
Recalling the idea of double descent, prediction risk drops again when the number of parameters becomes massive relative to the number of data points. Therefore, given the same number of parameters, returning to the region where generalization performance worsens due to an increase in data points can occur. This phenomenon is explained in the world of multi-layer neural networks by EMC (Effective Model Complexity) (corresponding to
EMC is an indicator defined aiming to explain double descent seen in various deep learning tasks in a unified way (but note that it is an empirical indicator and has task dependency). Details are in this paper.
The EMC of a training procedure
Here,
In the critically parameterized regime where EMC is approximately the number of training samples
| Region | Condition | Change in Test Error when complicating model or training |
|---|---|---|
| Under-parameterized regime | Decreases | |
| Over-parameterized regime | Decreases | |
| Critically parameterized regime | Increases or Decreases |
With the introduction of EMC, it became possible to explain double descent that occurs even outside of just model parameter count.
- Epoch-wise double descent (even if the model is fixed, EMC increases by increasing training time, and test performance double descends)
- Non-monotonicity of sample count (the effect of the point where data count nears EMC (where test error reaches a peak) shifting to the right by increasing training samples, and the effect of lowering the entire error)

Figure (a) on the left represents double descent per model when changing dataset size of a 5-layer CNN. The upper side has a range of model sizes where test error does not improve even if training with twice the sample size (green shading). The lower side has a range of model sizes where test error does not improve even if learning with 4 times the sample size (red shading). Figure (b) on the right shows that there is a region where performance declines as the number of samples increases. Cited from Deep Double Descent: Where Bigger Models and More Data Hurt Figure 11.
Summary of Double Descent
- Even in simple linear regression models, the phenomenon where prediction risk decreases after crossing the interpolation threshold (
) can be shown strictly by mathematical formulas.p=n - The counter-intuitive phenomenon that variance decreases as the number of parameters increases can be explained by the property that the L2 norm is minimized.
- It is suggested that findings from this linear model can be applied to non-linear and complex neural networks, and that phenomenon is experimentally confirmed.
(Reference) Triple Descent / Multiple Descent
In ensemble models that combine different random features, under certain conditions, a drop in prediction risk 3 or more times is also confirmed (this is for reference only).

Triple descent. Cited from Multiple Descent in the Multiple Random Feature Model Figure 1.
Scaling Laws
Although it deviates from the main subject, I have a feeling that I cannot avoid touching on scaling laws, so I will briefly digress.
In double descent, we have seen non-monotonicity: "performance worsens once after the model exceeds a certain scale, and improves again beyond that." However, in practice, there are situations where we want to quantitatively decide how large a model should be and how long it is desirable to train it.
Therefore, in recent years, an empirical rule called Neural Scaling Laws (NSL) is being established from both large-scale experiments and theoretical aspects.
Parameter Count and Data Count Work Separately
Research by Kaplan et al. targeting language models considered language models limited by model size
Here,
Furthermore, by combining these, they derive the impact on performance when both model size
From this, because the exponent
Chinchilla Scaling Laws
Research by Hoffmann et al. trained over 400 models with 70M to 70B parameters and 5B to 500B tokens, and demonstrated:
- For the same FLOPS[16], it is best to scale
andN equally.D - Chinchilla[17] with
actually outperformed Gopher[18] withN=70B, D=1.4T in all benchmarks.N=280B, D=300B
This is not a situation where the number of parameters is excessive compared to the training data size, but it claims that under excessive parameterization that does not match computational resources, the model's potential is not being drawn out.
The Mystery of Deepening
Up to this point, we have seen signs that generalizing parameters seem to be findable under over-parameterization. However, in the discussion so far, there should have been a method of having a large number of parameters per layer and configuring them with 2-3 layers. On the other hand, the history of deep learning evolution is a history of deepening, starting from the 8 layers of AlexNet, to dozens or hundreds in ResNet, and now models with over 1000 layers are appearing. In this chapter, we will explain this mystery of deepening from the perspective of efficiency.
Expressive Efficiency through Hierarchical Composition
Qualitative Explanation
The biggest difference between shallow and deep networks lies in how functions are constructed; deep networks are more efficient at representing complex functions (they can express them with fewer parameters).
Shallow networks increase expressive power by widening. By placing many neurons in a single hidden layer and adding them up, they express functions. This is the image of building a target function little by little by lining up many simple functions (e.g., visualization of ReLU function superposition checked in the first half of the article). This allows the complexity of representable functions to increase additively.
Deep networks increase expressive power by stacking layers. Mathematically, stacking one layer corresponds to composing one function. In other words, by nesting functions such that
This structure of function composition unique to deep networks works very advantageously in solving real-world problems. For example, in image recognition, pixels form edges, edges form shapes, and shapes form objects. Neural networks with deep layers can learn these intermediate features at each layer and reuse them in subsequent layers. This reuse of features is one of the reasons why neural networks with deep layers can achieve high expressive efficiency.

Shows features being extracted in the first half of a neural network. Cited from DeepFace: Closing the Gap to Human-Level Performance in Face Verification Figure 2.
Mathematical Explanation
This expressive efficiency is also shown mathematically. According to Benefits of depth in neural networks, a deep neural network with
If you are not familiar with notation like
About Asymptotic Notation
I am writing in a way that would make people who see it angry, but since this article's motto is to understand the feel, I am writing by feel. Please see Wikipedia for formal definitions.
-
(big-theta: bounded from both above and below)\Theta -
(big-o: bounded from above if you choose a constant)O -
(small-o: bounded from above no matter what constant multiplier)o -
(big-omega: bounded from below)\Omega
The feeling of this claim is:
- Neural networks with few layers can express few oscillations.
- Neural networks with many layers can express many oscillations.
- Functions with few oscillations cannot approximate functions with many oscillations.
Therefore, deep neural networks are far easier to approximate complex (many-oscillation) functions compared to shallow neural networks.
To grasp that oscillations increase with deepening, consider a function
(

Visualization of
Since this function can be expressed with a constant number of parameters, it can be realized with 1 layer,
The Situation of Deep Neural Networks
By repeatedly composing this function
Since a neural network calculating

Visualization of
The Situation of Shallow Neural Networks
Define the oscillation of a function as the number of times it crosses a certain threshold.
In a shallow neural network, if function
And it is not easy to increase the degree in a single layer. Increasing nodes within the same layer corresponds to the addition (or linear combination) of functions. Adding two polynomials by operating such as increasing nodes in one layer results in a polynomial where the number of terms is at most doubled, and the polynomial degree does not exceed the maximum degree of either. For this reason, the term contributing to the oscillation count (
To efficiently obtain high oscillation counts (many bends), it is necessary to further stack and compose these piecewise linear functions, which "depth" simply cannot reach.
Summary
The oscillation count
Its relationship is characterized by the number of layers
In my opinion, the essence of deep learning is not the Universal Approximation Theorem, but the architecture that deep learning has. The compositional structure by multi-layered neural networks functions as a strong inductive bias[21], and it is suitable for learning functions with hierarchical or compositional structures that are frequently seen in the real world. The architecture of deep learning itself is a kind of prior knowledge that guides learning to solutions that utilize compositionality.
Improvement of Approximation Error Rate
Let's also think from the perspective of Approximation Error Rate. Since the feel is similar to the discussion on expressive efficiency, I will stop this section with just a simple introduction.
Approximation error rate represents the rate of reduction in error when parameters are increased as a neural network approximates a function. The approximation error rate in a situation where a neural network function
(where
Approximation of Smooth Functions
First, consider the case where the function
Approximation of Non-Smooth Functions
Functions with discontinuous points, such as edge parts of images, or functions with sharp points, such as audio waveforms, are not smooth. To represent discontinuous or sharp points, it is necessary to concentrate a very large number of parameters in the vicinity of those points, which significantly lowers parameter efficiency. In this case, Yarotsky's research showed that the approximation error rate is strongly affected by the input feature dimensionality
However, it was shown that deep neural networks (with ReLU as an activation function), as seen in the previous section, efficiently create "bends" by stacking layers, capturing singular points[23] of non-smooth functions, and improving the approximation error rate.
Since
Approximation of Functions with Non-Uniform Smoothness
Finally, consider the approximation of functions with non-uniform smoothness. These are functions where most of the function is very smooth, but only a part changes abruptly or has a complex structure. For example, the contour of a person in focus in a photograph with a blurred background corresponds to this.
Deep networks leverage their hierarchical structure to efficiently allocate resources (parameters) according to the smoothness at each location of the function. Thanks to this "adaptability," deep networks can maintain a high approximation error rate even for complex functions with non-uniform smoothness.

Deep neural networks can change smoothness locally. Cited from Approximation Performance and Complexity Analysis for Generalization Error of Deep Learning slide p.14.
Conclusion
You can set an eye-catching emoji for Zenn articles. I rack my brains every time about which emoji to use, but this time it was an immediate decision because "Dolphins are synonymous with Deep Learning!"[24] Topics like this are not immediately useful in many practical applications, but they are very fun to study. I repeat myself, but I would appreciate it if you could point out errors, etc., in the comments section or X.
Note that figures and animations for which the source is not specified in this article were created from Python scripts generated by the author instructed by Claude Code. The author has visually confirmed the validity of the source code.
Summary of this Article
- Neural networks have powerful expressive power that approximates any function (Universal Approximation Theorem)
- And by devising learning methods and models in over-parameterized situations, one can find "valleys" where training error is nearly 0
- The phenomenon where generalization occurs due to over-parameterization, double descent, has been confirmed partially mathematically and empirically
- By multi-layering, expressive power increases exponentially, which can also be explained from the perspective of approximation error rate
References
- A Survey on Universal Approximation Theorems, Midhun T Augustine, 2024.
- Benefits of depth in neural networks, Matus Telgarsky, 2016.
- DeepFace: Closing the Gap to Human-Level Performance in Face Verification, Yaniv Taigman, et al., 2014.
- Reconciling modern machine learning practice and the bias-variance trade-off, Mikhail Belkin, et al., 2018.
- Surprises in High-Dimensional Ridgeless Least Squares Interpolation, Trevor Hastie, et al., 2019.
- Deep Double Descent: Where Bigger Models and More Data Hurt Preetum Nakkiran, et al., 2019.
- Visualizing the Loss Landscape of Neural Nets, Hao Li, et al., 2017.
- On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minima, Shirish Keskar et al., 2016.
- Fantastic Generalization Measures and Where to Find Them, Yiding Jiang et al., 2019.
- The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networks, Jonathan Frankle, et al., 2018.
- Gradient Descent Finds Global Minima of Deep Neural Networks, Simon S. Du, et al., 2018.
- Universal approximation bounds for superpositions of a sigmoidal function, Andrew R. Barron, 1993.
- Error bounds for approximations with deep ReLU networks, Dmitry Yarotsky, 2017.
- Multiple Descent in the Multiple Random Feature Model, Xuran Meng, et al., 2024.
- Training Compute-Optimal Large Language Models, Jordan Hoffmann, et al., 2022.
- Scaling Laws for Neural Language Models, Jared Kaplan, et al., 2023.
- Uniform convergence may be unable to explain generalization in deep learning, Vaishnavh Nagarajan, J. Zico Kolter, 2019.
- Approximating Principles of Deep Learning, Masaaki Imaizumi, Iwanami Shoten, 2021.
-
Actually, I felt that researching with Gemini 2.5 Pro and ChatGPT o3 Pro didn't quite reach that level, so I wrote this article while investigating various things myself. ↩︎
-
Please ignore the objection that it cannot be separated if points with different labels overlap for now. ↩︎
-
The relationship between the number of parameters and data points is not so simple, and inductive bias plays a role. This is just for the sake of the "feel" of the explanation. ↩︎
-
I have an image of this like Fourier transforms or Taylor expansions. ↩︎
-
If you have read this far with interest, you should know that deep learning explores the parameter space using Stochastic Gradient Descent. ↩︎
-
On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minima and Fantastic Generalization Measures and Where to Find Them ↩︎
-
However, it does not correlate perfectly, and cases showing the opposite correlation have also been reported. ↩︎
-
Note that there are several preconditions. ↩︎
-
I could not follow the strict proof. ↩︎
-
In the paper, it is explained that especially for ResNet architectures with residual connections, the dependence on the layers
of the necessary widthH is improved from exponential to polynomial compared to general fully-connected neural networks. ↩︎m -
is dimensionality,p is number of data ↩︎n -
is called the minimum-norm generalized inverse matrix solution. General matrices do not necessarily have inverse matrices, but this is used when you want to find something like an inverse matrix even in such cases. This article is detailed. ↩︎\hat{\Sigma}^+ -
Please check your statistical textbook for the derivation of this estimator. ↩︎
-
Since the training data has
columns but fewer thanp data points, I understand it as being constrained to ann -dimensional space. ↩︎n -
This is a hyperparameter. ↩︎
-
An index value of how many floating-point operations can be done per second. ↩︎
-
A large-scale language model made by DeepMind before the appearance of Gemini. ↩︎
-
A large-scale language model made by DeepMind before the appearance of Gemini. ↩︎
-
In the paper, it is defined as the number of times it crosses a certain threshold. ↩︎
-
Rephrasing. Each ReLU gate introduces one "bend" into the input space, but even if you linearly combine many ReLU gates in one layer, the result is a piecewise linear function, and the number of bends only increases in proportion to the number of nodes. ↩︎
-
Things like assumptions or structures that machine learning models have. When predicting the trajectory of a thrown ball, using a quadratic function allows for accuracy improvement not dependent on data, but this is a fine inductive bias. Please also refer to Wikipedia. ↩︎
-
Understanding it as differentiable infinite times. ↩︎
-
Discontinuous points or sharp points. ↩︎
-
Comes from the book Deep Learning. It has been a long time since the revised 2nd edition was published. ↩︎
Discussion