Balancing Privacy and Performance: Analyzing Accuracy Trade-offs in Federated Learning
2025 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE credits
Student thesis
Abstract [en]
Human Activity Recognition (HAR) using sensor data is vital for healthcare but raises privacy concerns with traditional centralized machine learning (CML) approaches. This thesis compares CML with Federated Learning (FL), which keeps data on local devices, using the UCI HAR dataset and LSTM models. Three FL aggregation methods: FedAvg, FedProx, and Krum, are evaluated under both IID and non-IID data, with and without Local Differential Privacy (LDP) and data poisoning attacks. Results show FL outperforms CML in accuracy and privacy, with FedAvg achieving the best results in non-IID settings and Krum offering strong robustness to attacks. However, stronger privacy via LDP reduces accuracy, highlighting a privacy-utility trade-off. Overall, FL, especially with FedAvg, is effective for privacy-preserving HAR in healthcare.
Place, publisher, year, edition, pages
2025. , p. 49
Keywords [en]
Federated Learning, Flower, Machine Learning, LSTM
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:bth-28325OAI: oai:DiVA.org:bth-28325DiVA, id: diva2:1981688
Subject / course
DV1478 Bachelor Thesis in Computer Science
Educational program
DVGDT Bachelor Qualification Plan in Computer Science 60.0 hp
Presentation
2025-05-25, J1640, Blekinge Institute of Technology, Karlskrona, 15:30 (English)
Supervisors
Examiners
Projects
No2025-08-112025-07-052025-09-30Bibliographically approved