Efficient Ring-topology Decentralized Federated Learning with Deep Generative Models for Industrial Artificial Intelligent

Zhao Wang, Yifan Hu, Jun Xiao, Chao WuarXiv 2021

Abstract

By leveraging deep learning technologies, data-driven approaches have achieved significant success in the Industrial Internet of Things (IIoT). However, security and privacy concerns remain major obstacles for data providers in sensitive industrial scenarios like healthcare and autonomous driving. While many Federated Learning (FL) approaches have been proposed for IIoT, they often suffer from low data usability due to incompleteness, low quality, or insufficient quantity. We propose a Ring-topology based Decentralized Federated Learning (RDFL) scheme for Deep Generative Models (DGMs) to address these issues. RDFL provides high communication efficiency and maintains training performance to boost DGMs in target IIoT tasks. A novel ring FL topology and a map-reduce based synchronizing method are designed to improve decentralized FL performance and bandwidth utilization. Additionally, the InterPlanetary File System (IPFS) is introduced to further enhance communication efficiency and security. Extensive experiments demonstrate the superiority of RDFL on both IID and Non-IID datasets.

Introduction

In the Industrial Internet of Things (IIoT), data is a critical asset, yet it is often "dirty"—incomplete, low-quality, or insufficient in quantity. Deep Generative Models (DGMs), such as GANs, offer a promising solution by synthesizing high-quality data to augment real-world datasets. However, training these models across distributed organizations presents significant privacy and infrastructure challenges.

Standard Federated Learning (FL) typically relies on a central parameter server, which introduces two primary issues:

  1. Communication Bottlenecks: The central server becomes a single point of failure and a choke point for network traffic.
  2. Data Heterogeneity: IIoT data is frequently Non-IID (not independently and identically distributed), which can cause standard FL models to diverge or perform poorly.

Proposed Methodology: RDFL

The RDFL framework removes the central server, replacing it with a peer-to-peer ring structure designed for efficiency and security.

Ring Topology and Synchronization

RDFL utilizes consistent hashing to organize nodes into a logical ring, ensuring network stability as nodes join or leave. Inspired by high-performance computing, the framework implements a Ring-Allreduce synchronization method. Instead of global broadcasts, model parameters are passed sequentially around the ring, maximizing bandwidth utilization compared to traditional "gossip" protocols.

Ring-Allreduce synchronization process across multiple rounds.

Security: The Clockwise Principle

To mitigate risks from malicious actors, RDFL distinguishes between "trusty" and "untrusty" nodes. Untrusty nodes must route their updates to the nearest trusted node in a clockwise direction. This mechanism acts as a filter, preventing malicious data poisoning from propagating unchecked through the network.

Decentralized Storage with IPFS

To minimize communication overhead, RDFL decouples model announcement from data transfer. Large model parameters are uploaded to the InterPlanetary File System (IPFS). Nodes then exchange only a compact 46-byte hash and an encrypted AES key. This approach significantly reduces the "Node Pressure" (the volume of data a single node must process).

Workflow of secure data sharing between nodes using IPFS and cryptographic keys.

Experimental Evaluation

The researchers evaluated RDFL using standard benchmarks:

  • MNIST: Tested generative performance of GANs in both IID and Non-IID scenarios.
  • CIFAR-10 & CIFAR-100: Measured classification accuracy and robustness against data poisoning.

Key Results

  • Superior Accuracy: In data poisoning scenarios on CIFAR-10 (2:3 trusty-to-malicious ratio), RDFL achieved 84.25% accuracy, outperforming FedAvg's 79.19%.
  • Communication Efficiency: RDFL maintains constant node pressure regardless of the number of nodes, whereas standard P2P methods scale linearly.
  • Robustness: GAN training remained stable even with synchronization intervals ($K$) up to 20,000 iterations, proving the system's resilience to network delays.

Conclusion and Future Work

