[Paper Review] Neural SDEs as Infinite-Dimensional GANs
This paper frames neural stochastic differential equations (SDEs) as continuous-time generative models by formulating them as infinite-dimensional Wasserstein GANs, where a neural SDE acts as the generator and a neural controlled differential equation (CDE) as the discriminator. The approach enables end-to-end training of arbitrary drift and diffusion functions without relying on prespecified statistics or density functions, achieving state-of-the-art performance on time-series modeling tasks with unique global convergence in the infinite data limit.
Stochastic differential equations (SDEs) are a staple of mathematical modelling of temporal dynamics. However, a fundamental limitation has been that such models have typically been relatively inflexible, which recent work introducing Neural SDEs has sought to solve. Here, we show that the current classical approach to fitting SDEs may be approached as a special case of (Wasserstein) GANs, and in doing so the neural and classical regimes may be brought together. The input noise is Brownian motion, the output samples are time-evolving paths produced by a numerical solver, and by parameterising a discriminator as a Neural Controlled Differential Equation (CDE), we obtain Neural SDEs as (in modern machine learning parlance) continuous-time generative time series models. Unlike previous work on this problem, this is a direct extension of the classical approach without reference to either prespecified statistics or density functions. Arbitrary drift and diffusions are admissible, so as the Wasserstein loss has a unique global minima, in the infinite data limit any SDE may be learnt. Example code has been made available as part of the exttt{torchsde} repository.
Motivation & Objective
- To unify classical SDE modeling with modern deep learning by reinterpreting SDE fitting as a Wasserstein GAN problem.
- To overcome limitations of prior neural SDE approaches that rely on prespecified statistics or density functions.
- To enable flexible, high-capacity modeling of stochastic time series using arbitrary drift and diffusion functions.
- To demonstrate that the Wasserstein GAN formulation ensures unique global minima in the infinite data limit, enabling consistent learning of any SDE.
Proposed method
- Formulate a neural SDE as a generator that produces sample paths from Brownian motion input.
- Use a neural CDE as a discriminator to distinguish real data paths from generated paths.
- Train the generator and discriminator jointly via a min-max objective using the 1-Wasserstein loss.
- Parameterize both the drift and diffusion functions of the SDE using deep neural networks for full flexibility.
- Apply stochastic weight averaging and a final tanh nonlinearity to stabilize training of the GAN-like objective.
- Use Adadelta optimizer and weight decay to mitigate oscillatory behavior common in min-max training.
Experimental results
Research questions
- RQ1Can classical SDE fitting, traditionally reliant on prespecified statistics, be reinterpreted as a GAN-based learning problem?
- RQ2Does framing neural SDEs as infinite-dimensional GANs enable learning of arbitrary drift and diffusion functions without density estimation?
- RQ3Can this approach achieve better performance on time-series modeling tasks compared to existing methods like Latent ODEs and CTFPs?
- RQ4Does the Wasserstein GAN formulation ensure unique global convergence in the infinite data limit for SDE learning?
- RQ5What training techniques stabilize the min-max objective in continuous-time GANs for neural SDEs?
Key findings
- On the financial time series dataset, neural SDEs achieved the best performance on prediction (0.144 ± 0.045) and MMD (1.92 ± 0.09), outperforming CTFP and Latent ODE.
- On the air quality dataset, neural SDEs achieved the lowest MMD (0.000160 ± 0.000029) and competitive prediction (0.395 ± 0.056), indicating superior path-space modeling.
- On the MNIST weight dynamics dataset, neural SDEs achieved the best MMD (5.28 ± 1.27) and a 10x improvement in prediction error (0.00843 ± 0.00759) over CTFP.
- Stochastic weight averaging and a final tanh nonlinearity significantly improved training stability and final model performance.
- Adadelta outperformed SGD and Adam in training stability and final metric performance, though the reason remains unclear.
- The method successfully learns arbitrary SDEs in the infinite data limit due to the unique global minima of the Wasserstein loss, enabling consistent and flexible modeling.
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.