[Paper Review] Training Generative Adversarial Networks by Solving Ordinary Differential Equations
This paper proposes training Generative Adversarial Networks (GANs) by solving the continuous-time ordinary differential equations (ODEs) that underlie their training dynamics, rather than relying on discrete gradient updates. By using higher-order ODE solvers like Runge-Kutta and a simple gradient regularizer to control integration error, the method achieves stable training without adaptive optimizers (e.g., Adam) or spectral normalization, outperforming strong baselines on CIFAR-10 and ImageNet.
The instability of Generative Adversarial Network (GAN) training has frequently been attributed to gradient descent. Consequently, recent methods have aimed to tailor the models and training procedures to stabilise the discrete updates. In contrast, we study the continuous-time dynamics induced by GAN training. Both theory and toy experiments suggest that these dynamics are in fact surprisingly stable. From this perspective, we hypothesise that instabilities in training GANs arise from the integration error in discretising the continuous dynamics. We experimentally verify that well-known ODE solvers (such as Runge-Kutta) can stabilise training - when combined with a regulariser that controls the integration error. Our approach represents a radical departure from previous methods which typically use adaptive optimisation and stabilisation techniques that constrain the functional space (e.g. Spectral Normalisation). Evaluation on CIFAR-10 and ImageNet shows that our method outperforms several strong baselines, demonstrating its efficacy.
Motivation & Objective
- To investigate whether the instability in GAN training stems from discretization errors in gradient updates rather than inherent dynamics.
- To explore whether continuous-time dynamics of GANs are inherently stable, suggesting that poor integration causes instability.
- To develop a training method that stabilizes GANs by accurately solving the underlying ODEs, reducing reliance on complex regularization or adaptive optimizers.
- To demonstrate that higher-order ODE solvers can improve GAN convergence and performance without spectral normalization or Adam.
Proposed method
- The authors model GAN training as a continuous dynamical system by taking the limit of infinitesimal time steps in gradient descent updates.
- They derive the continuous-time ODE system for the discriminator and generator parameters, governed by the gradients of the loss functions.
- They employ standard higher-order ODE solvers, such as Runge-Kutta (RK4), to integrate the continuous dynamics instead of discrete updates.
- A gradient regularizer is introduced to control integration error and prevent large deviations in the ODE trajectory.
- The method avoids spectral normalization and adaptive optimizers like Adam, relying instead on accurate numerical integration.
- The approach is evaluated on CIFAR-10 and ImageNet using standard metrics like FID and Inception Score.
Experimental results
Research questions
- RQ1Is the instability in GAN training primarily due to discretization errors in gradient updates, rather than inherent instability in the continuous dynamics?
- RQ2Can higher-order ODE solvers stabilize GAN training without relying on advanced optimization techniques like Adam?
- RQ3Does a simple regularizer on generator gradients effectively control integration error and improve training stability?
- RQ4Can GANs be trained to competitive performance without spectral normalization or other functional space constraints?
Key findings
- ODE-GAN with RK4 solver achieves an FID of 11.85 ± 0.21 on CIFAR-10, outperforming several strong baselines including SN-GAN and WGAN-GP.
- On ImageNet 128×128, ODE-GAN achieves an FID of 26.16 ± 0.75, surpassing SN-GAN and WGAN-ALP under comparable settings.
- The method achieves competitive performance without using Adam or spectral normalization, demonstrating that these components are not essential when integration error is controlled.
- Empirical results show that Adam and spectral normalization can actually harm convergence when higher-order ODE solvers are used, suggesting they may interfere with stable integration.
- The continuous dynamics of GANs are found to be stable under mild assumptions, with convergence independent of rotational components when integrated exactly.
- The use of higher-order ODE solvers leads to better convergence and improved sample quality, even with noisy gradient estimates.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.