Reproduce “Quantization Networks” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Jiwei Yang, Xu Shen, Jun Xing, Xinmei Tian, Houqiang Li, Bing Deng, Jianqiang Huang, Xiansheng Hua

This research introduces a framework that interprets neural network quantization as a differentiable non-linear function, enabling end-to-end learning for low-bit weight and activation quantization. The method, developed by researchers from the University of Science and Technology of China and Alibaba Group, achieves competitive or superior performance, including a 3-bit weight quantized ResNet-18 surpassing its full-precision counterpart on ImageNet.

Key insights

  • Interpreting quantization as a differentiable non-linear function effectively resolves the gradient mismatch issue prevalent in many approximation-based quantization methods.
  • A gradual temperature annealing schedule for the sigmoid function is crucial for balancing training stability with the accurate approximation of the hard quantization function.
  • Layer-wise quantization and non-uniform quantization intervals, determined by k-means clustering of full-precision parameters, significantly enhance accuracy by adapting to varying parameter distributions across different network layers.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.