A Taxonomy to Understand Federated Learning
Was this email forwarded to you? Sign up here. You can also give it as a gift. A Taxonomy to Understand Federated LearningClassifying different types of federated learning methods, Meta AI research about highly scalable and asynchronous federated learning pipelines and Microsoft's FLUTE framework.In this issue:
💡 ML Concept of the Day: A Taxonomy to Understand Federated LearningOne of the most common mistakes around federated learning, is to think about it as a single type of architecture. Even though while the principles of federated learning are unique enough to merit its own space within deep learning, there are different architectures that implement those principle in diverse way. While there is no consistent taxonomy to study federated learning, there are some categorization schemes that are proven to be quite useful. The following taxonomy might be relevant to understand the different variations of federated learning architectures: By ML Construct: This categorization scheme focuses divides federated learning architectures based on the ML artifacts that are being distributed.
By Federation Scheme: This criteria is based on the architecture of the federation.
By Data Partition: This criteria focuses on the feature and data partition models used in the federation.
In the next few editions of this series, we will be diving into each several of these categories. 🔎 ML Research You Should Know About: Faster and More Scalable Federated LearningIn Federated Learning with Buffered Asynchronous Aggregation, Meta AI proposes a asynchronous method for scaling the training of federated learning models. The objective: Meta AI method addresses some of the fundamental scalability challenges of federated learning models. Why it is so important? Scaling federated learning across many devices is a monumental challenge for most organizations. Meta AI’s technique showcases the advance of asynchronous methods to scale federated learning models. Diving Deeper: Most of the mainstream methods for training federated learning models rely on synchronous processes. In the scychronous architecture, nodes will download the current mode and will cooperate to send updates to a centralized server. While synchronous communication is simpler and has strong privacy guarantee properties has major scalability limitations. Effectively, synchronous federated learning is only as fast as the slowest device/node in the network. This is known as the straggler problem. In their paper, Meta AI provides an asynchronous method that addresses the limitation of synchronous federated learning techniques. The core idea behind Meta AI is relatively simple. The architecture uses a larger number of nodes than typically needed and regularly drops the slowest ones on each training round. For instance, a training round might start with 1500 nodes and end with 1200 as the 300 slowest nodes were remove from the federation. When a node is available for training, it downloads the model, computes the update and sends it to the server just like in a synchronous scenario. However, the server just aggregates the updates until It has met its prerequisites and distributes the aggregated update to the nodes. The slowest nodes might still send their updates to the server but those might be based on state information. Meta AI tested this technique with federated learning architectures consisting of 100 million Android devices. In average, the training processes were about 5x faster than synchronous alternatives. 🤖 ML Technology to Follow: FLUTE is a Platform for High Performance Federated Learning SimulationsWhy Should I Know About This:. FLUTE is one of the first frameworks that allow data scientists to run multi-agent federated learning scenarios. What is it: Federated Learning Utilities and Tools for Experimentation (FLUTE) was designed to enable researchers to perform rapid prototyping of offline simulations of federated learning scenarios without incurring in high computational costs. The framework includes a core series of capabilities that enable that goal:
A typical FLUTE architecture consists of a number of nodes which are physical or virtual machines that execute a number of workers. One of the nodes acts as a orchestrator distributing the model and tasks to the different workers. Each worker processes the tasks sequentially, calculates the model delta and sends the gradients back to the orchestrator which federates it into the centralized model. Extrapolating this workflow to a large number of clients, we get something like the following architecture. In this architecture, a federated learning workflow is based on the following steps( from the research paper):
The initial version of FLUTE is based on PyTorch which enables it interoperability with a large number of deep learning architectures. The communication protocols are implemented using OpenMPI which guarantees high levels of performance and scalability. How Can I Use it: FLUTE is open source and available at https://github.com/microsoft/msrflute. . TheSequence is a summary of groundbreaking ML research papers, engaging explanations of ML concepts, and exploration of new ML frameworks and platforms. We keep you up-to-date with the main AI news, trends, and technology developments. This post is only for paying subscribers of TheSequence Edge. You can give it as a gift. |
Older messages
ChatGPT and Whisper APIs
Sunday, March 5, 2023
Sundays, The Sequence Scope brings a summary of the most important research papers, technology releases and VC funding deals in the artificial intelligence space.
📝 How is MLOps more than just tools?
Friday, March 3, 2023
Hi there! At TheSequence, we're exploring what MLOps culture looks like across the industry at the start of 2023. A huge variety of tools are available for ML development, but the culture and
Inside Claude: The ChatGPT Competitor that Just Raised Over $1 Billion
Thursday, March 2, 2023
Claude uses an interesting technique called Constitutional AI to enable safer content.
Edge 269: A New Series About Federated Learning
Tuesday, February 28, 2023
Intro to federated learning, the original federated learning and the TensorFlow Federated framework.
Meta and Amazon Generative AI Moves
Sunday, February 26, 2023
Sundays, The Sequence Scope brings a summary of the most important research papers, technology releases and VC funding deals in the artificial intelligence space.
You Might Also Like
🤳🏻 We Need More High-End Small Phones — Linux Terminal Setup Tips
Sunday, November 24, 2024
Also: Why I Switched From Google Maps to Apple Maps, and More! How-To Geek Logo November 24, 2024 Did You Know Medieval moats didn't just protect castles from invaders approaching over land, but
JSK Daily for Nov 24, 2024
Sunday, November 24, 2024
JSK Daily for Nov 24, 2024 View this email in your browser A community curated daily e-mail of JavaScript news JavaScript Certification Black Friday Offer – Up to 54% Off! Certificates.dev, the trusted
OpenAI's turbulent early years - Sync #494
Sunday, November 24, 2024
Plus: Anthropic and xAI raise billions of dollars; can a fluffy robot replace a living pet; Chinese reasoning model DeepSeek R1; robot-dog runs full marathon; a $12000 surgery to change eye colour ͏ ͏
Daily Coding Problem: Problem #1618 [Easy]
Sunday, November 24, 2024
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Zillow. Let's define a "sevenish" number to be one which is either a power
PD#602 How Netflix Built Self-Healing System to Survive Concurrency Bug
Sunday, November 24, 2024
CPUs were dying, the bug was temporarily un-fixable, and they had no viable path forward
RD#602 What are React Portals?
Sunday, November 24, 2024
A powerful feature that allows rendering components outside their parent component's DOM hierarchy
C#533 What's new in C# 13
Sunday, November 24, 2024
Params collections support, a new Lock type and others
⚙️ Smaller but deeper: Writer’s secret weapon to better AI
Sunday, November 24, 2024
November 24, 2024 | Read Online Ian Krietzberg Good morning. I sat down recently with Waseem Alshikh, the co-founder and CTO of enterprise AI firm Writer. Writer recently made waves with the release of
Sunday Digest | Featuring 'How Often People Go to the Doctor, by Country' 📊
Sunday, November 24, 2024
Every visualization published this week, in one place. Nov 24, 2024 | View Online | Subscribe | VC+ | Download Our App Hello, welcome to your Sunday Digest. This week we visualized the GDP per capita
Android Weekly #650 🤖
Sunday, November 24, 2024
View in web browser 650 November 24th, 2024 Articles & Tutorials Sponsored Why your mobile releases are a black box “What's the status of the release?” Who knows. Uncover the unseen challenges