TL;DR
Fine-tuning foundation models in federated learning using LoRA typically suffers from mathematical interference during model aggregation or a severe drop in expressiveness if parameters are permanently frozen. This paper introduces RoLoRA, a framework that uses an alternating minimization strategy—updating either matrix $A$ or matrix $B$ in alternating communication rounds—to completely eliminate aggregation interference, cut communication costs by 50%, and dramatically improve robustness against data heterogeneity.
What Problem Does This Paper Address?
Deploying massive foundation models (FMs) via Federated Learning (FL) allows collaborative training on decentralized, private datasets. To make the communication overhead manageable, researchers rely on Parameter-Efficient Fine-Tuning (PEFT) methods like LoRA (Low-Rank Adaptation), which decomposes weight updates into two low-rank matrices, $A$ and $B$ (where $\Delta W = BA$).
However, standard federated aggregation (FedAvg) directly averages the individual matrices $A$ and $B$ from different clients. Because the actual model update relies on their product ($BA$), averaging them independently introduces destructive mathematical interference:
$$\text{Avg}(B) \times \text{Avg}(A) \neq \text{Avg}(BA)$$
Prior attempts to fix this, such as FFA-LoRA, permanently freeze matrix $A$ and only update matrix $B$. While this cuts communication costs in half, it severely cripples the model's expressiveness and robustness when the fine-tuning parameter budget is tight or when client data is highly heterogeneous (non-IID).
Methods
The authors propose RoLoRA (Robust LoRA), which implements an alternating minimization approach inspired by personalized FL frameworks like FedRep. Instead of updating both matrices simultaneously or freezing one forever, RoLoRA alternates updates across communication rounds:
- Odd Communication Rounds: All clients freeze matrix $A$ and update matrix $B$. The central server aggregates only the $B$ matrices.
- Even Communication Rounds: All clients freeze matrix $B$ and update matrix $A$. The central server aggregates only the $A$ matrices.
Because the frozen matrix is perfectly synchronized and identical across all clients at the start of any given round, the product update distributes perfectly over the average. This completely eliminates aggregation interference. Furthermore, because clients only transmit one of the two matrices per round, the uplink communication cost is halved compared to standard LoRA.
Datasets
The framework was evaluated using the pre-trained RoBERTa-Large (355M parameters) and DeBERTa-XLarge (900M parameters) models across five text classification datasets from the GLUE benchmark:
- SST-2 (Sentiment Analysis)
- QNLI & MNLI (Natural Language Inference)
- QQP (Paraphrase Detection)
- RTE (Recognizing Textual Entailment)
Key Insights and Ideas
- Interference Elimination via Constants: By alternating updates, the matrix held constant acts as a shared linear operator during that round. This ensures that averaging the trained matrices across clients translates perfectly to averaging the actual weight updates.
- The Expressiveness Trap: Permanently freezing matrix $A$ works fine if you have a large parameter budget, but fails catastrophically as the budget shrinks. RoLoRA preserves the full expressive capacity of the low-rank space over time by allowing both matrices to adapt.
- Data Heterogeneity Shield: In highly non-IID scenarios, standard LoRA client updates diverge wildly, degrading performance. RoLoRA's alternating structure implicitly learns a robust, low-rank representation space that stabilizes training against diverse client distributions.
Key Results
Robustness to Low Parameter Budgets
As the number of trainable LoRA parameters is reduced (by restricting the layers equipped with adapters), RoLoRA maintains high accuracy close to standard LoRA, whereas the frozen-A baseline (FFA-LoRA) degrades sharply.
Superiority Under Severe Data Heterogeneity
When evaluating 50 clients with non-overlapping data splits (severe heterogeneity), standard LoRA's performance plummets due to aggregation interference. RoLoRA demonstrates remarkable resilience:
- On MNLI, standard LoRA drops to 58.96% accuracy, while RoLoRA sustains 85.15%.
- On QNLI, standard LoRA drops to 82.57%, while RoLoRA achieves 89.83%.
Equal-Cost Performance
When communication costs are normalized across all methods (by doubling the number of adapter-equipped layers for RoLoRA and FFA-LoRA to match standard LoRA's bandwidth), RoLoRA consistently outperforms both baselines across all tasks. For instance, on DeBERTa-XLarge (RTE task), RoLoRA achieves 81.34% accuracy compared to LoRA's 72.55%.
Limitations and Future Work
- Cross-Silo Focus: The experimental setup primarily targets cross-silo federated learning settings with a relatively small number of clients (up to 50) and full client participation per round. Its robustness in massive, cross-device settings with high client dropout remains unexamined.
- Model Architecture Scope: The evaluation is limited to encoder-based language models (RoBERTa and DeBERTa). While the underlying math should transfer, explicit validation on modern, multi-billion parameter decoder-only architectures (e.g., LLaMA, Mistral) was not detailed in this paper.
Summary updated