paper-with-me

Papers

NITI: Training Integer Neural Networks Using Integer-only Arithmetic

2020-09-28 · Maolin Wang, Seyedramin Rasoulinezhad, Philip H. W. Leong, Hayden K. -H. So

While integer arithmetic has been widely adopted for improved performance in deep quantized neural network inference, training remains a task primarily executed using floating point arithmetic. This is because both high dynamic range and numerical accuracy are central to the success of most modern training algorithms. However, due to its potential for computational, storage and energy advantages in hardware accelerators, neural network training methods that can be implemented with low precision integer-only arithmetic remains an active research challenge. In this paper, we present NITI, an efficient deep neural network training framework that stores all parameters and intermediate values as integers, and computes exclusively with integer arithmetic. A pseudo stochastic rounding scheme that eliminates the need for external random number generation is proposed to facilitate conversion from wider intermediate results to low precision storage. Furthermore, a cross-entropy loss backpropagation scheme computed with integer-only arithmetic is proposed. A proof-of-concept open-source software implementation of NITI that utilizes native 8-bit integer operations in modern GPUs to achieve end-to-end training is presented. When compared with an equivalent training setup implemented with floating point storage and arithmetic, NITI achieves negligible accuracy degradation on the MNIST and CIFAR10 datasets using 8-bit integer storage and computation. On ImageNet, 16-bit integers are needed for weight accumulation with an 8-bit datapath. This achieves training results comparable to all-floating-point implementations.

📄 PDF Abstract BibTeX arXiv:2009.13108

Code (1)

wangmaolin/niti 공식 구현 pytorch

Similar Papers 제목 키워드 기반

Integer-arithmetic-only Certified Robustness for Quantized Neural Networks

2021-08-21 · ICCV 2021 10 · Haowen Lin, Jian Lou, Li Xiong, Cyrus Shahabi

Adversarial data examples have drawn significant attention from the machine learning and security communities. A line of work on tackling adversarial examples is certified robustness via randomized smoothing that can pro…

Quantization

I-ViT: Integer-only Quantization for Efficient Vision Transformer Inference

2022-07-04 · ICCV 2023 1 · Zhikai Li, Qingyi Gu

Vision Transformers (ViTs) have achieved state-of-the-art performance on various computer vision applications. However, these models have considerable storage and computational overheads, making their deployment and effi…

Quantization

Batch Normalization-Free Fully Integer Quantized Neural Networks via Progressive Tandem Learning

2025-12-18 · Pengfei Sun, Wenyu Jiang, Piew Yoong Chee, Paul Devos 외 arxiv

Quantised neural networks (QNNs) shrink models and reduce inference energy through low-bit arithmetic, yet most still depend on a running statistics batch normalisation (BN) layer, preventing true integer-only deployment…

Deep Neural Network inference with reduced word length

2018-10-23 · Lukas Mauch, Bin Yang

Deep neural networks (DNN) are powerful models for many pattern recognition tasks, yet their high computational complexity and memory requirement limit them to applications on high-performance computing platforms. In thi…

Towards Fine-tuning Pre-trained Language Models with Integer Forward and Backward Propagation

2022-09-20 · Mohammadreza Tayaranian, Alireza Ghaffari, Marzieh S. Tahaei, Mehdi Rezagholizadeh 외

The large number of parameters of some prominent language models, such as BERT, makes their fine-tuning on downstream tasks computationally intensive and energy hungry. Previously researchers were focused on lower bit-wi…