Bayesian Low-Rank Factorization for Robust Model Adaptation

Enes Yavuz Ugan, Ngoc-Quan Pham, Alexander WaibelarXiv 2025

TL;DR

Fine-tuning speech foundation models on specialized tasks (like code-switching) often destroys their general capabilities. This paper introduces Bayesian Low-Rank Adaptation (BLoRA), which applies a zero-mean Gaussian prior to enforce sparsity in adapter weights. This approach drastically reduces catastrophic forgetting while maintaining strong performance on the newly adapted domain.

What Problem Does This Paper Address?

Large speech foundation models, such as OpenAI's Whisper, excel at general automatic speech recognition (ASR) but struggle with localized or niche speech patterns like code-switching (where a speaker mixes multiple languages in a single utterance).

To fix this, researchers typically use Parameter-Efficient Fine-Tuning (PEFT) methods like Low-Rank Adaptation (LoRA). While LoRA keeps training efficient, a major issue arises when deploying these models: to maintain inference speed, the LoRA weights are usually merged back into the base model. This merging process often causes severe performance degradation on the model's original, general capabilities—a classic case of catastrophic forgetting. The authors look for a way to adapt foundation models to complex domains without destroying their broad, pre-trained generalization.

Methods

The authors propose Bayesian Low-Rank Adaptation (BLoRA). Instead of treating LoRA's low-rank matrices ($A$ and $B$) as fixed, deterministic parameters, BLoRA treats every element as a latent variable governed by a fully factorized Gaussian posterior distribution.

During fine-tuning, the model is optimized using the Evidence Lower Bound (ELBO) objective. This introduces a Kullback-Leibler (KL) divergence penalty that measures how far the learned weights drift from a chosen prior—in this case, a zero-mean, small-variance Gaussian prior. This penalty acts as a regularizer, forcing the network to favor "sparse" weight updates. Only the updates strongly supported by the new data are allowed to deviate from zero.

To prevent any added latency during deployment, the authors simply use the learned posterior mean ($\mu$) at inference time, completely bypassing the need to sample from the distribution during runtime.

Datasets

The approach was evaluated across three distinct multilingual code-switching datasets:

  • ArzEn: A conversational dataset featuring Egyptian Arabic and English code-switching.
  • SEAME: A Mandarin-English conversational speech corpus recorded in South East Asia.
  • Fisher: A Spanish-English dataset consisting of telephone conversations.

To evaluate catastrophic forgetting (referred to as Backward evaluation), the adapted models were tested against a suite of monolingual benchmarks spanning English, German, Arabic, Turkish, Mandarin, and Spanish.

Key Insights and Ideas

  • The Sparsity-Generalization Link: Standard LoRA spreads small weight changes diffusely across its matrices. BLoRA, by contrast, concentrates its learning energy into a tiny fraction of the weights. This extreme sparsity leaves the base model's latent space largely intact, protecting its original capabilities.
  • Clean Merging for Deployment: Because BLoRA updates are highly localized and sparse, they can be cleanly merged into the base model weights without triggering the destructive interference typically seen with standard LoRA.
  • An Elegant Stability-Plasticity Dial: BLoRA offers a clean mathematical framework to balance the stability-plasticity tradeoff. Highly plastic methods adapt quickly but forget immediately; BLoRA introduces a tunable parameter ($\beta$) to balance data fidelity against prior closeness.

Key Results

BLoRA demonstrated a remarkable ability to halt catastrophic forgetting while remaining competitive on the target domain:

  • Virtually Zero Forgetting on SEAME: On the SEAME dataset, standard LoRA caused the backward (general) error rate to skyrocket from 11.06% to 62.8%. BLoRA completely mitigated this degradation, holding the backward error to just 11.19% while still delivering a substantial in-domain error reduction (from 29.4% down to 21.19%).
  • Quantifiable Weight Collapse: Sparsity analysis confirmed that 99.7% of BLoRA's weight updates had absolute values below $10^{-3}$, compared to just 4.1% for standard LoRA. Furthermore, the top 1% of BLoRA's weights captured 37.5% of the total squared-norm energy, proving that the network successfully concentrated its adaptation signal.
Single-step domain adaptation results across different code-switching datasets

Limitations and Future Work

While BLoRA drastically improves retention, it does introduce a slight trade-off in peak in-domain performance. For instance, on the challenging ArzEn dataset, standard LoRA achieved an in-domain error rate of 34.65%, whereas BLoRA achieved 38.22%.

Additionally, this work focused strictly on a single isotropic Gaussian prior applied to the query and key projection layers. The authors note that future work could explore alternative prior distributions or expand the Bayesian framework to regularize other layers within speech foundation architectures.

Summary updated

BibTeX
@misc{ugan2025bayesian,
  author = {Enes Yavuz Ugan and Ngoc-Quan Pham and Alexander Waibel},
  title = {{Bayesian Low-Rank Factorization for Robust Model Adaptation}},
  year = {2025},
  eprint = {2510.18723},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.18723},
}
Figure