[논문 리뷰] Fedstellar: A Platform for Decentralized Federated Learning
Fedstellar는 다양한 물리적 및 가상 디바이스에 걸쳐 분산식(Deentralized), 반분산(세미-분산), 중앙집중형 모드에서 FL 모델 학습을 가능하게 하고, 실시간 모니터링과 유연한 토폴로지를 제공하는 플랫폼입니다.
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.
연구 동기 및 목표
- 중앙 서버 병목 현상과 단일 실패 지점을 줄이기 위해 분산형 연합 학습(DFL)의 필요성을 제고한다.
- 이질적인 디바이스에 걸쳐 DFL, Semi-Decentralized Federated Learning(SDFL), 및 CFL을 지원하는 다목적 플랫폼을 설계하고 구현한다.
- 연합 관리, 토폴로지 사용자 정의, 실시간 성능 모니터링 도구를 제공한다.
- 물리적(Raspberry Pi 및 Rock64) 및 가상화(MNIST/CIFAR-10) 배포에서 Fedstellar를 시연한다.
- 다양한 시나리오에서 Fedstellar의 사용성, 적응성 및 성능 향상을 평가한다.
제안 방법
- 프런트엔드, 컨트롤러, 그리고 디바이스별 코어로 구성된 모듈식 아키텍처의 Fedstellar를 도입한다.
- 다양한 디바이스 유형, 토폴로지(완전 연결형, 스타, 링, 무작위) 및 집계 아키텍처(DFL, SDFL, CFL)를 갖는 연합 생성을 지원한다.
- 시나리오 정의를 위한 웹 기반 GUI와 컨트롤러 통신을 위한 REST API를 제공한다.
- 물리 디바이스에는 Mender를 통한 배포, 가상 디바이스에는 Docker 컨테이너를 통한 배포를 가능하게 하며, 자원 프로비저닝과 노드별 코어를 제공한다.
- TensorBoard와 유사한 인터페이스의 실시간 모니터링, 데이터 내보내기, Leaflet을 사용한 지리 위치 기능을 포함한다.
- 비동기 소켓과 동적 노드 조인/퇴장을 지원하고 다양한 KPI 보고를 갖춘 통신 모델을 사용한다.
실험 결과
연구 질문
- RQ1통합 플랫폼이 물리적 및 가상 디바이스 전반에서 DFL, SDFL, 및 CFL 아키텍처를 어떻게 지원할 수 있는가?
- RQ2토폴로지, 배포 모드, 및 집계 전략이 Fedstellar의 FL 성능에 어떤 영향을 미치는가?
- RQ3Fedstellar가 연합 관리에 도움을 주는 실시간 다차원 KPI 모니터링을 제공할 수 있는가?
- RQ4실세계와 유사한 시나리오(사이버 공격이 있는 물리적 디바이스와 가상화된 MNIST/CIFAR-10)에서 Fedstellar의 배치는 어떤 성능을 보이는가?
주요 결과
- Raspberry Pi 4와 Rock64를 사용한 물리적 배치에서 사이버 공격 탐지용 DFL은 F1 점수 91%를 달성했다.
- 가상화 배치에서 MNIST는 DFL 하에서 F1 점수 98%, CIFAR-10은 DFL 하에서 91.2%를 달성했다.
- 가상화 시나리오에서 Fedstellar는 중앙집중형 아키텍처에 비해 학습 시간을 32% 단축했다.
- Fedstellar는 시나리오 전반에 걸쳐 완전 연결형, 스타, 링 토폴로지에 대한 적응성을 입증했다.
- 이 플랫폼은 보안 통신과 비동기 메시지 처리를 갖춘 다중 연합 아키텍처(DFL, SDFL, CFL)를 지원한다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.