VOOZH about

URL: https://thenewstack.io/dealing-with-distributed-data-when-training-ai-models/

⇱ Dealing with Distributed Data When Training AI Models - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2022-10-18 08:21:58
Dealing with Distributed Data When Training AI Models
Data / Software Development

Dealing with Distributed Data When Training AI Models

Distributed data can be a challenge to training artificial intelligence models. Federated learning can change the paradigm.
Oct 18th, 2022 8:21am by Loraine Lawson
👁 Featued image for: Dealing with Distributed Data When Training AI Models
Feature image via Pexels

Federated learning is a tool that lets your phone autocorrect your spelling without uploading the entirety of your text. It can also be applied to training artificial intelligence at the data’s source, without pooling it into one location.

The approach could bring breakthroughs in regulated industries such as health care and finance (where legal issues can mean data can’t be moved across jurisdictions), as well as to the Internet of Things, where data is dispersed by nature.

“Some of the most meaningful use cases that you and I would hope could come into the world, and developers want to bring into the world, are blocked because the data can’t move,” said Steve Irvine, founder and CEO of integrate.ai, an AI company. “Instead of data having to come to a central location to train the machine learning model, versions of the model gets sent out to the location where the data resides.”

The New Stack spoke with Irvine to learn how integrate.ai deploys federated learning to train AI models without pooling data.

How It Works

Integrate.ai offers a software developer kit that creates a preset Docker container with libraries and other tools needed to train the model locally. The developer or data custodian can determine what data to include or not to include in the container. integrate.ai then takes the model and federates it, letting it train on the selected data nodes.

“If you were to set up a brand new network, it’s as easy as a couple of lines of code,” Irvine said. “It creates a container, basically, in your environment, wherever it’s at and then you decide what data gets put in there and you decide what tasks you’re comfortable with that data participating in.”

The data itself doesn’t move. The model runs in the local environment, then communicates and coordinates across all the nodes to optimize the model as if it had trained on all the data in the same local repository. It then updates the parameters back to the global model, he explained.

“It creates a seamless experience on the back end — the researcher would never know the difference, other than they’re not getting on a plane and waiting a year to run one model when they could get it done in a couple of minutes,” Irvine said.

All of those actions behind the scenes — setting up the network, training the model, averaging the model, and ensuring that it’s all done in a privacy-safe way — is controllable through APIs, which are installed and used through the SDK.

After the training is done, the Docker container is torn down. The tool is largely Python-based, but it supports what Irvine called “custom models.”

“Most data scientists would use something like a Jupyter notebook, which is where they are actually building the models. We would just show up as commands within the Jupyter Notebooks,” he said. “So you can just federate your models in the exact same spot that you’re building them; you can train them in that same environment.”

This makes for a seamless experience for developers and data scientists, he claimed.

The Open Source Options

There are open source tools that can be deployed for federated learning. Nvidia offers Nvidia Flare, an open source framework to do federated learning, and Google Federate allows the building of federated models, he said. Alibaba also launched a federated framework this year.

“There are a lot of big open source ways to do experimentation, but they generally focus on allowing data scientists to be able to experiment and simulate,” Irvine said. “If you’re a developer who’s responsible for now having this in your product, that’s the gap that currently exists in the marketplace, because those open source systems require you to be able to basically own it and manage it.”

Irvine contended this is where integrate.ai differentiates, by being like Stripe for the industry and simplifying the integration work.

Use Cases for Federated Learning

Federated learning opens up a lot of opportunities for regulated industries, such as health care and financial services, he said. One use case would be a multinational organization that may not, for regulatory reasons, be able to move data to one location. Other use cases might include collaboration between organizations, where it might not be feasible or efficient to move the data, such as scanning breast cancer x-rays from different hospitals in different countries, Irvine said.

“Right now, you can’t centralize that data; there’s a lot of regulations that don’t allow you to move any of that data across jurisdictions,” he said. “Your application’s just not going to work as well as it could, even though all of those customers would be glad to collaborate because they just want the detection to be better, they want it to be more accurate.”

Other potential use cases include training models using data that resides at the edge or on Internet of Things devices, Irvine said. It also makes sense because it reduces cost, privacy and security concerns, he added.

”When everything in the world is a computer, and a data-capture and a decision-making device, we’re just going to have to have different network infrastructure behind that to support making a network.”

TRENDING STORIES
Loraine Lawson is a veteran technology reporter who has covered technology issues from data integration to security for 25 years. Before joining The New Stack, she served as the editor of the banking technology site Bank Automation News. She has...
Read more from Loraine Lawson
SHARE THIS STORY
TRENDING STORIES
TNS owner Insight Partners is an investor in: Docker.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.