FedCod: An Efficient Communication Protocol for Cross-Silo Federated Learning with Coding

Peishen Yan, Jun Li, Hao Wang, Tao Song, Yang Hua, Peng Lu, Haihui Zhou, Haibing Guan · DOI

Introduction

Federated Learning (FL) has emerged as a critical paradigm for collaborative model training across decentralized data silos without compromising raw data privacy. However, in "cross-silo" scenarios where participants are geographically dispersed data centers, the wide-area network (WAN) becomes a significant bottleneck. WAN links are characterized by high heterogeneity and unpredictable bandwidth fluctuations, which often stall the training process. While algorithmic approaches like model compression or infrequent synchronization can mitigate these issues, they frequently trade off model accuracy. This paper introduces FedCod, a novel application-layer communication protocol designed to accelerate cross-silo FL by leveraging linear coding and client-to-client (P2P) communication without sacrificing model quality.

Methodology

FedCod is an "algorithm-agnostic" protocol that optimizes the communication layer of FL. It addresses the server-side ingress and egress bottlenecks through three primary mechanisms:

Coded Download and Upload

In the Coded Download Phase, the server avoids redundant transmissions by splitting the model into $k$ partitions and sending random linear combinations (encoded blocks) to different clients. Clients then utilize idle inter-client bandwidth to exchange these blocks and reconstruct the full model.

For the Coded Aggregation (Coded-AGR) Upload Phase, clients encode their local updates and share them with neighbors. These neighbors perform local pre-aggregation of the encoded blocks before transmitting a single aggregated block to the server. This strategy significantly reduces the server's ingress traffic, which is typically the primary bottleneck in large-scale deployments.

Adaptive Redundancy and Wait-Mode Strategy

To handle the inherent instability of WANs, FedCod employs an Adaptive Redundancy Algorithm. It starts with high redundancy to ensure reliability, gradually decreasing it as network conditions stabilize, and rapidly increasing it upon detecting fluctuations. Furthermore, the protocol implements a Wait-Mode Strategy, where clients wait to aggregate all neighbor blocks before uploading to the server, a method mathematically proven to be more efficient than immediate transmission.

Global AWS topology used for evaluating FedCod performance across geographically distributed silos.

Experimental Evaluation

The effectiveness of FedCod was evaluated using the CIFAR-10 dataset and a ResNet-152 model. The researchers simulated realistic cross-silo environments by deploying the system across 10 global AWS regions (Global Topology) and a hybrid of 8 AWS/Azure regions across North America.

Results and Discussion

FedCod demonstrates substantial performance gains over standard FL protocols. In global experiments, the protocol achieved a communication time reduction of up to 62%. The Coded-AGR strategy proved particularly effective, slashing server ingress traffic to just 14% of the baseline.

Comparison of communication time between baseline FL and FedCod (Network Coding) across download, upload, and waiting phases.

Crucially, because FedCod operates at the protocol level using lossless linear coding, it maintains zero accuracy loss. The models trained via FedCod reached the exact same convergence levels as those trained with standard synchronous SGD. The protocol also showed high resilience; in simulations with faulty links, FedCod maintained stable efficiency while standard protocols stalled.

Conclusion

FedCod represents a significant step forward in making cross-silo Federated Learning practical at a global scale. By shifting the focus from algorithmic compression to network-layer optimization through coding and P2P communication, it bypasses traditional WAN bottlenecks. While future work is needed to address silo trust and the computational overhead for extremely large models, FedCod provides a robust, lossless framework for efficient distributed training.

Summary updated

BibTeX
@inproceedings{yan2026fedcod,
  author = {Peishen Yan and Jun Li and Hao Wang and Tao Song and Yang Hua and Peng Lu and Haihui Zhou and Haibing Guan},
  title = {{FedCod: An Efficient Communication Protocol for Cross-Silo Federated Learning with Coding}},
  booktitle = {IWQoS},
  year = {2026},
  doi = {10.1109/iwqos70441.2026.11661089},
}
Figure