A Linearly Convergent Proximal Subgradient Algorithm for Sparse Portfolio Optimization with Transaction Cost

Xiaoting Yao, Na ZhangICML 2026

Abstract / TL;DR In short-term portfolio selection, traders face a dual challenge: minimizing the transaction costs generated by frequent rebalancing and managing the risk associated with highly complex portfolios. This paper introduces a novel $K$-sparse Transaction Cost Optimization (STCO) model that simultaneously minimizes transaction costs and enforces asset sparsity. By reformulating an NP-hard sparsity constraint into a continuous "Difference of Convex" (DC) problem, the authors develop a proximal subgradient algorithm with a guaranteed linear convergence rate. Empirical results on real-market data demonstrate that this approach consistently outperforms state-of-the-art strategies, offering higher returns and lower risk.

1. The Challenge: Trading Costs and Portfolio Complexity

In short-term portfolio optimization (SPO), traders rebalance their holdings frequently—sometimes daily or even hourly. This high-frequency adjustment creates two major operational hurdles:

  1. Transaction Costs: Frequent trading generates fees that can rapidly erode profits if not explicitly modeled in the optimization process.
  2. Portfolio Complexity: Holding a large number of assets increases management overhead and exposure to market noise. Traders generally prefer "sparse" portfolios (holding only a limited number of $K$ assets). However, mathematically enforcing this requirement involves the $\ell_0$-norm, rendering the optimization problem NP-hard.

Historically, financial literature has tackled these issues in isolation. Models that account for transaction costs often ignore sparsity, resulting in overly broad and unstable portfolios. Conversely, sparse models typically rely on $\ell_1$ relaxations—which may not yield sufficient sparsity—or ignore the impact of trading costs altogether. This paper bridges the gap by proposing a unified $K$-sparse Transaction Cost Optimization (STCO) model.

2. Methodology: A Unified Optimization Framework

The proposed STCO model minimizes negative returns alongside a transaction cost penalty, subject to a strict $K$-sparse constraint and a simplex constraint (ensuring the portfolio is self-financed with no short-selling). To solve this complex formulation, the authors employ a sequence of sophisticated mathematical techniques:

  • Exact DC Reformulation: The authors bypass the NP-hard nature of the $K$-sparse constraint by reformulating it as a Difference of Convex (DC) functions. They rigorously prove that for a sufficiently large penalty parameter, this continuous relaxation is "exact," meaning its optimal solutions are identical to those of the original combinatorial problem.
  • Proximal Subgradient Algorithm (PSGA): To handle the resulting non-smooth DC problem, the researchers develop a specialized proximal subgradient approach.
  • ADMM Integration: Because the proximity operator required by the algorithm lacks a simple closed-form solution due to the simplex constraint, the Alternating Direction Method of Multipliers (ADMM) is utilized as an efficient inner loop solver.
  • Theoretical Guarantees: A major theoretical contribution of the paper is the proof of R-linear convergence. By constructing a streamlined auxiliary function and demonstrating that it satisfies the Kurdyka-Łojasiewicz (KL) property with an exponent of $1/2$, the authors guarantee that the algorithm converges rapidly to a local minimizer from any arbitrary starting point.

3. Empirical Performance

The algorithm was rigorously evaluated against classical TCO models and state-of-the-art strategies using four classic real-world financial benchmarks: NYSE(O) (36 stocks, 1962–1984), NYSE(N) (23 stocks, 1985–2010), TSE (88 stocks, 1994–1998), and MSCI (24 country-index assets, 2006–2010).

Key findings from the simulations include:

  • Superior Wealth Accumulation and Fee Resilience: In scenarios with realistic transaction costs (e.g., 0.25% or 0.5%), the proposed STCO variants significantly outperformed benchmarks. While traditional sparse models saw their cumulative wealth drop to near zero under a 0.5% transaction cost, the STCO model remained highly profitable.
  • Effective Sparsity: The model successfully maintained high sparsity without sacrificing performance. For instance, on the NYSE(O) dataset with a maximum limit of $K=10$, the algorithm often converged to a portfolio averaging just ~1.05 assets, demonstrating a strong ability to isolate only the most impactful trades.
  • Lower Risk: By avoiding "over-trading" into marginal assets, the model achieved higher Mean Excess Returns (MER) and better Alpha/Beta factors compared to standard TCO models that do not enforce sparsity.

4. Insights and Future Directions

The results highlight a crucial insight for quantitative finance: sparsity acts as a powerful regularizer. Restricting the number of assets is not merely about operational simplicity; it actively reduces risk and cumulative transaction fees by preventing the model from chasing marginal gains. Furthermore, proving a linear convergence rate for a non-convex algorithm is a significant practical victory, as trading decisions must often be executed with minimal computational delay.

While the model is relatively robust to the choice of the penalty parameter and sparsity level $K$, these hyperparameters still require market-specific tuning. Looking forward, the authors suggest integrating deep learning to discover adaptive, data-driven sparsity patterns. This would allow the model to dynamically adjust its complexity—and its value of $K$—in response to shifting market volatility.

Summary updated

BibTeX
@inproceedings{yao2026linearly,
  author = {Xiaoting Yao and Na Zhang},
  title = {{A Linearly Convergent Proximal Subgradient Algorithm for Sparse Portfolio Optimization with Transaction Cost}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=yZAo4TPqhE},
}
Figure