Reproduce “NITI: Training Integer Neural Networks Using Integer-only Arithmetic” 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

Maolin Wang, Seyedramin Rasoulinezhad, Philip H.W. Leong, Hayden K.H. So

NITI presents a framework for training deep neural networks entirely using low bitwidth integer arithmetic, including weights, activations, gradients, and loss computations. This approach achieves comparable accuracy to full-precision floating-point training on datasets like MNIST, CIFAR10, and ImageNet while significantly reducing computational overhead, memory footprint, and hardware complexity.

Key insights

  • Effective management of dynamic range and numerical stability is crucial for integer-only arithmetic, which NITI addresses through adaptive scaling and careful quantization.
  • Pseudo-stochastic rounding can be achieved without external random number generators by leveraging discarded fractional bits from intermediate values, offering hardware efficiency.
  • Integer-only training, even with extremely low precision (8-bit weights/activations, 5-bit gradients), can maintain competitive accuracy, sometimes showing regularization-like effects compared to fp32.

Summary by alphaXiv.

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