NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Expressivity of Neural Networks via Chaotic Itineraries beyond Sharkovsky's Theorem

Clayton Sanford, Vaggos Chatziafratis

Abstract

Given a target function $f$, how large must a neural network be in order to approximate $f$? Recent works examine this basic question on neural network expressivity from the lens of dynamical systems and provide novel “depth-vs-width” tradeoffs for a large family of functions $f$. They suggest that such tradeoffs are governed by the existence of periodic points or cycles in $f$. Our work, by further deploying dynamical systems concepts, illuminates a more subtle connection between periodicity and expressivity: we prove that periodic points alone lead to suboptimal depth-width tradeoffs and we improve upon them by demonstrating that certain “chaotic itineraries” give stronger exponential tradeoffs, even in regimes where previous analyses only imply polynomial gaps. Contrary to prior works, our bounds are nearly-optimal, tighten as the period increases, and handle strong notions of inapproximability (e.g., constant $L_1$ error). More broadly, we identify a phase transition to the chaotic regime that exactly coincides with an abrupt shift in other notions of function complexity, including VC-dimension and topological entropy.

Introduction: The Expressivity Challenge

The Universal Approximation Theorem establishes that a single hidden layer can approximate any continuous function, provided it is sufficiently wide. However, this theorem offers no guidance on the required width. In practice, deep networks are preferred for their superior expressivity. Recent theoretical efforts have sought to quantify this "depth-vs-width" tradeoff by drawing parallels with dynamical systems, specifically using Sharkovsky’s Theorem to link periodic cycles in a function to its complexity.

Despite their novelty, previous analyses suffered from two primary limitations. First, they often produced loose bounds, with growth rates frequently capped by the Golden Ratio ($\phi \approx 1.618$). Second, these "hardness" results were often fragile, collapsing when even minimal approximation error was introduced. This research addresses these gaps by looking beyond simple periodicity to the specific "itineraries"—the precise order of points visited within a cycle.

Methodology: Iterated Maps and Transition Matrices

The study frames neural network layers as repeated function compositions ($f^k = f \circ f \circ \dots \circ f$). While a shallow network might easily compute $f$, computing the $k$-th iteration $f^k$ requires significantly more resources. The core of the methodology involves:

  • Analyzing Chaotic Itineraries: Rather than treating all period-$p$ cycles as equal, the authors examine the permutation of indices describing the cycle's path.
  • Transition Matrices: Adjacency matrices are used to model how intervals map to one another under $f$. The spectral radius ($\rho$) of these matrices dictates the exponential growth rate of the function's oscillations.
  • Geometric Constraints: By focusing on unimodal, symmetric, and concave functions (e.g., tent or logistic maps), the authors ensure that oscillations maintain a "constant height," allowing for lower bounds that hold even under constant $L_1$ or $L_\infty$ approximation error.

The Role of Chaotic Itineraries

A key insight of this work is that "not all chaos is equal." Two functions may both exhibit a period-4 cycle, yet possess vastly different complexities. For instance, a "1234" itinerary leads to rapid exponential oscillations, whereas a "1324" itinerary results in only polynomial growth.

Growth of function complexity (number of monotone pieces) for different cycle itineraries compared to the theoretical maximum $2^k$.

As shown in the figure above, the choice of itinerary determines whether a function enters the "chaotic regime." The authors identify a sharp phase transition where topological entropy becomes positive and the VC-dimension of the iterated map family shifts from finite to infinite.

Key Results

The research provides significantly sharper lower bounds for shallow network width. For a function $f$ with an increasing $p$-cycle, a shallow network of depth $\ell$ requires a width $u \ge \Omega(\rho^{k/\ell})$ to approximate $f^k$. Crucially, as the period $p$ increases, the growth base $\rho$ approaches 2, which is the theoretical maximum for unimodal functions.

Comparison of growth rates ($\rho$) for different cycle types as the period $p$ increases, showing convergence toward the optimal value of 2.

Furthermore, these results are robust to constant error. Unlike previous work where bounds might only hold for infinitesimal errors (e.g., $10^{-10}$), these lower bounds persist for constant $L_\infty$ error, indicating that a shallow network fails to capture the fundamental "shape" of the iterated function.

Discussion and Future Directions

While this work significantly advances the understanding of 1D expressivity, several avenues for future research remain. The current analysis is primarily constrained to one-dimensional functions; extending the "chaotic itinerary" framework to high-dimensional systems is a logical next step. Additionally, while the paper proves that shallow networks cannot represent these functions, it does not address the optimization challenges—whether a deep network, though expressive enough, can be effectively trained to find these complex mappings using standard gradient-based methods. Finally, the strongest results rely on specific geometric properties like symmetry and concavity, suggesting that further work is needed to generalize these constant-error bounds to broader function classes.

Summary updated

BibTeX
@inproceedings{sanford2022expressivity,
  author = {Clayton Sanford and Vaggos Chatziafratis},
  title = {{Expressivity of Neural Networks via Chaotic Itineraries beyond Sharkovsky's Theorem}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2022},
  url = {https://openreview.net/forum?id=oQkQUM3VmJ},
}
Figure