[Paper Review] Poseidon: A System Architecture for Efficient GPU-based Deep Learning on Multiple Machines
Poseidon is a system architecture that enables efficient, scalable deep learning training across multiple GPU-equipped machines using only commodity Ethernet. By integrating a three-level hybrid architecture, a wait-free backpropagation algorithm (DWBP), and a structure-aware communication protocol (SACP), Poseidon achieves up to 6× speedup on AlexNet and 4× on GoogLeNet with 8 nodes, approaching linear speedup while maintaining convergence and accuracy.
Deep learning (DL) has achieved notable successes in many machine learning tasks. A number of frameworks have been developed to expedite the process of designing and training deep neural networks (DNNs), such as Caffe, Torch and Theano. Currently they can harness multiple GPUs on a single machine, but are unable to use GPUs that are distributed across multiple machines; as even average-sized DNNs can take days to train on a single GPU with 100s of GBs to TBs of data, distributed GPUs present a prime opportunity for scaling up DL. However, the limited bandwidth available on commodity Ethernet networks presents a bottleneck to distributed GPU training, and prevents its trivial realization. To investigate how to adapt existing frameworks to efficiently support distributed GPUs, we propose Poseidon, a scalable system architecture for distributed inter-machine communication in existing DL frameworks. We integrate Poseidon with Caffe and evaluate its performance at training DNNs for object recognition. Poseidon features three key contributions that accelerate DNN training on clusters: (1) a three-level hybrid architecture that allows Poseidon to support both CPU-only and GPU-equipped clusters, (2) a distributed wait-free backpropagation (DWBP) algorithm to improve GPU utilization and to balance communication, and (3) a structure-aware communication protocol (SACP) to minimize communication overheads. We empirically show that Poseidon converges to same objectives as a single machine, and achieves state-of-art training speedup across multiple models and well-established datasets using a commodity GPU cluster of 8 nodes (e.g. 4.5x speedup on AlexNet, 4x on GoogLeNet, 4x on CIFAR-10). On the much larger ImageNet22K dataset, Poseidon with 8 nodes achieves better speedup and competitive accuracy to recent CPU-based distributed systems such as Adam and Le et al., which use 10s to 1000s of nodes.
Motivation & Objective
- To enable efficient distributed training of deep neural networks across multiple GPU-equipped machines using only commodity Ethernet networks.
- To overcome the communication bottleneck caused by limited inter-machine bandwidth in commodity clusters.
- To enhance existing single-machine deep learning frameworks like Caffe with distributed GPU capabilities without requiring a complete rewrite.
- To achieve high GPU utilization and minimize communication overhead in multi-node GPU clusters.
- To maintain convergence and accuracy while scaling training across multiple machines using data parallelism.
Proposed method
- Introduces a three-level hybrid architecture that supports both CPU-only and GPU-equipped clusters, enabling flexible deployment on commodity hardware.
- Employs a distributed wait-free backpropagation (DWBP) algorithm to overlap communication with computation, reducing idle time and improving GPU utilization.
- Designs a structure-aware communication protocol (SACP) that minimizes communication overhead by intelligently organizing parameter synchronization based on network topology and layer structure.
- Uses a stale synchronous parallel (SSP) consistency model to allow controlled staleness in parameter updates, improving bandwidth utilization and reducing synchronization delays.
- Integrates seamlessly with existing deep learning frameworks like Caffe by extending them with distributed communication and synchronization primitives.
- Employs bulk synchronous parallel (BSP) and SSP modes to balance convergence stability and training speed, with SSP allowing partial asynchrony to improve throughput.
Experimental results
Research questions
- RQ1How can existing deep learning frameworks be extended to efficiently utilize distributed GPUs across multiple machines using only commodity Ethernet?
- RQ2What system-level optimizations are required to overcome communication bottlenecks in multi-GPU, multi-node deep learning clusters?
- RQ3Can a hybrid architecture support both CPU-only and GPU-equipped clusters while maintaining high performance and scalability?
- RQ4To what extent can wait-free backpropagation and structure-aware communication reduce training latency and improve GPU utilization?
- RQ5How does the SSP consistency model affect convergence, accuracy, and speedup in distributed deep learning on commodity hardware?
Key findings
- Poseidon achieves a 4.5× speedup on AlexNet and 4× speedup on GoogLeNet using 8 GPU nodes, with SACP further improving speedup to 6× on AlexNet.
- With DWBP and SACP enabled, Poseidon reduces throughput loss from 80% (without optimization) to less than 25% when scaling to 8 nodes, approaching near-linear speedup.
- On the large-scale ImageNet 22K dataset, Poseidon with 8 nodes achieves competitive accuracy and better speedup than recent CPU-based systems like Adam and Le et al., despite using far fewer nodes.
- The SSP consistency model improves throughput by up to 27% (from 3.0 to 3.8 speedup) on AlexNet with 4 nodes, demonstrating reduced sensitivity to slow nodes.
- Poseidon converges to the same objective value as single-machine training, confirming that its distributed training maintains model accuracy and stability.
- SACP introduces minor computational overhead due to parameter matrix reconstruction but still yields significant net performance gains, especially on deeper models like AlexNet.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.