A Differential Game Theoretic Neural Optimizer for Training Residual Networks

Guan-Horng Liu, Tianrong Chen, Evangelos A. TheodorouarXiv 2020

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.

Comparison of the DDP neural optimizer algorithm and its computational graph against standard back-propagation.

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.
Computational efficiency of GT-DDP compared to standard DDP, demonstrating significant reductions in wall-clock time and memory usage as batch size increases.

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

Abstract

Connections between Deep Neural Networks (DNNs) training and optimal control theory has attracted considerable attention as a principled tool of algorithmic design. Differential Dynamic Programming (DDP) neural optimizer is a recently proposed method along this line. Despite its empirical success, the applicability has been limited to feedforward networks and whether such a trajectory-optimization inspired framework can be extended to modern architectures remains unclear. In this work, we derive a generalized DDP optimizer that accepts both residual connections and convolution layers. The resulting optimal control representation admits a game theoretic perspective, in which training residual networks can be interpreted as cooperative trajectory optimization on state-augmented dynamical systems. This Game Theoretic DDP (GT-DDP) optimizer enjoys the same theoretic connection in previous work, yet generates a much complex update rule that better leverages available information during network propagation. Evaluation on image classification datasets (e.g. MNIST and CIFAR100) shows an improvement in training convergence and variance reduction over existing methods. Our approach highlights the benefit gained from architecture-aware optimization.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
CIFAR-100GT-DDP-EKFACValidation accuracy72.24%+0.29 vs baselinesplit: val · trained · seeds=6 · backbone=ResNet18
Source quote
L833: 71.78 │ 71.65 │ 71.96 │ 71.95 │ {72.06}\win │ 71.91\win │ 72.19\win │ 72.24\win\\[1pt]
Reported baseline / comparator measurements (2)
BenchmarkMethodMetricScoreProtocol / Evidence
CIFAR-100EKFAC baselineValidation accuracy71.95%split: val · trained · seeds=6 · backbone=ResNet18
Source quote
L833: 71.78 │ 71.65 │ 71.96 │ 71.95 │ {72.06}\win │ 71.91\win │ 72.19\win │ 72.24\win\\[1pt]
CIFAR-10RMSprop baselineTrain loss0.0107trained · seeds=6 · network=1–4 residual blocks followed by fully connected layers
Source quote
L820: 0.0296 │ 0.0107 │ 0.0127 │ 0.0922 │ {0.0284}\win │ 0.0069\win │ 0.0096\win │ 0.0907\win\\[1pt]
BibTeX
@misc{liu2020differential,
  author = {Guan-Horng Liu and Tianrong Chen and Evangelos A. Theodorou},
  title = {{A Differential Game Theoretic Neural Optimizer for Training Residual Networks}},
  year = {2020},
  eprint = {2007.08880},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2007.08880},
}
Figure