Abstract
Federated learning usually employs a client-server architecture where an orchestrator iteratively aggregates model updates from remote clients and pushes them back a refined model. This approach may be inefficient in cross-silo settings, as close-by data silos with high-speed access links may exchange information faster than with the orchestrator, and the orchestrator may become a communication bottleneck. In this paper we define the problem of topology design for cross-silo federated learning using the theory of max-plus linear systems to compute the system throughput—number of communication rounds per time unit. We also propose practical algorithms that, under the knowledge of measurable network characteristics, find a topology with the largest throughput or with provable throughput guarantees. In realistic Internet networks with 10 Gbps access links for silos, our algorithms speed up training by a factor 9 and 1.5 in comparison to the master-slave architecture and to state-of-the-art MATCHA, respectively. Speedups are even larger with slower access links.
Introduction
In Federated Learning (FL), the standard "hub-and-spoke" model involves a central orchestrator communicating with numerous remote devices. While effective for mobile-scale FL, this architecture is often suboptimal for cross-silo FL, where participants are typically a few dozen reliable data centers (e.g., hospitals or financial institutions) equipped with high-speed connections.
The standard star topology introduces two primary inefficiencies:
- Orchestrator Bottleneck: The central server's bandwidth is shared among all participants, creating a significant communication bottleneck.
- Underutilized Local Connectivity: Silos in close proximity could exchange data significantly faster than they can communicate with a distant orchestrator.
This research shifts the focus from optimizing the convergence rate (rounds needed) to maximizing throughput (rounds per time unit) by designing optimized peer-to-peer communication overlays.
Methodology
The authors utilize max-plus linear system theory to model the duration of communication rounds. This framework is ideal for synchronous systems where a node's progress is gated by the slowest of its neighbors. The core objective is solving the Minimal Cycle Time (MCT) problem: identifying a spanning subgraph (overlay) that minimizes the time required per training round.
The study categorizes network constraints into two regimes:
- Edge-capacitated: Bottlenecks occur in the core network links. In this scenario, a Minimum Spanning Tree (MST) is optimal.
- Node-capacitated: Bottlenecks occur at the silo's access links (upload/download speeds). This is the more realistic model for Internet-scale cross-silo FL. As this problem is NP-hard, the authors propose approximation algorithms:
- RING Topology: Utilizes Christofides’ algorithm to create a directed ring, ensuring each node manages only one upload and one download.
- $\delta$-MBST: A degree-bounded bottleneck spanning tree.
Experimental Evaluation
The approach was evaluated using the LEAF Benchmark (Shakespeare, FEMNIST, Sentiment140) and a geolocalized version of the iNaturalist dataset to simulate realistic data distributions. Network topologies were modeled using real-world ISP data from the Rocketfuel engine and The Internet Topology Zoo, as well as synthetic AWS-based environments.
Key Results and Insights
- Throughput vs. Convergence: While denser topologies may converge in fewer rounds, the increased round duration due to network congestion often negates these gains. Sparser topologies like the RING or Tree significantly improve overall wall-clock time.
- Performance Gains: In simulations with 10 Gbps access links, the proposed algorithms achieved a 9x speedup over the Star architecture and a 1.5x speedup over MATCHA.
- Scalability: The benefits are even more pronounced in "slow access link" regimes, where the RING topology can be up to $2N$ times faster than the Star topology.
- Convergence Trade-off: Sparser topologies required approximately 20% more rounds to reach convergence compared to the Star topology, but the drastically faster rounds resulted in a much lower total training time.
Conclusion and Future Work
By leveraging max-plus algebra to optimize network overlays, this work provides a robust framework for high-throughput cross-silo FL. Future research directions include extending the model to asynchronous systems, accounting for network volatility, and optimizing the balance between local computation steps and communication frequency.
Summary updated