skip to content
← Scientific Spaces English

Why Do We Favor Isotropy? An Understanding Based on Steepest Descent

From data whitening preprocessing in the machine learning era to the dazzling array of normalization methods in the deep learning era—such as BatchNorm, InstanceNorm, LayerNorm, and RMSNorm—at their core, they all reflect our preference for "isotropy". Why do we favor isotropic features? What practical benefits does it bring? Many answers can be found for this question, such as aligning scales, reducing redundancy, decorrelation, and so on, but most feel rather superficial.

Recently, while reading the paper 《The Affine Divergence: Aligning Activation Updates Beyond Normalisation》, I gained a new understanding of this question from an optimization perspective. Personally, I think it gets relatively close to the essence of the matter, so I am writing it down to share and discuss it with everyone.

Steepest Descent #

We start with the simplest linear layer:

where is the current layer's input, is the weights, and is the output. Denoting the loss function as , we have

Taking gradient descent as an example, the update rule is

The fundamental principle of gradient descent is the widely known statement that "the negative gradient direction is the direction of steepest descent for the loss," but this conclusion relies on premises. The most crucial premise is that the metric chosen is the Euclidean norm; if we switch to a different norm, the direction of steepest descent changes as well. We have already discussed this in articles such as "Muon Sequel: Why Did We Choose to Try Muon?", Steepest Descent on Manifolds, Part 1: SGD + Hypersphere, among others.

Switching Perspectives #

This article mainly focuses on another premise that is not as easily noticed: perspective, or standpoint.

Suppose we agree that "the negative gradient direction is the direction of steepest descent for the loss." The question then is: "whose" gradient? Some readers might say, naturally, it is the gradient with respect to the parameters. This is indeed the standard answer, but not necessarily the best one. Parameters are essentially a byproduct of the model; we do not actually care about what the parameters look like. What we care about is whether the model's inputs and outputs form the desired mapping.

Therefore, the changes in the input and output features are what we care more about. If we proceed from the perspective of features, the conclusion turns out differently. Specifically, when the parameters change from to , the change in the output features is

According to "the negative gradient direction is the direction of steepest descent for the loss," looking from the standpoint of , if we want the variation in to make the loss decrease fastest, it ought to satisfy , but now an extra Gram matrix appears, which means it is not moving along the direction of steepest descent.

Isotropy #

A naive thought is: if only were intuitively equal to (a multiple of) the identity matrix. We know that ; if , then means that these vectors form an orthonormal basis; however, in practice we usually have , so cannot hold strictly in a mathematical sense.

In this case, we can only hope that these vectors are distributed as uniformly as possible over the unit hypersphere, so that holds approximately; this is the rationale behind isotropy. In other words:

If the input features satisfy isotropy, then steepest descent on the parameters can simultaneously be approximately equal to steepest descent on the features, "attacking on both fronts" to fully boost the model's learning efficiency.

We can also prove that if a random variable follows a -dimensional standard normal distribution, then while satisfying isotropy, its norm will also be highly concentrated around , which means it approximately lies on a hypersphere of radius . Conversely, if the input can be normalized into a matrix with zero mean and identity covariance, we consider to also hold approximately, and this operation is whitening.

Normalization Layers #

Beyond whitening the data beforehand, we can also introduce normalization operations inside the model so that intermediate features can also approximately satisfy the desired properties. More specifically, we seek a transformation matrix such that the transformed features come as close as possible to satisfying , namely,

The solution to this problem can be expressed via the pseudoinverse:

Here we assume that is invertible. According to the equation above, we obtain a feasible solution as , and the corresponding transformation is

This is precisely whitening without centering. Considering that computing is relatively expensive, if we instead use a diagonal approximation, that means normalizing each dimension individually; depending on the granularity, this corresponds to operations like BatchNorm, InstanceNorm, and so on. If we care more about the "hypersphere", we can consider normalizing the norm of each sample separately, which corresponds to operations like LayerNorm, RMSNorm, and so on.

Beyond SGD #

Interestingly, the conclusion that "if the input features can satisfy isotropy, then parameter-level steepest descent is simultaneously approximately equal to feature-level steepest descent " applies not only to SGD, but also to Muon. Considering Muon without momentum, the update rule is

According to , we have

From this, it can be seen that if , then

We know that Muon is steepest descent under the spectral norm. The above equation implies that if the input features can satisfy isotropy, then parameter-level spectral-norm steepest descent is simultaneously approximately equal to feature-level spectral-norm steepest descent, which is truly ingenious! However, for other optimizers such as SignSGD, a similar property cannot be reproduced; this difference may be one of the reasons behind Muon's superiority.

Summary #

In this article, we discussed a question: when is steepest descent at the parameter level precisely steepest descent at the feature level? The answer is precisely the "isotropy" stated in the title. From this, we arrive at an explanation for why we favor isotropy—it can synchronize steepest descent across both levels and improve training efficiency.