Growing axons: greedy learning of neural networks with application to function approximation

Daria Fokina, Ivan V. Oseledets

Deep neural networks are often hailed as "universal approximators," but there is a persistent gap between what theory says they can do and what standard training algorithms actually achieve. A recent paper by Daria Fokina and Ivan Oseledets, titled "Growing axons: greedy learning of neural networks with application to function approximation," proposes a novel way to bridge this gap by growing networks one neuron at a time.

TL;DR

The authors introduce "Axon," a greedy learning algorithm that builds deep neural networks incrementally by adding one neuron at a time. By treating neurons as basis functions and optimizing them sequentially—much like Orthogonal Matching Pursuit—they achieve the high-precision, exponential error decay predicted by theory that standard stochastic gradient descent (SGD) fails to reach.

What Problem Does This Paper Address?

Theoretical work, most notably by Yarotsky, has proven that deep ReLU networks can approximate smooth functions like $f(x) = x^2$ with an error that decays exponentially relative to the network's depth. However, in practice, if you try to train a standard feed-forward network to approximate $x^2$ using SGD and random initialization, the error often plateaus at a relatively high level (around $10^{-1}$).

The challenge is that the optimization landscape for deep networks is highly non-convex. Standard global optimization methods get stuck in local minima and fail to recover the specific, highly structured weights required for theoretical "best-case" performance. The authors set out to find a numerical method that can actually realize these theoretical bounds.

Methods

The core idea is to move away from global optimization of all weights simultaneously. Instead, the authors propose the Axon algorithm, which views a neural network as a collection of basis functions.

  1. Basis Function Interpretation: The network's output is treated as a linear combination of basis functions: $f_K(x) = \sum_{k=1}^K c_k \phi_k(x)$, where each $\phi_k(x)$ is the activation of the $k$-th neuron.
  2. Greedy Growth: The network starts small and adds exactly one neuron per iteration.
  3. Recursive Definition: A new basis function $\phi_{K+1}$ is generated by taking a linear combination of all previous basis functions and applying a ReLU activation: $\phi_{K+1}(x) = \text{ReLU}(\sum_{k=1}^K w_k \phi_k(x))$.
  4. OMP-style Optimization: To find the weights $w_k$ for the new neuron, the algorithm solves a sub-problem: maximize the alignment (minimize the angle) between the new basis function and the current residual error. This is inspired by Orthogonal Matching Pursuit (OMP) from compressed sensing.
  5. Orthogonalization: The algorithm uses QR decomposition to keep the basis functions orthogonal. This ensures numerical stability and makes calculating the final output coefficients $c_k$ a simple linear least-squares problem.

This process results in a specific architecture with dense skip connections, where every neuron is connected to the output and all subsequent neurons, as shown in the theoretical model they aim to emulate:

Figure 1: The architecture considered in [16]

Datasets

The authors evaluated their method on several synthetic model problems designed to test approximation limits:

  • Simple 1D functions: $x^2$, $\sqrt{x}$, $\exp(-x)$, and a high-frequency $\sin(20x)$.
  • 2D function: The Euclidean norm $\sqrt{x^2 + y^2}$.
  • Differential Equations: The solution to a one-dimensional singularly perturbed reaction-diffusion equation, which often features sharp "boundary layers" that are difficult to approximate.

Key Insights and Ideas

  • Greedy is Better for Precision: For pure function approximation, optimizing one neuron at a time is far more effective than trying to optimize the whole stack at once. It breaks a massive non-convex problem into a series of smaller, more manageable ones.
  • Initialization is the Bottleneck: The failure of standard DNNs to reach theoretical accuracy isn't due to a lack of expressive power, but rather poor initialization. The Axon algorithm effectively "discovers" the right initialization for high-precision tasks.
  • Emergent Complexity: As the network grows, the learned basis functions become increasingly complex and oscillatory, allowing the network to capture finer and finer details of the target function.
Figure 2: Basis functions for [16]

Key Results

  • Exponential Decay: For the $x^2$ approximation task, the Axon algorithm successfully recovered the theoretical exponential decay, reaching a relative error of $\sim 10^{-6}$ with just 10 layers. In contrast, standard training with random initialization stayed stuck at $\sim 10^{-1}$.
  • Robustness to Singularities: The method performed well even on functions with singularities (like $\sqrt{x}$ at $x=0$) and high-frequency oscillations, where standard methods typically struggle.
  • PDE Solutions: The algorithm effectively approximated the solution to the reaction-diffusion equation, demonstrating its potential for scientific computing and physics-informed neural networks.

Limitations and Future Work

  • Sub-problem Complexity: While the global problem is simplified, the optimization sub-problem for each new neuron becomes increasingly difficult and computationally expensive as the number of existing neurons grows.
  • Dimensionality: The current experiments focus on low-dimensional (1D and 2D) regression. Scaling this greedy approach to high-dimensional data (like images) remains an open challenge.
  • Architecture Constraints: The resulting "Axon" architecture is highly dense. The authors suggest that future work could involve adding constraints to the weight vectors to produce more conventional, sparser DNN architectures.

Summary updated

BibTeX
@misc{fokina2019growing,
  author = {Daria Fokina and Ivan V. Oseledets},
  title = {{Growing axons: greedy learning of neural networks with application to function approximation}},
  year = {2019},
  eprint = {1910.12686},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1910.12686},
}
Figure