Skip to main content
QUICK REVIEW

[Paper Review] Restructuring, Pruning, and Adjustment of Deep Models for Parallel Distributed Inference

Afshin Abdi, Saeed Rashidi|arXiv (Cornell University)|Aug 19, 2020
Advanced Neural Network ApplicationsComputer Science28 references6 citations
TL;DR

This paper proposes RePurpose, a framework that restructures and prunes pre-trained deep neural networks to minimize inter-worker dependencies in parallel distributed inference. By reordering neurons via ℓ₀ optimization and the Munkres assignment algorithm, RePurpose reduces communication and computation overhead, achieving up to 11.01× speedup in computation and 3.04× in communication on edge systems with 99% sparsity, while preserving model accuracy.

ABSTRACT

Using multiple nodes and parallel computing algorithms has become a principal tool to improve training and execution times of deep neural networks as well as effective collective intelligence in sensor networks. In this paper, we consider the parallel implementation of an already-trained deep model on multiple processing nodes (a.k.a. workers) where the deep model is divided into several parallel sub-models, each of which is executed by a worker. Since latency due to synchronization and data transfer among workers negatively impacts the performance of the parallel implementation, it is desirable to have minimum interdependency among parallel sub-models. To achieve this goal, we propose to rearrange the neurons in the neural network and partition them (without changing the general topology of the neural network), such that the interdependency among sub-models is minimized under the computations and communications constraints of the workers. We propose RePurpose, a layer-wise model restructuring and pruning technique that guarantees the performance of the overall parallelized model. To efficiently apply RePurpose, we propose an approach based on $\ell_0$ optimization and the Munkres assignment algorithm. We show that, compared to the existing methods, RePurpose significantly improves the efficiency of the distributed inference via parallel implementation, both in terms of communication and computational complexity.

Motivation & Objective

  • To address the performance degradation in distributed deep learning caused by inter-worker synchronization and data transfer delays.
  • To minimize interdependencies among parallel sub-models in a distributed inference setup without altering the original network's topology.
  • To enable efficient deployment of pre-trained models on heterogeneous platforms such as datacenters and resource-constrained sensor networks.
  • To reduce communication and computational overhead in distributed inference while maintaining model accuracy through structured neuron reorganization and pruning.

Proposed method

  • RePurpose performs layer-wise restructuring by reordering neurons to minimize cross-worker dependencies using ℓ₀ optimization to identify and remove redundant connections.
  • It employs the Munkres assignment algorithm to optimally assign neurons to workers, reducing inter-worker communication volume.
  • The method applies structured pruning based on neuron importance, preserving model performance while reducing parameter count.
  • It maintains the original network topology and general architecture, ensuring no architectural changes to the pre-trained model.
  • The framework supports varying sparsity levels (50%, 75%, 90%, 99%) to balance accuracy and efficiency across different hardware constraints.
  • It is designed for post-training optimization, enabling deployment on diverse platforms without retraining.

Experimental results

Research questions

  • RQ1How can inter-worker dependencies in distributed deep neural network inference be minimized without altering the original model’s topology?
  • RQ2What optimization techniques can effectively restructure and prune a pre-trained model to reduce communication and computation overhead in distributed systems?
  • RQ3To what extent can neuron reordering and pruning improve inference speed in datacenter and edge environments?
  • RQ4How does RePurpose maintain model accuracy while significantly reducing communication and computation costs in distributed inference?

Key findings

  • RePurpose achieves up to 10.47× speedup in computation and 1.75× in communication on datacenter platforms with 99% sparsity (RP-99).
  • On edge systems, RePurpose delivers up to 11.01× speedup in computation and 3.04× in communication with RP-99, due to lower network bandwidth and higher communication sensitivity.
  • The total inference time improvement reaches 3.8× on edge systems as model size increases from 1K to 32K neurons, with communication remaining a dominant factor.
  • Communication overhead increases with the number of workers, but the rate of increase diminishes, converging to 2× the baseline for 32 workers.
  • For larger models (N=1M), total time increases by 2.06× in datacenters due to computation scaling as O(N²), while communication scales as O(N).
  • The framework maintains negligible performance loss, ensuring that accuracy remains stable despite structural reorganization and pruning.

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.