Skip to main content
QUICK REVIEW

[Paper Review] Tiny but Accurate: A Pruned, Quantized and Optimized Memristor Crossbar Framework for Ultra Efficient DNN Implementation

Xiaolong Ma, Geng Yuan|arXiv (Cornell University)|Aug 27, 2019
Advanced Memory and Neural ComputingEngineering26 references8 citations
TL;DR

This paper proposes a unified, software-hardware co-optimized framework for ultra-efficient DNN inference on memristor crossbars by combining ADMM-based structured weight pruning and 8-bit quantization. It introduces Network Purification and Unused Path Removal to eliminate redundant weights and inactive connections post-pruning, achieving up to 50.02× compression on VGG-16 with near-zero accuracy loss and 44.67× compression on VGG-16 with only 0.63% accuracy degradation, while maintaining high energy efficiency and hardware feasibility.

ABSTRACT

The state-of-art DNN structures involve intensive computation and high memory storage. To mitigate the challenges, the memristor crossbar array has emerged as an intrinsically suitable matrix computation and low-power acceleration framework for DNN applications. However, the high accuracy solution for extreme model compression on memristor crossbar array architecture is still waiting for unraveling. In this paper, we propose a memristor-based DNN framework which combines both structured weight pruning and quantization by incorporating alternating direction method of multipliers (ADMM) algorithm for better pruning and quantization performance. We also discover the non-optimality of the ADMM solution in weight pruning and the unused data path in a structured pruned model. Motivated by these discoveries, we design a software-hardware co-optimization framework which contains the first proposed Network Purification and Unused Path Removal algorithms targeting on post-processing a structured pruned model after ADMM steps. By taking memristor hardware constraints into our whole framework, we achieve extreme high compression ratio on the state-of-art neural network structures with minimum accuracy loss. For quantizing structured pruned model, our framework achieves nearly no accuracy loss after quantizing weights to 8-bit memristor weight representation. We share our models at anonymous link https://bit.ly/2VnMUy0.

Motivation & Objective

  • To address the challenge of extreme model compression in DNNs for energy-efficient neuromorphic computing.
  • To overcome the limitations of ADMM-based structured pruning, which leaves redundant weights and unused paths in pruned models.
  • To design a co-optimization framework that respects memristor hardware constraints for realizable, high-compression DNN deployment.
  • To achieve near-lossless 8-bit quantization on pruned models for reduced hardware footprint and improved energy efficiency.
  • To outperform existing methods like Group Scissor and SSL in compression ratio and accuracy retention on standard benchmarks.

Proposed method

  • Utilizes ADMM to solve the non-convex structured pruning problem, enabling efficient optimization of sparsity patterns in DNN weights.
  • Applies memristor-aware quantization, mapping 8-bit weights to 4-bit memristor states using two devices per weight to reduce hardware overhead.
  • Introduces Network Purification to remove redundant weights remaining after ADMM pruning, improving model efficiency.
  • Proposes Unused Path Removal to eliminate inactive connections in structured pruned models, further reducing hardware footprint.
  • Employs knowledge distillation from the full-precision software model to guide quantization and preserve accuracy.
  • Validates the framework using MATLAB and NVSim simulations, with H-tree routing and 45nm CMOS peripheral circuits for area and power estimation.

Experimental results

Research questions

  • RQ1Can ADMM-based structured pruning combined with 8-bit quantization achieve extreme compression on memristor crossbars with minimal accuracy loss?
  • RQ2To what extent do redundant weights and unused paths persist in ADMM-optimized structured pruned models, and can they be systematically removed?
  • RQ3How does the proposed software-hardware co-optimization framework improve compression ratio and energy efficiency compared to existing methods?
  • RQ4What is the impact of memristor hardware constraints (e.g., 4-bit precision, 1R crossbar) on model compression and accuracy?
  • RQ5Can the framework maintain high accuracy after 8-bit quantization on pruned models, especially for deep networks like VGG-16 and ResNet-18?

Key findings

  • On CIFAR-10, the framework achieves 50.02× compression on VGG-16 with only 0.63% accuracy degradation and no accuracy loss after 8-bit quantization.
  • For ResNet-18 on CIFAR-10, the framework reaches 59.84× compression with no accuracy loss post-quantization.
  • On ImageNet, the framework achieves 3.33× compression on ResNet-18 with 88.36% top-1 accuracy and 2.70× on ResNet-50 with 92.27% accuracy.
  • The P-RM co-optimization reduces area and power of a 5.83× ResNet-18 model from 0.235 mm² and 3.359 W to 0.042 mm² and 0.585 W, respectively, with no accuracy loss.
  • On VGG-16, the framework achieves 44.67× compression with 0.63% accuracy degradation and 50.02× with 0.63% degradation when using P-RM, outperforming Group Scissor and SSL.
  • For MNIST with LeNet-5, the framework achieves 231.82× compression with only 0.4% accuracy drop, and no loss after quantization at 40× and 88× compression ratios.

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.