[Paper Review] SmartExchange: Trading Higher-cost Memory Storage/Access for Lower-cost Computation
SmartExchange proposes an algorithm-hardware co-design framework that replaces expensive memory access in DNN inference with low-cost computation by representing weights as a product of a small basis matrix and a sparse, power-of-2 coefficient matrix. This unifies pruning, decomposition, and quantization, enabling up to 6.7× higher energy efficiency and 19.2× lower latency than state-of-the-art accelerators on diverse models and datasets.
We present SmartExchange, an algorithm-hardware co-design framework to trade higher-cost memory storage/access for lower-cost computation, for energy-efficient inference of deep neural networks (DNNs). We develop a novel algorithm to enforce a specially favorable DNN weight structure, where each layerwise weight matrix can be stored as the product of a small basis matrix and a large sparse coefficient matrix whose non-zero elements are all power-of-2. To our best knowledge, this algorithm is the first formulation that integrates three mainstream model compression ideas: sparsification or pruning, decomposition, and quantization, into one unified framework. The resulting sparse and readily-quantized DNN thus enjoys greatly reduced energy consumption in data movement as well as weight storage. On top of that, we further design a dedicated accelerator to fully utilize the SmartExchange-enforced weights to improve both energy efficiency and latency performance. Extensive experiments show that 1) on the algorithm level, SmartExchange outperforms state-of-the-art compression techniques, including merely sparsification or pruning, decomposition, and quantization, in various ablation studies based on nine DNN models and four datasets; and 2) on the hardware level, the proposed SmartExchange based accelerator can improve the energy efficiency by up to 6.7$ imes$ and the speedup by up to 19.2$ imes$ over four state-of-the-art DNN accelerators, when benchmarked on seven DNN models (including four standard DNNs, two compact DNN models, and one segmentation model) and three datasets.
Motivation & Objective
- To address the high energy cost of data movement in DNN inference on resource-constrained edge devices.
- To reduce both weight storage and DRAM access energy by restructuring DNN weights into a compact, computation-friendly form.
- To co-design an algorithm and accelerator that exploit structured sparsity and power-of-2 quantization for maximum energy and latency efficiency.
- To unify three major compression techniques—pruning, decomposition, and quantization—into a single, synergistic framework.
Proposed method
- Represent each layer’s weight matrix as the product of a small basis matrix and a large sparse coefficient matrix with only power-of-2 non-zero elements.
- Enforce sparsity and power-of-2 quantization in the coefficient matrix to enable shift-and-add operations instead of multiply-accumulate.
- Develop a retraining-aware SmartExchange algorithm to maintain model accuracy while achieving aggressive compression.
- Design a dedicated accelerator with optimized dataflow and processing element configuration to exploit vector-wise structured sparsity and compact weights.
- Implement a hardware-aware dataflow that skips computations and memory accesses for zero-weight and zero-activation paths.
- Use bit-level and vector-wise sparsity to reduce both energy consumption and latency during inference.
Experimental results
Research questions
- RQ1Can a unified framework combining pruning, decomposition, and quantization achieve superior compression efficiency compared to individual techniques?
- RQ2To what extent can structured sparsity and power-of-2 quantization reduce memory access energy and computation cost in DNN inference?
- RQ3How effective is the proposed accelerator in leveraging the SmartExchange weight structure to improve energy efficiency and latency?
- RQ4Can the SmartExchange framework maintain high model accuracy while enabling extreme compression and low-cost computation?
Key findings
- SmartExchange outperforms state-of-the-art compression techniques in ablation studies across nine models and four datasets, with ≤2% accuracy loss.
- The SmartExchange accelerator achieves up to 6.7× higher energy efficiency and 19.2× lower latency compared to four state-of-the-art DNN accelerators.
- On ResNet50, increasing weight sparsity from 45.0% to 60.0% reduced DRAM energy cost by 18.33% and latency by 41.83%.
- The dedicated accelerator design reduces energy cost by up to 28.8% and latency by up to 65.7% on depth-wise convolution layers in MobileNetV2.
- The framework effectively leverages vector-wise structured sparsity, enabling significant savings in both memory access and computation.
- The integration of retraining with SmartExchange ensures high model accuracy while achieving aggressive compression and low-cost computation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.