Abstract
Predicting financial volatility is a cornerstone of risk management and option pricing. Traditional approaches, such as the GARCH family and MCMC-based stochastic volatility models, often struggle with the complexity and non-linearity of modern markets or face significant computational hurdles. This paper presents the Neural Stochastic Volatility Model (NSVM), a deep learning framework that combines stochastic recurrent neural networks (RNNs) with variational inference. By modeling latent volatility as an autoregressive process within a generative framework, NSVM achieves superior predictive accuracy and computational efficiency compared to classical econometric methods.
Introduction
In financial markets, volatility represents the degree of variation in asset prices over time. Historically, two primary modeling paradigms have dominated: deterministic models like GARCH, which assume volatility is a fixed function of past observations, and Stochastic Volatility (SV) models, which treat volatility as a latent random process. While SV models are theoretically more flexible, they often require rigid distributional assumptions and are computationally expensive to estimate.
The NSVM addresses these limitations by leveraging the representational power of neural networks. It provides a data-driven approach that requires fewer hand-crafted assumptions while remaining computationally efficient, effectively bridging the gap between financial econometrics and generative artificial intelligence.
Methodology
The NSVM architecture consists of two complementary stochastic recurrent neural networks:
- The Generative Network: This network models the joint distribution of observed stock returns and hidden latent variables. Unlike standard deterministic RNNs, it outputs the parameters (mean and variance) of a Gaussian distribution. Crucially, it treats the latent variable $z_t$ as an autoregressive process, enabling the model to represent external environmental influences like news or industry trends.
- The Inference Network: To estimate the hidden state of market volatility, a bidirectional RNN is employed. This network utilizes both past and future context to approximate the conditional distribution of latent variables given observed price data.
The model is trained using Variational Inference, specifically by maximizing the Evidence Lower Bound (ELBO). This approach allows the network to learn complex volatility mappings without the rigid functional forms required by classical models.
Experimental Evaluation
The authors evaluated NSVM using a dataset of 162 univariate daily closing stock price series from China’s A-shares (collected from 2006 or earlier). The data was transformed into log-returns and normalized. For testing, 2,000 time steps were used for training and 570 steps for out-of-sample testing.
NSVM was compared against ten baselines, including various GARCH variants (GARCH, GJR, EGARCH, etc.), MCMC-based stochastic volatility (stochvol), and Gaussian Process models (GP-Vol).
Results and Discussion
Quantitative analysis shows that NSVM consistently outperforms traditional models. As shown in the table below, the NSVM variants (particularly NSVM-corr) achieved the lowest Average Negative Log-Likelihood (NLL) across the dataset.
Specifically, the NSVM-diag variant outperformed the standard GARCH(1,1) model on 142 out of 162 individual stocks. The NSVM-corr variant, which models correlations between variables using rank-1 perturbation, provided the best overall performance, highlighting the importance of capturing inter-stock dependencies.
Qualitatively, NSVM demonstrates a superior ability to track market dynamics. In case studies of individual stocks, NSVM proved more sensitive to sudden market crashes—producing sharper spikes in predicted volatility—while remaining stable during moderate fluctuations.
Conclusion
The Neural Stochastic Volatility Model represents a significant advancement in financial time-series forecasting. By treating classical models as special cases of a broader neural framework, NSVM offers both theoretical robustness and empirical superiority. Future research will focus on incorporating non-Gaussian distributions, such as Student’s t-distribution, to better account for the "fat tails" often observed in financial data, as well as improving the scalability of the model for high-dimensional multivariate portfolios.
Summary updated