TL;DR
Neural MJD bridges the gap between deep learning and classical financial mathematics by introducing a neural-network-parameterized, non-stationary Merton Jump Diffusion (MJD) model for time series forecasting. By formulating prediction as a time-inhomogeneous stochastic differential equation (SDE) simulation, it explicitly captures both continuous non-stationary trends and abrupt, discontinuous jumps. Backed by a novel "restart" inference solver and a tractable likelihood truncation mechanism, Neural MJD consistently outperforms state-of-the-art deep learning and generative baselines on complex real-world datasets.
What Problem Does This Paper Address?
Real-world time series data—such as stock prices or retail revenues—frequently exhibit a combination of steady continuous trends and sudden, discontinuous shocks (jumps) caused by unexpected events like policy shifts or product promotions.
Traditional statistical models, like the classical Merton Jump Diffusion (MJD) model, provide a mathematically principled way to handle these jumps. However, they rely on rigid assumptions like stationary increments (i.e., the statistical properties of the data don't change over time) and struggle to scale or capture complex interdependencies across multiple interacting time series. Conversely, modern deep learning approaches excel at pattern recognition but operate as deterministic "black boxes." They lack explicit mathematical formulations for stochastic dynamics, making them prone to poor generalization when handling non-stationary data with abrupt discontinuities.
The authors introduce Neural MJD to combine the interpretability and rigor of stochastic differential equations (SDEs) with the flexible representation capacity of deep neural networks.
Methods
Neural MJD parameterizes a time-inhomogeneous MJD process using a neural network. Instead of assuming fixed parameters, a Transformer-based backbone network takes historical sequences and contextual information to predict time-varying SDE parameters ($\mu_t, \sigma_t, \lambda_t, \gamma_t, \nu_t$) across future horizons in a single forward pass.
To make this framework practically viable, the authors solved two major mathematical and computational challenges:
- Tractable Learning via Likelihood Truncation: Computing the exact likelihood of an MJD process requires evaluating an infinite series over all possible numbers of jumps. To make training computationally tractable, the authors introduce a likelihood truncation mechanism that caps the maximum number of jumps within small intervals (setting a threshold $\kappa = 5$). They provide a theoretical proof showing that the truncation error decays super-exponentially.
- Euler-Maruyama with Restart Solver: Standard numerical SDE solvers suffer from variance accumulation, causing simulated trajectories to drift wildly over time. To counter this, the authors propose a hybrid analytic-simulation inference scheme. Because the exact conditional mean can be derived analytically from their formulation, the solver periodically "restarts" by injecting this exact mean at target time steps, resetting the state and dramatically reducing variance and weak convergence error.
Datasets
The model was evaluated across three distinct setups:
- Synthetic Data: 10,000 paths generated using a standard scalar MJD scheme to verify the model's ability to recover jump-driven stochastic processes.
- SafeGraph & Advan Business Analytics Dataset: A large-scale proprietary dataset containing daily customer spending across points of interest (POIs) in Texas, USA, augmented with spatial ego-graphs linking each location to its 10 nearest neighbors.
- S&P 500 Stock Price Dataset: A public dataset containing historical daily prices for 500 major US stocks, modeled as a fully connected graph.
Key Insights and Ideas
- Direct Parameterization over Constraints: Unlike Physics-Informed Neural Networks (PINNs) that use classical financial models purely as loss constraints, Neural MJD directly outputs the time-varying parameters of the SDE. This preserves the exact mathematical structure of the underlying process while maximizing flexibility.
- The Power of Periodic Resetting: The "restart" strategy elegantly mitigates the variance explosion typical of long-horizon SDE simulations. By leveraging the closed-form conditional mean, it stabilizes inference without requiring additional neural network function evaluations (NFEs), keeping computational overhead negligible.
- Mitigating the Generalization Gap: During training, replacing ground-truth history with the model's own analytical mean predictions (rather than standard teacher forcing) significantly reduces error accumulation during sequential inference on non-stationary data.
Key Results
Neural MJD achieved dominant performance across all evaluation protocols (Mean, Best-of-K, and Probabilistic metrics):
- Synthetic Evaluation: Neural MJD significantly lowered Mean Absolute Error (MAE) to 0.09, outperforming standard MJD (0.21) and deterministic MLPs (0.14). Qualitative plots show it successfully generates sharp, realistic jumps rather than over-smoothed trajectories.
- Real-World Financial Data (S&P 500): Neural MJD achieved an MAE of 15.4, drastically outperforming strong generative baselines like Flow Matching (34.9) and its own jump-free ablation, Neural BS (31.6).
- Business Analytics (SafeGraph): The model achieved the lowest MAE (54.1) and highest $R^2$ score (0.549), proving its efficacy in complex spatio-temporal business forecasting.
- Computational Efficiency: Unlike denoising diffusion models that require hundreds of sequential network evaluations during inference, Neural MJD requires only a single forward pass to generate parameters, enabling rapid stochastic simulations.
Limitations and Future Work
The primary limitation of Neural MJD is its explicit reliance on jump dynamics. If the underlying data is entirely smooth and lacks abrupt discontinuities, the jump component may be misestimated or redundant, potentially causing the model to underperform compared to simpler, purely continuous alternatives.
The authors suggest that future work should focus on developing an adaptive mechanism capable of automatically deactivating or regularizing the jump component when smooth series are detected. Additionally, they plan to explore extending this neural SDE framework to high-dimensional, non-stationary data types like video.
Summary updated