Zebra: Accelerating Distributed Sparse Deep Training With in-Network Gradient Aggregation for Hot Parameters
Distributed sparse deep learning has been widely used in many Internet-scale applications. Network communication is one of the major hurdles for training performance. In-network gradient aggregation on programmable switches is a promising solution for speeding up the performance. Nevertheless, existing in-network aggregation solutions are designed for the dense deep training, and fall short when used for the sparse training. To address this gap, we present Zebra based on our key observation on the extremely biased update frequency of parameters in distributed sparse deep training. Specifically, Zebra offloads only the aggregation for “hot” parameters that are updated frequently onto programmable switches. To enable this offloading and achieve high aggregation throughput, we propose solutions to address the challenges related to hot parameter identification, parameter orchestration and gradient aggregation as well as system reliability. We implemented Zebra on Intel Tofino switches and integrated it with PS-lite. Finally, we evaluate Zebra's performance through extensive experiments and show that it can speed up the gradient aggregation by <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$1.5 \sim 4 \times$</tex> and the end-to-end performance by <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$1.4 \sim 2.6 \times$</tex>.
Authors
- Gaogang Xie (ORCID: https://orcid.org/0000-0003-4964-1135)
- Penglai Cui
- Jiahao Wu (ORCID: https://orcid.org/0000-0002-4085-5295)
- Heng Pan (ORCID: https://orcid.org/0000-0002-5506-5958)
- Leilei Zhang (ORCID: https://orcid.org/0000-0002-3053-5079)
- Zhenyu Li (ORCID: https://orcid.org/0000-0001-6941-5982)
- Ru Jia
- Ye Yang (ORCID: https://orcid.org/0000-0002-7661-0396)
- Penghao Zhang (ORCID: https://orcid.org/0000-0003-3372-0971)
- Mathy Lauren
Institutions
- University of Liège (BE)
- International Centre for Theoretical Physics Asia-Pacific (CN)
- Computer Network Information Center (CN)
Publication Details
- Published
- 2024-10-28
- DOI
- https://doi.org/10.1109/icnp61940.2024.10858501
- Citations
- 1
- Primary Topic
- Advanced Neural Network Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.25
Funders
- National Key Research and Development Program of China