Black–Litterman: start from the market, then add your views
Mean–variance optimisation is elegant and nearly unusable as it stands. Nudge one expected return by a percent and the optimiser swings tens of percent of the portfolio from one asset to another, often into huge long–short positions. Black and Litterman (1992) fixed this by changing the starting point: instead of guessing expected returns from scratch, infer the ones that would make the market portfolio optimal, and then tilt them by your views.
Mean–variance amplifies errors in expected returns
Unconstrained mean–variance weights are . The inverse covariance matrix has huge entries in the directions of highly correlated assets: US, international and emerging equities move together, so their differences have small variance, and scales those differences up. A small edge in one equity market over another becomes a big long–short bet.
Michaud called mean–variance optimisers “error maximisers”: they load up on whichever assets have the most overestimated returns. Black–Litterman tackles the problem at its source, the expected returns.
Let the market tell you its expected returns
If investors hold the market portfolio and it’s mean–variance optimal, then its weights satisfy for some expected returns Π. Invert that, and you get step 1. These implied equilibrium returns are consistent with the covariance matrix by construction: optimising with Π gives back exactly the market portfolio, a sensible, diversified starting point.
In the example below (US 40%, international 25%, emerging markets 5%, bonds 30%), Π comes out at about 4.2%, 4.3%, 5.1% and 0.0% excess return. Bonds get almost nothing because in this covariance matrix they hedge equity risk.
Blend in views like a Bayesian
Treat Π as a prior for the true expected returns μ, with uncertainty τΣ (τ small, e.g. 0.05, because the mean is much less uncertain than a single year’s returns). Treat each view as a noisy observation of a portfolio of μ. Bayes’ rule with normal distributions gives step 3: a weighted average where each source counts in proportion to its precision. A common choice, from He and Litterman, is divided by a confidence factor, so a confidence of 1 means you trust the view as much as the prior.
Expected excess returns
Optimal weights
With “EM beats US by 5%” at confidence 1, the posterior moves the EM–US gap from 0.9% to about 3%, partway towards the view. The BL weights shift money from US into EM and leave international and bonds exactly where the market had them. The naive approach, which just rewrites EM’s expected return as US + 5% and optimises, goes 93% into EM and −54% into international stocks, an asset the view never mentioned, because the optimiser sees a cheap way to hedge EM’s equity risk. Slide the confidence up and BL approaches the view; slide it down and it stays at the market.
import numpy as np
def black_litterman(Sigma, w_mkt, P, Q, delta=2.5, tau=0.05, confidence=1.0):
"""Posterior expected returns and weights. P: k x n view portfolios, Q: k view returns."""
Pi = delta * Sigma @ w_mkt # implied equilibrium returns
Omega = np.diag(np.diag(tau * P @ Sigma @ P.T)) / confidence # view uncertainty
A = np.linalg.inv(tau * Sigma) + P.T @ np.linalg.inv(Omega) @ P
b = np.linalg.solve(tau * Sigma, Pi) + P.T @ np.linalg.solve(Omega, Q)
mu = np.linalg.solve(A, b)
w = np.linalg.solve(delta * Sigma, mu)
return mu, w
vol = np.array([0.16, 0.17, 0.23, 0.05])
corr = np.array([[1, .8, .7, -.1], [.8, 1, .8, -.1], [.7, .8, 1, -.1], [-.1, -.1, -.1, 1]])
Sigma = np.outer(vol, vol) * corr
mu, w = black_litterman(Sigma, np.array([.4, .25, .05, .3]), np.array([[-1., 0, 1, 0]]), np.array([0.05]))
print((mu * 100).round(2), w.round(3)) # [4.19 5.03 7.16 0.01] [0.098 0.25 0.352 0.3]Only the views move the portfolio
Multiply step 3 through by and you can show that for a vector λ (one number per view). The portfolio changes only by adding multiples of the view portfolios themselves. With a view on EM vs US, money moves between EM and US and nowhere else. That’s exactly what an investor expects, and exactly what the naive optimiser fails to do.
Even though international stocks’ expected return goes up in the posterior (they’re correlated with EM, so the view drags them along), their weight doesn’t change: the higher return is exactly what’s needed to keep holding the market weight given the new beliefs about EM.
Where people slip in interviews
- Using historical means as the prior. The point is to start from Π, which is consistent with Σ and with a sensible portfolio.
- Thinking a view on one asset only changes that asset’s return. Correlated assets’ returns move too; their weights don’t.
- Confusing τ and Ω. τ scales the uncertainty of the prior mean; Ω is the uncertainty of each view. Only their ratio matters for the posterior mean.
- Forgetting that a 100% confident view overrides the prior. As Ω → 0 the posterior satisfies the view exactly.
Try these before you open the answer
Warm-upOne risky asset with 16% vol, held at 100%, risk aversion δ = 2.5. What excess return does reverse optimisation imply?Show answer
One assetPrior mean 6% with variance 0.0004; an absolute view says 9% with variance 0.0004. What's the posterior mean?Show answer
Equal precisions, so the posterior is the simple average: 7.5%. With the view’s variance at 0.0012 instead (three times less precise), it’s .
LimitsWhat does the BL posterior become as Ω → ∞, and as Ω → 0?Show answer
Ω → ∞: views carry no information, μ_BL = Π, weights = market. Ω → 0: the posterior satisfies exactly, and is otherwise as close to Π as possible (in the τΣ metric).
WeightsYou have a view only on EM vs US. Why does the bonds weight stay at its market value?Show answer
, and the view portfolio P = (−1, 0, 1, 0) has a zero in the bonds and international positions. The weights move only along P.
StretchWhy does the naive optimiser short international stocks when you raise EM's expected return?Show answer
EM and international are 80% correlated. Long EM and short international is a low-variance way to hold EM’s extra expected return while hedging out most of the shared equity risk, so puts a big weight on that combination. Black–Litterman avoids this because the view also raises international’s expected return just enough to keep its weight unchanged.
The worked numbers come from the code above. The figure recomputes the posterior and the weights in your browser as you move the sliders.