[Paper Review] Learning Strict Identity Mappings in Deep Residual Networks
This paper proposes $\epsilon$-ResNet, a method that automatically prunes redundant residual blocks in deep residual networks by enforcing strict identity mappings when residual responses fall below a threshold $\epsilon$. Using a few additional ReLU units, the approach enables layer pruning during training with no performance loss, achieving up to 80% parameter reduction on CIFAR and SVHN datasets and 36% pruning on ImageNet with minimal accuracy drop.
A family of super deep networks, referred to as residual networks or ResNet, achieved record-beating performance in various visual tasks such as image recognition, object detection, and semantic segmentation. The ability to train very deep networks naturally pushed the researchers to use enormous resources to achieve the best performance. Consequently, in many applications super deep residual networks were employed for just a marginal improvement in performance. In this paper, we propose epsilon-ResNet that allows us to automatically discard redundant layers, which produces responses that are smaller than a threshold epsilon, with a marginal or no loss in performance. The epsilon-ResNet architecture can be achieved using a few additional rectified linear units in the original ResNet. Our method does not use any additional variables nor numerous trials like other hyper-parameter optimization techniques. The layer selection is achieved using a single training process and the evaluation is performed on CIFAR-10, CIFAR-100, SVHN, and ImageNet datasets. In some instances, we achieve about 80% reduction in the number of parameters.
Motivation & Objective
- To address the inefficiency of super-deep residual networks that offer marginal performance gains at high computational cost.
- To develop a method that automatically identifies and removes redundant layers in residual networks without retraining or hyperparameter tuning.
- To enable strict identity mappings in residual networks by dynamically pruning residual blocks whose outputs are below a threshold $\epsilon$.
- To achieve significant model compression with minimal or no performance degradation across multiple benchmark datasets.
Proposed method
- Introduces a sparsifier function $\mathcal{S}(\mathcal{F}(x))$ that sets the residual output to zero if all responses are below $\epsilon$, otherwise passes through $\mathcal{F}(x)$ unchanged.
- Augments standard residual blocks with additional ReLU units to implement the sparsifier function, enabling end-to-end training with automatic layer pruning.
- Uses a single training process with adaptive learning rate scheduling that resets the learning rate after each layer removal to stabilize optimization.
- Applies side-supervision with a coefficient of 0.1 at the network's middle layer to encourage weight decay and improve pruning stability.
- Employs standard data augmentation and SGD with batch normalization, weight decay, and momentum across all datasets.
- Trains on CIFAR-10, CIFAR-100, SVHN, and ImageNet using a modified learning rate schedule that accelerates decay after each layer is pruned.
Experimental results
Research questions
- RQ1Can redundant residual blocks in deep residual networks be automatically identified and pruned with minimal or no performance degradation?
- RQ2Does enforcing strict identity mappings via a threshold $\epsilon$ on residual responses lead to effective and stable model compression?
- RQ3Can the pruning process be achieved in a single training run without additional hyperparameter tuning or multiple retraining cycles?
- RQ4How does the distribution of pruned layers vary across the network depth, and does pruning favor deeper layers?
- RQ5To what extent can model size be reduced while maintaining competitive accuracy on standard vision benchmarks?
Key findings
- On CIFAR-100, $\epsilon$-ResNet achieved a 3.2x compression ratio (752 layers reduced to ~235 layers), with validation error dropping from 24.8% to 23.8%.
- On CIFAR-10, CIFAR-100, and SVHN, $\epsilon$-ResNet achieved up to 80% reduction in parameters with no performance degradation compared to the original ResNet.
- On ImageNet, $\epsilon$-ResNet with 101 and 152 layers achieved 20.12% to 36.23% layer pruning, with only marginal accuracy loss.
- The proportion of strict identity mappings increased during training and stabilized at a level that matched the performance of the full network.
- Layer pruning was more aggressive in deeper layers, with more blocks discarded near the output, indicating a preference for pruning less critical components.
- Side-supervision improved weight decay and pruning stability, but $\epsilon$-ResNet still outperformed standard ResNet in compression efficiency without performance loss.
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.