What Should Federated LoRA Share? FedSAIL via Input-aware Subspace Alignment
Organizations: School of Computing & Data Science The University of Hong Kong
Abstract
Federated low-rank adaptation (LoRA) requires identifying an update structure that is shared across heterogeneous clients. Prior work reports strong similarity among trained LoRA projection matrices across clients; however, such agreement may be largely induced by common initialization and collapses toward random overlap under independent initialization. More crucially, relying solely on parameter similarity inherently ignores the influence of local input regime. To uncover a more robust shared structure, we introduce an input-aware action matrix that weights the adapter update by the second-moment statistics of local layer inputs. Empirically, while parameter similarity vanishes, the leading right singular directions of this action matrix remain strongly aligned across clients. This shared geometry preserves task-conditioned differences and naturally varies across network depths. Motivated by these findings, we propose Federated Subspace-Guided Action-Informed Learning (FedSAIL). Instead of averaging weights, FedSAIL estimates a shared action subspace to regularize local training while preserving client-specific coefficients. Across several benchmarks, our approach consistently improves predictive performance over competing federated LoRA methods while reducing communication cost significantly.
Figures & tables
| Method | Shared object | Aggregation | Local training |
|---|---|---|---|
| FedIT ( Zhang et al., 2024 ) | [0.5pt] | ||
| FLoRA ( Wang et al., 2024 ) | Adapter update | ||
| FFA-LoRA ( Sun et al., 2024 ) | ; common frozen | Only | |
| FedSA-LoRA ( Guo et al., 2025 ) | |||
| FedDPA-LoRA ( Yang et al., 2024b ) | Global | [0.5pt] | Global [0.5pt] Local |
| FedSAIL (ours) | Dominant right subspace [0.5pt]of in ( 3 ) | in ( 6 ) [0.5pt] |
| Method | RTE | SST-2 | QNLI | MNLI-m | MNLI-mm | QQP | Avg. | |
|---|---|---|---|---|---|---|---|---|
| LoRA | ||||||||
| FFA-LoRA | ||||||||
| FedDPA-LoRA | ||||||||
| FedSA-LoRA | ||||||||
| FedSAIL | ||||||||
| LoRA |
| Params. (M) | Comm. (GiB) | |||||
|---|---|---|---|---|---|---|
| Shared message | Input-aware | Overall | |||
|---|---|---|---|---|---|
| No | |||||
| No | |||||
| Yes |
| FedSAIL variant | Accuracy (%) | Comm. (MiB) | Saving (%) |
|---|---|---|---|
| Full | – | ||
| Selection, | |||
| Selection, |
Appendix figures & tables16 assets
Supplementary material from the paper’s appendix.
Appendix
| Setting | RoBERTa-base / RTE | GPT-2 124M |
|---|---|---|
| Clients | 3 per partition setting | domains tasks replicas |
| Train / calibration / evaluation | – / – / – | |
| Local LoRA rank / scale | ||
| LoRA dropout | ||
| Steps / effective batch size | ||
| Maximum sequence length |
| Partition | Initialization | : top 1 | : top 2 | : full | ||
|---|---|---|---|---|---|---|
| IID | Common | |||||
| Common | ||||||
| Common | ||||||
| IID | Independent | |||||
| Independent | ||||||
| Independent |
| Initialization | ||||
|---|---|---|---|---|
| Common | ||||
| Independent |
| Initialization | Tokens | |||
|---|---|---|---|---|
| Common | Instruction | |||
| Common | Content | |||
| Common | Decision | |||
| Independent | Instruction | |||
| Independent | Content | |||
| Independent | Decision |
| Initialization | Tokens | Projection | ||||
|---|---|---|---|---|---|---|
| Common | Instruction | Q | ||||
| V | ||||||
| Content | Q | |||||
| V | ||||||
| Decision | Q | |||||
| V |
| Setting | Configuration |
|---|---|
| Backbone and adapters | RoBERTa-large; query and value projections in all layers; default , , LoRA dropout . |
| Initialization | Independent client , zero ; identical initial classification heads, trained locally. |
| Data and batching | Full task training/validation sets; maximum length ; batch and micro-batch size . |
| Optimization | SGD with CUDA AMP; rounds; local steps per client and phase per round. |
| Main-comparison seeds | , , and . |
| Evaluation | Personalized validation every rounds; no global-model evaluation. |
| Method | Federated exchange | Learning rate | Steps |
|---|---|---|---|
| LoRA | Local and | ||
| FFA-LoRA | Average ; freeze local | ||
| FedSA-LoRA | Average ; keep local | ||
| FedDPA-LoRA | Average global factors; retain local branch | ||
| FedSAIL | Share action spectra and consensus bases |
| Shared message | RTE | SST-2 | QNLI | MNLI-m | MNLI-mm | QQP | Avg. | |
|---|---|---|---|---|---|---|---|---|
| RTE | SST-2 | QNLI | MNLI-m | MNLI-mm | QQP | Avg. | Comm. (GiB) | ||
|---|---|---|---|---|---|---|---|---|---|
| Params. (M) | ||||
|---|---|---|---|---|
| Component | Setting |
|---|---|
| Clients and splits | Eight clients; per client: training, calibration, validation, and final-test examples. All splits are label-balanced and disjoint across splits and replicas. |
| Data sources | Training/calibration: official training pools. Validation/final test: IMDb/Amazon test pools and labeled QQP/QNLI validation pools; no GLUE test-server evaluation. |
| Seeds | Data partition: . Training seeds: . |
| Backbone and adapters | Frozen RoBERTa-large and MLM head; query/value LoRA in all layers, , , dropout . Independent initialization and . |
| Optimization | AdamW, learning rate , weight decay , gradient clipping , batch size , CUDA AMP; local iterations per client per round. Optimizer/scaler states remain local across rounds. |
| Training schedule | rounds: local warmup rounds and guided rounds, with shared rank and guidance coefficient . |
| FedSAIL variant | IMDb | Amazon | QQP | QNLI | Avg. | Comm. | |
|---|---|---|---|---|---|---|---|
| Full | – | ||||||
| Selection | |||||||
| Selection | |||||||
| Selection | |||||||
| Selection |
| Component | Specification |
|---|---|
| GPUs | NVIDIA GeForce RTX 3090, GiB memory each |
| CPUs | Intel Xeon Gold 5218R, physical cores in total |
| Host memory | Approximately GiB (OS-reported) |
| Operating system | Ubuntu 22.04.5 LTS |
| Training runtime | Python 3.9.21; PyTorch 2.5.1 with CUDA 12.4 |
| Libraries | Transformers 4.42.3; Datasets 2.20.0 |