NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Stable Anisotropic Regularization

William Rudman, Carsten Eickhoff

Contrary to the prevailing wisdom that Large Language Models (LLMs) should be "isotropic"—having uniform variance across all embedding dimensions—recent research demonstrates that decreasing isotropy actually improves performance. By effectively leaning into a model's natural "lopsidedness," researchers have uncovered new ways to boost accuracy. To achieve this, the authors introduce I-STAR, a novel, differentiable regularization method that allows researchers to precisely tune the geometric "pointiness" of embedding spaces during training.

The Problem with Enforced Isotropy

In Natural Language Processing (NLP), "isotropy" refers to how evenly a model utilizes its embedding space. For years, researchers observed that LLMs like BERT and GPT-2 suffer from "anisotropy": their embeddings are often crammed into a narrow cone, dominated by a few high-variance outlier dimensions.

The common consensus was that this anisotropy was a bug to be fixed, with previous studies arguing that it obscures linguistic information and hinders downstream performance. However, these claims often relied on flawed metrics (like average cosine similarity) or methods that were unstable during the mini-batch updates used in modern deep learning. This paper asks a critical question: Is anisotropy actually bad, or have we just been measuring and manipulating it incorrectly?

Methods: Introducing IsoScore⋆ and I-STAR

To properly evaluate and steer embedding geometry, the authors propose a two-part solution:

  1. IsoScore⋆: This is an evolution of the existing "IsoScore" metric. While the original IsoScore was accurate, it was not differentiable (meaning it couldn't be used for backpropagation) and was highly unstable on small batches of data. IsoScore⋆ introduces shrinkage covariance estimation (specifically Regularized Discriminant Analysis). This acts as a mathematical stabilizer, allowing the model to get a reliable estimate of the embedding space's geometry even from a small mini-batch.
  2. I-STAR (IsoScore⋆-based STable Anisotropic Regularization): This is a new regularization term added to the standard loss function. It includes a tuning parameter, $\lambda$.
  3. A positive $\lambda$ forces the model to be more isotropic (more balanced).
  4. A negative $\lambda$ encourages the model to be more anisotropic (more "lopsided").
I-STAR Architecture

By making the entire process differentiable, the authors can reliably "steer" the geometry of the model's activations during fine-tuning.

Key Insights: The Anisotropy Advantage

The researchers evaluated their method by fine-tuning BERT, ALBERT, and DistilBERT across nine common NLP benchmarks, including GLUE tasks (SST-2, QNLI, RTE, MRPC, QQP, COLA, STS-B), SST-5, and SQuAD.

The most surprising finding is that decreasing isotropy (increasing anisotropy) improved performance on almost every task. This contradicts years of NLP "common sense." The authors argue that forcing isotropy is actually counter-productive for classification. To be a good classifier, a model needs to cluster similar concepts together. High isotropy spreads data out uniformly, which can inhibit the formation of these necessary clusters.

Furthermore, using the "TwoNN" estimator, the authors found that decreasing isotropy correlates with lower intrinsic dimensionality. Essentially, lopsided models are better at compressing information into a lower-dimensional manifold, which is a hallmark of efficient representation learning. Previous methods like "CosReg" (regularizing cosine similarity) failed to capture this because they mostly just shifted the mean of the embeddings rather than changing the actual isotropy of the space.

Key Results

Performance on GLUE and other benchmarks
  • Consistent Gains: Models tuned with I-STAR (using negative $\lambda$) consistently outperformed "Base" models (no regularization) and "CosReg" models. For example, on the RTE task, ALBERT I-STAR achieved 72.56% accuracy compared to the base 71.34%.
  • The Necessity of Shrinkage: The "stability" part of I-STAR is crucial. The authors found that without the shrinkage covariance estimation, model performance could drop by as much as 6% because the gradient updates become too noisy.
  • Layer-wise Impact: Encouraging isotropy primarily affects the early layers of a network. Even when forced to be isotropic, the later layers of LLMs naturally drift back toward anisotropy, suggesting that outlier dimensions are vital for the model's final decision-making process.

Limitations and Future Work

While I-STAR proves highly effective for fine-tuning, several avenues remain for future exploration:

  • Pre-training vs. Fine-tuning: This study focused on fine-tuning existing models. It remains to be seen if enforcing specific anisotropic structures during the much longer pre-training phase would yield even greater benefits or potentially break the model's generalizability.
  • Quantization Trade-offs: While anisotropy helps performance, it is often a nightmare for model quantization (compressing models to run on edge devices). Future work could explore how to balance the performance benefits of anisotropy with the hardware-friendly nature of isotropic representations.
  • Task Specificity: While the trend was broad, the strength of the correlation between anisotropy and performance varied by task, suggesting that some "shapes" of embedding space are better suited for specific types of reasoning (e.g., Question Answering vs. Linguistic Acceptability).

Summary updated

BibTeX
@inproceedings{rudman2024stable,
  author = {William Rudman and Carsten Eickhoff},
  title = {{Stable Anisotropic Regularization}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=dbQH9AOVd5},
}
Figure