FedAAR: A Novel Federated Learning Framework for Animal Activity Recognition with Wearable Sensors.

Animals (Basel)

Department of Infectious Diseases and Public Health, Jockey Club College of Veterinary Medicine and Life Sciences, City University of Hong Kong, Hong Kong 999077, China.

Published: August 2022

Deep learning dominates automated animal activity recognition (AAR) tasks due to high performance on large-scale datasets. However, constructing centralised data across diverse farms raises data privacy issues. Federated learning (FL) provides a distributed learning solution to train a shared model by coordinating multiple farms (clients) without sharing their private data, whereas directly applying FL to AAR tasks often faces two challenges: client-drift during local training and local gradient conflicts during global aggregation. In this study, we develop a novel FL framework called FedAAR to achieve AAR with wearable sensors. Specifically, we devise a prototype-guided local update module to alleviate the client-drift issue, which introduces a global prototype as shared knowledge to force clients to learn consistent features. To reduce gradient conflicts between clients, we design a gradient-refinement-based aggregation module to eliminate conflicting components between local gradients during global aggregation, thereby improving agreement between clients. Experiments are conducted on a public dataset to verify FedAAR's effectiveness, which consists of 87,621 two-second accelerometer and gyroscope data. The results demonstrate that FedAAR outperforms the state-of-the-art, on precision (75.23%), recall (75.17%), F1-score (74.70%), and accuracy (88.88%), respectively. The ablation experiments show FedAAR's robustness against various factors (i.e., data sizes, communication frequency, and client numbers).

Download full-text PDF

Source
http://www.ncbi.nlm.nih.gov/pmc/articles/PMC9404798PMC
http://dx.doi.org/10.3390/ani12162142DOI Listing

Publication Analysis

Top Keywords

federated learning
8
animal activity
8
activity recognition
8
wearable sensors
8
aar tasks
8
gradient conflicts
8
global aggregation
8
data
5
fedaar novel
4
novel federated
4

Similar Publications

Want AI Summaries of new PubMed Abstracts delivered to your In-box?

Enter search terms and have AI summaries delivered each week - change queries or unsubscribe any time!