EnFed: An Energy-aware Federated Learning in Resource Constrained Environments for Human Activity Recognition
Anwesha Mukherjee, Rajkumar Buyya · 2024
Read EnFed: An Energy-aware Federated Learning in Resource Constrained Environments for Human Activity Recognition by Anwesha Mukherjee, Rajkumar Buyya (2024) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2412-00768.txt.
Introduction
Phones can spot what a user is doing, from walking to sitting, but training that skill should not drain the battery or leak private data. Anwesha Mukherjee and Rajkumar Buyya propose EnFed in 2024, a method that learns across nearby phones while each phone keeps its own data.
A phone that needs a model asks close-by phones for help and offers a reward. Phones that agree train on their own data and send back only model updates, never raw records. The first phone merges those updates into a shared model and fits it for use. The design weighs energy use at each step, since small devices slow down when charge or links run low. A case study on activity spotting tests the plan.
Catalog record
| CREATOR | Anwesha Mukherjee, Rajkumar Buyya |
|---|---|
| YEAR | 2024 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 64 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2412-00768
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
EnFed: An Energy-aware Federated Learning in Resource Constrained Environments for Human Activity Recognition Anwesha Mukherjee, Rajkumar Buyya Abstract The human activity recognition (HAR) and recommendation applications for mobile users require a privacy-aware and accurate data analysis model with lower time and lower energy consumption. The use of federated learning (FL) to develop a privacy-aware HAR model is an emerging research topic. However, the participating mobile devices in the FL process may slow down due to their limited computational resources, connectivity interruption, and limited battery life. To address these challenges, this paper proposes an energy-efficient FL method referred to as EnFed, with a case study on HAR. In EnFed, a mobile device that needs a model for an application requests its nearby devices with respect to an incentive. The nearby devices, which agree to the offered incentive, send their local model updates, i.e., updated local model parameters for that application, to the requesting device. The device, after receiving local model updates from the contributors, aggregates them to build a global model and then fits the model to its own dataset to build its own local model. The results show that using EnFed a resource-limited device obtains an accurate prediction model at lower time and lower energy consumption. The experimental results show that EnFed achieves above 95% prediction accuracy and outperforms the baselines. EnFed also reduces the response time above 90% than the cloud-only framework. The comparative study shows that EnFed outperforms the existing HAR approaches. I Introduction Federated learning (FL) has become an emerging topic in data analytics with a focus on privacy preservation, distributed learning, and collaborative training [ 1 , 2 ] . With the huge increase in smartphone usage and the growing popularity of various activity monitoring and recognition applications, several challenges are introduced, such as a huge overhead on the cloud, the requirement of high network bandwidth, and the limited battery life of mobile devices. There are various applications which collect user data, perform analysis, and give output based on the predicted results. Human activity recognition (HAR) and recommendation applications, such as healthcare applications, activity monitoring applications, and dietary recommendation apps, collect users’ personal data related to health, food habits, and activities, which are confidential. In such a case, data storage and analysis on the server may compromise the user’s privacy. Furthermore, data transmission to the cloud increases network traffic and cloud overhead, and requires seamless network connectivity that may not always be available to mobile users. Furthermore, a global model may not always provide good results for personalized applications. FL can deal with these issues by providing the facility of local data analysis along with collaborative training so that finally each device can have a personalized local model along with a global model [ 1 , 3 ] . However, centralized federated learning (CFL) also needs good network connectivity for exchanging model updates, i.e., updated model parameters with the server that works as the aggregator. In decentralized federated learning (DFL) [ 4 , 5 ] , participating devices form a network among themselves and perform a collaborative learning process to build a generalized model. In our paper, an energy-efficient FL approach is proposed for resource-limited mobile devices with limited battery life to obtain a model for an application. I-A Motivation and Contributions Mobile users access various types of activity recognition and recommendation applications. The use of centralized cloud-based data analysis and storage compromises data privacy and increases cloud overhead and response time. As users’ data are highly sensitive and confidential, privacy-aware data analysis is vital in HAR. Furthermore, each device requires a personalized local model and a global model. FL has addressed these issues by allowing the devices to analyze the data locally and build a global model through collaborative training without sharing raw data. However, the mobile devices have limited computational resources, limited battery life, and may not have seamless network connectivity. Hence, they may not be able to deliver the model updates on time, which affects the entire FL process. Asynchronous FL [ 6 ] has allowed the aggregation after receiving model updates from a participating device without waiting for all participating devices to finish training. However, the devices may not always have sufficient network connectivity to exchange model updates with the server until a final global model is created. Though DFL [ 7 ] has allowed the devices to collaborate among themselves either through a mesh topology or a ring topology (peer-to-peer network) without the coordination of a central server, all participating devices may not have sufficient battery levels to finally complete the process. Furthermore, the nearby devices may have updated models with them. Hence, an energy-efficient FL approach is required for the resource-constrained mobile devices with limited battery life and limited connectivity. The objective of this work is to address these challenges and propose an energy-efficient FL approach. To achieve this, we make the following key contributions: • An En ergy-aware Fed erated Learning ( EnFed ) method is proposed for developing a personalized local model for an application meeting a desired accuracy level, at minimal training time and minimal energy consumption of the mobile device. • EnFed allows individual model training with the support from nearby devices with updated models for the same application. • In EnFed, a resource-constrained mobile device with limited battery life builds a personalized local model for an application based on the cooperation of nearby devices with respect to an incentive. • EnFed maintains a trade-off between the accuracy level and the training time along with energy consumption to overcome the issue of limited battery life of mobile devices without compromising the desired accuracy level. As the underlying data analysis model, we use Long Short-Term Memory (LSTM) networks and Multi-Layer Perceptrons (MLP) in EnFed because LSTM is suitable for time series data and sequential data, and MLPs can learn complex data patterns. • The performance of EnFed is compared with the CFL and conventional DFL-based systems, and we observe that a good prediction accuracy is achieved by EnFed using LSTM and MLP at a lower training time and lower energy consumption of the device. The rest of the paper is organized as follows. Section II presents the existing works on FL. Section III demonstrates the proposed FL approach with a detailed discussion on time consumption and energy consumption. Section IV presents the performance of EnFed. Finally, Section V concludes the paper with future research directions. II Related Work This section discusses the existing works on FL and HAR, along with their limitations and how EnFed addresses them. II-A Existing works on FL FL has gained its popularity for privacy-aware data analysis in various domains including Internet of Things (IoT), mobile network, etc. Integrating the advantages of CFL and DFL architectures, a hybrid FL model was proposed in [ 8 ] . The model was distributed based on the consensus distances and layer sizes to enhance the training speed, reduce network bandwidth pressure, and improve prediction accuracy [ 8 ] . In [ 9 ] , an opportunistic FL approach was proposed for pervasive computing applications. In [ 10 ] , the authors demonstrated the use of FL for resource-limited IoT devices. The use of FL with mobile