Skip to main content
QUICK REVIEW

[Paper Review] Project Florida: Federated Learning Made Easy

Daniel Madrigal Diaz, Andre Manoel|arXiv (Cornell University)|Jul 21, 2023
Privacy-Preserving Technologies in DataComputer Science3 citations
TL;DR

Project Florida is a federated learning platform that simplifies large-scale, cross-device FL deployment by decoupling service management from ML workflows, enabling FL-as-a-Service (FLaaS). It provides a multi-platform SDK, secure aggregation, and cloud-hosted orchestration, demonstrating scalability to 70,000 devices with support for differential privacy and asynchronous training.

ABSTRACT

We present Project Florida, a system architecture and software development kit (SDK) enabling deployment of large-scale Federated Learning (FL) solutions across a heterogeneous device ecosystem. Federated learning is an approach to machine learning based on a strong data sovereignty principle, i.e., that privacy and security of data is best enabled by storing it at its origin, whether on end-user devices or in segregated cloud storage silos. Federated learning enables model training across devices and silos while the training data remains within its security boundary, by distributing a model snapshot to a client running inside the boundary, running client code to update the model, and then aggregating updated snapshots across many clients in a central orchestrator. Deploying a FL solution requires implementation of complex privacy and security mechanisms as well as scalable orchestration infrastructure. Scale and performance is a paramount concern, as the model training process benefits from full participation of many client devices, which may have a wide variety of performance characteristics. Project Florida aims to simplify the task of deploying cross-device FL solutions by providing cloud-hosted infrastructure and accompanying task management interfaces, as well as a multi-platform SDK supporting most major programming languages including C++, Java, and Python, enabling FL training across a wide range of operating system (OS) and hardware specifications. The architecture decouples service management from the FL workflow, enabling a cloud service provider to deliver FL-as-a-service (FLaaS) to ML engineers and application developers. We present an overview of Florida, including a description of the architecture, sample code, and illustrative experiments demonstrating system capabilities.

Motivation & Objective

  • To address the complexity of deploying federated learning at scale across diverse, privacy-sensitive device ecosystems.
  • To decouple ML workflow development from infrastructure and orchestration concerns, enabling FLaaS for ML engineers and data scientists.
  • To simplify secure, scalable, and efficient federated training across heterogeneous devices with varying performance, network, and security constraints.
  • To provide a production-ready platform that abstracts low-level privacy, security, and communication challenges in federated learning.
  • To validate the platform’s scalability and robustness through real-world and simulated workloads, including differential privacy and asynchronous training.

Proposed method

  • Decouples service management from ML workflows using a cloud-hosted orchestration layer, enabling FLaaS for developers.
  • Provides multi-platform SDKs (C++, Java, Python) for cross-device model training, local inference, and secure model update transmission.
  • Employs secure aggregation and cryptographic primitives to protect model updates while enabling global model aggregation.
  • Supports differential privacy via noise injection to protect data privacy, with configurable noise levels and privacy budgets.
  • Enables asynchronous training via a buffer-based aggregation mechanism, reducing iteration latency and improving scalability.
  • Uses Azure ML simulator for large-scale testing, emulating thousands of concurrent clients with configurable network and device behavior.

Experimental results

Research questions

  • RQ1How can federated learning be simplified for large-scale, cross-device deployment across heterogeneous device ecosystems?
  • RQ2What architectural patterns enable secure, scalable, and efficient FL orchestration as a managed service (FLaaS)?
  • RQ3How does differential privacy impact convergence and accuracy in real-world FL workloads?
  • RQ4To what extent can asynchronous training reduce iteration latency and improve scalability in federated learning?
  • RQ5What are the practical limits of FL platform scalability in real-world and simulated environments?

Key findings

  • Project Florida successfully scales to 70,000 connected devices in production workloads, with ongoing validation for even larger deployments.
  • Differential privacy causes a slight decrease in model accuracy and convergence delays, which can be mitigated by tuning hyperparameters.
  • Asynchronous training reduces average iteration duration compared to synchronous training, with comparable accuracy, due to reduced waiting for slow clients.
  • Scaling tests show the platform can handle up to 1,000 concurrent clients per iteration with reasonable latency, and can be extended to hundreds of thousands with configuration tuning.
  • The platform enables secure, cross-platform model training with end-to-end privacy guarantees using secure aggregation and differential privacy.
  • The decoupled architecture allows ML developers to focus on model logic while the platform handles communication, security, and orchestration.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.