Designing strong baselines for ternary neural network quantization through support and mass equalization

Edouard Yvinec, Arnaud Dapogny, Kevin Bailly
6/30/2023
cs.CV

No confident code implementation found for this paper.

Abstract

Deep neural networks (DNNs) offer the highest performance in a wide range of applications in computer vision. These results rely on over-parameterized backbones, which are expensive to run. This computational burden can be dramatically reduced by quantizing (in either data-free (DFQ), post-training (PTQ) or quantization-aware training (QAT) scenarios) floating point values to ternary values (2 bits, with each weight taking value in {-1,0,1}). In this context, we observe that rounding to nearest minimizes the expected error given a uniform distribution and thus does not account for the skewness and kurtosis of the weight distribution, which strongly affects ternary quantization performance. This raises the following question: shall one minimize the highest or average quantization error? To answer this, we design two operators: TQuant and MQuant that correspond to these respective minimization tasks. We show experimentally that our approach allows to significantly improve the performance of ternary quantization through a variety of scenarios in DFQ, PTQ and QAT and give strong insights to pave the way for future research in deep neural network quantization.

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{yvinec2023designing,
  title  = {Designing strong baselines for ternary neural network quantization through support and mass equalization},
  author = {Edouard Yvinec and Arnaud Dapogny and Kevin Bailly},
  year   = {2023},
  eprint = {2306.17442},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.17442v1}
}

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

Discussion