[Paper Review] Financial Applications of Gaussian Processes and Bayesian Optimization
This paper applies Gaussian processes and Bayesian optimization to two financial problems: yield curve modeling and online hyperparameter calibration in trend-following strategies. It demonstrates that Bayesian optimization enables adaptive, data-driven selection of optimal windows for momentum and risk estimation, improving robustness during market stress while reducing turnover through regularization, outperforming static parameter choices in dynamic environments.
In the last five years, the financial industry has been impacted by the emergence of digitalization and machine learning. In this article, we explore two methods that have undergone rapid development in recent years: Gaussian processes and Bayesian optimization. Gaussian processes can be seen as a generalization of Gaussian random vectors and are associated with the development of kernel methods. Bayesian optimization is an approach for performing derivative-free global optimization in a small dimension, and uses Gaussian processes to locate the global maximum of a black-box function. The first part of the article reviews these two tools and shows how they are connected. In particular, we focus on the Gaussian process regression, which is the core of Bayesian machine learning, and the issue of hyperparameter selection. The second part is dedicated to two financial applications. We first consider the modeling of the term structure of interest rates. More precisely, we test the fitting method and compare the GP prediction and the random walk model. The second application is the construction of trend-following strategies, in particular the online estimation of trend and covariance windows.
Motivation & Objective
- To evaluate Gaussian processes as a semi-parametric alternative to parametric yield curve models like Nelson-Siegel.
- To address the challenge of selecting optimal hyperparameters (e.g., window lengths) in trend-following strategies, which are typically set arbitrarily or via backtesting.
- To develop a Bayesian optimization framework that enables online, adaptive calibration of hyperparameters in real-time portfolio construction.
- To investigate the dynamic behavior of hyperparameters in response to market volatility, particularly during periods like the 2008 Global Financial Crisis.
- To provide a normative, principled method for hyperparameter selection that avoids in-sample bias inherent in traditional backtesting.
Proposed method
- Uses Gaussian process regression to model the term structure of interest rates, leveraging kernel functions to capture non-linear dynamics in yield curves.
- Applies Bayesian optimization to minimize a risk-adjusted performance objective by sequentially querying the performance of different hyperparameter combinations.
- Models the objective function (e.g., Sharpe ratio) as a Gaussian process surrogate to guide the search for optimal hyperparameters without requiring gradient information.
- Employs a multi-armed bandit-like approach to balance exploration and exploitation in the hyperparameter search space.
- Introduces regularization via a ridge penalty (λt) to control portfolio turnover and stabilize covariance estimates.
- Uses the ADMM algorithm with the Cholesky trick to efficiently solve the constrained optimization problem in portfolio construction.
Experimental results
Research questions
- RQ1Can Gaussian processes provide a more flexible and accurate fit to the term structure of interest rates compared to parametric models like Nelson-Siegel?
- RQ2Does Bayesian optimization enable better selection of hyperparameters (e.g., window lengths) in trend-following strategies than static or backtested choices?
- RQ3How do optimal hyperparameters for momentum and risk estimation evolve in response to changing market conditions, such as increased volatility?
- RQ4What is the trade-off between performance, turnover, and rebalancing costs when using short-term vs. long-term windows for expected returns and covariance?
- RQ5Can the proposed method avoid in-sample bias in hyperparameter selection while maintaining robust out-of-sample performance?
Key findings
- Gaussian processes provide a strong fit to the yield curve, outperforming traditional parametric models in fitting but not in forecasting, indicating their strength lies in interpolation rather than extrapolation.
- The optimal window length for expected returns (ℓt(μ)) is 17.45 months on average, but drops significantly during market stress, such as in 2008, indicating a shift toward shorter-term momentum.
- The optimal covariance window (ℓt(Σ)) is short, averaging 4.13 months, contradicting industry practice of using one-year windows, suggesting short-term risk estimation is more effective when combined with regularization.
- The regularization parameter λt is highly correlated with the VIX index (48%), increasing during periods of high volatility, which reduces turnover and enhances risk control.
- The correlation between ℓt(μ) and VIX is negative (-49%), indicating that trend-following strategies become more sensitive to short-term momentum during market turmoil.
- Bayesian optimization identifies periods of instability (e.g., 2013–2014) due to local minima, but diversification across multiple optimal portfolios mitigates this risk.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.