加速分布式 DNN 训练的模型参数预测方法

IF 4.4 2区 计算机科学 Q1 COMPUTER SCIENCE, HARDWARE & ARCHITECTURE
Wai-xi Liu , Dao-xiao Chen , Miao-quan Tan , Kong-yang Chen , Yue Yin , Wen-Li Shang , Jin Li , Jun Cai
{"title":"加速分布式 DNN 训练的模型参数预测方法","authors":"Wai-xi Liu ,&nbsp;Dao-xiao Chen ,&nbsp;Miao-quan Tan ,&nbsp;Kong-yang Chen ,&nbsp;Yue Yin ,&nbsp;Wen-Li Shang ,&nbsp;Jin Li ,&nbsp;Jun Cai","doi":"10.1016/j.comnet.2024.110883","DOIUrl":null,"url":null,"abstract":"<div><div>As the size of deep neural network (DNN) models and datasets increases, distributed training becomes popular to reduce the training time. However, a severe communication bottleneck in distributed training limits its scalability. Many methods aim to address this communication bottleneck by reducing communication traffic, such as gradient sparsification and quantization. However, these methods either are at the expense of losing model accuracy or introducing lots of computing overhead. We have observed that the data distribution between layers of neural network models is similar. Thus, we propose a model parameter prediction method (MP<sup>2</sup>) to accelerate distributed DNN training under parameter server (PS) framework, where workers push only a subset of model parameters to the PS, and residual model parameters are locally predicted by an already-trained deep neural network model on the PS. We address several key challenges in this approach. First, we build a hierarchical parameters dataset by randomly sampling a subset of model from normal distributed trainings. Second, we design a neural network model with the structure of “convolution + channel attention + Max pooling” for predicting model parameters by using a prediction result-based evaluation method. For VGGNet, ResNet, and AlexNet models on CIFAR10 and CIFAR100 datasets, compared with Baseline, Top-k, deep gradient compression (DGC), and weight nowcaster network (WNN), MP<sup>2</sup> can reduce traffic by up to 88.98%; and accelerates the training by up to 47.32% while not losing the model accuracy. MP<sup>2</sup> has shown good generalization.</div></div>","PeriodicalId":50637,"journal":{"name":"Computer Networks","volume":"255 ","pages":"Article 110883"},"PeriodicalIF":4.4000,"publicationDate":"2024-11-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Model Parameter Prediction Method for Accelerating Distributed DNN Training\",\"authors\":\"Wai-xi Liu ,&nbsp;Dao-xiao Chen ,&nbsp;Miao-quan Tan ,&nbsp;Kong-yang Chen ,&nbsp;Yue Yin ,&nbsp;Wen-Li Shang ,&nbsp;Jin Li ,&nbsp;Jun Cai\",\"doi\":\"10.1016/j.comnet.2024.110883\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>As the size of deep neural network (DNN) models and datasets increases, distributed training becomes popular to reduce the training time. However, a severe communication bottleneck in distributed training limits its scalability. Many methods aim to address this communication bottleneck by reducing communication traffic, such as gradient sparsification and quantization. However, these methods either are at the expense of losing model accuracy or introducing lots of computing overhead. We have observed that the data distribution between layers of neural network models is similar. Thus, we propose a model parameter prediction method (MP<sup>2</sup>) to accelerate distributed DNN training under parameter server (PS) framework, where workers push only a subset of model parameters to the PS, and residual model parameters are locally predicted by an already-trained deep neural network model on the PS. We address several key challenges in this approach. First, we build a hierarchical parameters dataset by randomly sampling a subset of model from normal distributed trainings. Second, we design a neural network model with the structure of “convolution + channel attention + Max pooling” for predicting model parameters by using a prediction result-based evaluation method. For VGGNet, ResNet, and AlexNet models on CIFAR10 and CIFAR100 datasets, compared with Baseline, Top-k, deep gradient compression (DGC), and weight nowcaster network (WNN), MP<sup>2</sup> can reduce traffic by up to 88.98%; and accelerates the training by up to 47.32% while not losing the model accuracy. MP<sup>2</sup> has shown good generalization.</div></div>\",\"PeriodicalId\":50637,\"journal\":{\"name\":\"Computer Networks\",\"volume\":\"255 \",\"pages\":\"Article 110883\"},\"PeriodicalIF\":4.4000,\"publicationDate\":\"2024-11-08\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Computer Networks\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S1389128624007151\",\"RegionNum\":2,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computer Networks","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1389128624007151","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE","Score":null,"Total":0}
引用次数: 0

摘要

随着深度神经网络(DNN)模型和数据集规模的扩大,分布式训练开始流行起来,以缩短训练时间。然而,分布式训练中严重的通信瓶颈限制了其可扩展性。许多方法都旨在通过减少通信流量来解决这一通信瓶颈,如梯度稀疏化和量化。然而,这些方法要么以损失模型精度为代价,要么引入大量计算开销。我们观察到,神经网络模型各层之间的数据分布是相似的。因此,我们提出了一种模型参数预测方法(MP2),以加速参数服务器(PS)框架下的分布式 DNN 训练,即工作人员只向 PS 推送模型参数子集,残余模型参数则由 PS 上已训练好的深度神经网络模型进行本地预测。我们解决了这一方法面临的几个关键挑战。首先,我们通过从正态分布训练中随机抽样模型子集来建立分层参数数据集。其次,我们设计了一个 "卷积+通道注意+最大池化 "结构的神经网络模型,利用基于预测结果的评估方法预测模型参数。对于 CIFAR10 和 CIFAR100 数据集上的 VGGNet、ResNet 和 AlexNet 模型,与 Baseline、Top-k、深度梯度压缩(DGC)和权重现主网络(WNN)相比,MP2 最多可减少 88.98% 的流量;在不损失模型准确性的情况下,最多可加快 47.32% 的训练速度。MP2 具有良好的泛化能力。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Model Parameter Prediction Method for Accelerating Distributed DNN Training
As the size of deep neural network (DNN) models and datasets increases, distributed training becomes popular to reduce the training time. However, a severe communication bottleneck in distributed training limits its scalability. Many methods aim to address this communication bottleneck by reducing communication traffic, such as gradient sparsification and quantization. However, these methods either are at the expense of losing model accuracy or introducing lots of computing overhead. We have observed that the data distribution between layers of neural network models is similar. Thus, we propose a model parameter prediction method (MP2) to accelerate distributed DNN training under parameter server (PS) framework, where workers push only a subset of model parameters to the PS, and residual model parameters are locally predicted by an already-trained deep neural network model on the PS. We address several key challenges in this approach. First, we build a hierarchical parameters dataset by randomly sampling a subset of model from normal distributed trainings. Second, we design a neural network model with the structure of “convolution + channel attention + Max pooling” for predicting model parameters by using a prediction result-based evaluation method. For VGGNet, ResNet, and AlexNet models on CIFAR10 and CIFAR100 datasets, compared with Baseline, Top-k, deep gradient compression (DGC), and weight nowcaster network (WNN), MP2 can reduce traffic by up to 88.98%; and accelerates the training by up to 47.32% while not losing the model accuracy. MP2 has shown good generalization.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
Computer Networks
Computer Networks 工程技术-电信学
CiteScore
10.80
自引率
3.60%
发文量
434
审稿时长
8.6 months
期刊介绍: Computer Networks is an international, archival journal providing a publication vehicle for complete coverage of all topics of interest to those involved in the computer communications networking area. The audience includes researchers, managers and operators of networks as well as designers and implementors. The Editorial Board will consider any material for publication that is of interest to those groups.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信