Three Birds, One Stone: Solving the Communication-Memory-Privacy Trilemma in LLM Fine-tuning Over Wireless Networks with Zeroth-Order Optimization

Zhijie Cai, Yuhao Zheng, Haolong Chen, Dongzhu Liu, Bin Wang, Guangxu ZhuarXiv 2026

TL;DR

Federated fine-tuning of Large Language Models (LLMs) at the wireless edge is severely bottlenecked by a "trilemma" of high communication bandwidth, massive device memory requirements, and privacy risks. This paper introduces pAirZero, a framework that solves all three challenges simultaneously by synergizing zeroth-order optimization with over-the-air wireless computation. By transmitting only scalar- or bit-level gradient projections, pAirZero slashes edge memory usage by 75% and reduces communication overhead by orders of magnitude while embedding differential privacy directly into the wireless channel.

What Problem Does This Paper Address?

Deploying Federated Learning (FL) to fine-tune LLMs on edge devices (like smartphones or IoT devices) faces three massive, interlocking hurdles—a classic trilemma:

  1. The Communication Bottleneck: LLMs have millions or billions of parameters. Transmitting full gradient vectors from multiple devices over wireless networks completely overwhelms available bandwidth.
  2. The Memory Wall: Standard training relies on first-order optimization (like SGD or Adam) via backpropagation. This requires storing intermediate activation maps in memory, which quickly exceeds the hardware capacity of edge devices.
  3. Privacy Leakage: Even though FL avoids sharing raw data, malicious actors can use "gradient inversion attacks" to reconstruct private user data directly from intercepted gradients.

Existing solutions usually tackle these problems in isolation (e.g., quantization for communication, split learning for memory, or differential privacy perturbations for security), often degrading model accuracy or introducing high latency.

Methods

The authors introduce pAirZero (and its digital counterpart, Sign-pAirZero), a unified framework that turns these challenges into synergies by combining two key techniques:

  • Zeroth-Order (ZO) Optimization: Instead of calculating exact gradients using memory-heavy backpropagation, ZO optimization estimates gradients by probing the loss function with random perturbations (using the SPSA algorithm). Because it only requires forward passes, memory consumption drops to inference-level standards. Crucially, instead of a massive gradient vector, each client only needs to upload a single scalar value: the gradient projection along a pseudo-random direction generated by a shared random seed.
  • Over-the-Air (OTA) Computation: Traditional wireless networks separate user transmissions to avoid interference. OTA computation embraces interference, utilizing the physical superposition property of wireless channels to automatically aggregate the clients' scalar signals "in the air" as they travel to the edge server.
Fig. 1. The workflow of pAirZero.

To handle privacy, pAirZero treats wireless channel noise not as a nuisance, but as a feature. By combining inherent channel noise with carefully calibrated artificial noise injection, the framework achieves rigorous Differential Privacy (DP). The authors formulate an adaptive power control optimization problem to dynamically adjust transmit power and noise levels per iteration, minimizing the learning error while guaranteeing privacy.

Datasets

The framework was evaluated by fine-tuning the OPT-125M language model on two classic NLP benchmarks:

  • SST-2 (Stanford Sentiment Treebank): A binary sentence-level sentiment classification dataset.
  • SQuAD (Stanford Question Answering Dataset): A complex reading comprehension dataset requiring the model to extract answer spans from a context passage.

Key Insights and Ideas

  • Noise as a Privacy Mechanism: Instead of fighting wireless channel imperfections, pAirZero exploits them. The natural thermal noise of the channel, supplemented by artificial noise, serves as the perturbation mechanism required for differential privacy.
  • Bypassing the Synchronization Nightmare: Traditional OTA computation requires strict, symbol-level synchronization across devices because it aggregates high-dimensional vectors. Because pAirZero reduces the payload to a single scalar projection per iteration ($O(1)$ communication load), it drastically relaxes these stringent synchronization constraints.
  • Shattering the Memory Wall: Eliminating backpropagation means edge devices never have to store activation maps, lowering the barrier to entry for edge hardware to participate in LLM tuning.

Key Results

  • Memory Efficiency: On the OPT-125M model, pAirZero required only ~250 MB of peak memory, representing a 75% reduction compared to standard first-order Adam optimization (~955 MB).
  • Communication Drastically Reduced: While conventional first-order methods require uploading 238.88 MB of gradients per iteration, pAirZero requires only 16 bits (analog scalar), and Sign-pAirZero requires just 1 bit per iteration.
  • Robust Performance: As shown in the evaluation figures, Sign-pAirZero demonstrates remarkable stability across various Signal-to-Noise Ratios (SNRs), achieving downstream task accuracy on par with ideal, non-private, noise-free baselines.
Fig. 2. Main results on OPT-125M with SST2 and SQuAD task.

Limitations and Future Work

  • Iteration Overhead: Zeroth-order optimization inherently requires significantly more training iterations ($T$) to converge compared to standard backpropagation because gradient estimates are noisier than true gradients.
  • Scale of Evaluation: The experiments were conducted on OPT-125M, which is small by modern LLM standards. While the theoretical convergence analysis indicates that pAirZero's performance depends on the model's effective low-rank factor rather than its ambient dimension, empirical validation on multi-billion parameter models remains an open area for future deployment.

Summary updated

Abstract

Federated Learning (FL) offers a promising pathway for collaboratively fine-tuning Large Language Models (LLMs) at the edge; however, this paradigm faces a critical bottleneck: the prohibitive communication and memory overheads incurred by exchanging high-dimensional gradients. Furthermore, recent studies reveal that user training data can still be recovered from these local gradients, undermining the core privacy promise of FL. In this paper, we address this trilemma of communication, memory, and privacy by proposing pAirZero, a novel framework that synergizes Zeroth-Order (ZO) optimization with Over-the-Air (OTA) computation. Uniquely, pAirZero enables resource-constrained devices to submit their local gradient with only bit-level communication loads while participating in federated fine-tuning of LLMs with inference-level memory costs. This approach not only eliminates the high memory requirements needed for LLM fine-tuning but also alleviates the strict synchronization requirements that plague conventional OTA methods. We further formulate a rigorous optimization model to adaptively determine the optimal transmit power and noise levels, ensuring consistent privacy protection regardless of channel conditions. Numerical experiments demonstrate the superiority of pAirZero in enabling secure, efficient LLM fine-tuning over wireless networks, with only 25% peak memory cost on OPT-125M and communication load orders of magnitude lower than conventional methods.
BibTeX
@misc{cai2026three,
  author = {Zhijie Cai and Yuhao Zheng and Haolong Chen and Dongzhu Liu and Bin Wang and Guangxu Zhu},
  title = {{Three Birds, One Stone: Solving the Communication-Memory-Privacy Trilemma in LLM Fine-tuning Over Wireless Networks with Zeroth-Order Optimization}},
  year = {2026},
  eprint = {2604.12401},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.12401},
}

Loading related content...

Figure