Understanding the Theoretical Foundations of Deep Neural Networks through Differential Equations
Organizations: University of Illinois Urbana Champaign · William & Mary · University of Tennessee, Knoxville
Abstract
Deep neural networks (DNNs) have achieved remarkable empirical success, yet the absence of a principled theoretical foundation continues to hinder their systematic development. In this survey, we present differential equations as a theoretical foundation for understanding, analyzing, and improving DNNs. We organize the discussion around three guiding questions: i) how differential equations offer a principled understanding of DNN architectures, ii) how tools from differential equations can be used to improve DNN performance in a principled way, and iii) what real-world applications benefit from grounding DNNs in differential equations. We adopt a two-fold perspective spanning the model level, which interprets the whole DNN as a differential equation, and the layer level, which models individual DNN components as differential equations. From these two perspectives, we review how this framework connects model design, theoretical analysis, and performance improvement. We further discuss real-world applications, as well as key challenges and opportunities for future research.
Figures & tables
| Scope | Paper | Summary |
| Model Level | [ 22 ] | This survey paper explores ODE-based neural architecture design via discretization, along with continuous modeling and optimal control-inspired optimization. |
| [ 163 ] | This work reviews machine learning from a dynamical systems perspective, covering gradient-based and non-gradient optimization methods, continuous-time formulations. | |
| [ 80 ] | This paper systematically reviews neural differential equations (ODEs, CDEs, SDEs, RDEs) and their underlying techniques. | |
| [ 34 ] | This review examines the mathematical foundations of incorporating ordinary and partial differential equations into DNNs, focusing on Neural ODEs and PINNs. | |
| [ 115 ] | This survey provides a comprehensive review of neural differential equations, with a focus on time series analysis. | |
| [ 102 ] | This work discusses how different DNN architectures can be viewed the deterministic or stochastic differential equations, and tests them on CIFAR-10 and CIFAR-100. |
| Model | Formulation and Key Insight |
| Neural ODE [ 21 ] | Models continuous-depth dynamics by taking the deep limit of ResNets |
| Neural CDE [ 79 ] | Introduces input-dependent dynamics for irregular time series |
| Neural RDE [ 110 ] | Incorporates log-signature transforms to model long and rough time series |
| Neural SDE [ 148 ] | Extends Deep Latent Gaussian Models as Neural SDEs in the diffusion limit |
| Neural Jump SDE [ 71 ] | Captures hybrid systems with both continuous flows and discrete jumps |
| Latent SDE [ 92 ] | Introduces memory-efficient adjoint methods for Neural SDEs in the latent space |
| Model | Formulation and Key Insight |
| Flow Model [ 21 , 96 ] | Trained via flow matching or maximum likelihood; generation performed by simulating ODEs |
| Diffusion Model [ 62 , 143 ] | Trained via score matching; generation achieved by solving SDEs |
| Model | Summary | Pros | Cons |
| LSSL [ 50 ] | First to introduce linear SSMs as learnable layers in deep networks. | Unifies the advantages of recurrent, convolutional, and continuous-time models. | May suffer from memory inefficiency and numerical instability. |
| S4 [ 49 ] | Introduces HiPPO for long-range sequence modeling and Diagonal Plus Low-Rank (DPLR) parameterization for the state matrix . | HiPPO enables effective modeling of long-range dependencies, while DPLR ensures efficient training. | Hard to implement; built on LTI SSMs with fixed coefficients; limited in handling complex tasks such as language modeling. |
| DSS [ 53 ] | Parameterizes the state matrix as a diagonal matrix without low-rank correction, while matching S4’s performance. | Simpler to implement, analyze, and train, with provable expressiveness equivalent to general SSMs. | The diagonal structure limits interactions between state dimensions, potentially reducing modeling flexibility. |
| S4D [ 48 ] | Incorporates various S4 initialization techniques while maintaining a diagonal state matrix. | Simpler to implement, more efficient, and more flexible than DSS. | May sacrifice some expressiveness compared to full or low-rank parameterizations. |
| Liquid S4 [ 59 ] | Combines liquid time-constant (LTC) networks with S4. | Enhances generalization and causal modeling by integrating liquid networks, achieving improved performance across tasks. | The more complex state matrix increases implementation and training difficulty compared to the original S4. |
| S5 [ 139 ] | Introduces multi-input, multi-output (MIMO) SSMs and parallel scan algorithms for efficient training. | Enables modeling of sequences with variable sampling rates while retaining S4-level efficiency. | Still based on LTI SSMs; limited in handling complex sequence modeling tasks. |
| Fields | Detailed Fields | Works |
| Natural Science | Climate modeling | [ 150 , 128 ] |
| Hydrological systems | [ 123 , 66 ] | |
| Chemistry | [ 117 , 160 ] | |
| Astrophysics | [ 85 ] | |
| Turbulence forecasting | [ 122 ] | |
| Engineering | Cyber-Physical Systems | [ 10 , 145 ] |
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
| Abbreviation | Meaning |
| CDE | Controlled Differential Equation |
| CNN | Convolutional Neural Network |
| DNN | Deep Neural Networks |
| GAN | Generative Adversarial Network |
| LLM | Large Language Model |
| LSSL | Linear State-Space Layer |
Neural ODEs
Neural ordinary differential equations (Neural ODEs) learn continuous-time dynamics by representing a network’s evolution as a differential equation.
See all 91 papers