Quantized Analog Beamforming Enabled Multi-task Federated Learning Over-the-air
Abstract
Over-the-air computation (AirComp) has recently emerged as a pivotal technique for communication-efficient federated learning (FL) in resource-constrained wireless networks. Though AirComp leverages the superposition property of multiple access channels for computation, it inherently limits its ability to manage inter-task interference in multi-task computing. In this paper, we propose a quantized analog beamforming scheme at the receiver to enable simultaneous multi-task FL. Specifically, inspiring by the favorable propagation and channel hardening properties of large-scale antenna arrays, a targeted analog beamforming method in closed form is proposed for statistical interference elimination. Analytical results reveal that the interference power vanishes by an order of with the number of analog phase shifters, , irrespective of their quantization precision. Numerical results demonstrate the effectiveness of the proposed analog beamforming method and show that the performance upper bound of ideal learning without errors can be achieved by increasing the number of low-precision analog phase shifters.
Index Terms:
Multi-task Federated learning, over-the-air computation (AirComp), analog beamforming.I Introduction
Over-the-air computation (AirComp) becomes a promising technique for enabling communication-efficient federated learning (FL) over resource-constrained wireless networks [1, 2, 3]. Specifically, by exploiting the superposition property of MAC channels, the signals are amplitude-modulated and simultaneously transmitted with the same radio resource and hence the summation is automatically achieved over-the-air. Therefore, applying AirComp to FL can deeply integrate uplink gradient transmission and model aggregation, breaking through the bottleneck of limited bandwidth [4].
However, existing AirComp-enabled FL (AirFL) designs primarily focused on single-antenna systems, limiting their capability to handle upto one single computational task at a receiver. The design of multi-antenna systems mainly focused on improving diversity gain through beamforming, allowing more devices to access and minimizing the mean squared error (MSE) of gradient calculation [5]. The potential multiplexing capability of multi-antenna systems to support multi-task computing has rarely been considered in recent works. However, emerging practical applications of FL urgently necessitate the implementation of multi-task computing, primarily including the personalized FL scenarios [6, 7].
To better support multi-task FL, it is necessary to explore the implementation of multi-task AirComp based on typical multiple-input multiple-output (MIMO) systems. However, the presence of additional inter-task interference becomes a decisive factor in determining the computational performance. Moreover, due to the nonorthogonal multiple access characteristics of AirComp, it is challenging to directly deploy the classical zero-forcing (ZF) receiver to eliminate interference. To facilitate the implementation of multi-task AirComp, various techniques have been proposed in recent years. For instance, a large number of antennas at the transceivers are considered in [8], together with coordinated ZF beamforming for complete interference elimination. To reduce the number of antennas, the authors in [9] combined the beamforming optimization with device scheduling, which helps reduce the number of devices and ensure interference-free computation. Without complete interference elimination, the spatial correlation between devices was considered in [10], which allows the proposition of joint transceiver beamforming and device selection design for task-oriented interference suppression.
Nevertheless, deploying a large number of antennas to tackle with inter-task interference results in significant hardware cost. Meanwhile, the training process of FL tasks have inherent robustness to noise [11], reducing the necessity for complete interference elimination. Motivated by this background, in this paper, we adopt a low-cost hybrid beamforming architecture with limited radio frequency (RF) chains as a solution [12], and propose an analog beamforming method in closed form to enable multiple FL tasks simultaneously without the utilization of channel state information at the transmitter (CSIT). Our theoretical analysis validates the vanishing power of inter-task interference with order with the number of analog phase shifters, , which is irrespective of their quantization precision. The numerical results reveal that by employing the proposed analog beamforming method, all FL tasks can approach the upper bound performance of ideal learning with error-free transmission.
II System Model
In this paper, we consider a wireless FL system with individual FL tasks. Without loss of generality, we assume that distributed devices are uniformly divided into clusters, yielding each cluster of users without overlap. A central parameter server (PS) is deployed to coordinate the parallel training of FL tasks. The training procedure and transmission model are elaborated in the sequel.
II-A Federated Learning Model
Let , , denote the local dataset of the -th device in the -th FL task and represents the number of training samples in dataset . Then, the local loss function of the -th device with the -th FL task is given by , where is the data sample selected from the local dataset and represents the sample-wise loss function quantifying the prediction error of model parameter on data sample . The learning process aims to optimize the specific model parameter for the -th task by minimizing the global loss function defined as , where represents the aggregation weight for the -th device. For simplicity, we assume that for all tasks, the models contain the same number of parameters, denoted by . For models with different sizes, zero padding can be employed to ensure a uniform size, thereby applicable to general scenarios.
For model training, we employ the typical FedAvg algorithm to iteratively minimize . The main steps of the -th round of the FedAvg algorithm are listed as follows.
-
1)
Model broadcasting: The PS broadcasts the latest global model to all devices with the -th FL task.
-
2)
Local computing: Based on the received global model , each device updates its local model via mini-batch stochastic gradient descent (SGD), i.e., , where denote the local model of the -th device obtained after the -th local iteration, is initialized as , denotes the learning rate, and is a local mini-batch selected from . Each device performs local iterations in a specific round and updates its local model as .
-
3)
Local updates uploading: After local computing, each device transfers its local updates to the PS, where .
-
4)
Model aggregation: Upon receiving all the local updates, the PS calculates the global update as , and then updates the global model according to .
II-B Multi-task AirComp Model
The downlink model broadcasting is usually assumed error-free due to abundant resource at the PS [4]. For the uplink, we adopt the AirComp technique for simultaneous transmission and model aggregation. Moreover, to enable parallel model aggregation for multiple FL tasks, the PS exploits hybrid analog and digital beamforming with a typical sub-connected structure [12]. In particular, the PS is equipped with RF chains and antennas. Each RF chain connects to an exclusive set of antennas through a dedicated phase shifter, where . We consider the scenario with , where each RF chain and its connected analog array is dedicated to serving a specific FL task.
Now, it is ready to introduce the considered multi-task AirComp. Before transmission, local updates are first normalized as , where and respectively represent the mean and standard deviation of all entries in , and is all one vector. Unlike traditional AirComp relying on perfect CSIT, we assume that no CSIT is available at the device, and consequently corresponding preprocessing, such as the typical channel inversion scheme in [13], is not performed. Hence, the received signal at the PS, , is given as follows:
(1) |
where denotes the channel between the PS and the -th device in the -th cluster, represents its transmit power, and represent the digital combiner and analog beamformer, respectively, and denotes the additive Gaussian noise matrix and its entries are independent and identically Gaussian distributed with zero mean and variance of . With the sub-connected structure, the analog beamformer can be expressed as , where denotes the analog beamforming vector of the -th sub-array satisfying , . Since the -th RF chain is dedicated to serving the -th FL task, we exploit the processed signal at the -th RF chain as an estimate of the desired weighted aggregation, . It follows
(2) |
The global update for the -th task is then calculated as
(3) |
where the statistics of the local updates are transmitted to PS in advance with ignorable communication overhead [14]. By comparing (3) with the ideal local updates, we express the error of global update estimation, , as
(4) |
Note that the error in (II-B) comprises of two main components. First, there is distortion in the aggregation weights of the desired signal. The second component consists mainly of interference from other tasks and the additive Gaussian noise. To tackle with the inter-task interference, existing works [8, 9] rely on sufficient spatial degrees of freedom (DoF) to apply ZF receivers for complete interference elimination, which requires a large number of RF chains, i.e., . However, in the scenario considered in this paper, the number of RF chains is limited, making complete interference elimination unattainable. In the subsequent section, we introduce how analog beamforming design is utilized to statistically eliminate interference and support the multi-task FL over-the-air.
III Statistical Interference Elimination via Analog Beamforming
Unlike traditional communication tasks, the introduction of zero-mean noise does not necessarily have a serious impact on the SGD process while it can sometimes even impose a positive effect [15]. However, noise with non-zero mean inevitably introduces bias to the SGD process, leading to performance deterioration and potential failure of training convergence. These observations encourage us to avoid unnecessary resource overhead for complete interference elimination. Instead, we rely on low-cost analog beamforming to statistically eliminate the impact of inter-task interference.
III-A Typical Fully-Digital Beamforming Scheme
Favorable propagation is a unique characteristic of large-scale MIMO systems. When the number of antennas, , the channels of different devices are asymptotically orthogonal, i.e., , . Inspired by the nature of favorable propagation, the inter-task interference can be statistically eliminated with fully-digital beamforming at the receiver by applying a linear projection [16], referred to as random orthogonalization (RO). To be specific, we set the fully-digital beamformer for the -th task as and the received signal in (2) becomes
(5) |
where represents “almost surely converge to” and it is due to the favorable propagation property with , and the inter-device interference is asymptotically eliminated. Also, from the statistical perspective, we have
(6) |
Hence, it is straightforward to verify that the inter-task interference is statistically eliminated. The receive beamforming acts as a filter, which filters out interference components orthogonal to it. However, achieving better interference elimination requires a substantial deployment of extra RF chains, significantly increasing hardware cost. Alternatively, large-scale antenna arrays enable the direct use of ZF receivers to obtain individual signals from different devices without interference. The RO approach may not necessarily yield better performance compared to the ZF receiver.
III-B Proposed Analog Beamforming with Continuous Phases
The core idea of (III-A) is to include the target channel components, i.e., , , in the -th digital beamformer, thus achieving statistical interference elimination via the favorable propagation property. However, the included amplitude components of , , do not exert a significant impact. Hence, we posit that utilizing analog phase shifters alone can still achieve this statistical interference elimination. In particular, considering that the -th sub-array only serves the -th FL task, we set its analog beamforming as
(7) |
where denotes the channel between the -th sub-array and the -th device in the -th cluster in round and , . In (7), we only incorporate the phases of channels related to devices in the -th cluster, aiming at filtering out interference from other clusters. With the analog beamforming in (7), the effective channel for the -th device in the -th cluster at the -th round is given as , whose statistics are derived in the following lemma.
Lemma 1:
With the analog beamforming in (7), the effective channel follows
(8) |
where is the Kronecker delta vector with , is a diagonal matrix, and its -th diagonal element is and all the other diagonal elements are 1.
Proof:
Please refer to the supplementary file in [7].
Building upon the analytical results in Lemma 1, the statistical interference elimination can be achieved only with analog beamforming. To be concrete, the digital combiner does not cope with the inter-task interference. We set , where is a scaling factor. Then, it follows
(9) |
which no longer includes the inter-task interference terms.
To further demonstrate the statistical interference elimination method, we characterize the scaling law of the average power of the interference with respect to the number of antennas, , in the following theorem. The average power of the interference for the -th task is given by
(10) |
Theorem 1:
As the number of antennas, , increases, the average power of the interference , , vanishes by an order of .
Proof:
From (II-B), the average power of the interference for the -th task is expressed as
(11) |
where (a) is due to the independence between signal vectors and the fact that . Moreover, as observed in (9), the coefficient of the desired signal is , which scales up with . To ensure a fixed aggregation coefficient, the scaling factor must satisfy . Now, we can conclude that and the proof completes.
Remark 1:
By increasing the numbers of low-cost phase shifters, the proposed analog beamforming method can effectively mitigate interference without the need for additional RF chains. Moreover, with infinite phase shifters, i.e., , we have and the inter-task interference is asymptotically completely eliminated.
Corollary 1:
The proposed analog beamforming method enjoys the same scaling law for interference power with the RO scheme using fully-digital beamforming in Sec. III-A.
Proof:
Remark 2:
The proposed analog beamforming method fully replicates the functionality of the RO scheme. This implies that achieving random orthogonalization requires only phase matching, thereby avoiding high hardware cost associated with numerous RF chains for the fully-digital beamforming.
III-C Extension to Discrete Phase Control
Due to hardware limitations, phase shifts are usually limited to a finite number of discrete values. We further extend the proposed analog beamforming design to the scenarios with discrete phase control. Specifically, we denote the set of discrete phase shifts by , where is the number of quantization bits. Then, we rewrite (7) as
(12) |
where is an -dimensional vector with elements selected from . Comparing with the perfect case in (7), the configured phase is disturbed by a quantization error, which is modelled as uniformly distributed RVs following [17]. Then, the discrete phase control in (12) is rewritten as
(13) |
where denotes the quantization error and , . Accordingly, we denote the effective channel for the -th device in the -th cluster at the -th round as , where .
Lemma 2:
With the discrete phase control in (13), the expectation and variance of the effective channels are
(14) |
where is a diagonal matrix, and its -th diagonal element is and all the other diagonal elements are 1.
Proof:
The expectation of is equal to . Then, combining with Lemma 1, we complete the proof.
Remark 3:
Compared to the results in Lemma 1, discrete phase shifts brings about only a constant scaling but does not change the statistical properties of effective channels. Therefore, the statistical interference elimination is also attained by applying the discrete phase control.
Next, regarding the analysis of the average power of the interference, we derive the following lemma.
Lemma 3:
Compared with the continuous phase shifts, the average power of the interference obtained via discrete phase control, denoted by , satisfies , where .
Proof:
To achieve the same aggregation coefficient, we have
(15) |
where and respectively denote the scaling factors for the continuous and discrete phase control. Moreover, according to (Proof), the average power of the interference is proportional to . Hence, we complete the proof.
As observed in Lemma 3, the performance gap between the continuous and discrete phase control methods vanishes with increasing . Moreover, also decreases by as increases and we conclude the following corollary.
Corollary 2:
Regardless of the quantization precision of phase shifts, the proposed analog beamforming method always achieves the same scaling law for interference power.
The proposed analog beamforming method, designed to prioritize favorable propagation over precise signal processing, demonstrates resilience to the impacts of non-ideal hardware. Hence, it suggests us to use a large number of low-precision phase shifters to achieve a satisfactory performance of interference elimination.



