HeimdaLLM: Efficient Cloud-assisted Federated Fine-tuning with Zeroth-Order Rectification for LLMs

Large Language Models (LLMs) have achieved remarkable success in NLP tasks, but fine-tuning them on resource-constrained mobile devices remains challenging due to prohibitive memory and computation requirements. Federated Learning (FL) enables privacy-preserving distributed fine-tuning, yet conventional approaches, including full fine-tuning and parameter-efficient fine-tuning (PEFT), either rely on backpropagation, which is memory-intensive, or zeroth-order optimization (ZOO), which suffers from high variance and directional bias, leading to slow convergence and degrading accuracy. To address these limitations, we propose HeimdaLLM, a cloud-assisted federated fine-tuning framework that combines ZOO with Gradient Rectification (ZGR). In HeimdaLLM, FL clients perform ZOO updates on local domain datasets, while the assisted cloud conducts BP-based fine-tuning on datasets from the same domain and periodically transmits guided gradient direction (GGD) data to rectify ZOO process. To reduce client memory usage, computation, and transmission overhead, we introduce two system-level controllers: the System-level Pipeline Controller (SPC) and Data Transmission Controller (DTC), which pipeline model layer-wise transmission and computation of cloud and clients, and adaptively compress GGD data. Experiments on multiple models and NLP datasets show that HeimdaLLM reduces memory footprint for client devices by up to 86.37%, achieves up to 8.8× faster convergence than the baselines, and improves accuracy by up to 10% over state-of-the-art ZOO methods.

Link
https://www.semanticscholar.org/paper/fe724e5748bb3028d842bae2ebb57ac4d3fb0871
Found by
Semantic Scholar
Authors
He Sun, Jinrui Zhou, Li Li, Yebo Wu, Mingjun Xiao
Categories
dataset
Published
2026-08-08
Last seen by the radar
2026-08-08
Citations
0
Influential citations
0
Radar score
38.54 / 100 (how it is scored)
Why it scored so
Matched: dataset; Primary record: Semantic Scholar
Related links
https://doi.org/10.1145/3770855.3817661
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by Semantic Scholar