[Paper Review] Sparse weight activation training
This paper proposes Sparse Weight Activation Training (SWAT), a novel CNN training algorithm that dynamically learns sparse network topologies by pruning small-magnitude weights and activations during forward and backward passes. SWAT reduces training computation by 50–90% and memory usage by up to 90%, achieving comparable or better accuracy than state-of-the-art pruning methods on CIFAR-10, CIFAR-100, and ImageNet.
Neural network training is computationally and memory intensive. Sparse training can reduce the burden, but it can affect network convergence. In this work, we propose a novel CNN training algorithm Sparse Weight Activation Training (SWAT). SWAT is : (1) more computation and memory-efficient than conventional training, (2) learns a sparse network topology directly, and (3) can be adapted to learn a structured or unstructured sparse topology. SWAT is developed based on insights derived from an empirical sensitivity analysis of network training on six different network architectures and three different datasets. Empirically, we find network convergence is robust to the elimination of small magnitude weights during the forward pass and small magnitude weights and activations during the backward pass. SWAT obtains efficiency by constraining the forward and backward pass during training. SWAT dynamically searches for a sparse topology. The dynamic search of the weights allows SWAT to train a wide variety of architectures such as ResNet, VGG, DenseNet and WideResNet up to 90% sparsity. SWAT demonstrates similar or better performance on CIFAR-10, CIFAR-100, and ImageNet dataset compared to other pruning and sparse learning algorithms. Moreover, SWAT reduces total computations during training by 50% to 90%, reduces memory footprint during the backward pass by 23% to 50% for activations and 50% to 90% for weights.
Motivation & Objective
- Address the high computational and memory costs of training deep neural networks.
- Overcome the convergence instability often associated with sparse training methods.
- Develop a training algorithm that can learn both structured and unstructured sparse topologies dynamically during training.
- Achieve significant efficiency gains without sacrificing model accuracy on standard benchmarks.
- Enable efficient training of diverse architectures like ResNet, VGG, DenseNet, and WideResNet at up to 90% sparsity.
Proposed method
- Proposes a dynamic sparsification strategy that removes small-magnitude weights during the forward pass and small-magnitude weights and activations during the backward pass.
- Empirically identifies that network convergence remains robust even when small weights and activations are eliminated, based on sensitivity analysis across six architectures and three datasets.
- Introduces a training regime that constrains both forward and backward passes to only update and store significant weights and activations.
- Enables both structured and unstructured sparsity by dynamically searching for optimal sparse topologies during training.
- Leverages insights from empirical sensitivity analysis to guide the pruning process without requiring iterative fine-tuning or retraining.
- Supports end-to-end training of sparse networks without the need for iterative pruning or fine-tuning phases.
Experimental results
Research questions
- RQ1Can deep neural networks maintain convergence and accuracy when small-magnitude weights and activations are removed during training?
- RQ2To what extent can computation and memory usage be reduced in CNN training without degrading model performance?
- RQ3Can a single training algorithm dynamically learn both structured and unstructured sparse topologies across diverse architectures?
- RQ4How does the proposed method compare to existing pruning and sparse learning techniques in terms of efficiency and accuracy?
- RQ5What is the maximum sparsity achievable with stable convergence across standard benchmarks like CIFAR-10, CIFAR-100, and ImageNet?
Key findings
- SWAT reduces total training computation by 50% to 90% across multiple architectures and datasets.
- Memory usage during the backward pass is reduced by 23% to 50% for activations and by 50% to 90% for weights.
- The method achieves comparable or better accuracy than existing pruning and sparse learning algorithms on CIFAR-10, CIFAR-100, and ImageNet.
- SWAT enables training of ResNet, VGG, DenseNet, and WideResNet architectures at up to 90% sparsity without significant performance degradation.
- Network convergence remains robust even when small-magnitude weights and activations are pruned during forward and backward passes.
- The dynamic sparsity search mechanism allows SWAT to adaptively learn optimal sparse topologies without requiring pre-defined sparsity patterns.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.