IV Numerical Results
In this section, numerical simulations are presented to validate the proposed scheme. Without loss of generality, we neglect the large-scale path loss and normalize it as 1. Besides, we adopt the same transmit power budget of each devices, denoted by . The signal-to-noise ratio (SNR) is defined as . To evaluate the learning performance, we simultaneously conduct two FL tasks of image classification. The two tasks are performed on the two popular datasets, i.e., MNIST and CIFAR-10, respectively. The trained AI model is a convolutional neural network (CNN). The learning parameters are set as: the batch size , the learning rate , and the number of local iterations and for the FL tasks on MNIST and CIFAR-10, respectively.
Fig. 3 depicts the element-wise power of the interference with different number of phase shifters (antennas), . The element-wise power of the interference is defined as , representing the normalized interference power. It is observed that, in line with the theoretical results, the power of the interference decreases by an order of with using the proposed analog beamforming, and exhibits the same order with that using RO. Furthermore, we observe that using a low precision phase shifter does not result in significant performance loss. The performance comparable to that with ideal continuous phase shifters can be achieved with . These results demonstrate that the additional expensive RF chains can be entirely replaced with low-cost phase shifters.
In Fig. 3, we show the impact of the number of tasks, . As increases, all schemes experience greater interference. Compared to the RO method, the performance gap between the proposed analog beamforming and it gradually widens with increasing . This is because as the number of tasks increases, the number of phase shifters assigned to each task decreases, leading to reduced interference suppression performance. This indicates that when faced with more tasks, additional analog phase shifters are required to achieve satisfactory performance.
Finally, we evaluate the convergence performance of the FL tasks in Fig. 3. We exploit the ideal case with perfect transmission as a benchmark. When sufficient phase shifters are deployed, e.g., , the proposed analog beamforming method effectively eliminates interference and approaches the FL performance under ideal case, even with low-precision phase shifters.
V Conclusion
In this paper, we have developed a multi-task AirFL framework based on analog beamforming at the PS. Following the favorable propagation and channel hardening properties, we have designed a quantized analog beamforming method for statistical interference elimination. It has validated the cost-effective characteristic of the proposed method compared to existing fully-digital beamforming method based on RO.
References
- [1] W. Xu et al., “Edge learning for B5G networks with distributed signal processing: Semantic communication, edge computing, and wireless sensing,” IEEE J. Sel. Topics Signal Process., vol. 17, no. 1, pp. 9–39, Jan. 2023.
- [2] M. M. Amiri and D. Gündüz, “Federated learning over wireless fading channels,” IEEE Trans. Wireless Commun., vol. 19, no. 5, pp. 3546–3557, May 2020.
- [3] W. Shi et al., “Combating interference for over-the-air federated learning: A statistical approach via ris,” IEEE Trans. Signal Process., vol. 73, pp. 936–953, 2025.
- [4] J. Yao et al., “Wireless federated learning over resource-constrained networks: Digital versus analog transmissions,” IEEE Trans. Wireless Commun., vol. 23, no. 10, pp. 14 020–14 036, Oct. 2024.
- [5] K. Yang, T. Jiang, Y. Shi, and Z. Ding, “Federated learning via over-the-air computation,” IEEE Trans. Wireless Commun., vol. 19, no. 3, pp. 2022–2035, Mar. 2020.
- [6] A. Ghosh et al., “An efficient framework for clustered federated learning,” IEEE Trans. Inf. Theo., vol. 68, no. 12, pp. 8076–8091, Dec. 2022.
- [7] W. Shi et al., “Empowering over-the-air personalized federated learning via RIS,” Sci. China Inf. Sci., vol. 67, no. 11, pp. 1–2, Nov. 2024.
- [8] H. U. Sami and B. Güler, “Over-the-air clustered federated learning,” IEEE Trans. Wireless Commun., vol. 23, no. 7, pp. 7877–7893, Jul. 2024.
- [9] G. Shi, S. Guo, J. Ye, N. Saeed, and S. Dang, “Multiple parallel federated learning via over-the-air computation,” IEEE Open J. Commun. Soc., vol. 3, pp. 1252–1264, Aug. 2022.
- [10] C. Zhong, H. Yang, and X. Yuan, “Over-the-air federated multi-task learning over MIMO multiple access channels,” IEEE Trans. Wireless Commun., vol. 22, no. 6, pp. 3853–3868, Jun. 2023.
- [11] Z. Zhang et al., “Turning channel noise into an accelerator for over-the-air principal component analysis,” IEEE Trans. Wireless Commun., vol. 21, no. 10, pp. 7926–7941, Oct. 2022.
- [12] X. Yu et al., “Alternating minimization algorithms for hybrid precoding in millimeter wave MIMO systems,” IEEE J. Sel. Topics Signal Process., vol. 10, no. 3, pp. 485–500, Apr. 2016.
- [13] J. Yao, Z. Yang, W. Xu, D. Niyato, and X. You, “Imperfect CSI: A key factor of uncertainty to over-the-air federated learning,” IEEE Wireless Commun. Lett., vol. 12, no. 12, pp. 2273–2277, Dec. 2023.
- [14] N. Zhang and M. Tao, “Gradient statistics aware power control for over-the-air federated learning,” IEEE Trans. Wireless Commun., vol. 20, no. 8, pp. 5115–5128, Aug. 2021.
- [15] J. Wu et al., “On the noisy gradient descent that generalizes as SGD,” in Proc. Int. Conf. Machine Learn. (ICML), 2020, pp. 10 367–10 376.
- [16] X. Wei, C. Shen, J. Yang, and H. V. Poor, “Random orthogonalization for federated learning in massive MIMO systems,” IEEE Trans. Wireless Commun., vol. 23, no. 3, pp. 2469–2485, Mar. 2024.
- [17] W. Shi, J. Xu, W. Xu, M. D. Renzo, and C. Zhao, “Secure outage analysis of RIS-assisted communications with discrete phase control,” IEEE Trans. Veh. Techn., vol. 72, no. 4, pp. 5435–5440, Apr. 2023.