Magic for the Age of Quantized DNNs

Yoshihide Sawada, Ryuji Saiin, Kazuma Suetake
3/22/2024
cs.LGcs.AIcs.CV

No confident code implementation found for this paper.

Abstract

Recently, the number of parameters in DNNs has explosively increased, as exemplified by LLMs (Large Language Models), making inference on small-scale computers more difficult. Model compression technology is, therefore, essential for integration into products. In this paper, we propose a method of quantization-aware training. We introduce a novel normalization (Layer-Batch Normalization) that is independent of the mini-batch size and does not require any additional computation cost during inference. Then, we quantize the weights by the scaled round-clip function with the weight standardization. We also quantize activation functions using the same function and apply surrogate gradients to train the model with both quantized weights and the quantized activation functions. We call this method Magic for the age of Quantised DNNs (MaQD). Experimental results show that our quantization method can be achieved with minimal accuracy degradation.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{sawada2024magic,
  title  = {Magic for the Age of Quantized DNNs},
  author = {Yoshihide Sawada and Ryuji Saiin and Kazuma Suetake},
  year   = {2024},
  eprint = {2403.14999},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.14999v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2403.14999.svg)](https://codeofpaper.com/paper/2403.14999)

Discussion