Quant techniques · portfolio construction

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.

1Π=δ Σ wmkt\Pi = \delta\,\Sigma\,w_{\text{mkt}} Reverse optimisation: the excess returns that make market-cap weights the mean–variance optimum for risk aversion δ (often 2.5).
2Pμ=Q+ε,ε∼N(0,Ω)P\mu = Q + \varepsilon,\quad \varepsilon \sim N(0, \Omega) Views: each row of P is a portfolio, Q its expected return, Ω how unsure you are. “EM beats US by 5%” is P = (−1, 0, 1, 0), Q = 5%.
3μBL=[(τΣ)−1+P⊤Ω−1P]−1[(τΣ)−1Π+P⊤Ω−1Q]\mu_{\text{BL}} = \big[(\tau\Sigma)^{-1} + P^\top\Omega^{-1}P\big]^{-1}\big[(\tau\Sigma)^{-1}\Pi + P^\top\Omega^{-1}Q\big] The posterior: a precision-weighted average of the equilibrium Π (prior uncertainty τΣ) and the views.
4wBL=(δΣ)−1μBL=wmkt+P⊤λw_{\text{BL}} = (\delta\Sigma)^{-1}\mu_{\text{BL}} = w_{\text{mkt}} + P^\top\lambda The new weights differ from the market only along the view portfolios. Assets you have no view on keep their market weight.
The problem

Mean–variance amplifies errors in expected returns

Unconstrained mean–variance weights are w=(δΣ)−1μw = (\delta\Sigma)^{-1}\mu. 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 Σ−1\Sigma^{-1} 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.

Step 1

Let the market tell you its expected returns

If investors hold the market portfolio and it’s mean–variance optimal, then its weights satisfy wmkt=(δΣ)−1Πw_{\text{mkt}} = (\delta\Sigma)^{-1}\Pi 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.

Step 2

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 Ω=τ PΣP⊤\Omega = \tau\,P\Sigma P^\top divided by a confidence factor, so a confidence of 1 means you trust the view as much as the prior.

view: EM beats US byconfidence

Expected excess returns

Optimal weights

market / equilibrium ΠBlack–Littermannaive: plug the view into Π, then optimise

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]
Why it behaves

Only the views move the portfolio

Multiply step 3 through by (δΣ)−1(\delta\Sigma)^{-1} and you can show that wBL=wmkt+P⊤λw_{\text{BL}} = w_{\text{mkt}} + P^\top\lambda 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.
Practice

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
Π=δσ2w=2.5×0.0256×1=6.4%\Pi = \delta\sigma^2 w = 2.5 \times 0.0256 \times 1 = 6.4\%
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 (3×6+1×9)/4=6.75%(3 \times 6 + 1 \times 9)/4 = 6.75\%.

LimitsWhat does the BL posterior become as Ω → ∞, and as Ω → 0?
Show answer

Ω → ∞: views carry no information, μ_BL = Π, weights = market. Ω → 0: the posterior satisfies Pμ=QP\mu = Q 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

wBL−wmkt=P⊤λw_{\text{BL}} - w_{\text{mkt}} = P^\top\lambda, 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 Σ−1\Sigma^{-1} 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.