Neural Jump ODEs as Generative Models

Robert A. Crowell, Florian Krach, Josef TeichmannarXiv 2025 · DOI

Introduction

Generating realistic synthetic time series is a cornerstone of modern quantitative finance and physical systems modeling. Whether for stress-testing portfolios or simulating complex physical phenomena, the ability to produce high-fidelity trajectories that mirror real-world data is invaluable. However, traditional generative approaches, such as Generative Adversarial Networks (GANs) and standard Neural Stochastic Differential Equations (Neural SDEs), often struggle with training instability and the inherent "messiness" of real-world datasets—specifically irregular sampling and missing values.

This paper introduces a novel framework using Neural Jump ODEs (NJODEs) as generative models. By leveraging the NJODE's ability to handle continuous-time dynamics with discrete observations, the authors demonstrate a method to directly learn the underlying SDE coefficients of a stochastic process. This approach bypasses the need for adversarial training, provides mathematical guarantees of convergence, and excels in scenarios where data is sparse or irregularly sampled.

The Challenge of Irregular and Path-Dependent Data

Real-world time series rarely conform to the neat, regularly spaced grids required by many deep learning models. Furthermore, many systems exhibit path-dependency, where the future state depends not just on the current value, but on the entire history of the process.

Existing models like TimeGAN or Neural SDEs trained with minimax losses often face the "minimax" instability, where the generator and discriminator fail to reach a stable equilibrium. Moreover, these models typically require significant preprocessing to handle missing data. The authors aim to solve these issues by creating a generative framework that is stable to train, mathematically rigorous, and robust to incomplete datasets.

Methodology: The NJODE Framework

The core innovation lies in using the NJODE framework to approximate the drift ($\mu$) and diffusion ($\sigma$) coefficients of an Itô process. An NJODE consists of a latent state that evolves according to an Ordinary Differential Equation (ODE) between observations and "jumps" to a new state whenever a new data point is received.

Coefficient Estimation

Rather than simply predicting the next value in a sequence, the model is trained to estimate the conditional expectation of the process and its higher-order moments. These estimates are then algebraically rearranged to form estimators for the drift and diffusion coefficients.

Instantaneous Estimators and Noise-Adapted Loss

A significant technical hurdle in SDE modeling is discretization bias. Simple "step-wise" estimators that use a fixed time step $\Delta$ are inherently biased. To combat this, the authors introduce instantaneous estimators paired with a noise-adapted loss function. This allows the NJODE to learn the coefficients in the limit as the time step approaches zero. By training the model to predict the quotient of increments (e.g., $(X_t - X_s)/(t-s)$), the NJODE learns to "jump" to the correct right-hand limit at the moment of observation, effectively capturing the true instantaneous dynamics.

Joint Training with Bias Reduction

The authors implement a "self-injected bias reduction" technique by training the drift and diffusion models simultaneously. The model uses its own drift predictions to "clean" the increments used to train the diffusion (volatility) estimator, leading to significantly more accurate parameter recovery.

Generative Sampling

Once the NJODE has learned the underlying dynamics (the $\mu$ and $\sigma$ functions), generating new trajectories becomes a simulation task. The model employs a standard Euler-Maruyama discretization scheme to simulate the learned SDE, producing new, synthetic paths that follow the same statistical laws as the training data.

Experimental Results

The model was evaluated on classic synthetic benchmarks: Geometric Brownian Motion (GBM) and the Ornstein-Uhlenbeck (OU) Process. To test robustness, the authors used an observation probability of $p=0.1$, meaning the model only saw 10% of the potential data points during training.

  • Parameter Recovery: In GBM experiments, the "Joint Instant" method recovered a drift of $\approx 1.96$ (True: $2.0$) and a volatility of $\approx 0.297$ (True: $0.3$). This outperformed baseline methods that typically over-estimated volatility due to discretization errors.
  • Distributional Accuracy: Visual analysis of marginal distributions showed an almost perfect match between the training data and the NJODE-generated samples.
  • Conditional Generation: The model successfully demonstrated the ability to take a short "starting sequence" of real data and generate multiple plausible future continuations that remained consistent with the observed history.

Key Insights: Predictive is Generative

The most profound insight of this work is that a model optimized purely for prediction (using Mean Squared Error) can function as a near-perfect generator if it accurately recovers the underlying SDE coefficients. This "predictive is generative" philosophy bypasses the complexities of adversarial training entirely. Because the NJODE maintains a latent state that evolves over time, it naturally captures the path-dependent dynamics necessary for high-quality generation.

Conclusion and Future Work

NJODEs represent a stable, mathematically grounded alternative to GANs for time-series generation. While the current work focuses on continuous trajectories, the framework's success in handling 90% missing data suggests it is highly suitable for real-world financial applications. Future research directions include extending the model to handle processes with jumps (like Lévy processes) and scaling the architecture to high-dimensional multi-variable portfolios.

Summary updated

Abstract

In this work, we explore how Neural Jump ODEs (NJODEs) can be used as generative models for Itô processes. Given (discrete observations of) samples of a fixed underlying Itô process, the NJODE framework can be used to approximate the drift and diffusion coefficients of the process. Under standard regularity assumptions on the Itô processes, we prove that, in the limit, we recover the true parameters with our approximation. Hence, using these learned coefficients to sample from the corresponding Itô process generates, in the limit, samples with the same law as the true underlying process. Compared to other generative machine learning models, our approach has the advantage that it does not need adversarial training and can be trained solely as a predictive model on the observed samples without the need to generate any samples during training to empirically approximate the distribution. Moreover, the NJODE framework naturally deals with irregularly sampled data with missing values as well as with path-dependent dynamics, allowing to apply this approach in real-world settings. In particular, in the case of path-dependent coefficients of the Itô processes, the NJODE learns their optimal approximation given the past observations and therefore allows generating new paths conditionally on discrete, irregular, and incomplete past observations in an optimal way.
BibTeX
@misc{crowell2025neural,
  author = {Robert A. Crowell and Florian Krach and Josef Teichmann},
  title = {{Neural Jump ODEs as Generative Models}},
  year = {2025},
  eprint = {2510.02757},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.02757},
}
Figure