Basic Prerequisites: Mean–Variance from Zero.
1. Intuition & Practical Objective
This page builds the why of robust portfolio optimization with no optimization background beyond the one-line spec of Markowitz. The objective is one idea: you do not know the expected returns - you only have a noisy estimate of them - and a mean-variance optimizer does not “cope” with that noise, it multiplies it into extreme bets. Robust optimization is the discipline of optimizing over your uncertainty, not over a single guess.
Start with the dumbest question: what do I feed the optimizer? Markowitz says: expected returns and covariances . But nobody hands you . You compute a sample mean from history. The trouble is arithmetic: Markowitz’s optimal weights are
so the sensitivity of the answer to the input is . Multiply the input error by the inverse covariance, whose eigenvalues are , and any error lying in a small-eigenvalue direction gets blown up by a huge factor. That is the whole disease in one line.
Three “aha”s:
-
The optimizer is a noise amplifier, not a noise filter. It hands your estimation errors back to you levered. A 1% error in one asset’s mean does not move that asset’s weight by 1% - it can move it by 100% or flip it from long to massively short.
-
A one-asset mean change barely moves the portfolio’s return - but it scrambles its composition. Best & Grauer (1991) show that driving half the assets out of an equally-weighted 100-asset efficient portfolio needs, on average, a change in a single mean - yet the portfolio’s expected return and standard deviation move by only about . The portfolio looks fine and is built on sand.
-
Robustness means judging portfolios by their worst case, not their fit. Rather than trusting , admit lies in a set (“anywhere within my confidence interval”), and choose the portfolio whose worst case over is best. That single change of objective is what turns an error-prone procedure into a guaranteed one.
2. Mathematical Ground Truth & Derivations
The MVO problem. With risk-aversion and budget , maximize . The unconstrained first-order condition gives the classical closed form
Sensitivity (the formal statement). Perturb one asset’s mean by . Then
so the weight elasticity of asset with respect to asset ‘s mean is (Best & Grauer 1991, eq. 10)
where is the “varying part” of the optimal portfolio (eq. 13). Because is not small and can have either sign in each component, small mean changes produce large, sign-flipping weight changes.
The empirical magnitudes (Best & Grauer 1991, Tables 4–6). For equally-weighted MV-efficient portfolios built from CRSP data:
- Average weight elasticities range from to for a 10-asset portfolio and to for a 100-asset portfolio.
- The average absolute weight elasticity is over the return elasticities for 10 assets and over for 100 assets.
- A single mean increase of (from to per annum) drives half the assets out of a 100-asset portfolio, with only change in portfolio return/SD.
The robust turn (preview of §03). Replace the point estimate by a set and solve the max-min
For a box the inner worst case is , i.e. the optimizer is forced to pay for loading on any large position. That single penalty term is robust optimization in a nutshell.
3. Computational Implementation - naive MVO on real (simulated) data
The shared universe (, monthly returns, fixed seed) and the naive optimizer, showing how small mean perturbations move the weights far more than their size suggests. numpy.
Read the last line carefully: a 1% per annum bump to one asset’s expected return moves that asset’s weight by of its own magnitude - from short toward short - even though the bump is only of the mean being estimated (elasticity ). The naive optimizer holds gross leverage on the basis of sample means that, as the first line shows, are themselves off by double the truth on several assets. The portfolio is a leveraged bet on the noise in a -point sample, and it takes only a whisper of new information to rebuild it from scratch.
4. Failure Modes & First-Principles Breakdowns
- “The optimizer will average out my errors.” It will not - it inverts and amplifies them. The swing above is the proof in miniature; Best & Grauer’s elasticity is the same fact at scale.
- “A high in-sample Sharpe means a good portfolio.” No - it can mean a lucky sample. The in-sample fit rewards exactly the assets whose sample means were inflated by chance. §02 quantifies the collapse when the sample is refreshed.
- “Constraints will save me.” They help (this is the point of §04) but they are blunt: an inept bound on weights throws away information as readily as it suppresses noise. And when short sales are allowed, Best & Grauer (1990) show that almost any deviation from returns that make the target portfolio efficient leaves no positively-weighted efficient portfolio at all - extreme weights are then the norm, not the exception.
5. References
- Best & Grauer (1991), On the Sensitivity of Mean–Variance-Efficient Portfolios to Changes in Asset Means, RFS 4(2):315–342
- Markowitz (1952), Portfolio Selection, Journal of Finance 7(1):77–91
- Chopra & Ziemba (1993), The Effect of Errors in Means, Variances, and Covariances on Optimal Portfolio Choice, JPM 19(2):6–11
6. Connected Graph Bridges
- Base: Mean–Variance from Zero · 05 · Estimation-Error Maximizers
- Sibling (the same disease, Bayesian cure): Black–Litterman from Zero
- Continue: 02 · The Estimation-Error Problem · Index Hub