Abstract
Traditional Federated Learning (FL) relies on a centralized "star" architecture, which presents risks of single points of failure and communication bottlenecks. This paper investigates decentralized FL within Device-to-Device (D2D) networks. We propose two wireless implementations of decentralized stochastic gradient descent (DSGD)—digital and analog—and provide a rigorous convergence analysis. Our findings highlight that an adaptive consensus rate is essential to prevent divergence in analog training caused by wireless noise accumulation.
Introduction
Most Federated Learning research assumes a "Parameter Server" (PS) model where clients communicate with a central base station. While simple, this creates a single point of failure and is often impractical in scenarios where a central coordinator is unavailable, undesirable for privacy reasons, or out of range.
Decentralized FL offers a robust alternative by allowing devices to communicate only with their immediate neighbors in a mesh-like D2D network. However, implementing this over wireless links introduces significant physical layer constraints, including fading, interference, and noise. This paper bridges the gap by providing a rigorous convergence analysis of decentralized learning over actual noisy wireless channels.
Methodology
The authors build their framework on CHOCO-SGD, a state-of-the-art decentralized algorithm that uses "error feedback" to handle aggressive communication compression. They propose two ways to implement this over the air:
- Digital Transmission: Devices quantize their model updates and broadcast them to neighbors using dedicated time slots. A "vertex-coloring" scheduling approach is used to ensure neighbors do not interfere with each other.
- Analog Transmission (AirComp): This leverages Over-the-Air Computation (AirComp), where multiple devices transmit simultaneously on the same frequency. The wireless medium itself performs the "summation" of the signals via wave superposition.
Key Technical Innovations
- Random Linear Coding (RLC): To reduce the massive size of neural network updates, RLC is used for compression. It is a simple linear projection that works effectively for both digital bitstreams and analog waveforms.
- Adaptive Consensus Step Size: In analog versions, wireless noise accumulates over time. The authors discovered that using a constant "consensus rate" (how much a node trusts its neighbors' models) causes training to fail. They introduced a diminishing consensus rate that "cools down" the influence of noisy neighbor updates as training progresses.
Experimental Setup
The algorithms were evaluated using the Fashion-MNIST dataset (60,000 training samples, 10,000 test samples) across 10 classes. The simulation utilized a "non-IID" (Independent and Identically Distributed) scenario where each of the 20 devices only had access to a subset of the image classes, making collaboration essential for achieving high accuracy.
Key Insights and Results
- The Bandwidth Trade-off: Analog transmission is a "high-risk, high-reward" strategy, allowing all neighbors to communicate simultaneously for low latency, though it remains sensitive to noise. Digital transmission is slower due to turn-taking but more robust through error-correcting codes.
- Topology is Destiny: The "spectral gap" of the network graph—a measure of connectivity—directly dictates the consensus error. Denser networks reach a shared model much faster than sparse ones.
- Convergence Bounds: The authors derived explicit mathematical bounds for the "optimality gap." They proved that for digital systems, the error eventually matches centralized training. For analog, there is a "noise floor" depending on the Signal-to-Noise Ratio (SNR), which can be minimized with the proposed adaptive consensus strategy.
Limitations and Future Work
While the proposed schemes show promise, several challenges remain. The analog scheme relies on "channel inversion," which can accidentally amplify noise on weak links. Furthermore, the current theoretical proofs assume "strongly convex" loss functions, whereas real-world deep learning is typically non-convex. Future work will also need to address "stragglers"—devices that are slower than others—to make decentralized D2D FL truly asynchronous.
Summary updated