A ROBUST DIFFERENTIAL NEURAL ODE OPTIMIZER

Panagiotis Theodoropoulos, Guan-Horng Liu, Tianrong Chen, Augustinos D Saravanos, Evangelos Theodorou

Introduction

Researchers have developed GTSONO (Game Theoretic Second-Order Neural Optimizer), a novel second-order optimizer that treats Neural ODE training as a min-max game between the model and a virtual adversary. By leveraging optimal control theory, this optimizer produces models that are inherently more resistant to adversarial attacks and can slash the time required for traditional adversarial training by up to 80%.

The Problem: Brittleness in Deep Learning

Deep learning models are notoriously "brittle." A tiny, invisible-to-humans perturbation—known as an adversarial attack—can easily flip a model's prediction from "dog" to "toaster." Neural Ordinary Differential Equations (Neural ODEs), which model data as a continuous flow rather than discrete layers, share this vulnerability.

The standard fix is Adversarial Training: feeding the model millions of attacked images during training so it learns to ignore them. While effective, it is computationally grueling and slow. The authors of this paper ask a fundamental question: What if we didn't just change the data, but changed the way the model learns? They aim to build robustness directly into the optimization process by framing training as a "robust optimal control" problem.

Methods: The GTSONO Approach

To achieve this, the authors introduce GTSONO. The core of their approach relies on several key technical innovations:

  1. The Min-Max Game: They recast Neural ODE training as a zero-sum game. One set of weights tries to minimize the loss (the "control"), while a second set of "antagonizing" weights tries to maximize it (representing system disturbances or attacks).
  2. Differential Dynamic Programming (DDP): Instead of standard gradient descent (which is first-order), they use a second-order method based on min-max DDP. This uses information about the curvature of the loss landscape (the Hessian) to find a "saddle point" where the model is optimized against the worst-case disturbance.
  3. Efficient Factorization: Second-order methods are usually avoided in deep learning because calculating the Hessian for millions of parameters is too expensive. GTSONO solves this by using Kronecker product decompositions, breaking massive matrices down into manageable vectors that can be solved alongside the ODE.
  4. Convergence Guarantees: Unlike many min-max optimization schemes that can circle endlessly, the authors provide mathematical proof that GTSONO converges to stable local saddle points.
Node and Layer level views illustrating minimizing (u) and maximizing (v) weights.

Experimental Setup

The team evaluated their optimizer on two standard computer vision benchmarks: CIFAR-10 (60,000 color images across 10 classes) and SVHN (Street View House Numbers, featuring over 600,000 digit images). They tested the resulting models against several attack types, including PGD (Projected Gradient Descent), FGSM (Fast Gradient Sign Method), and CW (Carlini & Wagner) attacks.

Key Insights and Results

One of the most striking findings is that GTSONO-trained models are more robust even when they never see an adversarial example during training. The optimizer's internal "cat-and-mouse" game prepares the model for disturbances naturally.

While each training step is slower than SGD, the second-order nature of DDP allows the model to converge in far fewer epochs. In some tests, GTSONO reached peak robustness in 5-10 epochs, while SGD-based methods required 40. The authors also found that applying this game-theoretic approach specifically to convolutional layers—a variant they call c-GTSONO—provides the best balance of performance and efficiency.

Table showing robust accuracy of different optimizers against various adversarial attacks.

Performance Highlights: * Superior Robustness: On the SVHN dataset, a model trained with c-GTSONO on clean images achieved 80.3% accuracy under a PGD attack, compared to just 72.4% for a model trained with standard SGD. * Defense Booster: When integrated into existing defense frameworks like FreeAT (Free Adversarial Training), GTSONO improved robust accuracy by ~2% in PGD attacks and significantly outperformed the baseline under the difficult CW attack (18.9% vs 9.5%). * Wall-Clock Efficiency: In the FreeAT experiments, c-GTSONO achieved better results in 8 minutes and 21 seconds than the standard SGD-based approach did in over an hour.

Limitations and Future Work

Despite its advantages, GTSONO requires more memory than first-order optimizers like Adam or SGD because it must track second-order terms. While the authors show it fits on a single TITAN RTX GPU, it might struggle with extremely large-scale architectures. Additionally, the authors noted a phenomenon of "robust overfitting," where robust accuracy begins to decline if the model is trained for too many epochs, even if the natural accuracy stays high.

Currently, the work focuses on Neural ODEs. However, the authors suggest that future research should explore applying these robust control paradigms to more common architectures like ResNets and Transformers, potentially unlocking a new paradigm for inherently robust deep learning.

Summary updated

BibTeX
@inproceedings{theodoropoulos2024robust,
  author = {Panagiotis Theodoropoulos and Guan-Horng Liu and Tianrong Chen and Augustinos D Saravanos and Evangelos Theodorou},
  title = {{A ROBUST DIFFERENTIAL NEURAL ODE OPTIMIZER}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=zbOSJ3CATY},
}
Figure