Optimal Stopping with Gaussian Processes

Kshama Dwarakanath, Danial Dervovic, Peyman Tavallali, Svitlana Vyetrenko, Tucker Balch

Abstract

This paper introduces a novel family of algorithms for solving the "optimal stopping" problem in financial markets using Gaussian Processes (GPs). By modeling price paths as probabilistic distributions rather than point estimates, the proposed GPOS and Adaptive GPOS (A-GPOS) frameworks provide a robust mechanism for determining the ideal timing for asset liquidation. Experimental results across synthetic data, US equities, and Treasury yields demonstrate that these methods outperform state-of-the-art deep learning benchmarks in both accuracy and computational efficiency, particularly in non-stationary market environments.

Introduction

In the field of quantitative finance, the optimal stopping problem involves choosing the best time to take an action—such as selling a stock or exercising an option—to maximize a specific reward based on observed price sequences. This challenge is compounded by the inherent characteristics of financial data, including mean reversion and stochastic volatility.

Traditional approaches typically fall into two categories: analytical models, which often rely on overly restrictive assumptions, and Reinforcement Learning (RL) models, such as Deep Optimal Stopping (DOS). While RL models are flexible, they often function as "black boxes," require extensive training data, and are computationally intensive. This research proposes a middle ground: a method that handles uncertainty gracefully, exploits known structural properties of financial time series, and remains computationally efficient.

Methodology

Gaussian Processes and Uncertainty

The core of the proposed approach is the use of Gaussian Processes (GPs). Unlike standard regression models that predict a single future price, GPs provide a probability distribution over all possible future price paths. This allows the model to quantify uncertainty, which is then propagated directly into the decision-making "value function."

Adaptive Deep Gaussian Processes (A-DGPOS)

To address the limitations of standard GPs—which require manual selection of a "kernel" function—the authors utilize Deep Gaussian Processes (DGPs). DGPs learn the optimal kernel directly from the data, allowing the model to adapt to complex, non-linear trends. This is particularly vital for macro-economic data, such as Treasury rates, where the underlying price dynamics can shift abruptly.

Computational Framework

To solve the stopping rule, the authors employ backward induction, working backward from a fixed future deadline. To maintain mathematical tractability, the value function is approximated as piecewise constant by dividing the price range into discrete "bins." Furthermore, the researchers utilize Dynamic Time Warping (DTW) to cluster similar price patterns. This clustering allows the model to recognize distinct "market regimes" (e.g., varying volatility levels) and apply optimized strategies for each, facilitating a "universal model" approach that can be deployed across diverse portfolios.

Experimental Setup and Datasets

The models were rigorously evaluated against the Deep Optimal Stopping (DOS) benchmark using four distinct datasets:

  1. Synthetic OU Processes: Mean-reverting data used for mathematical validation.
  2. Intra-day US Equities: Minute-by-minute data for 26 DJIA stocks (2019).
  3. End-of-day US Equities: Daily closing prices for 23 DJIA stocks (2000–2020).
  4. US Treasury Yields: Daily 1-year Treasury rates (1990–2020), representing a non-stationary, macro-economic challenge.

Key Results

Performance was measured by "suboptimality," defined as the gap (in basis points, bps) between the model's exit price and the theoretical maximum price possible within the observation window.

  • Performance Gains: GPOS and A-GPOS consistently outperformed the DOS benchmark. In intra-day equity tests, the GP-based models achieved exit prices significantly closer to the theoretical optimum.
  • Robustness in Non-Stationary Data: On the Treasury Yields dataset, the Adaptive Deep GP (A-DGPOS) proved superior. Its ability to learn kernels automatically allowed it to navigate complex shifts, such as the 2020 COVID-19 market shock, more effectively than fixed-kernel or neural network models.
  • Efficiency: The GP-based algorithms exhibited faster training times and lower computational requirements than the deep learning alternatives, making them more suitable for real-time financial applications.

Discussion and Limitations

While the GPOS framework represents a significant advancement, several areas for future development remain:

  • Transaction Costs: The current study does not account for taxes or exchange fees, which can impact the net reward in high-frequency trading scenarios.
  • Discretization: The use of price "bins" introduces approximation errors. The authors are currently developing a continuous version of the stopping value function to improve precision.
  • Horizon Constraints: The current model focuses on finite horizons. Extending the framework to indefinite or infinite horizons would broaden its utility for long-term investment strategies.

Conclusion

By integrating Gaussian Processes with dynamic programming and automated kernel discovery, this research provides a powerful new tool for optimal stopping in finance. The ability to model uncertainty explicitly allows for more informed trading decisions, outperforming traditional deep learning methods in both speed and accuracy across a variety of asset classes.

Summary updated

BibTeX
@inproceedings{dwarakanath2022optimal,
  author = {Kshama Dwarakanath and Danial Dervovic and Peyman Tavallali and Svitlana Vyetrenko and Tucker Balch},
  title = {{Optimal Stopping with Gaussian Processes}},
  booktitle = {ICAIF},
  year = {2022},
  doi = {10.1145/3533271.3561670},
}
Figure