FedAvg for HAR: Exploring the Tradeoff Between Personalized and Generalization Accuracy

Andrea De Luna, Susanna Peretti, Chiara Contoli, Alessandro Bogliolo
7/3/2026
cs.LGcs.AI
federated

No confident code implementation found for this paper.

Abstract

The federated learning (FL) paradigm fosters distributed pervasive computing combined with artificial intelligence techniques, allowing for optimized data usage and improved mitigation of privacy concerns. Indeed, model training occurs on the client's local devices, and model parameters are subsequently shared with a centralized server.

Show full abstract

However, there is a need to find a tradeoff between models' personalization and generalization capabilities. In this paper, we design and implement several testing scenarios devoted to evaluating and comparing the centralized, local, and federated paradigm performances. We also design and implement a scenario that emulates a change in clients' data. We then present experimental results of the FedAvg algorithm applied to the Human Activity Recognition (HAR) domain to understand the trade-off between personalized and generalized accuracy. Results show that, although FedAvg confirms a higher degree of personalization capabilities while keeping a high degree of generalization with respect to the traditional centralized learning, this result is not so obvious under stressful conditions, such as when varying class distribution over clients.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{luna2026fedavg,
  title  = {FedAvg for HAR: Exploring the Tradeoff Between Personalized and Generalization Accuracy},
  author = {Andrea De Luna and Susanna Peretti and Chiara Contoli and Alessandro Bogliolo},
  year   = {2026},
  eprint = {2607.03334},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.03334v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.03334.svg)](https://codeofpaper.com/paper/2607.03334)

Discussion