RDFL demonstrates that decentralized FL can be both secure and efficient for training generative models in industrial settings. By using IPFS and a ring topology, it overcomes the limitations of central-server architectures. Future work will focus on improving resilience to node failures during training rounds and scaling to more complex, high-resolution industrial data.

Summary updated

Abstract

By leveraging deep learning based technologies, the data-driven based approaches have reached great success with the rapid increase of data generated of Industrial Indernet of Things(IIot). However, security and privacy concerns are obstacles for data providers in many sensitive data-driven industrial scenarios, such as healthcare and auto-driving. Many Federated Learning(FL) approaches have been proposed with DNNs for IIoT applications, these works still suffer from low usability of data due to data incompleteness, low quality, insufficient quantity, sensitivity, etc. Therefore, we propose a ring-topogy based decentralized federated learning(RDFL) scheme for Deep Generative Models(DGMs), where DGMs is a promising solution for solving the aforementioned data usability issues. Compare with existing IIoT FL works, our RDFL schemes provides communication efficiency and maintain training performance to boost DGMs in target IIoT tasks. A novel ring FL topology as well as a map-reduce based synchronizing method are designed in the proposed RDFL to improve decentralized FL performance and bandwidth utilization. In addition, InterPlanetary File System(IPFS) is introduced to further improve communication efficiency and FL security. Extensive experiments have been taken to demonstate the superiority of RDFL with either independent and identically distributed(IID) datasets or non-independent and identically distributed(Non-IID) datasets.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
CIFAR-10RDFL (ring-topology decentralized federated learning)accuracy84.25+5.06 vs baselineImage Classification · attack=data poisoning · clients=5 · data-distribution=IID · trusty-malicious-allocation=2:3
Source quote
L194: \multirow{4}{*}{Data Poisoning(IID)} │ 2:3 │ 79.19 │ 43.27 │ 84.25 │ 53.86
CIFAR-100RDFL (ring-topology decentralized federated learning)accuracy53.86+10.59 vs baselineImage Classification · attack=data poisoning · clients=5 · data-distribution=IID · trusty-malicious-allocation=2:3
Source quote
L194: \multirow{4}{*}{Data Poisoning(IID)} │ 2:3 │ 79.19 │ 43.27 │ 84.25 │ 53.86
CIFAR-10RDFL (ring-topology decentralized federated learning)accuracy63.25Image Classification · clients=5 · data-distribution=non-IID (LDA) · trusty-malicious-allocation=4:1
Source quote
L198: Non-IID(LDA) │ 4:1 │ 61.72 │ 32.29 │ 63.25 │ 33.85
Reported baseline / comparator measurements (3)
BenchmarkMethodMetricScoreProtocol / Evidence
CIFAR-10FedAvg baselineaccuracy79.19Image Classification · attack=data poisoning · clients=5 · data-distribution=IID · trusty-malicious-allocation=2:3
Source quote
L194: \multirow{4}{*}{Data Poisoning(IID)} │ 2:3 │ 79.19 │ 43.27 │ 84.25 │ 53.86
CIFAR-100FedAvg baselineaccuracy43.27Image Classification · attack=data poisoning · clients=5 · data-distribution=IID · trusty-malicious-allocation=2:3
Source quote
L194: \multirow{4}{*}{Data Poisoning(IID)} │ 2:3 │ 79.19 │ 43.27 │ 84.25 │ 53.86
CIFAR-10FedAvg baselineaccuracy61.72Image Classification · clients=5 · data-distribution=non-IID (LDA) · trusty-malicious-allocation=4:1
Source quote
L198: Non-IID(LDA) │ 4:1 │ 61.72 │ 32.29 │ 63.25 │ 33.85
BibTeX
@misc{wang2021efficient,
  author = {Zhao Wang and Yifan Hu and Jun Xiao and Chao Wu},
  title = {{Efficient Ring-topology Decentralized Federated Learning with Deep Generative Models for Industrial Artificial Intelligent}},
  year = {2021},
  eprint = {2104.08100},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2104.08100},
}
Figure