Optimal Approximation of Zonoids and Uniform Approximation by Shallow Neural Networks

Jonathan W. SiegelarXiv 2023 · DOI

Introduction

The intersection of geometric discrepancy theory and machine learning has long provided fertile ground for understanding the fundamental limits of function approximation. This paper addresses a long-standing gap in this field by providing optimal approximation rates for zonoids—smooth convex bodies—using zonotopes. By refining these geometric techniques, the research establishes the first optimal uniform approximation rates for shallow $ReLU^k$ neural networks, demonstrating their ability to simultaneously approximate a function and its derivatives with high efficiency.

The Zonoid Approximation Problem

In classical geometry, a zonotope is a polytope formed by the Minkowski sum of finitely many line segments. A zonoid is defined as the smooth limit of these shapes. A central question in geometric discrepancy theory asks: how many line segments ($n$) are required to approximate a given zonoid within an error of $\epsilon$?

While approximation rates were previously established for most dimensions, a persistent "logarithmic gap"—an extra $\log n$ factor—remained for the specific cases of dimensions $d=2$ and $d=3$. This paper successfully removes these factors, confirming the optimal error rate as: $$\epsilon(n) \le C(d)n^{-\frac{1}{2} - \frac{3}{2d}}$$ for all dimensions $d$. This result provides a definitive answer to the zonoid approximation problem, closing a significant chapter in geometric theory.

Bridging Geometry and Neural Networks

The significance of this geometric result extends directly into machine learning theory. A shallow neural network using the $ReLU^1$ activation function can be viewed as a functional analogue of a zonotope. Consequently, the approximation of functions in certain variation spaces is deeply intertwined with the approximation of convex bodies.

The paper focuses on $ReLU^k$ activation functions (where the Rectified Linear Unit is raised to the power $k$). The goal is to determine how quickly the approximation error decreases as the number of neurons ($n$) increases, specifically under the strict uniform norm ($L_\infty$). Unlike the more common $L_2$ norm, the uniform norm requires the approximation to be accurate everywhere, not just on average. Furthermore, the paper investigates "simultaneous approximation," where the network must approximate both the target function and its derivatives.

Methodology: Geometric Discrepancy Theory

To achieve these optimal rates, the author utilizes Geometric Discrepancy Theory, specifically the "partial coloring method" originally pioneered by Spencer and Beck. The proof involves several key technical innovations:

  1. Multiscale Covering: The author constructs a multiscale covering of the unit ball, allowing for the analysis of approximation errors across different resolutions.
  2. Handling Unbalanced Distributions: A major hurdle in previous proofs was the treatment of "unbalanced" probability measures. This work introduces a novel mechanism to handle these distributions, which is the primary driver behind the removal of the logarithmic factors in low dimensions.
  3. Higher-Order Taylor Polynomials: To extend the results to $ReLU^k$ networks for $k \ge 1$, the author incorporates Taylor polynomials into the discrepancy argument. This accounts for the increased smoothness of the activation functions and allows for the analysis of derivative approximation.

Key Results and Insights

Beating Maurey’s Method

A standard tool in approximation theory is Maurey’s empirical method, which typically yields a rate of $n^{-1/2}$. This research demonstrates that by exploiting the specific geometric structure of $ReLU^k$ atoms, one can achieve significantly faster rates that depend on both the dimension $d$ and the smoothness $k$.

Optimal $ReLU^k$ Rates

The paper establishes that for a function $f$ in the variation space of $ReLU^k$ atoms, a network with $n$ neurons achieves a uniform error rate of: $$\|f - f_n\|_{W^m(L_\infty)} \le Cn^{-\frac{1}{2} - \frac{2(k-m)+1}{2d}}$$ where $m$ represents the order of the derivative being approximated. This rate is shown to be optimal (up to logarithmic factors), providing a new benchmark for the efficiency of shallow architectures.

Limitations and Future Directions

Despite these advancements, several open questions remain:

  • Summand Constraints: The current method produces zonotopes where the constituent line segments have unequal lengths. It is still unknown if these optimal rates can be maintained in low dimensions ($d < 4$) if the segments are required to be of equal length.
  • Shallow vs. Deep Architectures: This work is focused exclusively on shallow (one-hidden-layer) networks. While the geometric framework is powerful for shallow structures, modern deep networks may require different theoretical tools to capture their hierarchical approximation properties.
  • Optimization vs. Existence: The results are existential, proving that such optimal networks exist. However, the paper does not address the algorithmic challenge of finding these weights through non-convex optimization (training), which remains a separate and significant hurdle in practice.

Conclusion

By resolving the logarithmic gap in zonoid approximation, this paper provides a more precise understanding of the geometric foundations of neural networks. The derivation of optimal uniform approximation rates for $ReLU^k$ networks and their derivatives reinforces the utility of discrepancy theory in establishing the theoretical boundaries of machine learning.

Summary updated

Abstract

We study the following two related problems. The first is to determine to what error an arbitrary zonoid in $\mathbb{R}^{d+1}$ can be approximated in the Hausdorff distance by a sum of $n$ line segments. The second is to determine optimal approximation rates in the uniform norm for shallow ReLU$^k$ neural networks on their variation spaces. The first of these problems has been solved for $d\neq 2,3$, but when $d=2,3$ a logarithmic gap between the best upper and lower bounds remains. We close this gap, which completes the solution in all dimensions. For the second problem, our techniques significantly improve upon existing approximation rates when $k\geq 1$, and enable uniform approximation of both the target function and its derivatives.
BibTeX
@misc{siegel2023optimal,
  author = {Jonathan W. Siegel},
  title = {{Optimal Approximation of Zonoids and Uniform Approximation by Shallow Neural Networks}},
  year = {2023},
  eprint = {2307.15285},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2307.15285},
}
Figure