Introduction
The rapid advancement of Large Language Models (LLMs) is increasingly constrained by the availability of high-quality public data. The next frontier lies in "private data"—specialized knowledge contained within medical records, financial reports, and private codebases. Federated Learning (FL) offers a promising solution by allowing models to learn from decentralized data without requiring it to leave the owner's device.
However, even with parameter-efficient fine-tuning (PEFT) methods like Low-Rank Adaptation (LoRA), the communication overhead remains a significant barrier. Standard LoRA updates can still reach hundreds of megabytes per round, making collaborative training impractical on low-bandwidth networks.
Conventional sparsification (pruning) techniques often fail in this context because they treat the LoRA matrices ($A$ and $B$) independently, disrupting the critical mathematical relationship ($BA$) and leading to performance degradation, particularly on heterogeneous (non-IID) data.
The FedSRD Framework
To address these challenges, we introduce FedSRD, a framework built on a Sparsify-Reconstruct-Decompose workflow designed to maximize communication efficiency while preserving model accuracy.
1. Importance-aware Sparsification (Client-side)
Rather than relying on simple magnitude-based pruning, FedSRD calculates an "importance score" that reflects the interaction between matrices $A$ and $B$. The framework utilizes the kurtosis of these scores to adaptively determine layer-wise sparsity. Layers with high kurtosis—where importance is concentrated in a few parameters—are pruned more aggressively, while layers with flatter distributions are handled more conservatively.
2. Reconstruct to Aggregation (Server-side)
Standard FL typically averages $A$ and $B$ matrices separately, which is mathematically inconsistent with the LoRA objective. FedSRD instead reconstructs the full-rank weight update ($\Delta W = BA$) for each client on the server before performing aggregation. This approach mitigates conflicts arising from data heterogeneity across different clients.
3. Alternative Decomposition (Server-side)
To maintain efficiency during the download phase, the server decomposes the aggregated global update back into a sparse format. By alternating updates for $A$ and $B$ across communication rounds using a Taylor expansion-based approximation, the framework ensures that clients only download a single sparse matrix at a time.
A "light" variant, FedSRD-e, is also provided. It bypasses computationally intensive Singular Value Decomposition (SVD) on the server, making it ideal for resource-constrained edge environments.
Experimental Evaluation
FedSRD was evaluated using Llama3.2-3B and Qwen2-7B across ten benchmarks covering in-domain tasks (Code, Medical, Finance, Math) and out-of-domain (OOD) tasks (General knowledge, Law).
Key Results
- Extreme Communication Efficiency: FedSRD achieved up to a 90% reduction in communication costs. For the Llama3.2-3B model, per-round data transfer was slashed from 742 MB to just 74 MB.
- Robustness at High Sparsity: Unlike random or magnitude-based pruning, which see performance tank at 90%+ sparsity, FedSRD remained stable and even outperformed dense models on heterogeneous data.
- Sparsity as a Regularizer: Interestingly, high sparsity (up to 98%) was found to improve performance on OOD tasks. Pruning appears to act as a regularizer, filtering out noisy, client-specific updates that might otherwise lead to catastrophic forgetting of general pre-trained knowledge.
Conclusion
FedSRD demonstrates that extreme communication efficiency in federated LLM fine-tuning is possible without sacrificing accuracy. By respecting the structural properties of LoRA adapters and employing adaptive, importance-aware pruning, FedSRD makes collaborative LLM training feasible even on edge networks.
Summary updated