Training Skinny Deep Neural Networks with Iterative Hard Thresholding Methods

Xiaojie Jin, Xiaotong Yuan, Jiashi Feng, Shuicheng YanarXiv 2016 · arXiv

Introduction

Modern Deep Neural Networks (DNNs) are characterized by extreme over-parameterization. While this complexity enables the learning of intricate patterns, it introduces significant challenges: overfitting, where models memorize noise rather than generalizing, and deployment barriers, as massive models exceed the memory and power constraints of edge devices.

This paper introduces Skinny Deep Neural Networks (SDNNs), which leverage a novel training regime to achieve superior performance with significantly fewer parameters. By employing Iterative Hard Thresholding (ITH), the authors demonstrate that "less is more," providing a path toward efficient models that generalize better than their dense counterparts.

Methodology: Iterative Hard Thresholding (ITH)

The core innovation is the ITH algorithm, which adapts Gradient Hard Thresholding—typically reserved for convex optimization—to the non-convex landscape of deep learning. Unlike traditional pruning, which is often a permanent reduction, ITH is a cyclic process consisting of two alternating phases:

  1. Phase I (Pruning & Fine-tuning): The algorithm identifies the "top $k$" weights by magnitude and zeros the rest. The remaining weights are then fine-tuned to recover performance.
  2. Phase II (Restoration & Exploration): Previously pruned connections are re-activated. The entire network is retrained, allowing weights to "grow back" if they can contribute to a superior representation.

To ensure stability, the authors utilize Multi-Step Updates, training for several epochs between thresholding steps to prevent the model from diverging.

Key Insights: Sparsity as Regularization

A counterintuitive finding of this work is that reducing the number of parameters can actually improve accuracy. The "skinny" nature of the architecture acts as a powerful regularizer, preventing the network from fitting noise in the training data.

Accuracy vs. Sparse ratio for SDNN and baseline models.

As shown in the figure above, the accuracy of the SDNN peaks at a specific sparsity level, outperforming the dense baseline. This suggests that the optimal representation for a given task may naturally reside in a lower-dimensional subspace. Furthermore, the restoration phase (Phase II) is critical; many connections pruned early in training become significant later, indicating that static pruning methods are inherently suboptimal.

Experimental Results

The authors evaluated SDNNs across standard benchmarks including MNIST, CIFAR-10, CIFAR-100, and ImageNet, using architectures like Network in Network (NIN) and AlexNet.

Performance comparison on the CIFAR-10 dataset.

On CIFAR-10, the SDNN-2x model (50% fewer parameters) achieved an error rate of 8.70%, a 1.71% improvement over the baseline NIN model. Even at extreme compression levels (e.g., SDNN-20x), the models remained remarkably competitive. Similar gains were observed on ImageNet, where SDNN-2x and SDNN-4x reduced top-5 error rates by 1.66% and 0.81%, respectively. On MNIST, the method achieved a state-of-the-art 0.19% error rate with only 0.18M parameters.

Conclusion and Future Work

SDNNs offer a "win-win" for deep learning: improved generalization and reduced model size. However, current implementations focus on unstructured sparsity, which requires specialized hardware or software kernels to realize actual speedups on standard GPUs. Future research will likely explore applying ITH to structured pruning and modern transformer-based architectures to further bridge the gap between theoretical efficiency and practical deployment.

Summary updated

Abstract

Deep neural networks have achieved remarkable success in a wide range of practical problems. However, due to the inherent large parameter space, deep models are notoriously prone to overfitting and difficult to be deployed in portable devices with limited memory. In this paper, we propose an iterative hard thresholding (IHT) approach to train Skinny Deep Neural Networks (SDNNs). An SDNN has much fewer parameters yet can achieve competitive or even better performance than its full CNN counterpart. More concretely, the IHT approach trains an SDNN through following two alternative phases: (I) perform hard thresholding to drop connections with small activations and fine-tune the other significant filters; (II)~re-activate the frozen connections and train the entire network to improve its overall discriminative capability. We verify the superiority of SDNNs in terms of efficiency and classification performance on four benchmark object recognition datasets, including CIFAR-10, CIFAR-100, MNIST and ImageNet. Experimental results clearly demonstrate that IHT can be applied for training SDNN based on various CNN architectures such as NIN and AlexNet.
BibTeX
@misc{jin2016training,
  author = {Xiaojie Jin and Xiaotong Yuan and Jiashi Feng and Shuicheng Yan},
  title = {{Training Skinny Deep Neural Networks with Iterative Hard Thresholding Methods}},
  year = {2016},
  eprint = {1607.05423},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1607.05423},
}
Figure