Reproduce “DoReFa-Net: Training Low Bitwidth Convolutional Neural Networks with Low Bitwidth Gradients” 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
Shuchang Zhou, Yuxin Wu, Zekun Ni, Xinyu Zhou, He Wen, Yuheng Zou
Megvii Inc. introduces DoReFa-Net, a method for training convolutional neural networks using low-bitwidth weights, activations, and, crucially, parameter gradients. This approach enables end-to-end acceleration of both forward and backward passes, achieving 46.1% top-1 accuracy on ImageNet with 1-bit weights, 2-bit activations, and 6-bit gradients.
Key insights
- Gradients are found to be more sensitive to bitwidth reduction than activations, which are more sensitive than weights, in terms of maintaining model prediction accuracy.
- Stochastic quantization of gradients, by adding uniform noise before rounding, is critical for achieving good performance and avoiding significant accuracy degradation at low bitwidths.
- More capable models with higher channel counts show greater robustness to quantization-induced information loss, exhibiting less accuracy degradation compared to smaller models.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.