The Influence of the Memory Capacity of Neural DDEs on the Universal Approximation Property
Neural Ordinary Differential Equations (Neural ODEs) are the continuous-time analog of Residual Neural Networks (ResNets). Similarly, Neural Delay Differential Equations (Neural DDEs) can be interpreted as an infinite-depth limit of Densely Connected Residual Neural Networks (DenseResNets). Unlike ResNets, DenseResNets have shortcut connections across all layers, introducing memory as in modern architectures such as U-Nets and LSTMs. We study how the memory capacity of neural DDEs influences the universal approximation property. The key parameter is the product $Kτ$ of the Lipschitz constant of the vector field and the delay. For non-augmented architectures, where the network width is not larger than the input dimension, neural ODEs and classical feed-forward neural networks cannot have the universal approximation property. We show that if $Kτ$ is sufficiently small, the dynamics of the neural DDE can be approximated by a neural ODE. Consequently, under bounds on the weights and the vector field, non-augmented neural DDEs with small memory capacity cannot approximate all maps with a prescribed Lipschitz constant, however small. If the architecture has a bottleneck, i.e., the width is smaller than the input or output dimension, universal approximation fails for any memory capacity. In contrast, if the width is at least as large as the input and output dimension and $Kτ$ is sufficiently large, neural DDEs have the universal approximation property with respect to the space of Lipschitz continuous functions. Augmentation further enlarges the parameter regions where universal approximation holds. Overall, the infinite-dimensional phase space of DDEs with delay $τ>0$ alone does not yield universal approximation: there is no direct jump transition as $Kτ$ increases, and universal approximation holds only beyond a certain memory threshold.