FF-INT8: Efficient Forward-Forward DNN Training on Edge Devices with INT8 Precision

Jingxiao Ma, Priyadarshini Panda, Sherief Reda

Introduction: Breaking the Memory Wall

Training deep neural networks (DNNs) on edge devices—such as smart cameras, drones, and wearables—is a significant challenge due to severe memory and power constraints. Standard training via Backpropagation (BP) is notoriously memory-intensive because it requires storing every intermediate activation to calculate gradients during the backward pass. While 8-bit integer (INT8) quantization has become a standard for efficient inference, applying it to training often results in a "quantization error catastrophe," where errors accumulate across layers, causing accuracy to plummet or training to diverge.

Standard INT8 training often suffers from instability and diverging loss compared to floating-point baselines.

The FF-INT8 Framework

To overcome these barriers, the paper "FF-INT8: Efficient Forward-Forward DNN Training on Edge Devices with INT8 Precision" proposes a novel framework that replaces Backpropagation with a quantized version of Geoffrey Hinton’s "Forward-Forward" (FF) algorithm. FF-INT8 is the first framework to successfully combine the FF algorithm with INT8 precision for efficient on-device learning.

Core Innovations

The framework introduces two primary technical advancements:

  1. Quantized Forward-Forward Training: Instead of the traditional forward-backward pass, the FF algorithm utilizes two forward passes: one with "positive" data (correctly labeled) and one with "negative" data (incorrectly labeled). Each layer is trained greedily to maximize "goodness" for positive data and minimize it for negative data. This layer-wise approach eliminates the need for a global computational graph, preventing quantization errors from compounding across the network's depth.
  2. The "Look-Ahead" Scheme: A known limitation of vanilla FF is that early layers lack information about subsequent layers, slowing convergence. FF-INT8 introduces a "look-ahead" loss that incorporates the goodness of future layers into the current layer's update. This provides a lightweight feedback mechanism that achieves global-like optimization benefits without the memory overhead of full BP.
The FF-INT8 architecture utilizes (a) a look-ahead feedback mechanism and (b) dual forward passes for positive and negative data.

The system employs Symmetric Uniform Quantization (SUQ) with stochastic rounding to maintain weights and activations in 8-bit format, optimizing it for the integer-only arithmetic units found in modern edge hardware like the NVIDIA Jetson.

Experimental Results

The researchers evaluated FF-INT8 on an NVIDIA Jetson Orin Nano using datasets like MNIST and CIFAR-10 across various architectures, including MobileNet-V2, EfficientNet-B0, and ResNet-18.

  • Memory and Energy Efficiency: FF-INT8 achieved a 27.0% reduction in memory footprint and consumed 8.3% less energy compared to state-of-the-art INT8 training methods.
  • Performance: Training was 4.6% faster than previous low-precision methods.
  • Accuracy and Stability: The framework maintained near-FP32 accuracy, trailing the floating-point baseline by only 0.4% on average. Notably, while standard INT8 training often becomes unstable on complex architectures like ResNet-18, FF-INT8 remained stable and converged effectively thanks to the "Look-Ahead" scheme.

Conclusion

FF-INT8 represents a significant step toward viable on-device learning. By leveraging the greedy nature of the Forward-Forward algorithm to buffer against quantization noise and introducing a memory-efficient feedback loop, it breaks the "Memory Wall" for resource-constrained edge devices. Future work will focus on scaling this approach to larger datasets and more complex tasks like Natural Language Processing.

Summary updated

BibTeX
@inproceedings{ma2025ff,
  author = {Jingxiao Ma and Priyadarshini Panda and Sherief Reda},
  title = {{FF-INT8: Efficient Forward-Forward DNN Training on Edge Devices with INT8 Precision}},
  booktitle = {DAC},
  year = {2025},
  doi = {10.1109/dac63849.2025.11133061},
}
Figure