Partitioned Neural Network Training via Synthetic Intermediate Labels

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Karadağ, Cevat Volkan, Topaloğlu, Nezih
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866909479123025920
author Karadağ, Cevat Volkan
Topaloğlu, Nezih
author_facet Karadağ, Cevat Volkan
Topaloğlu, Nezih
contents The proliferation of extensive neural network architectures, particularly deep learning models, presents a challenge in terms of resource-intensive training. GPU memory constraints have become a notable bottleneck in training such sizable models. Existing strategies, including data parallelism, model parallelism, pipeline parallelism, and fully sharded data parallelism, offer partial solutions. Model parallelism, in particular, enables the distribution of the entire model across multiple GPUs, yet the ensuing data communication between these partitions slows down training. Additionally, the substantial memory overhead required to store auxiliary parameters on each GPU compounds computational demands. Instead of using the entire model for training, this study advocates partitioning the model across GPUs and generating synthetic intermediate labels to train individual segments. These labels, produced through a random process, mitigate memory overhead and computational load. This approach results in a more efficient training process that minimizes data communication while maintaining model accuracy. To validate this method, a 6-layer fully connected neural network is partitioned into two parts and its performance is assessed on the extended MNIST dataset. Experimental results indicate that the proposed approach achieves similar testing accuracies to conventional training methods, while significantly reducing memory and computational requirements. This work contributes to mitigating the resource-intensive nature of training large neural networks, paving the way for more efficient deep learning model development.
format Preprint
id arxiv_https___arxiv_org_abs_2403_11204
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Partitioned Neural Network Training via Synthetic Intermediate Labels
Karadağ, Cevat Volkan
Topaloğlu, Nezih
Machine Learning
Artificial Intelligence
Distributed, Parallel, and Cluster Computing
68T01 (Primary) 68T07, 68T05 (Secondary)
I.2.6; I.2.11
The proliferation of extensive neural network architectures, particularly deep learning models, presents a challenge in terms of resource-intensive training. GPU memory constraints have become a notable bottleneck in training such sizable models. Existing strategies, including data parallelism, model parallelism, pipeline parallelism, and fully sharded data parallelism, offer partial solutions. Model parallelism, in particular, enables the distribution of the entire model across multiple GPUs, yet the ensuing data communication between these partitions slows down training. Additionally, the substantial memory overhead required to store auxiliary parameters on each GPU compounds computational demands. Instead of using the entire model for training, this study advocates partitioning the model across GPUs and generating synthetic intermediate labels to train individual segments. These labels, produced through a random process, mitigate memory overhead and computational load. This approach results in a more efficient training process that minimizes data communication while maintaining model accuracy. To validate this method, a 6-layer fully connected neural network is partitioned into two parts and its performance is assessed on the extended MNIST dataset. Experimental results indicate that the proposed approach achieves similar testing accuracies to conventional training methods, while significantly reducing memory and computational requirements. This work contributes to mitigating the resource-intensive nature of training large neural networks, paving the way for more efficient deep learning model development.
title Partitioned Neural Network Training via Synthetic Intermediate Labels
topic Machine Learning
Artificial Intelligence
Distributed, Parallel, and Cluster Computing
68T01 (Primary) 68T07, 68T05 (Secondary)
I.2.6; I.2.11
url https://arxiv.org/abs/2403.11204