Ternary Neural Networks with Fine-Grained Quantization
Not on the map. Why?
Abstract (arXiv)
We propose a novel fine-grained quantization (FGQ) method to ternarize pre-trained full precision models, while also constraining activations to 8 and 4-bits. Using this method, we demonstrate a minimal loss in classification accuracy on state-of-the-art topologies without additional training. We provide an improved theoretical formulation that forms the basis for a higher quality solution using FGQ. Our method involves ternarizing the original weight tensor in groups of N weights. Using N=4, we achieve Top-1 accuracy within 3.7% and 4.2% of the baseline full precision result for Resnet-101 and Resnet-50 respectively, while eliminating 75% of all multiplications. These results enable a full 8/4-bit inference pipeline, with best-reported accuracy using ternary weights on ImageNet dataset, with a potential of 9× improvement in performance. Also, for smaller networks like AlexNet, FGQ achieves state-of-the-art results. We further study the impact of group size on both performance and accuracy. With a group size of N=64, we eliminate ≈99% of the multiplications; however, this introduces a noticeable drop in accuracy, which necessitates fine tuning the parameters at lower precision. We address this by fine-tuning Resnet-50 with 8-bit activations and ternary weights at N=64, improving the Top-1 accuracy to within 4% of the full precision result with <30% additional training overhead. Our final quantized model can run on a full 8-bit compute pipeline using 2-bit weights and has the potential of up to 15× improvement in performance compared to baseline full-precision models.
Key facts. Cited by 15 papers in the map (data through 7 Oct 2026). First posted on arXiv 2 May 2017.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 4; 2022: 5; 2023: 4; 2024: 2.
15 papers.
Sort:
By area:
- 2021Pruning and Quantization for Deep Neural Network Acceleration: A Surveycited by 259
- 2022A Comprehensive Survey on Model Quantization for Deep Neural Networks in Image Classificationcited by 64
- 2023ZeroQuant-FP: A Leap Forward in LLMs Post-Training W4A8 Quantization Using Floating-Point Formatscited by 44
- 2023Efficient Post-training Quantization with FP8 Formatscited by 29
- 2021Bit-Mixer: Mixed-precision networks with runtime bit-width selectioncited by 20
- 2022Extreme Compression for Pre-trained Transformers Made Simple and Efficientcited by 19
- 2022Are Straight-Through gradients and Soft-Thresholding all you need for Sparse Training?cited by 9
- 2022Mixed-Precision Neural Networks: A Surveycited by 7
- 2022FxP-QNet: A Post-Training Quantizer for the Design of Mixed Low-Precision DNNs with Dynamic Fixed-Point Representationcited by 2
- 2023Ternary Quantization: A Surveycited by 2
- 2021RCT: Resource Constrained Training for Edge AIcited by 1
- 2021CBP: Backpropagation with constraint on weight precision using a pseudo-Lagrange multiplier methodcited by 1
- 2024Computer Vision Model Compression Techniques for Embedded Systems: A Survey15 Aug 2024
- 2024Quality Scalable Quantization Methodology for Deep Learning on Edge15 Jul 2024
- 2023Efficient Post-training Quantization with FP8 Formats26 Sep 2023
- 2023ZeroQuant-FP: A Leap Forward in LLMs Post-Training W4A8 Quantization Using Floating-Point Formats19 Jul 2023
- 2023A High-Performance Accelerator for Super-Resolution Processing on Embedded GPU16 Mar 2023
- 2023Ternary Quantization: A Survey2 Mar 2023
- 2022Are Straight-Through gradients and Soft-Thresholding all you need for Sparse Training?2 Dec 2022
- 2022Mixed-Precision Neural Networks: A Survey11 Aug 2022
- 2022Extreme Compression for Pre-trained Transformers Made Simple and Efficient4 Jun 2022
- 2022A Comprehensive Survey on Model Quantization for Deep Neural Networks in Image Classification14 May 2022
- 2022FxP-QNet: A Post-Training Quantizer for the Design of Mixed Low-Precision DNNs with Dynamic Fixed-Point Representation22 Mar 2022
- 2021CBP: Backpropagation with constraint on weight precision using a pseudo-Lagrange multiplier method6 Oct 2021
3 more
- 2023Efficient Post-training Quantization with FP8 Formatscited by 29
- 2023Efficient Post-training Quantization with FP8 Formats26 Sep 2023
- 2021Pruning and Quantization for Deep Neural Network Acceleration: A Surveycited by 259
- 2022A Comprehensive Survey on Model Quantization for Deep Neural Networks in Image Classificationcited by 64
- 2023ZeroQuant-FP: A Leap Forward in LLMs Post-Training W4A8 Quantization Using Floating-Point Formatscited by 44
- 2021Bit-Mixer: Mixed-precision networks with runtime bit-width selectioncited by 20
- 2022Extreme Compression for Pre-trained Transformers Made Simple and Efficientcited by 19
- 2022Are Straight-Through gradients and Soft-Thresholding all you need for Sparse Training?cited by 9
- 2022Mixed-Precision Neural Networks: A Surveycited by 7
- 2022FxP-QNet: A Post-Training Quantizer for the Design of Mixed Low-Precision DNNs with Dynamic Fixed-Point Representationcited by 2
- 2023Ternary Quantization: A Surveycited by 2
- 2021RCT: Resource Constrained Training for Edge AIcited by 1
- 2021CBP: Backpropagation with constraint on weight precision using a pseudo-Lagrange multiplier methodcited by 1
- 2024Computer Vision Model Compression Techniques for Embedded Systems: A Surveycited by 1
12 most cited of 14 All 14 (JSON)
- 2024Computer Vision Model Compression Techniques for Embedded Systems: A Survey15 Aug 2024
- 2024Quality Scalable Quantization Methodology for Deep Learning on Edge15 Jul 2024
- 2023ZeroQuant-FP: A Leap Forward in LLMs Post-Training W4A8 Quantization Using Floating-Point Formats19 Jul 2023
- 2023A High-Performance Accelerator for Super-Resolution Processing on Embedded GPU16 Mar 2023
- 2023Ternary Quantization: A Survey2 Mar 2023
- 2022Are Straight-Through gradients and Soft-Thresholding all you need for Sparse Training?2 Dec 2022
- 2022Mixed-Precision Neural Networks: A Survey11 Aug 2022
- 2022Extreme Compression for Pre-trained Transformers Made Simple and Efficient4 Jun 2022
- 2022A Comprehensive Survey on Model Quantization for Deep Neural Networks in Image Classification14 May 2022
- 2022FxP-QNet: A Post-Training Quantizer for the Design of Mixed Low-Precision DNNs with Dynamic Fixed-Point Representation22 Mar 2022
- 2021CBP: Backpropagation with constraint on weight precision using a pseudo-Lagrange multiplier method6 Oct 2021
- 2021Bit-Mixer: Mixed-precision networks with runtime bit-width selection31 Mar 2021
12 newest of 14 All 14 (JSON)