Robustifying Markowitz

Wolfgang Karl Härdle, Yegor Klochkov, Alla Petukhina, Nikita ZhivotovskiyarXiv 2022 · DOI

Introduction

Modern portfolio theory, pioneered by Harry Markowitz, remains a foundational pillar of quantitative finance. However, its practical application is often hindered by the "fragility" of the mean-variance framework. Traditional "plug-in" estimators—which rely on sample means and covariances—are notoriously sensitive to outliers and estimation errors. This sensitivity often leads to "error maximization," where small inaccuracies in input parameters result in extreme, unstable portfolio weights and poor out-of-sample performance.

The Problem: Fragility and the Curse of Dimensionality

The classic Markowitz framework faces two primary hurdles in real-world markets. First, financial returns are rarely Gaussian; they frequently exhibit heavy tails and extreme events. Standard estimators fail to account for these, leading to wild fluctuations in portfolio composition.

Second, modern portfolios often involve a large number of assets ($N$) relative to the available sample size ($T$). In these high-dimensional settings, the covariance matrix becomes difficult to invert or even singular. This "curse of dimensionality" makes the standard Markowitz solution computationally unstable and financially impractical due to high transaction costs driven by excessive turnover.

Methods: Robust Projected Gradient Descent

The authors propose a shift in strategy: instead of attempting to estimate and invert the entire $N \times N$ covariance matrix $\Sigma$, they focus on the Projected Gradient Descent (PGD) algorithm.

1. Gradient over Matrix

To optimize a portfolio, one does not actually require the full matrix $\Sigma$; one only needs to know the "action" of the matrix on the current weight vector—specifically, the gradient $\Sigma w$. By focusing on the gradient, the algorithm avoids the numerical instability associated with matrix inversion.

2. Median-of-Means (MoM) Estimation

To calculate this gradient robustly, the authors employ a median-of-means estimator. This process involves splitting the data into multiple "buckets," calculating the mean within each bucket, and then determining a "spectral center" (a robust multivariate version of a median). This allows the algorithm to achieve nearly Gaussian performance bounds even when the underlying data is heavy-tailed.

3. Theoretical Innovation

The method provides convergence guarantees under a "bounded kurtosis" assumption. This only requires the existence of the fourth moment, which is a significantly more realistic assumption for financial data than the standard Gaussian requirement. Furthermore, the approach leverages the "effective rank" of the covariance matrix, allowing it to remain effective even when $N > T$, provided the market is driven by a manageable number of underlying factors.

Empirical Evaluation

The authors evaluated the "GMV_robust" (Global Minimum Variance) strategy against several benchmarks, including Equally Weighted (EW), standard GMV, and Ledoit-Wolf shrinkage estimators. Testing was conducted on two primary datasets:

  • S&P100: 81 constituents (2000–2020), representing a case where $T > N$.
  • Russell 3000: 600 random constituents (2010–2020), representing a high-dimensional $N > T$ case.

Key Results

  • Significant Turnover Reduction: The robustified portfolios achieved dramatically lower turnover. In the S&P100 test, GMV_robust showed a turnover of approximately 25%, compared to 71% for standard GMV and 60% for shrinkage methods.
  • Superior Net Returns: While gross returns were similar across methods, the robust approach yielded superior net returns after accounting for transaction costs (50bps) due to its stability.
  • Risk-Adjusted Performance: The robust approach consistently delivered higher Calmar Ratios (return relative to maximum drawdown), suggesting better protection against worst-case scenarios.
  • Weight Stability: Visualizations of the portfolio weights indicate that GMV_robust produces "harmonized" distributions, lacking the erratic, extreme spikes seen in traditional models.

Limitations and Future Work

While the algorithm is computationally efficient, there remains a gap between theory and practice regarding the number of data "buckets" required for formal proofs versus the heuristics used in implementation. Additionally, the estimator relies on a norm-truncation parameter ($D$) that currently lacks a fully data-driven selection method. Future research may extend these robust gradient techniques beyond the GMV objective to more complex utility functions or alternative risk measures like Expected Shortfall.

Summary updated

BibTeX
@misc{hardle2022robustifying,
  author = {Wolfgang Karl Härdle and Yegor Klochkov and Alla Petukhina and Nikita Zhivotovskiy},
  title = {{Robustifying Markowitz}},
  year = {2022},
  eprint = {2212.13996},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2212.13996},
}
Figure