Skip to main content
Cornell University
We gratefully acknowledge support from the Simons Foundation, member institutions, and all contributors. Donate
arxiv logo > cs > arXiv:2405.00645

Help | Advanced Search

arXiv logo
Cornell University Logo

quick links

  • Login
  • Help Pages
  • About

Computer Science > Machine Learning

arXiv:2405.00645 (cs)
[Submitted on 1 May 2024 (v1), last revised 8 Aug 2024 (this version, v2)]

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

Authors:Chang Sun, Thea K. Ă…rrestad, Vladimir Loncar, Jennifer Ngadiuba, Maria Spiropulu
View a PDF of the paper titled Gradient-based Automatic Mixed Precision Quantization for Neural Networks On-Chip, by Chang Sun and 4 other authors
View PDF HTML (experimental)
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.
Comments: Fixed some errors and added more details
Subjects: Machine Learning (cs.LG); Instrumentation and Detectors (physics.ins-det)
Report number: FERMILAB-PUB-24-0213-CMS, CaltechAUTHORS:10.7907/hq8jd-rhg30
Cite as: arXiv:2405.00645 [cs.LG]
  (or arXiv:2405.00645v2 [cs.LG] for this version)
  https://doi.org/10.48550/arXiv.2405.00645
arXiv-issued DOI via DataCite
Related DOI: https://doi.org/10.7907/hq8jd-rhg30
DOI(s) linking to related resources

Submission history

From: Chang Sun [view email]
[v1] Wed, 1 May 2024 17:18:46 UTC (223 KB)
[v2] Thu, 8 Aug 2024 19:47:00 UTC (99 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled Gradient-based Automatic Mixed Precision Quantization for Neural Networks On-Chip, by Chang Sun and 4 other authors
  • View PDF
  • HTML (experimental)
  • TeX Source
  • Other Formats
view license
Current browse context:
cs.LG
< prev   |   next >
new | recent | 2024-05
Change to browse by:
cs
physics
physics.ins-det

References & Citations

  • INSPIRE HEP
  • NASA ADS
  • Google Scholar
  • Semantic Scholar
a export BibTeX citation Loading...

BibTeX formatted citation

×
Data provided by:

Bookmark

BibSonomy logo Reddit logo

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
IArxiv Recommender (What is IArxiv?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
  • About
  • Help
  • contact arXivClick here to contact arXiv Contact
  • subscribe to arXiv mailingsClick here to subscribe Subscribe
  • Copyright
  • Privacy Policy
  • Web Accessibility Assistance
  • arXiv Operational Status
    Get status notifications via email or slack