Time-Causal VAE: Robust Financial Time Series Generator

Beatrice Acciaio, Stephan Eckstein, Songyan Hou
11/5/2024
cs.LGq-fin.CP

No official code found. Best implementation: justinhou95/TimeCausalVAE (22 stars, Apache-2.0, last commit 2024-11-08).

Abstract

We build a time-causal variational autoencoder (TC-VAE) for robust generation of financial time series data. Our approach imposes a causality constraint on the encoder and decoder networks, ensuring a causal transport from the real market time series to the fake generated time series. Specifically, we prove that the TC-VAE loss provides an upper bound on the causal Wasserstein distance between market distributions and generated distributions. Consequently, the TC-VAE loss controls the discrepancy between optimal values of various dynamic stochastic optimization problems under real and generated distributions. To further enhance the model's ability to approximate the latent representation of the real market distribution, we integrate a RealNVP prior into the TC-VAE framework. Finally, extensive numerical experiments show that TC-VAE achieves promising results on both synthetic and real market data. This is done by comparing real and generated distributions according to various statistical distances, demonstrating the effectiveness of the generated data for downstream financial optimization tasks, as well as showcasing that the generated data reproduces stylized facts of real financial market data.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Time-Causal VAE

226Python, Jupyter NotebookNov 1, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{acciaio2024timecausal,
  title  = {Time-Causal VAE: Robust Financial Time Series Generator},
  author = {Beatrice Acciaio and Stephan Eckstein and Songyan Hou},
  year   = {2024},
  eprint = {2411.02947},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.02947v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.02947.svg)](https://codeofpaper.com/paper/2411.02947)

Discussion