In an ideal mathematical world, a portfolio manager can buy or short-sell any asset in arbitrary quantities. Classic frameworks like Markowitz mean-variance optimization rely on this unconstrained freedom to map out the "Efficient Frontier"—the boundary of maximum return for a given level of risk.
However, when these unconstrained models are deployed in real-world financial markets, they frequently output extreme, operationally unfeasible allocations, such as massive short positions or unsustainably high turnover (Zimmermann et al.). To bridge the gap between mathematical ideals and institutional realities, practitioners routinely enforce a long-only constraint, mathematically expressed as a non-negativity restriction on asset weights ($w_i \ge 0$). While this constraint prevents catastrophic leverage failures and aligns with strict regulatory mandates (Wang et al.), it fundamentally alters the mathematical landscape of portfolio selection and introduces severe operational blindspots.
The Geometry of Long-Only Portfolios: Disorder Chaos
Enforcing $w_i \ge 0$ does not merely truncate the solution space; it changes its fundamental nature. In an unconstrained setting, finding the optimal portfolio is a smooth, convex optimization problem. But when short-selling is prohibited, the boundary constraints create a highly complex optimization topography.
Benzaquen et al. explored this phenomenon by mapping long-only portfolio construction to spin-glass models in statistical physics. They discovered that long-only constraints induce disorder chaos—a state where the optimization landscape contains a vast number of nearly identical, degenerate solutions. As a result, the portfolio becomes hyper-sensitive to noise: a microscopic change in the estimated covariance or expected return of a single asset can cause the optimal weights to violently shift. This mathematical fragility explains why empirical portfolios often suffer from high out-of-sample instability. Furthermore, as Zhang demonstrates, restricting short-selling and borrowing structurally shrinks the theoretical Efficient Frontier, forcing investors to accept lower risk-adjusted returns than unconstrained theory promises.
The Operational Blindspot: Hedging and Market Contractions
Beyond mathematical instability, long-only constraints strip portfolio managers of their most potent risk-mitigation tool: the ability to profit from or hedge against declining asset values.
When a market enters a systemic downturn, a long-only portfolio can only mitigate risk by moving to cash or shifting into less volatile assets. Wang et al. observe that algorithmic trading strategies lose their risk-mitigation effectiveness in environments with regulatory short-selling restrictions, leaving capital exposed during bear markets. This limitation is echoed by Ganeshapillai et al. and Nguyen et al., who note that excluding short positions prevents models from isolating and hedging against asset-specific downside risks.
This restriction also distorts asset pricing models. Zhu points out that when shorting mechanisms are absent or restricted, investors cannot fully express negative sentiment. Consequently, traditional factor models lose their adaptability during periods of market contraction because they cannot capture the downward price pressures driven by hedging demands.
The Softmax Trap in Machine Learning
As portfolio management has transitioned to machine learning and deep reinforcement learning (DRL), the long-only constraint has often been inadvertently hardcoded into neural network architectures.
Zhang et al. highlight a common architectural pitfall: standard DRL frameworks for portfolio selection typically utilize a softmax activation function as their final output layer. Because softmax outputs are strictly non-negative and sum to one, the network is structurally trapped in a long-only strategy. This architectural choice prevents the agent from learning how to short underperforming assets or utilize leverage to hedge risk.
A similar constraint emerges in graph-theoretic and ensemble models. Arroyo et al. note that graph-based allocation methods relying on positive correlation weights are inherently restricted to long-only structures, making them ill-suited for complex hedge fund strategies. Whether through explicit mathematical constraints (Guo et al.; Kobayashi et al.) or algorithmic design choices (Klabjan et al.; Ye et al.), restricting models to non-negative holdings severely caps their capacity to navigate volatile or bearish regimes.
Designing Realistic Long-Short Alternatives
To overcome these limitations without reverting to the unfeasible allocations of unconstrained models, recent research focuses on designing realistic long-short frameworks that replace the blunt $w_i \ge 0$ constraint with operational boundaries.
One approach is to redesign the neural network's decision layer. For example, Zhang et al. bypass the softmax bottleneck by introducing a customized decision layer that allows the model to output negative weights, enabling the network to actively short assets predicted to underperform.
However, allowing negative weights requires new guardrails to prevent infinite leverage. Instead of relying on abstract mathematical regularizers, Zhao et al. and Zhao 0002 et al. advocate for incorporating linear budget and leverage constraints directly into the optimization step. This formulation ensures that the proceeds generated from short-selling are explicitly used to finance long positions. By embedding these operational realities directly into the algorithm, the resulting models achieve superior Sharpe ratios and practical stability, offering a robust middle ground between the fragility of long-only constraints and the chaos of unconstrained optimization.
Key Foundational Work
Universal Portfolio Selection (1998) — contributed 3 concept elements to this direction.
Active Portfolio-Management based on Error Correction Neural Networks (2001) — contributed 1 concept elements to this direction.