A risky asset has an estimated mean excess return of per period and a variance of , and an investor with risk aversion holds the mean-variance weight . An error of two percentage points in the estimate moves that weight by about , and a few decades of data cannot rule out an error of that size. Robust optimization asks for the position that does best when the mean is chosen as unfavorably as a stated set of plausible values allows. This lesson derives the penalty such a set adds to the objective, solves the one-asset problem exactly, including short and zero positions, and shows that the resulting regularization depends on the constraints as much as on the set.
Key terms
Estimation error
Definition Let be the true vector of expected one-period excess returns, in decimals, and let be an estimate computed from data. The estimation error is . It is random, because depends on the sample. If the excess returns are independent and identically distributed with mean and covariance , and is their sample mean, then
so coordinate has standard error , where . This sampling variability of the estimate is a different quantity from , the variability of returns around their mean. A plug-in optimizer treats as if it were . With one risky asset of known variance , risk aversion and the mean-variance utility
of the weight under the mean , the true optimum is with utility , and the plug-in weight has the error . If is unbiased with variance , then , and expanding the two utilities gives
On average the optimized utility computed from the estimate exceeds the true optimum by , and the utility the plug-in weight actually delivers falls short of it by the same amount.
In plain words An optimizer cannot tell a real edge from a lucky estimate, so it scales up whatever the data suggest. Errors in the mean become errors in position size, and the optimized utility computed from the same data looks better on average than what the position will deliver.
Example In a constructed model, annual excess returns are independent with standard deviation , and years of data give a sample mean with standard error . Sampling more often does not help here. If each annual return is the sum of twelve independent, identically distributed monthly returns, as log returns are, the monthly returns of the same years give an annualized mean with the same standard error . With and the weight moves by per unit of mean, so the plug-in weight has standard error about . If the true mean is , the true optimum utility is , the expected in-sample optimum is , and the expected utility actually delivered by the plug-in weight is .
Mean uncertainty set
Definition A mean uncertainty set is a nonempty set of mean vectors that the investor treats as plausible, fixed before the portfolio is chosen. The two standard shapes are an ellipsoid and a box,
where is an matrix in units of mean return, is a radius and each half-width is nonnegative. With one asset both shapes reduce to an interval . The matrix describes the shape of the estimation error, not the variability of returns, so it need not be a square root of . One standard choice, for independent, identically distributed normal excess returns with a known positive definite , takes and equal to the quantile at level of the chi-square distribution with degrees of freedom. Then exactly when , and the random set contains the true mean with probability . This lesson takes the set as given and does not calibrate it. A decision optimized against carries a guarantee for every mean in the set and none for means outside it. In this lesson is known. A set of possible covariance matrices must contain only symmetric positive semidefinite matrices, and uncertainty about a whole distribution needs further restrictions, such as fixed moments or a ball in a stated distance between distributions.
In plain words The set is the investor’s statement of how wrong the estimate might be and in which directions. A box lets each mean be off by its own amount independently of the others. An ellipsoid ties the errors together and rules out the corners where every error is extreme at once.
Example Take two assets with . The box with half-widths contains the corner . The ellipse with and fits inside that box and touches the midpoints of its sides. It excludes the corner, which would need with . For covariance, take variances and with an estimated covariance of , and allow the covariance to lie anywhere in . The endpoint means a correlation of , and the matrix
assigns the portfolio the variance . Such an interval of entries is not an admissible covariance uncertainty set.
Robust optimization
Definition Robust optimization chooses a decision to maximize the worst value of its objective over an uncertainty set. For portfolios, let hold wealth fractions in the risky assets, with a cash account of zero excess return taking the rest unless the feasible set imposes a budget. Let be a known symmetric positive semidefinite covariance matrix and , and write for the mean-variance utility under the mean . The worst-case objective is
since the variance term does not depend on , and the robust optimization problem is
The infimum is taken separately for each , so the least favorable mean depends on the position. Each function is concave, and an infimum of concave functions is concave, so is concave. It is finite when is bounded, and maximizing it is a convex optimization problem when is convex. Because for every , the optimal worst-case value is at most the plug-in optimal value at any mean in the set, in particular at , which lies in both standard shapes. A larger set gives a smaller objective, since implies for every .
In plain words The investor commits to a position first, and the least favorable mean in the set is then used to score it. A long position is scored with a low mean and a short position with a high one. The chosen position is the one whose worst score is best.
Example The constructed one-asset example has , , and the interval of half-width , so
At the worst mean is , and . At the plug-in weight the worst mean is again , and . Under the central estimate the ranking reverses, with and . Each position beats the other by about under one criterion, and which one is preferred depends on the criterion chosen.
Worst-case penalty
Definition For a fixed , the worst-case mean return equals , where is the support function of the set. For the ellipsoid it is
By the Cauchy-Schwarz inequality, . If , the choice attains the bound, and the worst mean is
If , every gives and the penalty is . For the box each coordinate is minimized separately. Over the term is smallest at the lower endpoint when and at the upper endpoint when , because multiplying by a negative weight reverses the order, so
The robust counterparts of the mean-variance problem are therefore deterministic problems,
for the ellipsoid, and the same problem with in place of for the box. Both penalties are convex and positively homogeneous of degree one in , so subtracting them keeps the objective concave.
In plain words The penalty is the largest amount by which an admissible error can lower the mean return of the position. For an ellipsoid it is the length of the position measured in the geometry of the errors. For a box every holding is charged its own half-width times its size, whatever its sign.
Example Take and the long-short position , whose estimated mean return is . With box half-widths the worst mean is , low for the long holding and high for the short one. The worst-case mean return is , and the penalty is . With the ellipse and , the vector has length . The worst mean is about and the worst-case mean return about . The penalty is smaller because the ellipse lies inside the box.
One-asset worst-case weight
Definition Suppose there is one risky asset with estimated mean excess return , known variance and risk aversion , the mean uncertainty set is with , cash has zero excess return, and the weight is unrestricted, so short positions and borrowing are allowed. Then the worst-case objective
is strictly concave, and its unique maximizer and maximum are
The kink at needs one-sided derivatives. For the derivative vanishes at , which is positive exactly when . For the derivative vanishes at , which is negative exactly when . A concave function on is maximized at exactly when its right derivative there, , is at most and its left derivative, , is at least , that is, when . If must lie in an interval , concavity makes the constrained maximizer the point of closest to . The hypothesis matters. With and the objective is piecewise linear and grows without bound in the direction of the estimate, so it has no maximizer.
In plain words Subtract the uncertainty radius from the size of the estimated edge. If nothing is left, hold no risky asset. If something is left, size the position as if the edge were only that remainder, in the direction of the estimate. This rule is called soft thresholding.
Example In the constructed example , so against the plug-in weight , and . On the negative side the slope is positive for every , so the objective rises all the way to and no short position competes. If the radius grows to , larger than the estimated edge, the one-sided slopes at are and , so . A mandate requiring would then force the weight . For a negative estimate, take , , and . Then , the plug-in weight is , and the worst-case weight is , a smaller short whose least favorable mean is the upper endpoint .
Regularization effect
Definition Regularization adds to an objective a penalty on the size of the decision. The worst-case penalties are regularizers produced by the uncertainty set, from an ellipsoid and the weighted absolute-value penalty from a box. Their effect depends on the feasible set. Let be the penalty, a maximizer of the estimated utility over and a maximizer of over the same set. Adding the optimality inequalities and gives , so the penalty is never larger at the penalized optimum than at the plug-in optimum. That guarantee is for the penalty as a whole, not for each holding. Because the penalties are not differentiable at zero, they can also set positions exactly to zero. The box penalty has a kink wherever a single coordinate is zero, so it can remove individual holdings. With an invertible the ellipsoidal penalty has its only kink at , so it can remove the whole risky portfolio at once. Under the long-only full-investment constraint , , the box penalty equals , which is linear, so it acts exactly as replacing each by . With a common half-width it is the constant and leaves the optimal weights unchanged. Under the budget with short positions allowed, writing ,
so the penalty charges gross short exposure. The link to statistical regularization is mathematical. A penalty chosen for statistical reasons describes a particular uncertainty about means only when its weights match a set the investor is prepared to defend.
In plain words Planning for the worst admissible mean and penalizing large positions turn out to be the same calculation. The penalty does not always shrink, though. When the constraints already fix the total size of the positions, an equal box penalty is a constant and changes nothing.
Example In the one-asset example with , the worst-case weight is the plug-in weight minus , here . Shrinkage protects against the errors in the set, but it is not a promise of better average performance. In the constructed estimation model of the first card, with true mean and normal with standard deviation , numerical integration gives an expected delivered utility of for the plug-in rule and about for the worst-case rule with . Here the true edge is large compared with the standard error, and the shrinkage costs a little on average. The worst-case criterion and average performance are different questions.
Check yourself
- One risky asset has , and , with cash at zero excess return and an unrestricted weight. Find the plug-in weight and the worst-case weight for the mean interval of half-width , and compare their worst-case objective values. What is the worst-case weight when ?
Show the answer
Here , so the plug-in weight is . The estimated edge exceeds the radius , so the worst-case weight is
The worst-case objective is . It gives , which matches , and . When , the right derivative at is and the left derivative is , so the condition holds with equality and . Every gives , so the equality case still selects zero exposure.
- Two assets have and box half-widths , and the portfolio is . Find the worst-case mean vector, the worst-case mean return and the penalty. Why is it wrong to lower both estimated means by their half-widths?
Show the answer
The estimated mean return is . The long holding is hurt by a low mean and the short holding by a high one, so the worst case is , with mean return . The penalty is
and indeed . Lowering both means gives and the mean return , which is not the worst case. A lower mean for the shorted asset helps the position, so that choice understates the penalty as instead of . The penalty uses , not .
- Two uncorrelated assets have and , with , and the portfolio must be long-only and fully invested. Show that box half-widths of for both assets leave the optimal weights unchanged, and find the optimum for half-widths .
Show the answer
Write with . The estimated objective is
with , so the optimum is , inside , with value about . With equal half-widths the penalty is for every feasible , so the optimal weights stay and only the value falls, to about . With half-widths the penalty is linear, the same as using the means . The derivative becomes , so , with value about . The penalty shifts the means instead of shrinking the positions, because the constraints fix their total size.