English

Interplay between depth and width for interpolation in neural ODEs

Optimization and Control 2024-02-07 v3 Machine Learning

Abstract

Neural ordinary differential equations (neural ODEs) have emerged as a natural tool for supervised learning from a control perspective, yet a complete understanding of their optimal architecture remains elusive. In this work, we examine the interplay between their width pp and number of layer transitions LL (effectively the depth L+1L+1). Specifically, we assess the model expressivity in terms of its capacity to interpolate either a finite dataset DD comprising NN pairs of points or two probability measures in Rd\mathbb{R}^d within a Wasserstein error margin ε>0\varepsilon>0. Our findings reveal a balancing trade-off between pp and LL, with LL scaling as O(1+N/p)O(1+N/p) for dataset interpolation, and L=O(1+(pεd)1)L=O\left(1+(p\varepsilon^d)^{-1}\right) for measure interpolation. In the autonomous case, where L=0L=0, a separate study is required, which we undertake focusing on dataset interpolation. We address the relaxed problem of ε\varepsilon-approximate controllability and establish an error decay of εO(log(p)p1/d)\varepsilon\sim O(\log(p)p^{-1/d}). This decay rate is a consequence of applying a universal approximation theorem to a custom-built Lipschitz vector field that interpolates DD. In the high-dimensional setting, we further demonstrate that p=O(N)p=O(N) neurons are likely sufficient to achieve exact control.

Keywords

Cite

@article{arxiv.2401.09902,
  title  = {Interplay between depth and width for interpolation in neural ODEs},
  author = {Antonio Álvarez-López and Arselane Hadj Slimane and Enrique Zuazua},
  journal= {arXiv preprint arXiv:2401.09902},
  year   = {2024}
}

Comments

16 pages, 10 figures, double column

R2 v1 2026-06-28T14:20:17.367Z