Skip to main content
QUICK REVIEW

[Paper Review] Reducing the Training Time of Neural Networks by Partitioning

Conrado Silva Miranda, Fernando J. Von Zuben|arXiv (Cornell University)|Nov 10, 2015
Stochastic Gradient Optimization TechniquesComputer Science20 references6 citations
TL;DR

This paper proposes a novel pre-training method that partitions a neural network into multiple smaller, independent sub-models trained in parallel on the same task, reducing training time without sacrificing performance. By leveraging sub-models that scale down almost quadratically with the number of partitions, the method achieves significant speedups—up to 3.3× on larger models—while maintaining compatibility with existing training frameworks and enabling potential gains in distributed learning.

ABSTRACT

This paper presents a new method for pre-training neural networks that can decrease the total training time for a neural network while maintaining the final performance, which motivates its use on deep neural networks. By partitioning the training task in multiple training subtasks with sub-models, which can be performed independently and in parallel, it is shown that the size of the sub-models reduces almost quadratically with the number of subtasks created, quickly scaling down the sub-models used for the pre-training. The sub-models are then merged to provide a pre-trained initial set of weights for the original model. The proposed method is independent of the other aspects of the training, such as architecture of the neural network, training method, and objective, making it compatible with a wide range of existing approaches. The speedup without loss of performance is validated experimentally on MNIST and on CIFAR10 data sets, also showing that even performing the subtasks sequentially can decrease the training time. Moreover, we show that larger models may present higher speedups and conjecture about the benefits of the method in distributed learning systems.

Motivation & Objective

  • To reduce the training time of deep neural networks without compromising final performance.
  • To address the high computational cost of pre-training large models, especially in resource-constrained or distributed environments.
  • To enable parallel, communication-free training of sub-models by maintaining the original learning task.
  • To explore the scalability and efficiency of the method on larger models and in distributed learning systems.
  • To provide a pre-training approach compatible with existing architectures, optimizers, and loss functions.

Proposed method

  • The neural network is partitioned into multiple smaller sub-models, each trained independently on the same original task.
  • Each sub-model is trained on a subset of the input data, with parameters initialized randomly and updated via standard backpropagation.
  • After training, the sub-models are merged by combining their learned weights, forming a pre-trained initial model for the full network.
  • The method ensures that the sub-models learn diverse representations by using different random initializations and noise injection during weight transfer.
  • The merging process includes adding uniform noise (2% of max absolute value) to each parameter set and resetting accumulated momenta to zero.
  • The approach is compatible with standard training pipelines and can be applied to any neural network architecture, optimizer, or loss function.

Experimental results

Research questions

  • RQ1Can partitioning a neural network into independent sub-models reduce pre-training time while maintaining final performance?
  • RQ2How does the training speedup scale with the number of sub-models and model size?
  • RQ3Can the method achieve speedups even when sub-models are trained sequentially rather than in parallel?
  • RQ4Does the diversity of representations learned by sub-models contribute to better generalization after merging?
  • RQ5What are the potential benefits of this method in distributed or model-parallel training systems?

Key findings

  • The method achieved a speedup of 2.1× on a 3-layer model with 430k parameters and 3.3× on a 4-layer model with 2.1M parameters when creating 2 sub-models.
  • Even when sub-models were trained sequentially, the method still achieved a 1.45× speedup compared to training the full model directly.
  • Experiments on MNIST and CIFAR10 confirmed that final performance was maintained without degradation.
  • Pairwise diversity in representations learned by sub-models increased with the number of partitions, supporting the method’s design.
  • The method reduces communication overhead in distributed training by decreasing the number of parameters per sub-model almost quadratically.
  • The approach is compatible with existing training frameworks and can be combined with methods like Net2Net for model expansion.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.