Symmetry Regularization and Saturating Nonlinearity for Robust Quantization

Sein Park, Yeongsang Jang, Eunhyeok Park
7/31/2022
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

Robust quantization improves the tolerance of networks for various implementations, allowing reliable output in different bit-widths or fragmented low-precision arithmetic. In this work, we perform extensive analyses to identify the sources of quantization error and present three insights to robustify a network against quantization: reduction of error propagation, range clamping for error minimization, and inherited robustness against quantization. Based on these insights, we propose two novel methods called symmetry regularization (SymReg) and saturating nonlinearity (SatNL). Applying the proposed methods during training can enhance the robustness of arbitrary neural networks against quantization on existing post-training quantization (PTQ) and quantization-aware training (QAT) algorithms and enables us to obtain a single weight flexible enough to maintain the output quality under various conditions. We conduct extensive studies on CIFAR and ImageNet datasets and validate the effectiveness of the proposed methods.

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{park2022symmetry,
  title  = {Symmetry Regularization and Saturating Nonlinearity for Robust Quantization},
  author = {Sein Park and Yeongsang Jang and Eunhyeok Park},
  year   = {2022},
  eprint = {2208.00338},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2208.00338v1}
}

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

Discussion