Skip to main content
QUICK REVIEW

[Paper Review] Neural Network Compression Via Sparse Optimization

Tianyi Chen, Bo Ji|arXiv (Cornell University)|Nov 10, 2020
Advanced Neural Network ApplicationsComputer Science32 references6 citations
TL;DR

This paper proposes a novel neural network compression framework using sparse optimization via the OBProx-SG algorithm to achieve high FLOPs reduction with minimal accuracy drop. By recursively leveraging sparsity signals during training, it achieves up to 7.2× FLOPs reduction on VGG16 for CIFAR10 and 2.9× on ResNet50 for ImageNet, maintaining top-1 accuracy at 91.2% and 75.1%, respectively.

ABSTRACT

The compression of deep neural networks (DNNs) to reduce inference cost becomes increasingly important to meet realistic deployment requirements of various applications. There have been a significant amount of work regarding network compression, while most of them are heuristic rule-based or typically not friendly to be incorporated into varying scenarios. On the other hand, sparse optimization yielding sparse solutions naturally fits the compression requirement, but due to the limited study of sparse optimization in stochastic learning, its extension and application onto model compression is rarely well explored. In this work, we propose a model compression framework based on the recent progress on sparse stochastic optimization. Compared to existing model compression techniques, our method is effective and requires fewer extra engineering efforts to incorporate with varying applications, and has been numerically demonstrated on benchmark compression tasks. Particularly, we achieve up to 7.2 and 2.9 times FLOPs reduction with the same level of evaluation accuracy on VGG16 for CIFAR10 and ResNet50 for ImageNet compared to the baseline heavy models, respectively.

Motivation & Objective

  • Address the challenge of reducing inference cost in deep neural networks for mobile and cloud deployment.
  • Overcome limitations of heuristic or engineering-heavy compression methods by leveraging sparse optimization.
  • Explore the applicability of recent advances in stochastic sparse optimization to model compression.
  • Develop a framework that automatically identifies and prunes redundant filters with minimal user intervention.
  • Achieve high compression ratios while preserving model accuracy through sparsity-aware training.

Proposed method

  • Utilizes the OBProx-SG algorithm, a recent advancement in stochastic sparse optimization, to induce structured sparsity in network weights.
  • Employs a recursive alternating schema that dynamically adjusts the sparsity ratio per layer based on computed sparsity signals.
  • Applies ℓ₁-regularization to promote zero-valued weights, enabling effective pruning of redundant filters.
  • Introduces a lower bound ε = 0.1 on compression ratio to prevent excessive pruning in any layer, ensuring structural stability.
  • Treats residual blocks as atomic units in ResNet50 to preserve residual connections during pruning.
  • Leverages group sparsity identification via HSPG (future work) to remove entire redundant hidden units.

Experimental results

Research questions

  • RQ1Can recent advances in stochastic sparse optimization be effectively applied to deep neural network compression?
  • RQ2How can sparsity signals be accurately identified and exploited during non-convex, stochastic training for effective pruning?
  • RQ3Can a sparse optimization-based method achieve superior FLOPs reduction compared to existing heuristic or rule-based pruning techniques?
  • RQ4To what extent can model accuracy be preserved during aggressive compression using sparsity-driven pruning?
  • RQ5How does the proposed method scale across different architectures like VGG16 and ResNet50 on diverse benchmarks?

Key findings

  • The proposed RSP method achieves 7.2× FLOPs reduction on VGG16 for CIFAR10 while maintaining 91.2% top-1 accuracy, outperforming baseline models.
  • On ResNet50 for ImageNet, RSP reduces FLOPs by 2.9× and achieves 75.1% top-1 accuracy, surpassing all compared methods.
  • The method maintains competitive accuracy with minimal performance drop—only 0.4% lower than baseline on CIFAR10 despite aggressive pruning.
  • RSP outperforms state-of-the-art methods like RBP and ThiNet-50 in both FLOPs reduction and accuracy retention on both benchmarks.
  • The framework requires fewer engineering efforts and is more adaptable to varying applications compared to heuristic or reinforcement learning-based approaches.
  • The use of sparsity-aware optimization enables more effective redundancy removal than magnitude-based or ranking-based pruning methods.

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.