Regularized reduced rank linear regression
8/30/2026
After deriving the solution to reduced-rank least squares, I was left dissatisfied with it. As I mention at the end of my previous note, reduced-rank regression does not reduce the risk of fitting noise. In the worst case, it extracts nothing but noise. The rank constraint resembles regularization, but it does not act as a regularizer in practice.
There can still be value in a reduced-rank fit. Suppose we have features, correlated targets, and data points. We would like to pool information across the targets through joint regression and summarize their relationship with the features using few parameters. This led me to ask whether reduced-rank regression can be combined with ridge regression to produce a parameter-efficient fit that is less sensitive to noise.
A nearly closed form for reduced-rank ridge
Once again, suppose we have data , targets , positive integer rank , and a regularization parameter . We want to find a matrix that solves the problem
Knowing the solution to the unregularized problem, a natural first attempt at (1) is to reuse the same recipe. Let solve the unconstrained ridge problem, take the thin SVD , and return , where contains the first columns of . This is not a solution to (1), but it is close.
To find the real solution, first define
where is the identity matrix and is the matrix of zeros. We can now rewrite (1) as
Problem (2) carries no ridge term. It is exactly the reduced-rank least squares problem from before, with and in place of and , and its unconstrained solution is . Take the thin SVD . The two-step solution gives as a solution to (2), and therefore to (1).
The naive and the correct solutions differ only in which matrix we decompose, in the first case and in the second.
What does reduced-rank ridge achieve?
In this problem, does double duty. First, the ordinary ridge fit shrinks and keeps it well behaved when is ill-conditioned. Second, changes which rank- subspace we keep. The matrix stacks beneath , so the coefficients enter the decomposition directly rather than only through .
To see how, note that the right singular vectors of are the eigenvectors of
The naive recipe keeps the leading eigenvectors of the first term alone. The correction rewards directions in which the coefficients themselves are large, whether or not excites them.
There is a tidier way to write the same matrix. The ridge normal equations say that
Unlike in least squares, the residual is not orthogonal to the column space of . Its overlap is exactly . Substituting and writing for the fitted values gives
Reduced-rank ridge therefore keeps the directions in target space that account for the most cross-covariance between the fitted values and the targets. The naive recipe instead keeps the directions that account for the most variance in the fitted values. The two criteria agree when , since by the orthogonality argument from the previous note. Regularization pulls them apart.
How much does this move the answer? If , then . This has the same eigenvectors as , so the naive and correct recipes agree exactly. With orthogonal features of equal norm, only shrinks. Away from that case, the correction has spectral norm at most . A Davis–Kahan bound says the retained subspace can rotate appreciably only when this is comparable to the gap between the th and th eigenvalues of .
This estimator is not new. Mukherjee and Zhu (2011) derive it from the same augmented data. In extending the estimator to kernels, they write the projection in terms of the eigenvectors of , which is the matrix above. They also find empirically that the ridge penalty and rank constraint help each other most when the predictors are collinear. That is where the eigenvector calculation says the two effects of interact.
Nuclear norm regularization
Ridge is not the only way to regularize this problem, and a hard rank constraint is not the only way to ask for a low-rank fit. The rank of is the number of its nonzero singular values, so the constraint in (1) is a sparsity constraint on the spectrum. The usual convex substitute for a sparsity constraint is an penalty. Applied to the singular values, this becomes the nuclear norm and gives the problem
and putting the ridge term back gives a matrix analogue of the elastic net,
Since , both penalties act on the spectrum and the analogy to the vector case is exact. The Frobenius term is ridge on the singular values and shrinks the spectrum smoothly. The nuclear term is lasso on the singular values and sets the small ones to zero. The nuclear norm is a soft rank constraint in the same sense that the lasso is a soft sparsity constraint. It also means that we need not choose in advance because determines the rank. Nuclear-norm-penalized multivariate regression goes back to Yuan, Ekici, Lu, and Monteiro (2007), who proposed it for factor estimation and selection.
Both problems are convex, so we no longer need a special argument for a non-convex constraint. What we give up is the nearly closed form. These problems are still straightforward to solve. The proximal operator of the nuclear norm soft thresholds the singular values. For a matrix with thin SVD ,
Proximal gradient descent solves either problem by alternating a least squares gradient step with one of these thresholded SVDs. The ridge term needs no separate handling because stacking the data as before turns the elastic net problem into a pure nuclear norm problem in and .
An SVD per iteration sounds expensive next to the single SVD used by reduced-rank ridge. In practice, the later SVDs can be much cheaper than the first. Consecutive iterates are close, so the singular vectors from one iteration provide good starting points for the next. We also do not need the full decomposition. Only singular values above survive the threshold, and the rank of the iterates tends to settle early. It is enough to compute a few more singular triplets than the current rank and check that the smallest computed value falls below the threshold. The same warm starts help when computing a path of solutions over , which must usually be tuned. Mazumder, Hastie, and Tibshirani (2010) describe this machinery for matrix completion.
The two approaches also respond differently to a change in the loss. Suppose we weight the residuals entry by entry, replacing with for a matrix of weights . The elastic net changes little. A weighted quadratic is still convex, and proximal gradient descent runs with a different gradient step. The rank-constrained problem falls apart. In the special case , completing the square entry by entry gives
where the squares and division are entrywise, , , and does not depend on . The ridge term has been absorbed into strictly positive weights. What remains under the rank constraint is weighted low-rank approximation, which Gillis and Glineur (2011) show is NP-hard even for rank one with strictly positive weights. Stacking cannot rescue us because its argument relies on the plain Frobenius norm. The closed form is much more brittle than the convex relaxation.
Nuclear norm plus a rank constraint
With both a soft rank penalty and a hard rank constraint on hand, it is natural to ask what happens if we impose them together,
I do not know of an efficient algorithm that solves problem (3) globally, and there is no closed form. We are back to a non-convex problem, and this time nothing rescues it.
We can still write down a reasonable heuristic. The rank constraint and nuclear norm are both unitarily invariant. Their joint proximal operator uses a single SVD: truncate at rank , then soft threshold what remains. For a matrix with thin SVD , that operator is
Proximal gradient descent with this step costs no more per iteration than the elastic net. Warm-started from the reduced-rank ridge solution, it behaves sensibly. What we lose is the guarantee. The iterates settle at a stationary point, with no assurance that it is global.
The two-step argument for ridge does not apply here. The orthogonality decomposition still works because it involves only the least squares term. It leaves us minimizing under the rank constraint. The relaxation is what fails. We replaced with a free matrix , which requires every term to be a function of . The nuclear norm of is not. Ridge works because a squared Frobenius penalty is a sum of squares. Stacking folds it into the data before we relax anything. The nuclear norm has no such form.
The problem becomes tractable again if we penalize instead. Every term is then a function of , so both steps go through. The solution has the form , where a diagonal applies soft thresholding rather than leaving the retained singular values intact.
I do not know of a reason to prefer problem (3) to either of its neighbors. The rank constraint has already fixed the rank, so the nuclear norm cannot do the job it is best at. It can only shrink the singular values we kept. Ridge does that without costing us the closed form. If we know , reduced-rank ridge solves the problem exactly. If we do not, the matrix elastic net is convex and chooses the rank. Problem (3) gives up the closed form of the first and the convexity of the second without an apparent benefit.