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

Robust Federated Finetuning of LLMs via Alternating Optimization of LoRA

Shuangyi Chen, Yuanxin Guo, Yue Ju, Hardik Dalal, Ashish Khisti · OpenReview

Abstract

Parameter-Efficient Fine-Tuning (PEFT) methods like Low-Rank Adaptation (LoRA) optimize federated training by reducing computational and communication costs. We propose RoLoRA, a federated framework using alternating optimization to fine-tune LoRA adapters. Our approach emphasizes the importance of learning up and down projection matrices to enhance expressiveness and robustness. We use both theoretical analysis and extensive experiments to demonstrate the advantages of RoLoRA over prior approaches that either generate imperfect model updates or limit expressiveness of the model. We present theoretical analysis on a simplified linear model to demonstrate the importance of learning both down-projection and up-projection matrices in LoRA. We provide extensive experimental evaluations on a toy neural network on MNIST as well as large language models including RoBERTa-Large, Llama-2-7B on diverse tasks to demonstrate the advantages of RoLoRA over other methods.

Introduction

Fine-tuning Large Language Models (LLMs) on decentralized data via Federated Learning (FL) is a major challenge due to the massive communication and compute requirements. Parameter-Efficient Fine-Tuning (PEFT) methods like LoRA (Low-Rank Adaptation) are the standard solution, where only two small matrices, $A$ (down-projection) and $B$ (up-projection), are trained.

RoLoRA addresses the "interference" problem inherent in standard Federated Averaging (FedAvg) applied to LoRA. Because the effective weight update is the product $AB$, the average of the products across clients is not equal to the product of the averages: $$\frac{1}{N} \sum A_i B_i \neq \left(\frac{1}{N} \sum A_i\right) \left(\frac{1}{N} \sum B_i\right)$$ This leads to mathematical inaccuracies during aggregation, which degrades model performance. Previous attempts to fix this either froze the $A$ matrix entirely (limiting expressiveness) or used computationally expensive operations like SVD on the server. RoLoRA solves this by using an alternating optimization strategy that eliminates interference, halves per-round communication costs, and significantly outperforms existing baselines.

The RoLoRA Framework

RoLoRA (Robust LoRA) utilizes alternating optimization to ensure mathematical exactness during server aggregation. Instead of training $A$ and $B$ simultaneously, the process is split across communication rounds:

  1. Odd Rounds: All clients freeze their $A$ matrices (synchronized with the server) and only train their $B$ matrices. The server then aggregates the $B$ updates.
  2. Even Rounds: All clients freeze the newly aggregated $B$ matrices and only train their $A$ matrices. The server then aggregates the $A$ updates.
RoLoRA alternating optimization and QQP performance.

By keeping one matrix fixed and synchronized across all clients during a round, the weight update becomes linear with respect to the trainable matrix. This ensures that the server's average is mathematically exact, eliminating the interference problem. Furthermore, because only one matrix is sent per round, the communication payload is halved compared to standard federated LoRA.

Experimental Evaluation

The researchers evaluated RoLoRA across a wide range of models and tasks, including language understanding (RoBERTa-Large on GLUE), commonsense reasoning (Llama-2-7B on BoolQ, PIQA, SIQA, etc.), and coding (HumanEval).

Key Results

RoLoRA demonstrates superior accuracy and robustness across various settings. On the QQP dataset with 50 clients, RoLoRA achieved 85.71% accuracy, while standard LoRA collapsed to 77.60% and FFA-LoRA reached 78.44%. In commonsense reasoning tasks with Llama-2, RoLoRA showed massive gains; for instance, on the SIQA dataset, RoLoRA reached 39.76% accuracy, compared to just 10.63% for FFA-LoRA.

Analysis and Insights

The Importance of Learning "A"

Prior work (like FFA-LoRA) suggested freezing the down-projection matrix $A$ to avoid interference. RoLoRA’s theoretical analysis and empirical results prove that freezing $A$ creates a performance "floor" determined by the random initialization. RoLoRA breaks this floor by allowing $A$ to learn, reaching the global optimum.

Convergence comparison showing the performance floor of frozen-A methods.

Robustness to Scale

As the number of clients increases (from 3 to 50), the performance of standard FedAvg-LoRA drops significantly due to cumulative aggregation errors. RoLoRA remains stable and robust regardless of client count. Additionally, by alternating updates, RoLoRA achieves better accuracy than standard LoRA while transmitting 50% fewer parameters per round. The framework is also compatible with Differential Privacy (DP) mechanisms, maintaining a performance lead even under privacy constraints.

Conclusion and Future Work

RoLoRA provides a mathematically sound and communication-efficient framework for federated LLM fine-tuning. While it shows strong performance, some limitations remain. The current theoretical analysis assumes full client participation, which is rare in real-world cross-device FL. Future work could explore the impact of intermittent client availability and investigate asymmetric update strategies for matrices $A$ and $B$ to further optimize the learning process.

Summary updated

BibTeX
@inproceedings{chen2025robust,
  author = {Shuangyi Chen and Yuanxin Guo and Yue Ju and Hardik Dalal and Ashish Khisti},
  title = {{Robust Federated Finetuning of LLMs via Alternating Optimization of LoRA}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=e8DrPuJekZ},
}
Figure