Joint Affine Spectral Shaping Improves BERT-mini Training Accuracy

Gongyue Zhang, Honghai Liu· August 5, 2026 View original

Key takeaways

  • Coupling weight and bias updates through joint spectral shaping improves model performance.
  • The Joint Regularized Inverse (JRI) method consistently enhances BERT-mini accuracy and reduces loss.
  • JRI optimizes both weight and bias updates simultaneously, unlike traditional separate approaches.
  • This technique offers a small but consistent extension to spectral optimization for deep learning.

Who benefits

AI ResearchSoftware DevelopmentData ScienceCloud Computing

Summary

This research introduces Joint Regularized Inverse (JRI), a method that couples weight and bias updates in affine layers by treating them as a single momentum matrix for spectral optimization. JRI consistently improves BERT-mini test accuracy and reduces loss compared to weight-only spectral shaping, demonstrating the benefit of joint affine spectral allocation.

Traditional matrix spectral optimizers, like Muon, typically focus on reshaping the spectra of weight updates while leaving bias updates to separate optimizers. This paper investigates whether this separation is optimal. The authors propose a new method called Joint Regularized Inverse (JRI), which formulates each affine layer as a combined momentum matrix encompassing both weights and biases. A capped regularized-inverse spectral map is then applied to this complete matrix, generating updates for both weights and biases simultaneously. Through rigorous ablation studies on a BERT-mini model trained from scratch on IMDb, JRI consistently outperformed weight-only inverse shaping. It raised validation-loss-selected test accuracy from 84.903% to 85.738% and lowered test loss from 0.3479 to 0.3291. The improvements were observed across all five seeds in the initial study and confirmed in an independent 22-seed replication. JRI achieves this by preserving the eligible weight-update norm while significantly reducing the bias-update norm and altering the relationship between weight-induced boundary motion and explicit bias.

Why it matters

For AI engineers and researchers, this method offers a subtle yet consistent improvement in model training, potentially leading to more accurate and stable large language models and other deep learning architectures. Optimizing bias updates alongside weights can enhance overall model performance.

How to implement this in your domain

  1. 1Review your current deep learning training pipelines, especially for models using affine layers.
  2. 2Investigate the feasibility of implementing Joint Regularized Inverse (JRI) for coupled weight and bias updates.
  3. 3Experiment with JRI on your specific model architectures (e.g., BERT-like models) and datasets.
  4. 4Benchmark the performance gains in terms of accuracy, loss, and training stability against existing optimizers.
  5. 5Consider integrating JRI into your custom optimizer implementations for improved model training.

Original post by Gongyue Zhang, Honghai Liu

"arXiv:2608.02991v1 Announce Type: new Abstract: Matrix spectral optimizers reshape weight-update spectra but usually delegate vector-valued biases to a separate optimizer. We study whether this separation is neutral. We formulate each affine layer as a joint momentum matrix $A=[M…"

View on X

Originally posted by Gongyue Zhang, Honghai Liu on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses