Federated learning study
Federated Learning is rapidly gaining traction as a machine learning technique in today’s world due to the prevalence of isolated islands of private data belonging to different organizations. It eliminates the need to collect data into a central location by taking the model to the client devices ins...
Saved in:
Main Author: | |
---|---|
Other Authors: | |
Format: | Final Year Project |
Language: | English |
Published: |
Nanyang Technological University
2023
|
Subjects: | |
Online Access: | https://hdl.handle.net/10356/166751 |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Institution: | Nanyang Technological University |
Language: | English |
id |
sg-ntu-dr.10356-166751 |
---|---|
record_format |
dspace |
spelling |
sg-ntu-dr.10356-1667512023-05-12T15:36:29Z Federated learning study Aratrika, Pal Jun Zhao School of Computer Science and Engineering junzhao@ntu.edu.sg Engineering::Computer science and engineering::Computing methodologies::Artificial intelligence Federated Learning is rapidly gaining traction as a machine learning technique in today’s world due to the prevalence of isolated islands of private data belonging to different organizations. It eliminates the need to collect data into a central location by taking the model to the client devices instead. With the metaverse’s growing popularity, it is essential that mobile augmented reality (MAR) devices of the metaverse can perform image classification. Federated Learning can be used here for collective training as each individual device will only have limited data. Thus it is important to benchmark the performance of federated learning systems on classification tasks for their use in the MAR devices. In our study, we explore Horizontal Federated Learning on classification tasks, primarily image classification, using neural networks and a centralized communication architecture. We implemented different federated learning strategies such as FedAvg, FedAvgM, FedProx, FedAdam, FedYogi and FedAdagrad either from scratch or using federated learning frameworks like Secretflow or Flower, to perform federated classification on the MNIST, FashionMNIST, Cifar10 and Criteo datasets. Implementing from scratch helps us develop a better intuition of federated learning concepts and using the frameworks helps us learn how experiments can be performed in a federated learning research setting. We compare the basic and most commonly used algorithm: FedAvg’s performance on image classification with Independent and Identically Distributed (IID) and Non-IID client data distributions and show that FedAvg is better suited for IID data distributions. We compare the other algorithms FedAvgM, FedProx, FedAdam, FedYogi and FedAdagrad with FedAvg on Non-IID client data distributions for image classification and report that all of them beat FedAvg on such data. Lastly, we also evaluate the federated classification system’s performance against varying input image resolutions and show that as resolution decreases, accuracy significantly decreases. We hope that the findings from the experiments conducted in our study will help make smart design decisions while developing and implementing federated classification systems for MAR devices of the metaverse. Bachelor of Engineering (Computer Science) 2023-05-11T13:28:43Z 2023-05-11T13:28:43Z 2023 Final Year Project (FYP) Aratrika, P. (2023). Federated learning study. Final Year Project (FYP), Nanyang Technological University, Singapore. https://hdl.handle.net/10356/166751 https://hdl.handle.net/10356/166751 en SCSE22-0545 application/pdf Nanyang Technological University |
institution |
Nanyang Technological University |
building |
NTU Library |
continent |
Asia |
country |
Singapore Singapore |
content_provider |
NTU Library |
collection |
DR-NTU |
language |
English |
topic |
Engineering::Computer science and engineering::Computing methodologies::Artificial intelligence |
spellingShingle |
Engineering::Computer science and engineering::Computing methodologies::Artificial intelligence Aratrika, Pal Federated learning study |
description |
Federated Learning is rapidly gaining traction as a machine learning technique in today’s world due to the prevalence of isolated islands of private data belonging to different organizations. It eliminates the need to collect data into a central location by taking the model to the client devices instead.
With the metaverse’s growing popularity, it is essential that mobile augmented reality (MAR) devices of the metaverse can perform image classification. Federated Learning can be used here for collective training as each individual device will only have limited data. Thus it is important to benchmark the performance of federated learning systems on classification tasks for their use in the MAR devices. In our study, we explore Horizontal Federated Learning on classification tasks, primarily image classification, using neural networks and a centralized communication architecture.
We implemented different federated learning strategies such as FedAvg, FedAvgM, FedProx, FedAdam, FedYogi and FedAdagrad either from scratch or using federated learning frameworks like Secretflow or Flower, to perform federated classification on the MNIST, FashionMNIST, Cifar10 and Criteo datasets. Implementing from scratch helps us develop a better intuition of federated learning concepts and using the frameworks helps us learn how experiments can be performed in a federated learning research setting.
We compare the basic and most commonly used algorithm: FedAvg’s performance on image classification with Independent and Identically Distributed (IID) and Non-IID client data distributions and show that FedAvg is better suited for IID data distributions. We compare the other algorithms FedAvgM, FedProx, FedAdam, FedYogi and FedAdagrad with FedAvg on Non-IID client data distributions for image classification and report that all of them beat FedAvg on such data. Lastly, we also evaluate the federated
classification system’s performance against varying input image resolutions and show that as resolution decreases, accuracy significantly decreases. We hope that the findings from the experiments conducted in our study will help make smart design decisions while developing and implementing federated classification systems for MAR devices of the metaverse. |
author2 |
Jun Zhao |
author_facet |
Jun Zhao Aratrika, Pal |
format |
Final Year Project |
author |
Aratrika, Pal |
author_sort |
Aratrika, Pal |
title |
Federated learning study |
title_short |
Federated learning study |
title_full |
Federated learning study |
title_fullStr |
Federated learning study |
title_full_unstemmed |
Federated learning study |
title_sort |
federated learning study |
publisher |
Nanyang Technological University |
publishDate |
2023 |
url |
https://hdl.handle.net/10356/166751 |
_version_ |
1770566177238548480 |