Optimal Control Theoretic Neural Optimizer: From Backpropagation to Dynamic Programming

Guan-Horng Liu, Tianrong Chen, Evangelos A. TheodorouarXiv 2025 · DOI

Introduction

While neural network architectures have evolved rapidly, the fundamental method for training them—Backpropagation—has remained largely unchanged since the 1980s. In fields like aerospace and operations research, sequential decision-making is handled via Optimal Control Programming (OCP), which offers powerful tools like the Bellman equation. This paper introduces OCNOpt (Optimal Control Theoretic Neural Optimizer), a framework that bridges the gap between these two worlds by treating deep neural networks as dynamical systems.

Conceptual bridge between standard backpropagation and dynamic programming.

Bridging Backpropagation and Dynamic Programming

The authors establish a striking theoretical link: Backpropagation is actually a first-order approximation of the Bellman equation. By recognizing this, they derive OCNOpt using a second-order approximation known as Differential Dynamic Programming (DDP).

Key features of OCNOpt include:

  • Layer-wise Feedback Policies: Unlike standard optimizers that produce static gradient updates, OCNOpt computes a "feedback gain." This allows parameter updates for a specific layer to adjust dynamically based on changes in the activations of preceding layers, acting as a stabilizer.
  • Computational Efficiency: To manage the high-dimensional matrices of second-order methods, OCNOpt employs Gauss-Newton approximations and low-rank (outer-product) factorizations. This keeps complexity comparable to existing second-order methods.
  • Architectural Flexibility: The framework extends to Residual Networks (interpreted as dynamic games) and Neural ODEs (interpreted as continuous-time optimal control).

Experimental Evaluation

The authors evaluated OCNOpt across a wide range of benchmarks, including image classification (MNIST, CIFAR-10/100), time-series prediction (ArtWR), and probabilistic modeling (Gas, Miniboone).

Performance comparison of OCNOpt against Adam and SGD across various datasets and metrics.

Key Results:

  • Superior Convergence: OCNOpt consistently matched or outperformed standard optimizers like Adam and SGD. Notably, it achieved significantly faster wall-clock convergence on complex tasks like ArtWR and CIFAR-10.
  • Robustness: OCNOpt proved highly robust to high learning rates that typically cause first-order methods to diverge, converging "almost flawlessly" in stress tests.
  • Neural ODE Efficiency: For continuous-time models, OCNOpt achieved a 20% reduction in wall-clock training time compared to the standard Adjoint Method without sacrificing accuracy.
  • Resource Trade-offs: While OCNOpt incurs a memory overhead of approximately 10-40% compared to EKFAC, its per-iteration runtime remains competitive on modern GPU hardware.

Discussion and Future Work

The core insight of this research is that Backpropagation is essentially "Dynamic Programming Lite." By tapping into decades of control theory, OCNOpt provides a principled way to stabilize training and accelerate convergence for complex architectures.

However, challenges remain. The storage of second-order matrices, even when factorized, is higher than simple first-order methods like Adam. Implementation is also more involved, requiring careful handling of layer-wise dynamics. Future work aims to extend this optimal control perspective to even more complex structures, such as Transformers, Stochastic Differential Equations (SDEs), and Partial Differential Equations (PDEs).

Summary updated

BibTeX
@misc{liu2025optimal,
  author = {Guan-Horng Liu and Tianrong Chen and Evangelos A. Theodorou},
  title = {{Optimal Control Theoretic Neural Optimizer: From Backpropagation to Dynamic Programming}},
  year = {2025},
  eprint = {2510.14168},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.14168},
}
Figure