mlsanityData to 14 Oct 2026

CG-FedLLM: How to Compress Gradients in Federated Fune-tuning for Large Language Models

arXiv 2405.13746 ↗First posted 22 May 2024cs.LG cs.AI cs.DCcited by 4

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  4. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  5. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  6. 2016Communication-Efficient Learning of Deep Networks from Decentralized Datacited by 7,669
  7. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
  8. 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
  9. 2023Qwen Technical Reportcited by 3,344
  10. 2016Federated Learning: Strategies for Improving Communication Efficiencycited by 1,475
  11. 2017Deep Image Priorcited by 1,098
  12. 2021GLM: General Language Model Pretraining with Autoregressive Blank Infillingcited by 1,031
30 more
  1. 2019Deep Leakage from Gradientscited by 1,021
  2. 2022Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learningcited by 896
  3. 2021Uformer: A General U-Shaped Transformer for Image Restorationcited by 866
  4. 2022GLM-130B: An Open Bilingual Pre-trained Modelcited by 843
  5. 2024DoRA: Weight-Decomposed Low-Rank Adaptationcited by 758
  6. 2020Inverting Gradients -- How easy is it to break privacy in federated learning?cited by 712
  7. 2023C-Eval: A Multi-Level Multi-Discipline Chinese Evaluation Suite for Foundation Modelscited by 708
  8. 2019Federated Learning with Differential Privacy: Algorithms and Performance Analysiscited by 536
  9. 2017Differentially Private Federated Learning: A Client Level Perspectivecited by 459
  10. 2019FedPAQ: A Communication-Efficient Federated Learning Method with Periodic Averaging and Quantizationcited by 356
  11. 2023MathPrompter: Mathematical Reasoning using Large Language Modelscited by 236
  12. 2018A Hybrid Approach to Privacy-Preserving Federated Learningcited by 210
  13. 2017Gradient Sparsification for Communication-Efficient Distributed Optimizationcited by 201
  14. 2024ReFT: Representation Finetuning for Language Modelscited by 197
  15. 2016Practical Secure Aggregation for Federated Learning on User-Held Datacited by 178
  16. 2023FederatedScope-LLM: A Comprehensive Package for Fine-tuning Large Language Models in Federated Learningcited by 149
  17. 2022On the Effectiveness of Parameter-Efficient Fine-Tuningcited by 141
  18. 2020LDP-Fed: Federated Learning with Local Differential Privacycited by 132
  19. 2024OpenFedLLM: Training Large Language Models on Decentralized Private Data via Federated Learningcited by 128
  20. 2019Deep Learning with Gaussian Differential Privacycited by 114
  21. 2016Resnet in Resnet: Generalizing Residual Architecturescited by 110
  22. 2020UVeQFed: Universal Vector Quantization for Federated Learningcited by 107
  23. 2021Federated Learning: Opportunities and Challengescited by 84
  24. 2016Efficient Distributed Learning with Sparsitycited by 38
  25. 2024Can LLMs Reason with Rules? Logic Scaffolding for Stress-Testing and Improving LLMscited by 28
  26. 2021Learned Gradient Compression for Distributed Deep Learningcited by 20
  27. 2023z-SignFedAvg: A Unified Stochastic Sign-based Compression for Federated Learningcited by 17
  28. 2024Benchmarking Chinese Commonsense Reasoning of LLMs: From Chinese-Specifics to Reasoning-Memorization Correlationscited by 14
  29. 2019An End-to-End Encrypted Neural Network for Gradient Updates Transmission in Federated Learningcited by 9
  30. 2020A Theoretical Perspective on Differentially Private Federated Multi-task Learningcited by 8

Built on by

Cited by year

Citing papers per year: 2024: 1; 2025: 3.

4 papers.