Skip to content
F

Federated learning model

Training ML models while maintaining data security

Created on 1st February 2026

•

F

Federated learning model

Training ML models while maintaining data security

The problem Federated learning model solves

The core of federated learning revolves around data security, for example : suppose 2 Hospitals have 100 and 300 patients of a rare disease , they have created a ML model that predicts if a person has it or not , but cant improve it further as its rare , they cant simply upload their data to a cloud server and train on it as its illegal and most developing and developed countries have laws around this. Federated learning model can be used in these cases as the data never leaves the hospital!
Another example , suppose 3 startups have a dataset of its user of around 10k,20k,30k and a ml model to train but the market is being led by a company with 50-100k users dataset. The startups can collaborate using federated learning as their data isn't even exposed to each other , let alone the tech giant(democratized ai-ml) , cant sabotage each other , though they will have to agree on common features as well.
It can also be used to train open sourced ml model , as the users wont be exposing their training data and will get to use a more efficient ml model.

Challenges I ran into

the first issue i ran into connecting sockets , one will have to play with their fire wall(disable it) to deploy it over multiple devices. This still persists. it was my first introduction with ML (time constrained) as well and had to use multiple reference books as i couldn't afford overspending. The Maths around machine learning was complicated and had to spend hours in debugging. Connecting zip files to a directory is another headache as i used my path and didn't take input for the path(time up before i could change this)so to change this kindly change directory and path joining. Finally last hurdle was how is python interpreting images? I will leave this for the reader , really interesting stuff (Note : Computer understands intensity). If you want to change ml model , change the model file and data_loader as well , depending on the data (use pandas for csv) , i finalized my model based on reading a paper. Next comes UI ,i didn't have the time to make a webpage and create frontend , backend , that would have made it so cool , i also wanted to use cryptography but didn't get the time to learn that , will learn that as well! I can write a book on the problems i faced that will end with : "it actually runs".

Tracks Applied (2)

Open Track

its open for all submissions

Fresher's Track

i am a fresher

Discussion

Builders also viewed

See more projects on Devfolio