CG-FedLLM: How to Compress Gradients in Federated Fune-tuning for Large Language Models
Not on the map. Why?
Abstract (arXiv)
The success of current Large-Language Models (LLMs) hinges on extensive training data that is collected and stored centrally, called Centralized Learning (CL). However, such a collection manner poses a privacy threat, and one potential solution is Federated Learning (FL), which transfers gradients, not raw data, among clients. Unlike traditional networks, FL for LLMs incurs significant communication costs due to their tremendous parameters. This study introduces an innovative approach to compress gradients to improve communication efficiency during LLM FL, formulating the new FL pipeline named CG-FedLLM. This approach integrates an encoder on the client side to acquire the compressed gradient features and a decoder on the server side to reconstruct the gradients. We also developed a novel training strategy that comprises Temporal-ensemble Gradient-Aware Pre-training (TGAP) to identify characteristic gradients of the target model and Federated AutoEncoder-Involved Fine-tuning (FAF) to compress gradients adaptively. Extensive experiments confirm that our approach reduces communication costs and improves performance (e.g., average 3 points increment compared with traditional CL- and FL-based fine-tuning with LlaMA on a well-recognized benchmark, C-Eval). This improvement is because our encoder-decoder, trained via TGAP and FAF, can filter gradients while selectively preserving critical features. Furthermore, we present a series of experimental analyses focusing on the signal-to-noise ratio, compression rate, and robustness within this privacy-centric framework, providing insight into developing more efficient and secure LLMs.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 42 of its 72 references that are in the map. First posted on arXiv 22 May 2024.
Builds on
42 of 72 references.
References · 42
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2016Communication-Efficient Learning of Deep Networks from Decentralized Datacited by 7,669
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
- 2023Qwen Technical Reportcited by 3,344
- 2016Federated Learning: Strategies for Improving Communication Efficiencycited by 1,475
- 2017Deep Image Priorcited by 1,098
- 2021GLM: General Language Model Pretraining with Autoregressive Blank Infillingcited by 1,031
30 more
- 2019Deep Leakage from Gradientscited by 1,021
- 2022Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learningcited by 896
- 2021Uformer: A General U-Shaped Transformer for Image Restorationcited by 866
- 2022GLM-130B: An Open Bilingual Pre-trained Modelcited by 843
- 2024DoRA: Weight-Decomposed Low-Rank Adaptationcited by 758
- 2020Inverting Gradients -- How easy is it to break privacy in federated learning?cited by 712
- 2023C-Eval: A Multi-Level Multi-Discipline Chinese Evaluation Suite for Foundation Modelscited by 708
- 2019Federated Learning with Differential Privacy: Algorithms and Performance Analysiscited by 536
- 2017Differentially Private Federated Learning: A Client Level Perspectivecited by 459
- 2019FedPAQ: A Communication-Efficient Federated Learning Method with Periodic Averaging and Quantizationcited by 356
- 2023MathPrompter: Mathematical Reasoning using Large Language Modelscited by 236
- 2018A Hybrid Approach to Privacy-Preserving Federated Learningcited by 210
- 2017Gradient Sparsification for Communication-Efficient Distributed Optimizationcited by 201
- 2024ReFT: Representation Finetuning for Language Modelscited by 197
- 2016Practical Secure Aggregation for Federated Learning on User-Held Datacited by 178
- 2023FederatedScope-LLM: A Comprehensive Package for Fine-tuning Large Language Models in Federated Learningcited by 149
- 2022On the Effectiveness of Parameter-Efficient Fine-Tuningcited by 141
- 2020LDP-Fed: Federated Learning with Local Differential Privacycited by 132
- 2024OpenFedLLM: Training Large Language Models on Decentralized Private Data via Federated Learningcited by 128
- 2019Deep Learning with Gaussian Differential Privacycited by 114
- 2016Resnet in Resnet: Generalizing Residual Architecturescited by 110
- 2020UVeQFed: Universal Vector Quantization for Federated Learningcited by 107
- 2021Federated Learning: Opportunities and Challengescited by 84
- 2016Efficient Distributed Learning with Sparsitycited by 38
- 2024Can LLMs Reason with Rules? Logic Scaffolding for Stress-Testing and Improving LLMscited by 28
- 2021Learned Gradient Compression for Distributed Deep Learningcited by 20
- 2023z-SignFedAvg: A Unified Stochastic Sign-based Compression for Federated Learningcited by 17
- 2024Benchmarking Chinese Commonsense Reasoning of LLMs: From Chinese-Specifics to Reasoning-Memorization Correlationscited by 14
- 2019An End-to-End Encrypted Neural Network for Gradient Updates Transmission in Federated Learningcited by 9
- 2020A Theoretical Perspective on Differentially Private Federated Multi-task Learningcited by 8
Built on by
Citing papers per year: 2024: 1; 2025: 3.
4 papers.
- 2025Distributed LLMs and Multimodal Large Language Models: A Survey on Advances, Challenges, and Future Directionscited by 10
- 2025Federated Low-Rank Adaptation for Foundation Models: A Surveycited by 9
- 2024Unity is Power: Semi-Asynchronous Collaborative Training of Large-Scale Models with Structured Pruning in Resource-Limited Clientscited by 3
- 2025ParaBlock: Communication-Computation Parallel Block Coordinate Federated Learning for Large Language Modelscited by 0
- 2025ParaBlock: Communication-Computation Parallel Block Coordinate Federated Learning for Large Language Models25 Nov 2025
- 2025Federated Low-Rank Adaptation for Foundation Models: A Survey16 May 2025
- 2025Distributed LLMs and Multimodal Large Language Models: A Survey on Advances, Challenges, and Future Directions20 Mar 2025
- 2024Unity is Power: Semi-Asynchronous Collaborative Training of Large-Scale Models with Structured Pruning in Resource-Limited Clients11 Oct 2024