[Paper Review] Phoenix: A Low-Precision Floating-Point Quantization Oriented Architecture for Convolutional Neural Networks
Phoenix proposes a normalization-oriented 8-bit floating-point quantization method for convolutional neural networks that achieves negligible accuracy loss (≤0.5% top-1, ≤0.3% top-5) without calibration, fine-tuning, or re-training. The method enables a highly efficient hardware processor design that outperforms state-of-the-art accelerators by 3.32× and 7.45× for AlexNet and VGG16, respectively, while consuming 151× less energy than a GPU.
Convolutional neural networks (CNNs) achieve state-of-the-art performance at the cost of becoming deeper and larger. Although quantization (both fixed-point and floating-point) has proven effective for reducing storage and memory access, two challenges -- 1) accuracy loss caused by quantization without calibration, fine-tuning or re-training for deep CNNs and 2) hardware inefficiency caused by floating-point quantization -- prevent processors from completely leveraging the benefits. In this paper, we propose a low-precision floating-point quantization oriented processor, named Phoenix, to address the above challenges. We primarily have three key observations: 1) 8-bit floating-point quantization incurs less error than 8-bit fixed-point quantization; 2) without using any calibration, fine-tuning or re-training techniques, normalization before quantization further reduces accuracy degradation; 3) 8-bit floating-point multiplier achieves higher hardware efficiency than 8-bit fixed-point multiplier if the full-precision product is applied. Based on these key observations, we propose a normalization-oriented 8-bit floating-point quantization method to reduce storage and memory access with negligible accuracy loss (within 0.5%/0.3% for top-1/top-5 accuracy, respectively). We further design a hardware processor to address the hardware inefficiency caused by floating-point multiplier. Compared with a state-of-the-art accelerator, Phoenix is 3.32x and 7.45x better in performance with the same core area for AlexNet and VGG16, respectively.
Motivation & Objective
- Address the challenge of accuracy degradation in low-precision quantization of deep CNNs without requiring calibration, fine-tuning, or re-training.
- Overcome hardware inefficiency in floating-point multipliers by designing a specialized processor architecture.
- Reduce memory bandwidth and storage requirements through 8-bit floating-point quantization while maintaining high model accuracy.
- Enable efficient inference on deep networks like VGG16 and ResNet152 using a hardware-software co-design approach.
Proposed method
- Propose a normalization-oriented 8-bit floating-point quantization method that applies normalization to activations before quantization to reduce accuracy loss.
- Use non-uniform quantization for weights and activations based on their statistical distributions to minimize quantization error.
- Design a fully pipelined, data-flow-based processing element (PE) architecture that shares input activations and weights across PEs to reduce on-chip bandwidth.
- Implement a hardware accelerator with 8-bit floating-point multipliers that maintain full-precision products to improve hardware efficiency over fixed-point alternatives.
- Integrate the quantization method and processor design to enable end-to-end low-precision inference without additional calibration or retraining.
- Optimize circuit placement and routing in TSMC 28nm technology to achieve high performance and energy efficiency.
Experimental results
Research questions
- RQ1Can 8-bit floating-point quantization achieve lower quantization error than 8-bit fixed-point quantization in deep CNNs?
- RQ2Can normalization of activations before quantization reduce accuracy degradation without calibration or retraining?
- RQ3Can 8-bit floating-point multipliers achieve higher hardware efficiency than 8-bit fixed-point multipliers when full-precision products are preserved?
- RQ4Can a custom processor architecture fully exploit the benefits of low-precision floating-point quantization while minimizing area and energy overhead?
- RQ5How does the proposed system compare in performance and energy efficiency to state-of-the-art accelerators and GPUs for deep CNN inference?
Key findings
- The proposed normalization-oriented 8-bit floating-point quantization achieves ≤0.5% top-1 and ≤0.3% top-5 accuracy loss on deep CNNs like VGG16 without calibration, fine-tuning, or re-training.
- Phoenix achieves 3.32× higher performance than a state-of-the-art accelerator for AlexNet and 7.45× higher performance for VGG16, using the same core area.
- The Phoenix processor achieves a peak performance of 2.048 TMAC/s with a core area of 1.44 mm² and power consumption of 1091.2 mW at TSMC 28nm.
- Phoenix consumes 151× less energy than the Nvidia TITAN Xp GPU for single-image inference, demonstrating superior energy efficiency.
- The hardware design reduces inner bandwidth requirements by sharing inputs across processing elements through a fully pipelined data-flow architecture.
- The use of full-precision product handling in 8-bit floating-point multipliers results in higher hardware efficiency compared to fixed-point counterparts.
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.