Abstract
Deep learning has revolutionized network applications in domains such as e-commerce and online advertising. Distributed training (DT) is essential for expediting model training but has encountered a significant performance bottleneck: the shift from computation to communication. While In-Network Aggregation (INA) solutions have emerged to alleviate this, they often struggle with limited ingress bandwidth in traditional Parameter Server (PS) architectures. We propose InArt, the first framework to introduce INA with intelligent routing selection in a multi-PS architecture. InArt employs a two-phase approach—splitting the training model among multiple servers and selecting optimal routing paths—to maximize aggregation efficiency. Experimental results on physical Tofino switches and Mininet emulation demonstrate that InArt reduces communication time by 49% compared to state-of-the-art solutions.
Introduction
As hardware accelerators like GPUs and FPGAs continue to advance, the primary bottleneck in Distributed Training (DT) has transitioned from local computation to network communication. In the standard Parameter Server (PS) model, workers transmit gradients to a central server for aggregation. As clusters scale, the PS's inbound bandwidth becomes a critical choke point.
In-Network Aggregation (INA) addresses this by performing gradient summation within programmable switches as data traverses the network. However, existing INA implementations typically assume a single-PS architecture or fixed routing paths. These constraints fail to address the ingress bandwidth limitations of a single PS and ignore how routing decisions can fundamentally alter the volume of traffic in an aggregation-enabled network. InArt bridges this gap by combining a multi-PS architecture with dynamic route selection.
The InArt Framework
InArt treats model partitioning and network routing as a joint optimization problem. Recognizing that network conditions fluctuate more rapidly than model parameters should be redistributed, the system utilizes a two-phase optimization strategy:
1. L-InArt: Strategic Model Splitting
The first phase, L-InArt, occurs at longer intervals (e.g., daily). It determines the optimal proportion of the model to be handled by each PS in a multi-server setup. By utilizing a Lagrange multiplier-based algorithm, InArt simplifies a complex non-linear optimization problem into a solvable format, ensuring that the computational and memory workload is balanced across the available PS infrastructure.
2. R-InArt: Dynamic Routing and Aggregation
The second phase, R-InArt, is triggered by short-term network dynamics such as congestion. This phase identifies the specific routing paths and selects which programmable switches will perform the aggregation. InArt uses a randomized rounding-based algorithm to solve this. By relaxing an integer programming problem into a linear one and then applying rounding techniques, InArt identifies high-quality routing schemes in polynomial time, allowing the system to remain agile in the face of network jitter.
Experimental Setup
The researchers evaluated InArt using a combination of physical hardware and large-scale emulation:
- Physical Testbed: Intel Tofino programmable switches using P4 for data plane logic.
- Emulation: A Mininet environment featuring 54 servers and a fat-tree topology.
- Models: VGG19 (548MB), ResNet-50 (97MB), and LSTM.
- Dataset: Cifar-100 (60,000 images across 100 classes).
InArt was benchmarked against standard Load Balancing (LBMM) and the current state-of-the-art INA solution, ATP.
Key Insights and Results
InArt demonstrates that INA and multi-PS architectures are mutually beneficial. While splitting the model reduces the load on any single PS, INA reduces the total volume of traffic the network must carry. Crucially, InArt recognizes that in an INA environment, routing changes traffic volume: if gradients from two workers meet at a switch early, they are aggregated into a single packet, reducing downstream load.
Performance Metrics:
- Communication Speedup: InArt reduced communication time by 49% compared to ATP and LBMM.
- Network Throughput: The system achieved 1.6x higher throughput by utilizing network resources more efficiently.
- Server Load Reduction: InArt reduced the ingress traffic load on Parameter Servers by 53%, effectively doubling the available headroom for the servers.
- Convergence Time: For the VGG19 model, InArt reached target accuracy 1.2x to 1.84x faster than the benchmarks.
Conclusion
InArt represents a significant step forward in distributed training infrastructure by integrating routing logic with in-network computation. By separating long-term model partitioning from short-term route selection, the framework maintains stability while remaining responsive to network dynamics. Future work will explore the application of InArt to asynchronous training models and its performance in highly volatile, multi-tenant data center environments at a larger scale.
Summary updated