Reduced rank linear regression
5/25/2026; edited 8/30/2026
Recently, I have been interested in reduced-rank linear regression, an idea that goes back to Anderson (1951) and Izenman (1975). My first stop was section 3.7, “Multiple Outcome Shrinkage and Selection,” of The Elements of Statistical Learning. I found the treatment there a bit unclear, and others have felt the same way, so I decided to derive the solution by hand as a fun exercise.
Derivation
Suppose we have , , and positive integer rank (typically ). We want to find a matrix that solves the problem
This problem looks benign, but the rank constraint is non-convex, so it is not immediately clear how to solve it. Some simple manipulations yield a two-step closed-form solution, up to numerical precision.
First, let be the ordinary least squares solution to the unconstrained problem . The normal equations of the unconstrained problem give us that
If we define the residual matrix , then . It follows that for all , we have
where the cross term drops out because . Since has no dependence on , the problem (1) is equivalent to
Now, consider the following relaxation of problem (2).
where is a new variable. This is a relaxation because any feasible for problem (2) gives a feasible for problem (3) with the same objective value, so the optimal value of (3) is at most the optimal value of (2). We will show that the two optimal values are in fact equal, and that a solution to problem (3) hands us a solution to problem (2).
The solution to (3) is the best rank- (or less) approximation to in the Frobenius norm. If we define to be the thin SVD of , then by the Eckart-Young-Mirsky theorem, this approximation is given by , where and are the first columns of and , and is the leading block of . Thus, we have that
Since is a solution to the relaxation (3), it follows that is a solution to the original problem (2).
The core intuition is that the least squares residual is orthogonal to the column space of . Choosing the best rank- coefficient matrix amounts to choosing the best subspace within that column space. The two residuals are therefore orthogonal, and the problem splits into two steps: find the least squares solution, then find the best rank- approximation to the fitted values .
Afterthoughts
Suppose and have orthogonal low-rank signal but are corrupted by noise, so they appear full rank. The least squares fit will then be full rank, with matching or nearly matching . Reduced-rank regression might seem like a good choice here. But when , the reduced-rank approximation simply picks out the leading left singular vectors of from the column space of , which the noise has artificially enlarged. The resulting fit will appear much better than it is. Reduced-rank regression does not act as a regularizer here, and the singular values of can be quite large when the model fits noise.
When and are noisy, it might also be tempting to compute the rank- approximation of directly. This is even worse. When fits noise in , its corresponding singular values will be large, so the rank- approximation will select precisely those components.
In contrast, taking a low-rank approximation of before doing least squares is much more like regularization. Ideally, the approximation removes the noise in , forcing to fit its signal instead. Reduced-rank regression on is then more reasonable because it no longer risks selecting noise from .
The more direct fix is to ask for regularization outright. I take that up in a follow-up note, where a ridge penalty joins the rank constraint. The two-step method survives, as long as we stack on top of before taking the SVD.
The derivation also reminded me of the orthogonal Procrustes problem. It asks for the orthogonal matrix that best maps a matrix to a matrix in the Frobenius norm. The solution is , where is the thin SVD of , as described here. Both problems are least squares with a non-convex constraint, yet both have closed-form solutions based on the SVD.
It is worth appreciating how unusual that is. The obvious vector analogue of problem (1) is least squares subject to , which is best subset selection, and that problem is NP-hard. The two constraints look alike from a distance, and projecting onto either set is a one-liner. Truncate the SVD in one case, and keep the largest entries in the other.
The difference appears in the relaxation. Our relaxed solution was
The truncation acts on the right, in target space, while acts on the left. The two never interfere, so the relaxation is tight. Sparsity has no such structure. The best -sparse approximation to the fitted values is generally not for any -sparse . Thresholding and the design act on the same indices, and the design mixes them. More generally, invertible maps on either side of a matrix preserve its rank. A support set, by contrast, survives only permutations and diagonal scalings. This is why best subset selection is easy when is diagonal, where the problem separates coordinate by coordinate, and hard as soon as it is not.
Extra structure doesn't necessarily rescue the sparse problem either. Adding a nonnegativity constraint leaves it NP-hard.