Skip to main content
QUICK REVIEW

[Paper Review] Over-the-Air Aggregation for Federated Learning: Waveform Superposition and Prototype Validation

Huayan Guo, Yifan Zhu|arXiv (Cornell University)|Oct 27, 2021
Privacy-Preserving Technologies in DataComputer Science5 citations
TL;DR

This paper proposes an OFDM-based over-the-air (OTA) aggregation framework for wireless federated learning that enables analog waveform superposition of local gradients from massive IoT devices over shared radio resources. By employing a two-stage waveform pre-equalization technique with a customized multiple access protocol, it mitigates timing and frequency offsets, achieving FL convergence comparable to offline learning with high prediction accuracy in a real-world RSS prediction task.

ABSTRACT

In this paper, we develop an orthogonal-frequency-division-multiplexing (OFDM)-based over-the-air (OTA) aggregation solution for wireless federated learning (FL). In particular, the local gradients in massive IoT devices are modulated by an analog waveform and are then transmitted using the same wireless resources. To this end, achieving perfect waveform superposition is the key challenge, which is difficult due to the existence of frame timing offset (TO) and carrier frequency offset (CFO). In order to address these issues, we propose a two-stage waveform pre-equalization technique with a customized multiple access protocol that can estimate and then mitigate the TO and CFO for the OTA aggregation. Based on the proposed solution, we develop a hardware transceiver and application software to train a real-world FL task, which learns a deep neural network to predict the received signal strength with global positioning system information. Experiments verify that the proposed OTA aggregation solution can achieve comparable performance to offline learning procedures with high prediction accuracy.

Motivation & Objective

  • Address the scalability bottleneck in wireless federated learning caused by massive IoT device uplink aggregation over limited radio resources.
  • Overcome waveform superposition distortion caused by frame timing offset (TO) and carrier frequency offset (CFO) in over-the-air aggregation.
  • Develop a practical hardware prototype with transceiver and software stack to validate OTA aggregation in real-world FL scenarios.
  • Achieve FL convergence performance comparable to offline aggregation in a real-world signal strength prediction task using GPS and RSS data.

Proposed method

  • Design an OFDM-based OTA aggregation system where local gradients are modulated as analog waveforms and transmitted over the same radio resource block.
  • Implement a two-stage waveform pre-equalization technique to estimate and compensate for frame timing offset (TO) and carrier frequency offset (CFO) at the transmitter.
  • Introduce a customized multiple access protocol that enables joint TO and CFO estimation at the access point (AP) to enable accurate superposition.
  • Utilize a hardware transceiver platform based on AD9361 RF front-end and Xilinx ZCU102/ZC706 SoCs for real-time baseband processing and signal transmission.
  • Deploy a full-stack application layer protocol using TCP/IP for model exchange between host PC and AP, enabling iterative FL training with OTA gradient aggregation.
  • Apply a fully connected neural network with three hidden layers to predict received signal strength (RSS) from GPS coordinates, trained via OTA aggregation.
Figure 1: Illustration of the over-the-air aggregation federated learning system. Sensors train the local NN with local dataset and upload the gradients. The gradients are aggregated in a wireless channel with an analog waveform and are received by the access point (AP). The aggregated gradients are
Figure 1: Illustration of the over-the-air aggregation federated learning system. Sensors train the local NN with local dataset and upload the gradients. The gradients are aggregated in a wireless channel with an analog waveform and are received by the access point (AP). The aggregated gradients are

Experimental results

Research questions

  • RQ1Can over-the-air aggregation via analog waveform superposition achieve comparable FL convergence to offline aggregation in a real-world wireless environment?
  • RQ2How do frame timing offset (TO) and carrier frequency offset (CFO) degrade waveform superposition in OTA-FL, and can they be effectively mitigated?
  • RQ3To what extent does the proposed two-stage pre-equalization technique reduce superposition distortion and improve aggregation accuracy?
  • RQ4Can a hardware prototype with real-time baseband processing achieve reliable OTA aggregation for a practical FL task involving millions of model parameters?
  • RQ5What is the prediction accuracy of an OTA-trained DNN in a real-world RSS prediction task, and how does it compare to offline training?

Key findings

  • The proposed OTA aggregation solution achieves convergence speed and final model performance comparable to offline learning, as shown by training loss curves.
  • The normalized squared prediction error (NMSE) across the test area is below 0.005 for most positions, with only minor degradation near AP sites due to sparse training data.
  • The prototype successfully trained a deep neural network to predict RSS from GPS data using OTA aggregation, demonstrating feasibility in real-world deployment.
  • The two-stage pre-equalization technique effectively mitigates TO and CFO, enabling accurate waveform superposition despite hardware imperfections.
  • The system achieved high spectral efficiency by avoiding spreading sequences (unlike DSSS), avoiding the 1/N efficiency loss seen in prior OTA methods.
  • The hardware prototype, built on Xilinx SoCs and AD9361 RF front-end, successfully demonstrated end-to-end OTA-FL operation with real-time gradient aggregation.
Figure 2: Phase response of the effective OTA aggregation channel of $k$ -th sensor.
Figure 2: Phase response of the effective OTA aggregation channel of $k$ -th sensor.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.