Low Precision Decentralized Distributed Training with Heterogeneous Data

Sai Aparna Aketi, Sangamesh Kodge, Kaushik Roy · DOI

Abstract

Decentralized distributed learning is the key to enabling large-scale machine learning on edge devices utilizing private user-generated local data, without relying on the cloud. However, the practical realization of such on-device training is limited by the communication and compute bottleneck. In this paper, we propose and show the convergence of low precision decentralized training that aims to reduce the computational complexity and communication cost of decentralized training. We design Range-EvoNorm as the normalization activation layer which is better suited for low precision training over non-IID data. Our experiments indicate that 8-bit decentralized training has minimal accuracy loss compared to its full precision counterpart even with non-IID data. The proposed low precision decentralized training decreases computational complexity, memory usage, and communication cost by 4x and compute energy by a factor of ~20x, while trading off less than a 1% accuracy for both IID and non-IID data.

Introduction

Training deep learning models on edge devices, such as smartphones or IoT sensors, is a critical step toward private and scalable AI. However, decentralized learning—where devices communicate peer-to-peer without a central server—faces two primary bottlenecks: communication/compute constraints and data heterogeneity (non-IID). While previous research has focused on communication compression, few have addressed making the computation itself more efficient in a decentralized, non-IID environment. This paper bridges that gap by introducing a framework for 8-bit low-precision decentralized training.

Proposed Methodology

The authors propose three key innovations to enable efficient decentralized training:

1. 8-bit Quantized Training

The framework adapts 8-bit integer quantization for weights, activations, and gradients. To maintain high accuracy, the researchers utilize "gradient bifurcation," which keeps weight updates in higher precision while using 8-bit for the gradients passed between layers.

2. Range-EvoNorm

Traditional Batch Normalization often fails in decentralized settings because local batch statistics do not accurately represent the global data distribution. Range-EvoNorm addresses this by combining hardware-friendly "Range" (max-min) calculations with "Evolving Normalization" (EvoNorm). By using sample-level statistics instead of batch-level, it remains stable even when data is significantly skewed across nodes.

3. Algorithm Integration

These techniques are integrated into popular decentralized algorithms like Deep-Squeeze and Choco-SGD. The implementations are further modified to operate on directed graphs using Push-Sum techniques, ensuring robustness in various network topologies.

Experimental Evaluation

The approach was evaluated across computer vision (CIFAR-10, Imagenette) and natural language processing (AG News, Sentlen) tasks. To simulate real-world conditions, the researchers partitioned data with varying degrees of "skew," ranging from IID (0.0) to highly heterogeneous (0.9).

Visualization of data skew across nodes for different skew degrees (0.4, 0.8, 0.9)

Results and Discussion

The proposed 8-bit training achieves a ~20x reduction in compute energy and a ~3.5x reduction in memory usage compared to 32-bit floating-point training. Communication costs are also reduced by 4x.

Normalization and Stability

A critical finding is the importance of the normalization layer. As shown in the training curves, Range-EvoNorm significantly outperforms standard Batch-Norm and Group-Norm in decentralized settings with high data skew. It avoids numerically unstable operations like "sum of squares" and "square root," which are problematic in low-precision environments.

Comparison of validation error for different normalization layers over training epochs

Quantization as Regularization

Interestingly, in cases of high data skew, 8-bit training sometimes outperformed full-precision training by approximately 0.5%. This suggests that the noise introduced by quantization may act as a regularizer, preventing local models from overfitting to their specific, skewed data subsets.

Conclusion

This work demonstrates that low-precision decentralized training can significantly reduce the resource requirements for edge AI with minimal accuracy loss (typically <1%). While the models still face challenges under extreme (100%) data skew, the combination of 8-bit quantization and Range-EvoNorm provides a robust foundation for future on-device learning research. Future directions include exploring more advanced gradient manipulation techniques to further bridge the performance gap in extreme non-IID scenarios.

Summary updated

BibTeX
@inproceedings{aketi2022low,
  author = {Sai Aparna Aketi and Sangamesh Kodge and Kaushik Roy},
  title = {{Low Precision Decentralized Distributed Training with Heterogeneous Data}},
  booktitle = {Neural Networks},
  year = {2022},
  url = {https://openreview.net/forum?id=yGp01MiCAw},
}
Figure