QGen: On the Ability to Generalize in Quantization Aware Training

MohammadHossein AskariHemmat, Ahmadreza Jeddi, Reyhane Askari Hemmat, Ivan Lazarevich, Alexander Hoffman +4 more
4/17/2024
cs.LGcs.CV

No confident code implementation found for this paper.

Abstract

Quantization lowers memory usage, computational requirements, and latency by utilizing fewer bits to represent model weights and activations. In this work, we investigate the generalization properties of quantized neural networks, a characteristic that has received little attention despite its implications on model performance. In particular, first, we develop a theoretical model for quantization in neural networks and demonstrate how quantization functions as a form of regularization. Second, motivated by recent work connecting the sharpness of the loss landscape and generalization, we derive an approximate bound for the generalization of quantized models conditioned on the amount of quantization noise. We then validate our hypothesis by experimenting with over 2000 models trained on CIFAR-10, CIFAR-100, and ImageNet datasets on convolutional and transformer-based models.

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{askarihemmat2024qgen,
  title  = {QGen: On the Ability to Generalize in Quantization Aware Training},
  author = {MohammadHossein AskariHemmat and Ahmadreza Jeddi and Reyhane Askari Hemmat and Ivan Lazarevich and Alexander Hoffman and Sudhakar Sah and Ehsan Saboori and Yvon Savaria and Jean-Pierre David},
  year   = {2024},
  eprint = {2404.11769},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.11769v2}
}

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/2404.11769.svg)](https://codeofpaper.com/paper/2404.11769)

Discussion