A neural network-based framework for financial model calibration

Shuaiqiang Liu, Anastasia Borovykh, Lech A. Grzelak, Cornelis W. OosterleearXiv 2019 · DOI

Abstract

In quantitative finance, calibrating asset price models to market data is a critical yet computationally intensive task. This paper introduces the Calibration Neural Network (CaNN), a data-driven framework that utilizes Artificial Neural Networks (ANNs) to accelerate this process. By reformulating the search for optimal model parameters as a training problem for hidden neurons, CaNN achieves high-speed calibration while avoiding the pitfalls of local minima. Numerical experiments on high-dimensional stochastic volatility models, such as the Heston and Bates models, demonstrate that CaNN provides a fast, accurate, and robust alternative to traditional numerical methods.

Introduction

Financial model calibration is the process of determining the parameters of a mathematical model—such as volatility, mean reversion, and correlation—so that the model's output aligns with observed market prices for options. This is fundamentally an "inverse problem": given the market prices, what are the underlying parameters?

Traditionally, this involves solving complex partial differential equations (PDEs) or using Fourier transform methods repeatedly within an optimization loop. This approach suffers from two primary drawbacks: the computational bottleneck of repeated numerical simulations and the non-convex nature of the objective function, which often leads optimizers to converge on sub-optimal "local minima." The CaNN framework addresses these challenges by replacing slow numerical solvers with a high-speed neural network surrogate and employing parallelized global optimization.

The CaNN Framework

The CaNN approach is divided into two distinct phases: an offline training phase (Forward Pass) and an online calibration phase (Backward Pass).

The Forward Pass: Building the Surrogate

In the offline phase, a deep Multi-Layer Perceptron (MLP) is trained to act as a "surrogate model." The network learns the mapping from model parameters (e.g., the Heston model's $\rho, \kappa, \gamma, \bar{\nu}, \nu_0$) directly to Black-Scholes implied volatilities.

The authors emphasize that training the network to predict implied volatility, rather than raw option prices, is a key innovation. This choice results in a smoother optimization landscape, characterized by a lower condition number in the Hessian matrix, which significantly improves the stability and accuracy of the subsequent calibration.

The Backward Pass: Online Calibration

During the online phase, the weights of the trained ANN are "frozen." Calibration is treated as a secondary training process where the input layer—representing the unknown model parameters—is the only learnable component. By "inverting" the network in this manner, the framework unifies machine learning techniques with financial engineering requirements.

Global Optimization and Parallelization

To ensure robustness against local minima, the framework utilizes Differential Evolution (DE), a global optimization algorithm. While global optimizers are typically slower than gradient-based methods, CaNN leverages the inherent batch-processing capabilities of ANNs and GPUs. By evaluating an entire population of parameter candidates (e.g., 50+ sets) simultaneously, the framework can search the global parameter space thoroughly without a significant time penalty.

Data Generation and Training

The study utilized a synthetic dataset of approximately 1 million data points. Ground truth option prices were generated using the COS method (a Fourier-based numerical solver), and implied volatilities were extracted via Brent’s root-finding method. To ensure the ANN was exposed to a diverse range of market conditions, the authors employed Latin Hypercube Sampling (LHS) for parameter selection. The data was split into training (80%), validation (10%), and testing (10%) sets to ensure rigorous performance evaluation.

Results and Discussion

The CaNN framework demonstrated exceptional performance across several metrics:

  • High Fidelity: The forward-pass ANN achieved an $R^2$ value of 0.99999, indicating that the surrogate model is virtually indistinguishable from the high-accuracy numerical solver it replaced.
  • Blazing Speed: Calibrating a 5-parameter Heston model on a GPU took approximately 0.5 seconds, representing a speedup of at least 10x over conventional fast methods.
  • Scalability: The framework successfully calibrated the 8-parameter Bates model, which includes complex jump parameters, accurately recovering parameters even in volatile synthetic scenarios.

Furthermore, the authors used the Hessian matrix extracted from the ANN to perform sensitivity analysis. This analysis revealed that the initial variance ($\nu_0$) is significantly more sensitive than the mean reversion speed ($\kappa$), providing a theoretical explanation for why $\kappa$ is historically difficult to calibrate accurately in practice.

Limitations and Future Work

While CaNN offers significant speed advantages, it faces a "cold start" problem: generating the initial 1 million training points offline still requires traditional, slower solvers. Additionally, the current model assumes a fixed grid of strikes and maturities. Future work may explore more flexible architectures, such as Convolutional Neural Networks (CNNs), to handle scattered market quotes. The authors also suggest exploring hybrid optimization methods that combine global search with local gradient-based refinement to further enhance performance.

Conclusion

The CaNN framework represents a significant step forward in making complex financial model calibration feasible for real-time applications. By combining the speed of neural networks with the robustness of global optimization, it overcomes the traditional trade-off between speed and accuracy in quantitative finance.

Summary updated

BibTeX
@misc{liu2019neural,
  author = {Shuaiqiang Liu and Anastasia Borovykh and Lech A. Grzelak and Cornelis W. Oosterlee},
  title = {{A neural network-based framework for financial model calibration}},
  year = {2019},
  eprint = {1904.10523},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1904.10523},
}
Figure