Abstract
Connections between Deep Neural Networks (DNNs) training and optimal control theory have attracted considerable attention as a principled tool for algorithmic design. Differential Dynamic Programming (DDP) is a recently proposed neural optimizer along this line. Despite its empirical success, its applicability has been limited to feedforward networks. In this work, we derive a generalized DDP optimizer, Game Theoretic DDP (GT-DDP), that accepts both residual connections and convolution layers. By interpreting training as cooperative trajectory optimization on state-augmented dynamical systems, GT-DDP leverages architecture-aware feedback policies to improve convergence and stability. Evaluation on image classification benchmarks shows significant improvements in training efficiency and variance reduction over existing methods.
Introduction
Standard deep learning optimizers like SGD or Adam treat neural networks as a monolithic set of parameters to be updated simultaneously. This "black-box" approach often ignores the inherent sequential, layer-wise structure of the network. Recent research has sought to bridge this gap by viewing neural networks through the lens of Optimal Control Theory, where each layer represents a time-step in a dynamical system.
Differential Dynamic Programming (DDP) emerged as a promising method in this space, introducing "layer-wise feedback policies" that inform each layer's update based on the state of preceding layers. However, standard DDP was restricted to simple chain-like feedforward networks. Modern Residual Networks (ResNets), with their skip connections, break this chain, making standard DDP mathematically inapplicable. This work solves that by generalizing DDP to handle complex architectures and convolutional layers.
Methods: Architecture-Aware Optimization
The proposed Game Theoretic Differential Dynamic Programming (GT-DDP) optimizer generalizes DDP to handle complex architectures like ResNets. Unlike "black-box" optimizers, GT-DDP changes its update logic based on the specific connectivity of the network.
State-Augmented Dynamics and Cooperative Games
To manage residual shortcuts, GT-DDP employs state-augmented dynamics. The "skipped" information is treated as an augmented state, allowing the Bellman equation to track multiple information flow paths simultaneously. When a shortcut involves a transformation (e.g., a 1x1 convolution), the main and shortcut paths are modeled as "players" in a cooperative game, coordinating updates to maximize a shared objective.
Efficiency via Kronecker Factorization
Second-order optimizers are typically computationally expensive and memory-hungry. To make GT-DDP practical, the authors utilized Kronecker factorization (similar to KFAC) and a block-diagonal Hessian approximation. These optimizations reduce memory usage by approximately 2/3 and runtime by 80% compared to naive DDP implementations, enabling scaling to modern datasets.
Key Insights and Results
GT-DDP was evaluated on standard benchmarks including MNIST, SVHN, and CIFAR-100, comparing it against SGD, RMSProp, Adam, and EKFAC.
- Superior Convergence: GT-DDP variants consistently outperformed standard counterparts. On CIFAR-100, GT-DDP-EKFAC achieved a validation accuracy of 72.24%, surpassing the standard EKFAC's 71.95%.
- Variance Reduction: A key finding was GT-DDP's ability to reduce performance variance across different random initializations by up to 80-100%. This makes training significantly more reproducible and less sensitive to the initial "random seed."
- Feedback Policies: Unlike gradients, which provide a fixed update, GT-DDP provides a feedback policy. If a layer's input changes slightly during the forward pass, the policy automatically adjusts the weight update to compensate.
Conclusion
GT-DDP highlights the benefits of architecture-aware optimization. By framing layers as decision-makers in a multi-stage game, it accounts for long-range dependencies more precisely than standard backpropagation. While currently requiring specific derivations for new layer types, the framework offers a principled path toward more stable and efficient training of complex neural architectures.
Summary updated