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

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

Clayton Hendrick 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

A fundamental question in deep learning theory is the "depth-vs-width" tradeoff: why does adding layers seem to provide more computational power than simply adding more neurons to a single layer? Previous research established that functions with many "oscillations" are hard for shallow networks to represent. Researchers used Sharkovsky’s Theorem—a classic result in dynamical systems—to show that if a function has a high-period cycle, its repeated compositions ($f \circ f \circ \dots \circ f$) create massive oscillations. However, these previous bounds were often loose or only applied to specific, narrow cases. This paper addresses the limitation that periodicity alone is a "blunt instrument"; two functions with the same period can have vastly different complexities.

Beyond Periodicity: The Role of Chaotic Itineraries

The core insight of this work is that the itinerary—the specific permutation or order in which points in a cycle are visited—matters more than the period length itself. By analyzing unimodal mappings (functions that increase then decrease, such as tent maps), the authors identify "increasing cycles" (itineraries like $1 \to 2 \to 3 \dots \to p$) as particularly "chaotic" and hard to approximate.

Functions with different itineraries

As seen in the figure above, functions $f_a$ can be constructed to follow specific itineraries. While they may share similar visual structures, their behavior under iteration diverges sharply depending on these patterns.

Methodology: Spectral Analysis of Oscillations

To quantify the expressivity gap, the authors employ transition matrices and spectral analysis. By building adjacency matrices that represent how intervals map to one another under $f$, they can count the oscillations in iterated functions ($f^k$). The growth rate of these oscillations is determined by the spectral radius (the largest eigenvalue) of these matrices.

By assuming the target functions are symmetric, concave, and unimodal, the authors ensure that oscillations maintain a "constant height." This structural assumption allows them to prove that the approximation error remains large (constant) regardless of how wide a shallow network gets.

Results: Sharp Depth-Width Tradeoffs

The paper identifies a sharp "phase transition" in function complexity. When a function moves from the "doubling regime" (periods are powers of two) to the "chaotic regime" (non-power-of-two periods or chaotic itineraries), several complexity metrics shift simultaneously: oscillations jump from polynomial to exponential growth, topological entropy shifts from zero to positive, and the VC-dimension of the iterated function class jumps from finite to infinite.

Growth of monotone pieces for different itineraries

The figure above illustrates this exponential separation. For a network of depth $\ell$ to approximate an iterated function $f^k$ with a chaotic $p$-cycle, the width $u$ must be at least $\Omega(\rho^{k/\ell})$. Notably, for chaotic itineraries, the base $\rho$ approaches 2 as $p$ increases, which is the absolute theoretical maximum for these types of functions. This provides a nearly optimal bound that far exceeds previous theoretical results.

Conclusion

This work significantly sharpens the theoretical understanding of depth-vs-width tradeoffs. By moving beyond Sharkovsky's Theorem to the concept of chaotic itineraries, the authors provide nearly optimal bounds and identify a fundamental phase transition in neural network expressivity. While currently focused on 1D unimodal functions, these results provide a rigorous link between dynamical chaos and the representational power of deep learning architectures.

Summary updated

BibTeX
@inproceedings{sanford2022expressivity,
  author = {Clayton Hendrick 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