NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Towards efficient full 8-bit integer DNN online training on resource-limited devices without batch normalization

Yukuan Yang, Xiaowei Chi, Lei Deng, Tianyi Yan, Feng Gao, Guoqi Li

TL;DR

This paper introduces EOQ (Efficient Online-training Quantization), a framework that enables full 8-bit integer training of deep neural networks on resource-constrained devices. By replacing the computationally expensive Batch Normalization (BN) with a specialized initialization strategy (Fixup) and quantizing everything—including weight updates—to 8-bit integers, the authors achieve massive hardware speedups and power savings with minimal accuracy loss.

What Problem Does This Paper Address?

Deep learning is moving from massive data centers to "the edge"—your phone, smartwatch, or IoT sensors. While we can run inference (using a pre-trained model) on these devices, online training (updating the model with new, private data) remains a massive hurdle.

The authors identify two primary "traps" preventing on-device training:

  1. The Computational Bottleneck: Standard training uses 32-bit floating-point math, which is power-hungry and slow on mobile hardware.
  2. The Batch Normalization (BN) Trap: BN is the industry standard for stabilizing training, but it’s a nightmare for edge devices. It requires complex square root operations, consumes significant memory to store activations for the backward pass, and performs poorly when training with very small batches (which is common in online learning).

Methods

The authors propose the EOQ framework, which attacks these problems through two main pillars:

  • Removing BN via Fixup Initialization: Instead of normalizing data during every layer (BN), the authors use "Fixup" initialization. This method carefully re-scales weights in residual branches based on the network depth to prevent gradients from exploding or vanishing. To justify this, they provide a theoretical analysis using Block Dynamical Isometry, proving that Fixup provides the same stability as BN without the overhead.
  • Full 8-bit Integer Quantization: Most "low-bit" papers only quantize weights or activations. EOQ quantizes weights, activations, errors, gradients, and even weight updates to 8-bit integers.
  • They use three types of quantization: Basic (nearest integer), Clamp (limiting the range for hardware friendliness), and Scale (dynamic scaling for high-precision data like gradients).
  • This allows the entire training loop to run using efficient fixed-point arithmetic rather than floating-point.

Datasets

The researchers evaluated EOQ on two primary benchmarks:

  • ImageNet: Used for large-scale validation on ResNet-18, ResNet-34, and ResNet-50.
  • CIFAR-10: Used specifically to test the framework's performance in "small-batch" scenarios (batch sizes as low as 1), which mimics real-world online learning.

Key Insights and Ideas

  • The First 8-bit Update: This is the first work to successfully quantize weight updates to 8-bit integers in large-scale DNN training. Usually, updates require high precision to ensure the model actually converges; EOQ manages this through its "Scale quantization" strategy.
  • Simplifying Hardware Design: By removing BN, the authors eliminate "unfriendly" square root operations. This allows for much simpler and smaller AI chip designs (ASICs/FPGAs).
  • Small Batch Superiority: BN typically fails when the batch size is very small because the statistics (mean/variance) become noisy. Because EOQ removes BN entirely, it actually performs better than traditional methods in small-batch online training scenarios.
  • Memory Efficiency: By quantizing the backward pass and removing the need to store pre-normalized activations for BN, the framework significantly reduces the memory footprint required during training.

Key Results

The authors tested their framework on an FPGA platform (Intel DE5-Net) and compared it to traditional 32-bit floating-point networks with BN:

  • Accuracy: On ImageNet, the 8-bit EOQ models suffered only a minor accuracy drop (e.g., ~1.34% for ResNet-18) compared to full-precision models, significantly outperforming previous 8-bit frameworks like WAGEUBN.
  • Power & Speed: EOQ achieved >70× lower power consumption and was >18× faster in processing speed compared to traditional 32-bit floating-point BN processes.
  • Hardware Area: The circuit area required for multiplication and accumulation operations was reduced by 9× and 30×, respectively.
  • Small Batch Performance: On CIFAR-10 with a batch size of 1, EOQ achieved 89.41% accuracy, while a traditional vanilla network with BN struggled at only 22.74%.

Limitations and Future Work

  • The "Last Layer" Exception: To maintain competitive accuracy, the authors kept the very last layer of the network unquantized (floating-point). While common in quantization research, a truly "full" integer pipeline would ideally address this final layer.
  • Hyperparameter Sensitivity: While Fixup removes the need for BN, it may require more careful tuning of initialization scales compared to the "plug-and-play" nature of BN.
  • Future Directions: The authors suggest that this framework paves the way for specialized deep learning chips designed specifically for low-power, on-device lifelong learning.

Summary updated

BibTeX
@inproceedings{yang2022towards,
  author = {Yukuan Yang and Xiaowei Chi and Lei Deng and Tianyi Yan and Feng Gao and Guoqi Li},
  title = {{Towards efficient full 8-bit integer DNN online training on resource-limited devices without batch normalization}},
  booktitle = {Neurocomputing},
  year = {2022},
  url = {https://openreview.net/forum?id=tUrmmS-Vm8},
}
Figure