Pricing options and computing implied volatilities using neural networks

Shuaiqiang Liu, Cornelis W. Oosterlee, Sander M. BohtéarXiv 2019

Researchers from Delft University of Technology and CWI Amsterdam have developed a data-driven approach to accelerate option pricing and implied volatility (IV) calculations, two of the most computationally demanding tasks in quantitative finance. By employing Artificial Neural Networks (ANNs) as high-speed surrogate solvers, the study achieves performance gains of up to 100x on GPUs while maintaining the precision required for professional risk management and model calibration.

The Calibration Bottleneck

In financial markets, model calibration involves determining the parameters that best align a mathematical model with observed market prices for thousands of options. This process is essentially a high-dimensional root-finding problem that requires repeatedly executing slow numerical solvers, such as Monte Carlo simulations or Fourier-based methods.

Two primary bottlenecks hinder real-time calibration:

  1. Complex Pricing Models: Advanced stochastic volatility models, like the Heston model, lack simple closed-form solutions and necessitate intensive numerical integration.
  2. Implied Volatility (IV) Calculation: Determining IV—the market's expected future volatility—requires an iterative search (e.g., Brent’s method) for every single option price. In high-frequency environments, these sequential iterations are prohibitively slow.
Option price sensitivity and Vega across different moneyness levels.

As shown in Figure 3, the relationship between option price and volatility is non-linear, and the sensitivity of the price to volatility (Vega) drops significantly as options move deep-in-the-money (ITM) or out-of-the-money (OTM). This vanishing sensitivity poses a significant challenge for standard numerical solvers and basic neural network architectures.

Methodology: ANNs as Surrogate Solvers

The proposed framework utilizes a two-phase approach: off-line training and on-line prediction. During the off-line phase, traditional solvers generate a massive synthetic dataset of approximately one million samples. To ensure the parameter space is covered comprehensively without "blind spots," the researchers employed Latin Hypercube Sampling (LHS).

Architecture of the neural network components used in the study.

The core architecture is a Multi-layer Perceptron (MLP) with four hidden layers, each containing 400 neurons using ReLU activation (see Figure 4). The network learns the complex mapping between input parameters—such as stock price, strike, and time to maturity—and the resulting option price or IV.

The "Gradient-Squash" Technique

A key innovation of this research is the "gradient-squash" trick. Standard ANNs often fail to converge accurately when training on IV because of the extreme gradients in regions where Vega is near zero. To mitigate this, the authors trained the network on a log-transformation of the option's "time value." This transformation flattens the steep gradients, significantly improving the network's accuracy across all moneyness levels.

Performance and Results

The ANN approach demonstrates remarkable speed and robustness compared to traditional iterative methods:

  • Computational Speed: On a GPU, the IV-ANN processed 20,000 options in just 0.20 seconds, compared to nearly 20 seconds for the Newton-Raphson method. Even on a standard CPU, the ANN provided a 10x speedup.
  • Accuracy: The Mean Absolute Error (MAE) for pricing was approximately $10^{-5}$ relative to a strike price of 1, a level of precision that is negligible for practical trading applications.
  • Stability: Unlike traditional root-finders that may fail to converge if the initial guess is poor, the ANN-based solver is derivative-free during the prediction phase, ensuring stable and consistent results.

Conclusion

By "compressing" slow, complex algorithms into fast matrix multiplications, neural networks can serve as powerful surrogate solvers in finance. While this study primarily focused on European call options, the results suggest that similar techniques could be extended to American or exotic options. The ability to perform near-instantaneous pricing and IV calculation opens new possibilities for real-time risk management and more frequent model calibration in volatile markets.

Summary updated

BibTeX
@misc{liu2019pricing,
  author = {Shuaiqiang Liu and Cornelis W. Oosterlee and Sander M. Bohté},
  title = {{Pricing options and computing implied volatilities using neural networks}},
  year = {2019},
  eprint = {1901.08943},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1901.08943},
}
Figure