Skip to main content
QUICK REVIEW

[Paper Review] Design Automation for Efficient Deep Learning Computing

Song Han, Han Cai|arXiv (Cornell University)|Apr 24, 2019
Advanced Neural Network ApplicationsComputer Science15 references16 citations
TL;DR

This paper proposes a hardware-centric AutoML framework that automates the design of efficient deep neural networks through reinforcement learning, enabling automated specialization of neural architectures, channel pruning, and mixed-precision quantization. The method reduces design time by 200× and achieves superior inference speed and energy efficiency compared to rule-based human designs, with 1.8× faster inference on mobile devices and 1.95× latency reduction on edge accelerators.

ABSTRACT

Efficient deep learning computing requires algorithm and hardware co-design to enable specialization: we usually need to change the algorithm to reduce memory footprint and improve energy efficiency. However, the extra degree of freedom from the algorithm makes the design space much larger: it's not only about designing the hardware but also about how to tweak the algorithm to best fit the hardware. Human engineers can hardly exhaust the design space by heuristics. It's labor consuming and sub-optimal. We propose design automation techniques for efficient neural networks. We investigate automatically designing specialized fast models, auto channel pruning, and auto mixed-precision quantization. We demonstrate such learning-based, automated design achieves superior performance and efficiency than rule-based human design. Moreover, we shorten the design cycle by 200x than previous work, so that we can afford to design specialized neural network models for different hardware platforms.

Motivation & Objective

  • Address the challenge of large, unstructured design space in efficient deep learning model design, where algorithm and hardware co-design is essential but difficult to explore manually.
  • Overcome the limitations of rule-based heuristics in model compression and quantization, which require expert knowledge and are suboptimal for diverse hardware platforms.
  • Enable systematic, automated design of hardware-specialized neural networks that maximize efficiency in terms of latency, energy, and memory footprint.
  • Reduce the cost and time of designing efficient models by replacing manual tuning with learning-based, transferable automation pipelines.

Proposed method

  • Employ reinforcement learning (RL) to jointly optimize neural architecture, channel pruning, and mixed-precision quantization, with feedback from hardware simulators to guide search.
  • Introduce path-level pruning and path-level binarization to reduce the search cost of neural architecture search by two orders of magnitude, enabling efficient search on ImageNet.
  • Design a differentiable search space for CNN blocks using learnable architecture parameters (e.g., path probabilities) to enable gradient-based optimization of model structure.
  • Implement a hardware-aware quantization (HAQ) framework that dynamically assigns bitwidths to each layer based on hardware constraints (latency, energy, memory), using RL to optimize for performance under resource budgets.
  • Use the roofline model to interpret design decisions, guiding bitwidth allocation based on operation intensity and memory bandwidth characteristics of target hardware.
  • Transfer trained RL policies from one network (e.g., MobileNet-V1) to another (e.g., MobileNet-V2), enabling fast deployment on new models with minimal retraining.

Experimental results

Research questions

  • RQ1Can automated, learning-based design outperform rule-based heuristics in creating efficient deep learning models for diverse hardware platforms?
  • RQ2How can the design space of neural architecture, pruning, and quantization be efficiently explored at scale to achieve hardware-aware optimization?
  • RQ3To what extent can a single RL agent generalize its learned quantization policy across different neural network architectures?
  • RQ4How do optimal quantization policies differ between edge devices and cloud accelerators, and can hardware feedback guide better design decisions?
  • RQ5Can automated design reduce the design cycle time by orders of magnitude while maintaining or improving model efficiency?

Key findings

  • The proposed automated design framework reduces the design cycle by over 200× compared to previous work, enabling rapid exploration of hardware-specialized models.
  • The automatically searched model on mobile devices runs 1.8× faster than the best human-designed model, demonstrating superior efficiency.
  • The automated channel pruning pipeline achieved 1.81× speedup in inference latency on Android phones and 1.43× on Titan XP GPUs, with only 0.1% accuracy drop on ImageNet.
  • Hardware-aware quantization (HAQ) reduced latency by 1.4–1.95× and energy consumption by 1.9× compared to fixed 8-bit quantization, with negligible accuracy loss.
  • The RL agent’s quantization policy generalized well: transferring from MobileNet-V1 to MobileNet-V2 achieved performance within 1% of directly searching for the new architecture.
  • The roofline model analysis revealed that edge devices favor lower bitwidth for high-memory-access layers (e.g., depthwise convolutions), while cloud accelerators allow higher bitwidth for such layers due to greater memory bandwidth.

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.