[Paper Review] A SOT-MRAM-based Processing-In-Memory Engine for Highly Compressed DNN Implementation
This paper proposes an ADMM-based model compression framework for SOT-MRAM-based Processing-in-Memory (PIM) engines to enable highly compressed, energy-efficient DNN inference. By jointly applying structured weight pruning and low-bit quantization using ADMM during training, the method reduces SOT-MRAM footprint and power consumption while maintaining high accuracy and improving throughput, achieving up to 81.3× compression on MNIST with minimal accuracy loss.
The computing wall and data movement challenges of deep neural networks (DNNs) have exposed the limitations of conventional CMOS-based DNN accelerators. Furthermore, the deep structure and large model size will make DNNs prohibitive to embedded systems and IoT devices, where low power consumption are required. To address these challenges, spin orbit torque magnetic random-access memory (SOT-MRAM) and SOT-MRAM based Processing-In-Memory (PIM) engines have been used to reduce the power consumption of DNNs since SOT-MRAM has the characteristic of near-zero standby power, high density, none-volatile. However, the drawbacks of SOT-MRAM based PIM engines such as high writing latency and requiring low bit-width data decrease its popularity as a favorable energy efficient DNN accelerator. To mitigate these drawbacks, we propose an ultra energy efficient framework by using model compression techniques including weight pruning and quantization from the software level considering the architecture of SOT-MRAM PIM. And we incorporate the alternating direction method of multipliers (ADMM) into the training phase to further guarantee the solution feasibility and satisfy SOT-MRAM hardware constraints. Thus, the footprint and power consumption of SOT-MRAM PIM can be reduced, while increasing the overall system throughput at the meantime, making our proposed ADMM-based SOT-MRAM PIM more energy efficiency and suitable for embedded systems or IoT devices. Our experimental results show the accuracy and compression rate of our proposed framework is consistently outperforming the reference works, while the efficiency (area \& power) and throughput of SOT-MRAM PIM engine is significantly improved.
Motivation & Objective
- Address the energy and hardware constraints of deploying large-scale DNNs in embedded and IoT systems.
- Overcome the limitations of SOT-MRAM PIM, such as high write latency and low bit-width support, through software-level model compression.
- Develop a unified framework that integrates structured pruning and low-bit quantization to align with SOT-MRAM hardware constraints.
- Ensure high model accuracy and solution feasibility after compression and hardware mapping by incorporating ADMM into the training phase.
- Improve system throughput and reduce power/area consumption of SOT-MRAM PIM engines through optimized model compression.
Proposed method
- Formulate weight pruning and quantization as optimization problems using the Alternating Direction Method of Multipliers (ADMM) to enable iterative and analytical solution of structured sparsity and low-bit representations.
- Apply a combined pruning scheme that includes filter, channel, and kernel pruning to maximize hardware efficiency and minimize redundant computation.
- Design a structured pruning model with tiny, regular spatial patterns that naturally align with SOT-MRAM PIM’s bit-parallel processing architecture for efficient in-memory computation.
- Map the compressed DNN model onto the SOT-MRAM PIM engine to perform bit-wise convolution using AND, bit-count, and bit-shift operations for high energy efficiency.
- Use 8-bit quantization in experiments to reduce sub-array row count and further minimize area and power consumption.
- Leverage Cacti 7 for buffer and interconnect modeling, NVSim with modified SOT-MRAM parameters for memory sub-array energy/area estimation, and external ADC power/area data.
Experimental results
Research questions
- RQ1Can joint structured pruning and low-bit quantization via ADMM achieve high compression rates while preserving DNN accuracy on SOT-MRAM PIM architectures?
- RQ2How does ADMM-based compression improve solution feasibility and hardware compatibility for SOT-MRAM PIM compared to standard pruning or binarization?
- RQ3To what extent can model compression reduce the area and power consumption of SOT-MRAM PIM engines without degrading system throughput?
- RQ4What is the trade-off between compression rate, accuracy, and hardware efficiency when applying different pruning types (filter, channel, kernel) in SOT-MRAM PIM systems?
- RQ5How does the proposed framework compare to state-of-the-art compression methods in terms of compression rate, accuracy, and energy efficiency on standard benchmarks?
Key findings
- The proposed framework achieved 81.3× compression on LeNet-5 for MNIST with only 0.02% accuracy degradation, outperforming Group Scissor by 19.4× in compression rate.
- On CIFAR-10, the framework achieved 59.8× and 44.8× compression on ResNet-18 and VGG-16, respectively, with minimal accuracy loss compared to baseline methods.
- For ImageNet, the framework achieved 5.2×, 3.0×, and 2.7× compression on AlexNet, ResNet-18, and VGG-16, respectively, while maintaining top-1 accuracy within 1% of baseline models.
- Channel pruning contributed most to power and area reduction by eliminating entire processing elements and their peripheral circuits.
- Filter and kernel pruning improved system throughput by reducing computation iterations across SOT-MRAM sub-arrays.
- The SOT-MRAM PIM engine’s power and area consumption were significantly reduced, and overall system throughput was enhanced compared to uncompressed designs.
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.