TL;DR
Real-world systems like financial markets and viral epidemics don't just experience random shocks—they also remember their distant past. This paper introduces Neural Fractional Stochastic Differential Equations (Neural FSDEs), unifying randomness and long-range memory into a single continuous-time deep learning model. By deriving a clever backpropagation shortcut, the authors slash training memory from quadratic to linear, unlocking the ability to learn complex, history-dependent dynamics on long time horizons.
What Problem Does This Paper Address?
Since Neural ODEs arrived on the scene, continuous-time deep learning has split into two distinct evolutionary branches. If your system is buffeted by random noise, you reach for a Neural SDE (Stochastic Differential Equation). If your system exhibits "long-range memory"—where today's trajectory depends on its entire past history, like viscoelastic materials or lingering public-health interventions—you use a Neural FDE (Fractional Differential Equation), which swaps standard time derivatives for non-integer (fractional) ones.
What if your system is both noisy and nostalgic? Until now, no unified framework combined neural drift, neural diffusion, and a learnable fractional memory order with an efficient way to train it. Because fractional systems are non-local—every new step looks back at all previous steps—naively backpropagating through a solver builds a massive pairwise dependency graph. Memory costs balloon quadratically ($\mathcal{O}(N^2)$) with the number of time steps $N$, quickly choking modern GPUs on long time grids.
Methods
The authors formulate the Neural FSDE using a Caputo fractional derivative of order $\alpha \in (1/2, 1]$. Intuitively, $\alpha$ acts as a tunable "memory dial": at $\alpha = 1$, the system is a standard, memoryless Itô SDE; as $\alpha$ drops toward $1/2$, past states exert a heavier, power-law influence on the present via a singular kernel $(t - s)^{\alpha - 1}$. Both the deterministic trend (drift, $\mu_\theta$) and the noise scale (diffusion, $\sigma_\phi$) are parameterized by neural networks, while $\alpha$ is learned directly from data.
To simulate trajectories forward in time, they use a standard Euler-Maruyama discretization. What is new—and makes the whole framework practical—is their discrete adjoint method for the backward pass:
- Instead of letting PyTorch's autograd build an $\mathcal{O}(N^2)$ computation graph, they store the forward states and noise samples, then run a custom reverse-time loop.
- Because the Euler-Maruyama scheme integrates the drift kernel exact-piecewise while approximating the singular diffusion kernel at left-endpoints, a single adjoint variable isn't enough. The authors introduce two distinct gradient accumulators ($\lambda^\mu$ and $\lambda^\sigma$) that scale differently with time step $\Delta t$, plus an analytical gradient for $\alpha$ using the digamma function.
- This drops backward-pass memory from $\mathcal{O}(N^2)$ to a crisp, linear $\mathcal{O}(N \cdot D \cdot B)$ for $B$ paths of $D$ dimensions.
Datasets
The framework is tested across three settings (no newly curated raw datasets, though they establish unified calibration benchmarks):
- Synthetic Toy FSDE: 1,024 sample paths generated from a known trigonometric FSDE ($\alpha = 0.75$) over 100 time steps.
- Our World in Data (OWID) COVID-19 Records: Daily cases and deaths across four ~180-day epidemic waves in the UK (Alpha, Delta) and US (Winter, Delta).
- S&P 500 Options: End-of-day option chains from March 2024 to March 2026 (483 trading days), spanning 1.69 million European quotes (SPXW) and 896k American quotes (SPY).
Key Insights and Ideas
- True Memory vs. Colored Noise: Prior models like fSDE-Net drive a standard integer-order ODE with fractional Brownian motion—meaning only the noise has memory. In a Caputo Neural FSDE, the memory kernel wraps around both drift and diffusion, fundamentally altering how the system's state evolves and requiring dual adjoint accumulators.
- Untangling Memory from Volatility Scale: In discretized fractional equations, lowering $\alpha$ mathematically inflates the one-step noise prefactor ($\Delta t^{\alpha - 1/2}/\Gamma(\alpha)$). In option pricing, the authors discovered that if you restrict a Neural FSDE and a memoryless Neural SDE to the same tight diffusion bound, two-thirds of the FSDE's apparent victory actually comes from having a larger effective noise scale! Giving each model its own optimal diffusion bound was crucial to proving that fractional memory genuinely helps on its own.
- Empirical Proof of Epidemic Memory: Epidemiologists previously proposed fractional stochastic COVID-19 models on paper without calibrating them to real data. Across all 192 real-data calibrations, the framework consistently recovered $\hat{\alpha} \in [0.58, 0.81]$, empirically confirming long-memory dynamics in epidemic spread.
Key Results
- Speed & Memory: At $N = 1024$ steps on an H100 GPU, the discrete adjoint uses 44$\times$ less peak memory (~25 MB vs. ~1,120 MB) and runs ~5$\times$ faster than standard autograd, matching gradients to within $\sim 10^{-6}$.
- Synthetic Recovery: Starting from $\alpha_{\text{init}} = 0.55$, the model nailed the true fractional order of $0.75$ at $\hat{\alpha} = 0.7516$ (0.2% error).
- COVID-19 Forecasting: Under a rolling 7-day-ahead protocol, an FSDE variant achieved the best median RMSE in 5 out of 8 wave/channel combinations, while avoiding the explosive forecast blow-ups occasionally seen in the memoryless Neural SDE.
- Option Pricing: Across all 8 evaluation settings on SPXW and SPY, Neural FSDE achieved the lowest Implied-Volatility RMSE (e.g., 216 bps in-sample on SPXW vs. 344 bps for rough Heston and 450 bps for Path-Dependent Volatility). Even with tuned diffusion bounds, fractional memory beat the identical-architecture Neural SDE by 69–132 bps everywhere, recovering market roughness ($H = \alpha - 1/2 \approx 0.15$) consistent with financial literature.
Limitations and Future Work
- Forward Pass Bottleneck: While the discrete adjoint makes the backward pass memory-linear, the forward pass still convolves the entire trajectory history at each step, costing $\mathcal{O}(N^2)$ time. (The authors prototype an $\mathcal{O}(NK)$ sum-of-exponentials forward approximation, but leave its adjoint for future work.)
- State Storage: Unlike standard Neural ODE adjoints that reconstruct states backward in time for $\mathcal{O}(1)$ memory, history dependence forces Neural FSDEs to store the forward states and noise paths in memory.
- Discretization Lock-in & Scope: The derived adjoint is tailored specifically to the Euler-Maruyama scheme (whose diffusion variance error degrades near $\alpha = 1/2$). Future work includes extending the adjoint to higher-order predictor-corrector schemes, non-singular kernels (like Atangana-Baleanu), and general Neural Stochastic Volterra Equations.
Summary updated