Bayesian AirComp with Sign-Alignment Precoding for Wireless Federated Learning

Chanho Park, Seunghoon Lee, Namyoon Lee

TL;DR

This paper introduces "Bayesian AirComp with Sign-Alignment Precoding," a novel approach for wireless federated learning (FL) that significantly reduces communication overhead. By using only one-bit channel state information (CSI) for precoding and a Bayesian aggregation method, it achieves competitive or superior learning performance compared to existing methods, even those using perfect CSI.

What Problem Does This Paper Address?

Federated learning (FL) allows multiple devices to collaboratively train a machine learning model without sharing their raw data, preserving privacy. A key challenge in wireless FL is the communication bottleneck: transmitting local model updates (gradients) from many devices to a central server over a wireless channel. Wireless channels are prone to fading, which can corrupt the transmitted signals. Traditional methods like "over-the-air computation" (AirComp) use the wireless channel's superposition property to aggregate signals simultaneously, but they require devices to precode their signals to compensate for fading. This precoding often relies on accurate channel state information (CSI), which is difficult and costly to obtain, especially in dynamic wireless environments. Furthermore, transmitting full gradient information is bandwidth-intensive. Existing solutions like signSGD compress gradients to their signs, but still face challenges with fading and require precise CSI for effective precoding.

Methods

The paper proposes two main innovations:

  • Sign-Alignment Precoding: This novel precoding strategy aims to mitigate the impact of fading on the sign of the compressed gradients. Instead of trying to perfectly invert the channel (which requires full CSI), each device uses only one-bit CSI (the sign of the channel coefficient) to align its precoder with the channel. This drastically reduces the CSI acquisition and feedback overhead. The precoded signal is then transmitted.
  • Bayesian AirComp Aggregation: The server receives the precoded signals and uses a new aggregation function called "BayAirComp." This method leverages the prior distribution of local gradients (modeled as Gaussian) as side information to estimate the sum of local gradients from the noisy received signal. It aims to minimize the Mean Squared Error (MSE) of this estimation, leading to a more robust and accurate model update.

Datasets

The paper uses the following datasets for evaluation:

  • MNIST
  • CIFAR10

Key Insights and Ideas

  • One-bit CSI is Sufficient for Effective Precoding: The most striking insight is that precise CSI is not necessary for effective precoding in sign-based FL. Using just the sign of the channel coefficient is enough to significantly improve performance and reduce overhead.
  • Sign-Alignment Protects Against Sign-Flipping Errors: Wireless fading can flip the sign of a transmitted signal. Sign-alignment precoding directly addresses this by ensuring the precoder's sign matches the channel's sign, thus preserving the gradient's sign information.
  • Bayesian Priors Enhance Aggregation: Incorporating prior knowledge about local gradients (even if approximated as Gaussian) into the aggregation process allows the server to make better estimates of the true aggregated gradient, especially in the presence of noise and fading.
  • Reduced Overhead, Maintained Performance: The proposed method achieves performance comparable to or better than existing methods that require more complex CSI acquisition and transmission, demonstrating a significant trade-off improvement.

Key Results

  • Improved Accuracy: In heterogeneous dataset scenarios, the proposed Bayesian AirComp with sign-alignment precoding achieved 3.0% and 3.7% higher test accuracies than the OBDA (truncated channel-inversion precoding + majority-voting aggregation) system on MNIST and CIFAR10 datasets, respectively.
  • Competitive Performance with Reduced CSI: The sign-alignment precoding, even with one-bit CSI, allowed the system to achieve over 95% accuracy on MNIST and 70% on CIFAR10, comparable to methods using perfect CSI.
  • Convergence: Theoretical analysis shows that the proposed FL algorithm converges to a stationary point, with the convergence rate influenced by the MSE of the gradient estimate.

Limitations and Future Work

  • Gaussian Prior Assumption: The Bayesian AirComp aggregation relies on modeling local gradients as IID Gaussian. While this is a reasonable approximation and shown to be effective, it might not perfectly capture the true distribution of gradients in all complex deep learning models.
  • Implementation Overhead: While the CSI overhead is reduced, mobile devices still need to send their estimated mean and variance of local gradients to the server. The paper notes this overhead is negligible compared to model size but is still an additional transmission.
  • Future Work: The paper suggests that the analysis can be extended to algorithms using mini-batch SGD. Further exploration into more sophisticated prior distributions or adaptive methods for estimating these priors could potentially yield even better performance. The paper also implies that the sign-alignment precoding is beneficial even when the signSGD optimizer is not used, suggesting broader applicability.

Summary updated

BibTeX
@inproceedings{park2021bayesian,
  author = {Chanho Park and Seunghoon Lee and Namyoon Lee},
  title = {{Bayesian AirComp with Sign-Alignment Precoding for Wireless Federated Learning}},
  booktitle = {GLOBECOM},
  year = {2021},
  doi = {10.1109/globecom46510.2021.9685854},
}
Figure