ADMM-NN: An Algorithm-Hardware Co-Design Framework of DNNs Using Alternating Direction Methods of Multipliers

Ao Ren, Tianyun Zhang, Shaokai Ye, Jiayu Li, Wenyao Xu, Xuehai Qian, Xue Lin, Yanzhi Wang

Abstract

To facilitate efficient embedded and hardware implementations of deep neural networks (DNNs), two important categories of DNN model compression techniques: weight pruning and weight quantization are investigated. The former leverages the redundancy in the number of weights, whereas the latter leverages the redundancy in bit representation of weights. However, there lacks a systematic framework of joint weight pruning and quantization of DNNs, thereby limiting the available model compression ratio. Moreover, the computation reduction, energy efficiency improvement, and hardware performance overhead need to be accounted for besides simply model size reduction. To address these limitations, we present ADMM-NN, the first algorithm-hardware co-optimization framework of DNNs using Alternating Direction Method of Multipliers (ADMM), a powerful technique to deal with non-convex optimization problems with possibly combinatorial constraints. The first part of ADMM-NN is a systematic, joint framework of DNN weight pruning and quantization using ADMM. It can be understood as a smart regularization technique with regularization target dynamically updated in each ADMM iteration, thereby resulting in higher performance in model compression than prior work. The second part is hardware-aware DNN optimizations to facilitate hardware-level implementations. Without accuracy loss, we can achieve 85× and 24× pruning on LeNet-5 and AlexNet models, respectively, significantly higher than prior work. The improvement becomes more significant when focusing on computation reductions. Combining weight pruning and quantization, we achieve 1,910× and 231× reductions in overall model size on these two benchmarks, when focusing on data storage. Highly promising results are also observed on other representative DNNs such as VGGNet and ResNet-50.

Introduction

Deploying state-of-the-art Deep Neural Networks (DNNs) on resource-constrained embedded devices and IoT sensors remains a significant challenge due to high memory and computational requirements. While weight pruning and weight quantization have emerged as effective compression strategies, traditional approaches often rely on heuristic-based, "greedy" methods that fail to achieve optimal results. Furthermore, these techniques are frequently applied in isolation, missing potential synergies from joint optimization. ADMM-NN addresses these gaps by reformulating model compression as a mathematically rigorous optimization problem using the Alternating Direction Method of Multipliers (ADMM).

The ADMM-NN Optimization Framework

The core innovation of ADMM-NN is the treatment of DNN training under compression constraints as a non-convex optimization problem. By leveraging ADMM, the framework decomposes the complex task into manageable subproblems that are solved iteratively.

The ADMM-NN framework systematically addresses weight pruning and quantization through iterative subproblem optimization.

Systematic Joint Optimization

The ADMM approach splits the optimization into two primary steps:

  1. Subproblem 1 (Weight Optimization): This step involves standard DNN training but incorporates a dynamic L2 regularization term. Unlike static regularization, the target in ADMM-NN is updated in each iteration, effectively guiding weights toward a sparse or quantized state without the abrupt accuracy drops common in heuristic pruning.
  2. Subproblem 2 (Constraint Projection): This step performs a Euclidean projection to map weights to the nearest "legal" state defined by the compression constraints (e.g., zeroing out weights for pruning or mapping to specific bit-levels for quantization).
The transition of weight matrices from initial pruning to quantization values and final discrete quantization levels.

Hardware-Aware Co-Design

A critical contribution of this work is the consideration of hardware performance overheads. Pruning often introduces "irregular sparsity," which requires additional memory for indexing. ADMM-NN introduces the concept of a break-even pruning ratio. Through hardware synthesis using 40nm CMOS technology, the authors identified that a layer must be pruned by at least 55% for the computational savings to outweigh the indexing overhead. This insight allows the framework to prioritize compression in layers where it yields the most significant hardware benefits, such as Convolutional (CONV) layers.

Experimental Results

The ADMM-NN framework was evaluated on standard benchmarks, including MNIST (LeNet-5) and ImageNet (AlexNet, VGGNet, ResNet-50), demonstrating state-of-the-art performance:

  • LeNet-5: Achieved an 85× pruning ratio and a total model size reduction of 1,910× with zero accuracy loss.
  • AlexNet: Achieved a 24× pruning ratio and a 231× total size reduction, significantly outperforming prior heuristic methods (which typically achieved ~9× pruning).
  • Efficiency: The optimization process is highly efficient; pruning AlexNet required only 72 hours, compared to 173 hours for previous state-of-the-art heuristic approaches.

Conclusion

ADMM-NN represents a shift from heuristic-based DNN compression to a systematic optimization-driven approach. By combining the mathematical rigor of ADMM with hardware-aware constraints, the framework achieves unprecedented compression ratios and hardware speedups. This work paves the way for more efficient deployment of complex AI models on edge devices, bridging the gap between algorithmic complexity and hardware limitations.

Summary updated

BibTeX
@inproceedings{ren2019admm,
  author = {Ao Ren and Tianyun Zhang and Shaokai Ye and Jiayu Li and Wenyao Xu and Xuehai Qian and Xue Lin and Yanzhi Wang},
  title = {{ADMM-NN: An Algorithm-Hardware Co-Design Framework of DNNs Using Alternating Direction Methods of Multipliers}},
  booktitle = {ASPLOS},
  year = {2019},
  url = {https://openreview.net/forum?id=oy17nXFD04t},
}
Figure