Federated Learning with Heterogeneous Labels and Models for Mobile Activity Monitoring

Gautham Krishna Gudur, Satheesh K. PerepuarXiv 2020

Introduction

Standard Federated Learning (FL) often assumes that all participating devices use identical model architectures and classify the same set of labels. In real-world Human Activity Recognition (HAR) applications, these assumptions are frequently violated. Users possess varying hardware capabilities and track different subsets of activities. This paper presents a novel FL framework that addresses statistical, model, and label heterogeneity through model distillation.

Proposed Framework

The core innovation lies in moving away from traditional weight-based aggregation (like Federated Averaging) to a distillation-based approach. Instead of sharing model weights, which requires architectural uniformity, devices share class scores (logits) generated on a small, non-sensitive public dataset.

Overview of the proposed Federated Learning framework using model distillation to exchange class scores between local devices and a global server.

The process involves three main stages:

  1. Local Training: Users train custom models (e.g., CNNs or ANNs) on their private data.
  2. Model Distillation: Local models act as "teachers" to generate scores on a public dataset, which serves as a common communication medium.
  3. Global Aggregation: The server aggregates these scores using a weighting factor ($\beta$) that prioritizes devices with higher accuracy on overlapping labels. This consensus is then returned to refine local models.

Experimental Setup

The framework was evaluated using the Heterogeneity Human Activity Recognition (HHAR) dataset, focusing on four activities: Sit, Walk, Stand, and StairsUp. To simulate real-world heterogeneity, the data was partitioned non-IID across three users, each seeing only a subset of labels. A public dataset of 8,000 activity windows was utilized as the distillation bridge.

Results and Discussion

The proposed method achieved a significant average accuracy improvement of approximately 11.01% compared to standalone local training. A key strength of the framework is its robustness; the global update stabilizes performance even when a specific user's local data quality fluctuates.

Comparison of local and global update accuracies for three different users, demonstrating consistent performance gains and robustness.

Furthermore, the system's efficiency was validated on a Raspberry Pi 2, where training took roughly 1.7 seconds per epoch and inference required only 15 milliseconds. This demonstrates that the distillation overhead is manageable for resource-constrained mobile and IoT hardware.

Conclusion

By leveraging model scores rather than weights, this framework enables privacy-preserving collaborative learning across diverse mobile devices. Future work will explore scaling this approach to larger user bases and reducing the dependency on a shared public dataset.

Summary updated

BibTeX
@misc{gudur2020federated,
  author = {Gautham Krishna Gudur and Satheesh K. Perepu},
  title = {{Federated Learning with Heterogeneous Labels and Models for Mobile Activity Monitoring}},
  year = {2020},
  eprint = {2012.02539},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2012.02539},
}
Figure