Skip to main content
QUICK REVIEW

[論文レビュー] Fedstellar: A Platform for Decentralized Federated Learning

Enrique Tomás Martínez Beltrán, Ángel Luis Perales Gómez|arXiv (Cornell University)|Jun 16, 2023
Privacy-Preserving Technologies in DataComputer Science参考文献 34被引用数 10
ひとこと要約

Fedstellar は、分散型・半分散型・集中型のモードで、さまざまな物理デバイスと仮想デバイス上で FL モデルのトレーニングを可能にし、リアルタイム監視と柔軟なトポロジを提供するプラットフォームです。

ABSTRACT

In 2016, Google proposed Federated Learning (FL) as a novel paradigm to train Machine Learning (ML) models across the participants of a federation while preserving data privacy. Since its birth, Centralized FL (CFL) has been the most used approach, where a central entity aggregates participants' models to create a global one. However, CFL presents limitations such as communication bottlenecks, single point of failure, and reliance on a central server. Decentralized Federated Learning (DFL) addresses these issues by enabling decentralized model aggregation and minimizing dependency on a central entity. Despite these advances, current platforms training DFL models struggle with key issues such as managing heterogeneous federation network topologies. To overcome these challenges, this paper presents Fedstellar, a platform extended from p2pfl library and designed to train FL models in a decentralized, semi-decentralized, and centralized fashion across diverse federations of physical or virtualized devices. The Fedstellar implementation encompasses a web application with an interactive graphical interface, a controller for deploying federations of nodes using physical or virtual devices, and a core deployed on each device which provides the logic needed to train, aggregate, and communicate in the network. The effectiveness of the platform has been demonstrated in two scenarios: a physical deployment involving single-board devices such as Raspberry Pis for detecting cyberattacks, and a virtualized deployment comparing various FL approaches in a controlled environment using MNIST and CIFAR-10 datasets. In both scenarios, Fedstellar demonstrated consistent performance and adaptability, achieving F1 scores of 91%, 98%, and 91.2% using DFL for detecting cyberattacks and classifying MNIST and CIFAR-10, respectively, reducing training time by 32% compared to centralized approaches.

研究の動機と目的

  • 分散型 Federated Learning (DFL) の必要性を動機づけ、中央サーバーのボトルネックと単一障害点を削減する。
  • 異種デバイス全体で DFL、Semi-Decentralized Federated Learning (SDFL)、および CFL をサポートする汎用プラットフォームを設計・実装する。
  • フェデレーション管理、トポロジーのカスタマイズ、リアルタイム性能監視のツールを提供する。
  • 物理デバイス(Raspberry PiとRock64)と仮想化デプロイメント(MNIST/CIFAR-10)で Fedstellar を実演する。
  • 多様なシナリオでの Fedstellar の使いやすさ、適応性、性能向上を評価する。

提案手法

  • モジュラーアーキテクチャを持つ Fedstellar を導入する:フロントエンド、コントローラ、各デバイスのコア。
  • 多様なデバイスタイプ、トポロジー(完全連結、スター、リング、ランダム)、およびアグリゲーションアーキテクチャ(DFL、SDFL、CFL)を持つフェデレーションの作成をサポートする。
  • Scenario 定義のためのウェブベースの GUI と、コントローラ通信のための REST API を提供する。
  • Mender を介して物理デバイスへデプロイし、Docker コンテナを通じて仮想デバイスへデプロイし、リソース provisioning と各ノードのコアを提供する。
  • TensorBoard に似たインターフェイスでリアルタイム監視を実装し、データエクスポートと Leaflet を用いた地理的位置機能を提供する。
  • 非同期ソケットと、動的なノード参加/離脱と各 KPI レポートをサポートする通信モデルを採用する。

実験結果

リサーチクエスチョン

  • RQ1物理デバイスと仮想デバイスを横断して、DFL、SDFL、CFL アーキテクチャを統一プラットフォームでどのようにサポートできるか?
  • RQ2トポロジー、デプロイメントモード、およびアグリゲーション戦略が Fedstellar の FL パフォーマンスに与える影響は何か?
  • RQ3Fedstellar はリアルタイムで多次元 KPI 監視を提供してフェデレーション管理を支援できるか?
  • RQ4現実世界に近いシナリオ(サイバー攻撃を受けた物理デバイスと仮想化MNIST/CIFAR-10)でのデプロイはどのように機能するか?

主な発見

  • Raspberry Pi 4 と Rock64 を用いた物理デプロイメントで、DFL によるサイバー攻撃検出は F1 スコア 91% を達成した。
  • 仮想化デプロイメントでは、MNIST は DFL 下で F1 スコア 98%、CIFAR-10 は DFL 下で 91.2% を達成した。
  • 仮想化シナリオで Fedstellar は中央集権アーキテクチャと比較して学習時間を 32% 短縮した。
  • Fedstellar はシナリオごとに完全連結、スター、リングのいずれのトポロジーにも適応性を示した。
  • このプラットフォームは、セキュアな通信と非同期メッセージ処理を備えた複数のフェデレーションアーキテクチャ(DFL、SDFL、CFL)をサポートする。

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。