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

Daria Fokina, Ivan Oseledets · DOI

Introduction

The Universal Approximation Theorem guarantees that neural networks can represent any continuous function. For instance, a deep ReLU network can theoretically approximate $f(x) = x^2$ with an error that decays exponentially relative to network depth. However, a significant gap exists between this mathematical potential and practical results. Standard training using Stochastic Gradient Descent (SGD) and random weight initialization often fails to find these high-precision solutions, instead becoming trapped in local minima where error plateaus.

The Axon Algorithm: A Constructive Approach

To bridge this gap, researchers introduced the Axon algorithm. Inspired by biological axonal growth, this method builds deep neural networks incrementally, one neuron at a time, rather than optimizing a fixed, large-scale architecture from scratch.

Greedy Functional Growth

The network starts with a single neuron and expands by adding exactly one new neuron per step. Each new neuron is treated as a "basis function," constructed as a non-linear ReLU activation applied to a linear combination of all preceding neurons. This creates a highly connected architecture.

The Axon architecture resembles a DenseNet with extensive skip connections, where every hidden neuron connects directly to the output.

Technical Implementation

The algorithm leverages several key techniques:

  • Orthogonal Matching Pursuit (OMP): New weights are chosen to maximize alignment with the current approximation residual.
  • QR Decomposition: To maintain numerical stability, the algorithm maintains an orthogonal set of basis functions, allowing the final output layer to be solved as a linear least-squares problem at each step.

Key Results and Performance

The Axon algorithm was tested against synthetic mathematical challenges, including power functions, oscillatory signals, and differential equations. The results highlight a stark contrast between greedy construction and standard optimization.

Comparison of approximation error: Standard SGD with random initialization plateaus quickly, while the constructive approach (Yarotsky coefficients) achieves exponential error decay.

For the function $f(x) = x^2$, standard SGD typically plateaus at a relative error of $10^{-1}$. In contrast, the Axon algorithm successfully recovers the theoretical exponential decay, reaching errors as low as $10^{-6}$ using the same number of neurons. This suggests that the failure of deep learning in high-precision tasks is often a failure of the learning law rather than the architecture itself.

Conclusion

By treating neural network training as a constructive numerical process rather than a "lottery" of random initialization, the Axon algorithm enables high-precision function approximation that was previously thought to be practically unreachable. Future work will explore scaling this greedy approach to high-dimensional datasets and complex tasks like image classification.

Summary updated

BibTeX
@misc{fokina2019growing,
  author = {Daria Fokina and Ivan 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