Federated fine-tuning of foundation models with low-rank adapters (LoRA) is typically reconciled by averaging locally trained adapters. In cross-device settings, where participants hold heterogeneous data and join or leave asynchronously, averaging is poorly suited: locally trained adapters are not identifiable up to permutation, and averages of adapters trained on dissimilar data can be uninformative or unstable. We propose a simple idea called federated library-based adaptation (LEAN), which replaces averaging altogether. The server maintains a library of rank-1 basis pairs; participants check out random subsets, fine-tune them locally as a LoRA adapter, and check them back in, so that each pair is shuffled across sites and trained on many participants' data. Because no aggregation step is required, LEAN operates fully asynchronously and communicates only low-rank parameters. We prove that, in a synchronous setting, LEAN converges to a neighborhood of a stationary point, with the shuffle canceling data heterogeneity at first order. Across image and text fine-tuning benchmarks, LEAN outperforms averaging-based baselines in most settings with substantially less communication, and remains effective under heavy data heterogeneity, where averaging-based methods fail to reach nontrivial accuracy, and under heavy asynchrony, where they degrade substantially.
Figures & tables
Figure 1: Classification accuracy vs. synchronization steps for a simple synthetic task—learning to classify birds in an imaginary archipelago—with significant class imbalance across participants.
Figure 2: Asynchronous progression of the LEAN algorithm. At time tick 1, a single participant (red) checks out r=3 of L=16 basis pairs. At time tick 2, the red participant is training, and two additional sets of basis pairs are checked out. At time tick 3, the blue participant checks in its pairs, another participant (green) enters, and two participants (red and orange) are still training. At time tick 4, all participants check in the remaining basis pairs.
Figure 3: Accuracy as a function of bytes transferred, on 10 participants, synchronous. The dashed line indicates 95% of centralized fine-tuning accuracy.
Part.
Dataset
Central
LEAN
FLoRA
Acc. (%)
Acc.
Bytes (GB)
FLOPs (Peta)
Acc.
Bytes
FLOPs
10
Flowers
99.74 1 1 1 ( Dosovitskiy et al., 2021 )
95.18
44.12
304.4
89.03
(83.86)BT
(258.3)BT
Birds
89.40 2 2 2 ( Conde and Turgutlu, 2021 )
63.08
54.93
378.8
21.72
DNC
DNC
CIFAR100
94.55 1 1 footnotemark: 1
79.74
47.46
327.8
1.19
DNC
DNC
25
Flowers
99.74 1 1 footnotemark: 1
94.77
71.82
494.2 ( 1.18× )
93.43
134.9 ( 1.88× )
417.3
Birds
89.40 2 2 2 ( Conde and Turgutlu, 2021 )
59.78
172.7
1192.2
0.78
DNC
DNC
Table 2: Comparison of LEAN and FLoRA for various numbers of participants with both light skewness and asynchrony. We additionally provide Central training accuracy as a reference.
Figure 4: Comparison of LEAN with FLoRA for 100 participants on the Oxford Flowers dataset (left), and 25 participants (right) for the Reaction Prediction task (textual data).
Table 6
Part.
Data
LEAN
FLoRAProx
Mean
Std
Bytes
Mean
Std
Bytes
Acc
Dev
(GB)
Acc
Dev
(GB)
Light Heterogeneity
25
Birds
62.58( ±2.09 )
0.866
559.7( ±30.79 )
68.86( ±3.93 )
2.05
1143.8( ±922.3)
High Heterogeneity
10
Birds
21.54 ( ±1.66 )
1.79
183.8 ( ±20.61 )
11.91( ±19.51 )
4.01
424.9( ±561.0 )
Table 5: LEAN vs. FLoRAProx with low asynchrony.
Appendix figures & tables4 assets
Supplementary material from the paper’s appendix.
Appendix
Method
Acc. (%)
Bytes (GB)
FLoRA
71.30
(261.6)BT
LEAN
94.26
100.72
FedAvg w/ SLoRA
98.40
298.78
Appendix
Table 6: SLoRA Comparison with LEAN and FLoRA
Method
Acc. (%)
Bytes (GB)
Random
94.26
88.09
Similarity-aware
94.13
90.85
Staleness-aware
92.81
90.92
Appendix
Table 7: Sampling Method Comparison
K
LEAN
FLoRAProx
Mean
Std Dev.
Min
Mean
Std Dev.
Min
0
18.05
6.21
1.00
7.74
9.11
0.25
50
18.74
5.30
2.25
8.37
9.23
0.25
100
19.46
4.41
9.25
9.14
9.33
0.25
200
20.48
3.47
10.10
11.22
9.28
0.25
400
21.65
2.71
15.01
17.93
7.11
4.25
Appendix
Table 8: Selection-Free LEAN vs. FLoRAProx, seed 926