Skip to main content
Cornell University
Learn about arXiv becoming an independent nonprofit.
We gratefully acknowledge support from the Simons Foundation, member institutions, and all contributors. Donate
arxiv logo > cs > arXiv:1809.10572

Help | Advanced Search

arXiv logo
Cornell University Logo

quick links

  • Login
  • Help Pages
  • About

Computer Science > Performance

arXiv:1809.10572 (cs)
[Submitted on 27 Sep 2018 (v1), last revised 12 Dec 2019 (this version, v2)]

Title:Scalar Arithmetic Multiple Data: Customizable Precision for Deep Neural Networks

Authors:Andrew Anderson, David Gregg
View a PDF of the paper titled Scalar Arithmetic Multiple Data: Customizable Precision for Deep Neural Networks, by Andrew Anderson and 1 other authors
View PDF
Abstract:Quantization of weights and activations in Deep Neural Networks (DNNs) is a powerful technique for network compression, and has enjoyed significant attention and success. However, much of the inference-time benefit of quantization is accessible only through the use of customized hardware accelerators or by providing an FPGA implementation of quantized arithmetic.
Building on prior work, we show how to construct arbitrary bit-precise signed and unsigned integer operations using a software technique which logically \emph{embeds} a vector architecture with custom bit-width lanes in universally available fixed-width scalar arithmetic.
We evaluate our approach on a high-end Intel Haswell processor, and an embedded ARM processor. Our approach yields very fast implementations of bit-precise custom DNN operations, which often match or exceed the performance of operations quantized to the sizes supported in native arithmetic. At the strongest level of quantization, our approach yields a maximum speedup of $\thicksim6\times$ on the Intel platform, and $\thicksim10\times$ on the ARM platform versus quantization to native 8-bit integers.
Subjects: Performance (cs.PF); Computer Vision and Pattern Recognition (cs.CV); Mathematical Software (cs.MS)
Cite as: arXiv:1809.10572 [cs.PF]
  (or arXiv:1809.10572v2 [cs.PF] for this version)
  https://doi.org/10.48550/arXiv.1809.10572
arXiv-issued DOI via DataCite
Related DOI: https://doi.org/10.1109/ARITH.2019.00018
DOI(s) linking to related resources

Submission history

From: Andrew Anderson [view email]
[v1] Thu, 27 Sep 2018 15:25:02 UTC (993 KB)
[v2] Thu, 12 Dec 2019 15:39:59 UTC (1,089 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled Scalar Arithmetic Multiple Data: Customizable Precision for Deep Neural Networks, by Andrew Anderson and 1 other authors
  • View PDF
  • TeX Source
view license
Current browse context:
cs.PF
< prev   |   next >
new | recent | 2018-09
Change to browse by:
cs
cs.CV
cs.MS

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar

DBLP - CS Bibliography

listing | bibtex
Andrew Anderson
David Gregg
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?)
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?)
  • 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