Chrome Extension
WeChat Mini Program
Use on ChatGLM

Gradient-based Automatic Mixed Precision Quantization for Neural Networks On-Chip

Chang Sun, Thea K. Årrestad,Vladimir Loncar,Jennifer Ngadiuba,Maria Spiropulu

CoRR(2024)

California Institute of Technology | ETH Zürich | Massachusetts Institute of Technology Institute of Physics Belgrade | Fermi National Accelerator Laboratory

Cited 0|Views20
Abstract
Model size and inference speed at deployment time, are major challenges in many deep learning applications. A promising strategy to overcome these challenges is quantization. However, a straightforward uniform quantization to very low precision can result in significant accuracy loss. Mixed-precision quantization, based on the idea that certain parts of the network can accommodate lower precision without compromising performance compared to other parts, offers a potential solution. In this work, we present High Granularity Quantization (HGQ), an innovative quantization-aware training method that could fine-tune the per-weight and per-activation precision by making them optimizable through gradient descent. This approach enables ultra-low latency and low power neural networks on hardware capable of performing arithmetic operations with an arbitrary number of bits, such as FPGAs and ASICs. We demonstrate that HGQ can outperform existing methods by a substantial margin, achieving resource reduction by up to a factor of 20 and latency improvement by a factor of 5 while preserving accuracy.
More
Translated text
PDF
Bibtex
AI Read Science
AI Summary
AI Summary is the key point extracted automatically understanding the full text of the paper, including the background, methods, results, conclusions, icons and other key content, so that you can get the outline of the paper at a glance.
Example
Background
Key content
Introduction
Methods
Results
Related work
Fund
Key content
  • Pretraining has recently greatly promoted the development of natural language processing (NLP)
  • We show that M6 outperforms the baselines in multimodal downstream tasks, and the large M6 with 10 parameters can reach a better performance
  • We propose a method called M6 that is able to process information of multiple modalities and perform both single-modal and cross-modal understanding and generation
  • The model is scaled to large model with 10 billion parameters with sophisticated deployment, and the 10 -parameter M6-large is the largest pretrained model in Chinese
  • Experimental results show that our proposed M6 outperforms the baseline in a number of downstream tasks concerning both single modality and multiple modalities We will continue the pretraining of extremely large models by increasing data to explore the limit of its performance
Try using models to generate summary,it takes about 60s
Must-Reading Tree
Example
Generate MRT to find the research sequence of this paper
Data Disclaimer
The page data are from open Internet sources, cooperative publishers and automatic analysis results through AI technology. We do not make any commitments and guarantees for the validity, accuracy, correctness, reliability, completeness and timeliness of the page data. If you have any questions, please contact us by email: report@aminer.cn
Chat Paper

要点】:本文提出了High Granularity Quantization(HGQ),一种创新的量化感知训练方法,自动微调权重和激活的每个部分的精度,以实现超低延迟和低功耗的FPGA部署的神经网络。HGQ通过显著优于现有方法,实现了高达20倍的资源减少和5倍的延迟改进,同时保持了准确性。

方法】:HGQ是一种量化感知训练方法,旨在自动微调每个权重和激活的精度。

实验】:研究者在不同的数据集上进行了实验,结果表明,HGQ可以将资源减少高达20倍,延迟降低高达5倍,同时保持高准确性。