Does End-to-End Portfolio Optimization Always Need Constrained Decision-Focused Learning?
Christian Abou Hamad, Dorian Delacour, Theodore Gourgues-Nassans, Carl Handouka, Lucien Pena, Christian Bongiorno
Abstract
End-to-end portfolio learning trains a covariance model directly on the realized risk of the portfolio it produces. When an investor cannot sell short, it feels natural to train with the same long-only optimizer used in practice. We test whether this alignment actually helps or whether forbidding short sales instead blocks the learning signal. Because a long-only minimum-variance portfolio holds only a small fraction of the stocks in a large market, small changes to the predicted risk or correlations of excluded stocks do not move the weights; as a result, most entries of the covariance matrix receive zero direct gradient during training. We test this effect over 26 years of US equities (2000-2025, 1,000 stocks per rebalance), comparing identical covariance networks trained under three rules: unconstrained (allowing short sales), long-only, and an intermediate limit allowing short exposure of up to 5% of capital. When tested on long-only portfolios, all three networks achieve nearly the same risk, with unconstrained and long-only training differing by less than 1% in variance. When tested on long-short portfolios, however, the long-only-trained network performs poorly, increasing realized variance by about 30% and trailing in 24 of 26 years. Allowing a total short exposure of up to 5% of capital during just ten additional training epochs removes approximately half of this excess variance, with little change in long-only risk. Comparing the learned matrices on simple long-short stock spreads shows that long-only training distorts how the model prices market risk (high- versus low-beta stocks), an error that stays hidden while constraints clamp the weights and surfaces as soon as short sales are allowed. Training a single covariance network using the simple unconstrained formula therefore works across mandates without the extra cost or blind spots of constrained-optimization layers.
Create a lesson
Metadata
- Categories
- q-fin.PM, cs.LG, q-fin.ST
Related papers
Decision-Induced Ranking Explains Prediction Inflation and Excessive Turnover in SPO-Based Portfolio Optimization
Shared title terminologyq-fin.PMYi Wang, Takashi Hasuike
Constrained portfolio optimization in a life-cycle model: A deep pricing kernel approach
Shared title terminologyq-fin.PMWenyuan Li, Pengyu Wei
Rank-size analysis of optimal portfolio weights with a reverse-engineering application
Shared title terminologyq-fin.PMRoy Cerqueti, Francesco Cesarone, Alessio Di Paolo et al.
Dynamic Spatio-Temporal Graph Attention Networks with Nested Clustered Optimization for Multi-Asset Portfolios
Shared title terminologyq-fin.PMSupriadi
Conformal Risk Certificates for Portfolio Optimization Under Uncertainty: A Gated Reinforcement-Learning Approach
Shared title terminologyq-fin.PMMohammad Zarei, Amirhossein MohammadpourAzari, Moslem Habibi
Optimal portfolio and consumption under no-shorting constraints: The exploratory formulation and reinforcement learning
Shared title terminologyq-fin.PMXun Li, Xiang Yu, Fengyi Yuan et al.