Fractional SDE-Net: Generation of Time Series Data with Long-term Memory

Kohei Hayashi, Kei Nakagawa

Introduction

Generating realistic time series data is a cornerstone of modern quantitative finance, hydrology, and telecommunications. However, real-world data rarely behaves like standard "memoryless" models. It often exhibits Long-range Dependency (LRD), a property where past events influence the future over long horizons.

In this work, Kohei Hayashi and Kei Nakagawa introduce fSDE-Net, a generative model that combines the continuous-time flexibility of Neural Stochastic Differential Equations (SDEs) with the memory-capturing power of fractional Brownian motion (fBm).

The Challenge of Long-range Dependency

Most generative models for time series, such as standard RNNs or Neural SDEs, struggle with two primary issues:

  1. Irregular Sampling: Real-world data often arrives at unequal intervals (e.g., financial markets closing on weekends).
  2. Memorylessness: Standard SDEs rely on Brownian motion, which assumes independent increments. This makes them poor fits for data like river levels or stock prices, which possess long-term trends and dependencies.

fSDE-Net: Modeling with Fractional Noise

The authors propose fSDE-Net, which generalizes the Neural SDE by using fractional Brownian motion as the driving noise. The model is defined by the fractional SDE:

$$dX_t = b_{\theta_1}(t, X_t)dt + \sigma_{\theta_2}(t, X_t)dB^H_t$$

In this equation, $b$ (drift) and $\sigma$ (diffusion) are neural networks that learn deterministic trends and volatility. The "secret sauce" is $B^H_t$, the fBm parameterized by the Hurst index ($H$).

The Hurst Index as a Regularity Knob

The Hurst index controls both the memory and the "smoothness" of the paths:

  • If $H = 0.5$, it is standard, memoryless Brownian motion.
  • If $H > 0.5$, the noise has positive correlation (LRD), meaning an upward trend is likely to continue.
  • If $H < 0.5$, the paths are "rough" and anti-persistent.
Paths of fractional Brownian motion for different Hurst indices $H$, illustrating how the parameter acts as a 'regularity knob' for path smoothness and memory.

As shown in the figure above, higher $H$ values lead to visually smoother, more regular paths. fSDE-Net leverages this to capture the specific regularity found in financial and environmental data much better than standard SDEs.

Technical Implementation

Because fBm is not a "semimartingale" when $H \neq 0.5$, standard Ito calculus cannot be used. The authors utilize Young integration to define the solution and prove its existence and uniqueness. They also derive a modified Euler scheme specifically for fractional noise to ensure numerical convergence. To ensure stability, the authors highlight that using tanh activation functions is crucial, as it keeps the neural network's derivatives bounded.

Key Results

The authors evaluated fSDE-Net against standard RNNs and SDE-Nets across several domains, including S&P 500 prices, Nile River water levels, and Ethernet traffic data.

  • Replicating LRD: fSDE-Net produced synthetic paths with Hurst indices very close to the original data. For example, in the Nile river dataset, fSDE-Net achieved $H \approx 0.70$ (closer to the original $0.97$), while standard RNNs stayed stuck near $0.45$.
  • Distributional Accuracy: fSDE-Net outperformed competitors in matching the Marginal Distribution and Auto-Correlation Function (ACF) scores for most datasets.
  • Visual Fidelity: Qualitatively, the paths generated by fSDE-Net inherit the specific regularity and trend-following behavior that standard Brownian motion models lack.

Conclusion

fSDE-Net represents a significant advancement in generating time series with long-term memory. While this paper focuses on the "smooth" case ($H > 0.5$), future work may address "rough" data ($H < 0.5$) common in high-frequency finance using Rough Path Theory, or explore latent space models like Fractional VAEs.

Summary updated

BibTeX
@inproceedings{hayashi2022fractional,
  author = {Kohei Hayashi and Kei Nakagawa},
  title = {{Fractional SDE-Net: Generation of Time Series Data with Long-term Memory}},
  booktitle = {DSAA},
  year = {2022},
  doi = {10.1109/dsaa54385.2022.10032351},
}
Figure