Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 4.61 KB

ROADMAP.md

File metadata and controls

42 lines (31 loc) · 4.61 KB

OpenFL Project Roadmap

This document is intended to give users and contributors an idea of the OpenFL team's current priorities, features we plan to incorporate over the short, medium, and long term, and call out opportunities for the community to get involved.

When will this document be updated?

At a minimum once each product release - which we expect to be on quarterly cadence.

1. Features and interfaces

1.1 Decoupling the FL specification interface from the infrastructure

The task runner interface is coupled with the the single experiment aggregator / collaborator infrastructure, and the Interactive API is tied to the director / envoy infrastructure. The Interactive API was originally designed to be a high-level API for OpenFL, but for the cases when more control is required by users, access to lower level interfaces is necessary. In OpenFL 1.5, we introduced the Workflow API as an experimental feature, which can be used to specify the federated learning flow, independently of the underlying computing infrastructure. The Workflow API facilitates a seamless transition from local simulation to a federated setting. Additionally, this approach offers greater control over the sequence and content of the FL experiment steps, which enables more complex experiments beyond just horizontal FL. Workflow API also provides more granular privacy controls, allowing the model owner to explicitly permit or forbid the transfer of specific attributes over the network.

1.2 Consolidating interfaces

OpenFL has supported multiple ways of running FL experiments for a long time, many of which are not interoperable: TaskRunner API, Workflow API, Python Native API, and Interactive API. The strategic vision is to consolidate OpenFL around the Workflow API, as it focuses on meeting the needs of the data scientist, who is the main user of the framework. Over the upcoming 1.x releases, we plan to gradually deprecate and eliminate the legacy Python Native API and Interactive API. OpenFL 2.0 will be centered around the Workflow API, facilitating a seamless transition from local simulations to distributed FL experiments, and even enabling the setup of permanent federations, which is currently only possible through the Interactive API.

1.3 Component standardization and framework interoperability

Federated Learning is a burgeoning space. Most core FL infrastructure (model weight extraction, network protocols, and serialization designs) must be reimplemented ad hoc by each framework. This causes community fragmentation and distracts from some of the bigger problems to be solved in federated learning. In the short term, we want to collaborate on standards for FL, first at the communication and storage layer, and make these components modular across other frameworks. Our aim is also to provide a library for FL algorithms, compression methods, that can both be applied and interpreted easily.

1.4 Confidential computing support

Although OpenFL currently relies on Intel® SGX for trusted execution, the long term vision is towards broader confidential computing ecosystem support. This can be achieved by packaging OpenFL workspaces and workflows as Confidential Containers (CoCo), which supports a spectrum of TEE backends, including Intel® SGX and TDX, Arm TrustZone, and AMD SEV.

Upcoming OpenFL releases

OpenFL 1.7 (Q1 2025)

This release is focused on enabling a great developer experience for OpenFL users:

  1. Introducing the FederatedRuntime for Workflow API, which allows running FL workflows in a distributed setting (after local simulation with the LocalRuntime).
  2. Adding support for federated XGBoost in OpenFL. See the example XGBoost workspace based on Task Runner API.
  3. Revised Task Runner API workspace dockerization process, with TEE-ready containers (using Gramine and Intel® Software Guard Extensions). The current release contains an initial set of changes that enable OpenFL compatibility with the broader confidential containers ecosystem.
  4. Streamlining the Federated Evaluation experiments with TaskRunner API
  5. Migrating a selection of key OpenFL tutorials from Python Native API to Workflow API. Check out the updated Tutorials folder
  6. Deprecating the Python Native API
  7. Deprecating the Interactive API

OpenFL 1.8 (TBA)

Stay tuned for updates soon!