GPU Parallel Method for Deep Learning Image Classification

This paper proposes an improved ring all-reduce algorithm with lower time complexity to improve the low efficiency of multiple Graphics Processing Unit(GPU) parallel transmission in deep-learning image classification scenes.This algorithm optimizes the data transmission process based on interval pai...

Full description

Bibliographic Details
Published in:Jisuanji gongcheng
Main Author: HAN Yanling, SHEN Siyang, XU Lijun, WANG Jing, ZHANG Yun, ZHOU Ruyan
Format: Article
Language:English
Published: Editorial Office of Computer Engineering 2023-01-01
Subjects:
Online Access:https://www.ecice06.com/fileup/1000-3428/PDF/20230122.pdf
_version_ 1848666560941522944
author HAN Yanling, SHEN Siyang, XU Lijun, WANG Jing, ZHANG Yun, ZHOU Ruyan
author_facet HAN Yanling, SHEN Siyang, XU Lijun, WANG Jing, ZHANG Yun, ZHOU Ruyan
author_sort HAN Yanling, SHEN Siyang, XU Lijun, WANG Jing, ZHANG Yun, ZHOU Ruyan
collection DOAJ
container_title Jisuanji gongcheng
description This paper proposes an improved ring all-reduce algorithm with lower time complexity to improve the low efficiency of multiple Graphics Processing Unit(GPU) parallel transmission in deep-learning image classification scenes.This algorithm optimizes the data transmission process based on interval pairing among nodes to alleviate the bandwidth loss of the traditional parameter server parallel structure.Second, as data parallelism makes it challenging to support large-scale network parameters and accelerate the delay, this paper utilizes the characteristics that the weight parameters of the deep learning backbone network are lower than those of the full connection layer, the synchronization overhead is small, the weight of the full connection layer is large, and the gradient transmission overhead is very high. The backbone network data is parallel, and the model of the full connection layer is parallel.The parallel data communication between nodes is achieved using the improved Ring All Reduce algorithm, which is used for image classification training.Experiments were conducted on two widely used datasets:Cifar10 and mini ImageNet.The experimental results show that the proposed algorithm can achieve a better acceleration effect while maintaining classification accuracy.Compared with data parallelism, the improved effect can almost reach 45%.
format Article
id doaj-art-39ff770cd58b4004bbef0fafaa82bc3b
institution Directory of Open Access Journals
issn 1000-3428
language English
publishDate 2023-01-01
publisher Editorial Office of Computer Engineering
record_format Article
spelling doaj-art-39ff770cd58b4004bbef0fafaa82bc3b2025-10-29T06:39:03ZengEditorial Office of Computer EngineeringJisuanji gongcheng1000-34282023-01-0149119120010.19678/j.issn.1000-3428.0062607GPU Parallel Method for Deep Learning Image ClassificationHAN Yanling, SHEN Siyang, XU Lijun, WANG Jing, ZHANG Yun, ZHOU Ruyan0College of Information Technology, Shanghai Ocean University, Shanghai 201306, ChinaThis paper proposes an improved ring all-reduce algorithm with lower time complexity to improve the low efficiency of multiple Graphics Processing Unit(GPU) parallel transmission in deep-learning image classification scenes.This algorithm optimizes the data transmission process based on interval pairing among nodes to alleviate the bandwidth loss of the traditional parameter server parallel structure.Second, as data parallelism makes it challenging to support large-scale network parameters and accelerate the delay, this paper utilizes the characteristics that the weight parameters of the deep learning backbone network are lower than those of the full connection layer, the synchronization overhead is small, the weight of the full connection layer is large, and the gradient transmission overhead is very high. The backbone network data is parallel, and the model of the full connection layer is parallel.The parallel data communication between nodes is achieved using the improved Ring All Reduce algorithm, which is used for image classification training.Experiments were conducted on two widely used datasets:Cifar10 and mini ImageNet.The experimental results show that the proposed algorithm can achieve a better acceleration effect while maintaining classification accuracy.Compared with data parallelism, the improved effect can almost reach 45%.https://www.ecice06.com/fileup/1000-3428/PDF/20230122.pdfgpu parallel|ring all reduce algorithm|data parallelism|model parallelism|deep learning|image classification
spellingShingle HAN Yanling, SHEN Siyang, XU Lijun, WANG Jing, ZHANG Yun, ZHOU Ruyan
GPU Parallel Method for Deep Learning Image Classification
gpu parallel|ring all reduce algorithm|data parallelism|model parallelism|deep learning|image classification
title GPU Parallel Method for Deep Learning Image Classification
title_full GPU Parallel Method for Deep Learning Image Classification
title_fullStr GPU Parallel Method for Deep Learning Image Classification
title_full_unstemmed GPU Parallel Method for Deep Learning Image Classification
title_short GPU Parallel Method for Deep Learning Image Classification
title_sort gpu parallel method for deep learning image classification
topic gpu parallel|ring all reduce algorithm|data parallelism|model parallelism|deep learning|image classification
url https://www.ecice06.com/fileup/1000-3428/PDF/20230122.pdf
work_keys_str_mv AT hanyanlingshensiyangxulijunwangjingzhangyunzhouruyan gpuparallelmethodfordeeplearningimageclassification