A CVaR-Constrained Safe Reinforcement Learning Framework with Action Repair for Practical Portfolio Optimization
Abstract
Portfolio optimization refers to allocating capital across multiple assets to attain an optimal balance between potential returns and associated risks under dynamic market conditions. While Deep Reinforcement Learning (DRL) has shown significant promise in learning adaptive allocation strategies through continuous interaction with market, most existing approaches struggle to incorporate practical investment constraints and robust risk measures. To address these limitations, this paper introduces a constraint-aware and risk-sensitive DRL framework for portfolio optimization that operates within a Constrained Markov Decision Process (CMDP) settings. The proposed model embeds Conditional Value-at-Risk (CVaR) as a hard safety constraint using an Augmented Lagrangian approach on the agent to prevent high-loss outcomes. Additionally, a repair mechanism is introduced to adjust the agent’s actions which ensures the resulting portfolio weights remain feasible and compliant with real-world investment constraints. Our approach is evaluated using real-world stock data from multiple global indices and consistently outperforms existing DRL-based and traditional portfolio optimization strategies, achieving superior returns while strictly adhering to defined risk constraints.
Fields of Study & Subjects
Reinforcement Learning in Robotics
Advanced Bandit Algorithms Research
Risk and Portfolio Optimization
Publication details
- Journal / source
- IEEE Transactions on Artificial Intelligence
- Publisher
- Institute of Electrical and Electronics Engineers (IEEE)
- Volume
- 7
- Issue
- 10
- Pages
- 1–12
- Publication date
- 1 January 2026