Abstract
In federated learning (FL), a machine learning model is trained on multiple nodes in a decentralized manner, while keeping the data local and not shared with other nodes. However, FL requires the nodes to also send information on the model parameters to a central server for aggregation. However, the information sent from the nodes to the server may reveal some details about each node's local data, thus raising privacy concerns. Furthermore, the repetitive uplink transmission from the nodes to the server may result in a communication overhead and network congestion. To address these two challenges, in this paper, a novel two-bit aggregation algorithm is proposed with guaranteed differential privacy and reduced uplink communication overhead. Extensive experiments demonstrate that the proposed aggregation algorithm can achieve the same performance as state-of-the-art approaches on datasets such as MNIST, Fashion MNIST, CIFAR-10, and CIFAR-100, while ensuring differential privacy and improving communication efficiency.
Introduction
Federated Learning (FL) has emerged as a powerful paradigm for privacy-preserving machine learning. By allowing devices to train models locally and only share parameter updates, it avoids the risks associated with centralized data collection. However, FL is not without its challenges. Modern deep learning models involve millions of parameters, leading to significant communication bottlenecks during the frequent synchronization rounds. Moreover, research has demonstrated that "gradient leakage" can allow adversaries to reconstruct sensitive local data from shared updates.
This paper addresses this "double headache" by proposing a Two-Bit Aggregation algorithm. The method compresses every model parameter update into just two bits—one for the sign and one for a randomly selected bit of the magnitude. This approach provides formal $(\epsilon, 0)$-Differential Privacy (DP) guarantees while reducing uplink communication overhead by up to 32x compared to standard 64-bit training.
Methodology
The core innovation lies in the Two-Bit Mapping algorithm and its corresponding server-side aggregation mechanism.
Two-Bit Mapping (Client Side)
Instead of transmitting high-precision floating-point gradients, each client performs a multi-step mapping process:
- Scaling: Gradients are scaled based on a server-provided maximum value ($m$) to fit into a fixed-point integer range.
- Sign Bit: One bit is dedicated to representing the sign (positive or negative) of the gradient.
- Magnitude Bit: The server requests a specific bit position ($k$) from the binary representation of the gradient's absolute value. The client sends only that single bit.
Server-Side Aggregation
The server receives two bits per parameter from each participating node. To reconstruct the global update, the server clusters updates by their sign bit and uses majority voting across different nodes (which were assigned different bit positions) to reconstruct the most likely binary representation of the average update. This reconstructed binary value is then converted back into a real number to update the global model.
Experimental Evaluation
The proposed method was evaluated on standard benchmarks including MNIST, Fashion MNIST, CIFAR-10, and CIFAR-100. The experiments aimed to verify if the extreme compression and privacy-preserving bit selection impacted final model performance.
The results indicate remarkable accuracy parity. For instance, on CIFAR-10, the Two-Bit aggregator achieved 64.23% accuracy, nearly identical to standard FedAVG (64.21%) and slightly exceeding traditional DP-enabled FedAVG (64.11%). Furthermore, the communication overhead is reduced by a factor of 1/16 for 32-bit systems and 1/32 for 64-bit systems, with convergence speeds remaining consistent with uncompressed methods.
Discussion and Insights
A significant finding is that privacy in this framework is a "free" byproduct of the randomized quantization. Unlike standard DP approaches that add Gaussian noise, this method derives privacy from the fact that clients reveal only a tiny, randomized fraction of the gradient. Interestingly, as the bit-depth of the underlying system increases, the privacy level ($\epsilon$) improves, as a single bit reveals proportionally less information.
However, the approach does have requirements: the server-side aggregation needs a sufficient number of nodes ($n \ge p-1$) to ensure all bit positions are sampled. Additionally, the algorithm's precision depends on the server's ability to estimate the maximum gradient value ($m$) for each round.
Conclusion
The Two-Bit Aggregation algorithm successfully mitigates the communication and privacy challenges of Federated Learning. By achieving state-of-the-art accuracy with extreme compression and absolute $(\epsilon, 0)$-Differential Privacy, it offers a scalable solution for decentralized training in resource-constrained and privacy-sensitive environments.
Summary updated