Research Article

Adaptive Portfolio Optimization under Market Regime Shifts: A Deep Reinforcement Learning Approach

Qianhui Ma*
Sun Yat-sen University

* Corresponding author: [email protected]

Abstract

This study examines whether a reinforcement-learning allocation rule can remain usable when the return-generating process changes across market regimes. The portfolio problem is written as a Markov Decision Process in which the agent observes short- and medium-horizon price trends, volatility-spread information, current holdings, recent portfolio returns, and drawdown. A PPO policy is then trained to choose continuous portfolio weights. To keep the strategy implementable, the raw network output is mapped into a long-only, fully invested portfolio with an explicit upper-bound-style diversification constraint, and the reward deducts both a rolling-variance risk penalty and transaction costs. The empirical test uses ten representative China A-share stocks. The PPO agent is trained on 2015-2022 data, selected using 2023 validation performance, and evaluated only on the 2024-2025 out-of-sample period. Over 484 test trading days, PPO obtains a 10.24% annualized return and a Sharpe ratio of 0.6164. It does not dominate the equal-weight benchmark, which records 12.62% and 0.7399, but it substantially exceeds the rolling mean-variance maximum-Sharpe strategy, which records only 1.98% and 0.1976. These results suggest that PPO is a feasible adaptive allocation framework, while also showing that deep reinforcement learning should be judged against simple robust baselines rather than only against estimation-sensitive optimization benchmarks.

Keywords: portfolio optimization; reinforcement learning; PPO; market regime shifts
Published: June 23, 2026
DOI: 10.54254/2755-2721/2026.34592
Volume: ACE Vol.245
pp. 159-168
Download PDF

References

  1. H. Markowitz, "Modern portfolio theory", Journal of Finance, vol. 7, no. 11, pp. 77–91, 1952.
  2. R. Cont, "Empirical properties of asset returns: Stylized facts and statistical issues",  Quantitative finance, vol. 1, no. 2, p. 223, 2001.
  3. V. DeMiguel, L. Garlappi, and R. Uppal, "Optimal versus naive diversification: How inefficient is the 1/n portfolio strategy?" The review of Financial studies, vol. 22, no. 5, pp. 1915–1953, 2009.
  4. V. Mnih et al., "Human-level control through deep reinforcement learning", nature, vol. 518, no. 7540, pp. 529–533, 2015.
  5. J. Jang and N. Seong, "Deep reinforcement learning for stock portfolio optimization by connecting with modern portfolio theory", Expert Systems with Applications, vol. 218, p. 119556, 2023.
  6. S. Sood, K. Papasotiriou, M. Vaiciulis, and T. Balch, "Deep reinforcement learning for optimal portfolio allocation: A comparative study with mean-variance optimization", arXiv preprint arXiv: 2602.17098, 2026.
  7. A. Chaweewanchon and R. Chaysiri, "Markowitz mean-variance portfolio optimization with predictive stock selection using machine learning", International journal of financial studies, vol. 10, no. 3, p. 64, 2022.
  8. R. Kaniel, Z. Lin, M. Pelger, and S. Van Nieuwerburgh, "Machine-learning the skill of mutual fund managers", Journal of Financial Economics, vol. 150, no. 1, pp. 94–138, 2023.