Mood instability is a key behavioral indicator of mental health, yet traditional assessments rely on infrequent and retrospective reports that fail to capture its continuous nature. Smartphone-based mobile sensing enables passive, in-the-wild mood inference from everyday behaviors; however, deploying such systems at scale remains challenging due to privacy constraints, uneven sensing availability, and substantial variability in behavioral patterns. In this work, we study mood inference using smartphone sensing data in a cross-country federated learning setting, where each country participates as an independent client while retaining local data. We introduce FedFAP, a feature-aware personalized federated framework designed to accommodate heterogeneous sensing modalities across regions. Evaluations across geographically and culturally diverse populations show that FedFAP achieves an AUROC of 0.744, outperforming both centralized approaches and existing personalized federated baselines. Beyond inference, our results offer design insights for mood-aware systems, demonstrating how population-aware personalization and privacy-preserving learning can enable scalable and mood-aware mobile sensing technologies.
Figures & tables
Country
Participants
Total Instances
CN
38
11523
DK
17
6424
IN
19
3071
MX
19
8400
PY
22
6467
UK
52
18832
Table 1. Participants and total instances (mood self-reports) across countries Participants and total instances (number of mood self-reports) across countries after preprocessing.
Figure 2
Sensor File
No. of Features
Extracted Features
activities
6
Fraction of time spent in: On Foot / In Vehicle / On Bicycle / Still / Tilting / Unknown activity
bluetooth
7
Number of unique Bluetooth device addresses; mean/min/max/std/var of RSSI; entropy of device addresses.
cellularnetwork
6
Number of unique cell towers; mean/min/max/std of signal strength; Entropy of cell-tower usage.
location
17
Centermost latitude and longitude (representing location); mean/min/max of latitude/longitude/altitude (capturing spatial coverage and elevation changes); mean/min/max/std of speed; Radius of gyration; Total distance traveled.
notification
2
Number of posted notifications; Number of removed notifications.
proximity
4
mean/std/min/max of proximity values.
Table 2. Summary of all sensor modalities and extracted features. Here, min, max, mean, std, and var denote the minimum, maximum, mean, standard deviation, and variance, respectively. RSSI refers to the Received Signal Strength Indicator.Entropy captures state diversity within a time window.
Figure 3. Distribution of feature missingness across countries, in which the marked areas denote the number of features belonging to different missingness ranges.
Figure 4. Proposed architecture comprising of a global server and N clients.
Case
5E 5R
5E 10R
10E 10R
10E 20R
F1-w
AUROC
F1-w
AUROC
F1-w
AUROC
F1-w
AUROC
FedPer
0.663
0.512
0.663
0.516
0.667
0.520
0.665
0.518
pFedMe
0.662
0.494
0.662
0.512
0.662
0.518
0.662
0.491
FedFAP
0.686
0.553
0.689
0.577
0.693
0.591
0.704
0.627
Table 3. Comparison of baseline personalization methods with the proposed FedFAP under different training configurations (E: local epochs, R: communication rounds, F1-w: weighted F1 score).
Case
5E 10R
10E 10R
10E 20R
F1-w
AUROC
F1-w
AUROC
F1-w
AUROC
Encoder
0.689
0.577
0.693
0.591
0.704
0.627
Attn + Encoder
0.689
0.576
0.691
0.592
0.706
0.637
1D-CNN
0.696
0.606
0.694
0.603
0.725
0.684
Table 4. Performance comparison of Encoder , Attention+Encoder , and 1D-CNN under different training configurations (E: local epochs, R: communication rounds, F1-w: weighted F1 score).
Setting
Averaging Method
F1-weighted
AUROC
FedAvg
0.688
0.567
5E 5R
FedProx
0.689
0.563
FedAdam
0.689
0.569
FedAvg
0.696
0.606
5E 10R
FedProx
0.691
0.595
FedAdam
0.693
0.593
Table 5. Performance comparison of FedFAP across different federated aggregation methods.
Figure 5. AUROC scores across different Federated averaging methods at 10 epochs and 50 rounds.
Figure 6. AUROC (y-axis) across countries (x-axis) for centralized baselines (XGBoost, RF, LR, 1D CNN) and the FedFAP.
Social media text data are often used to train Machine Learning (ML) models to identify users exhibiting high-risk mental health behaviors. However, sharing this sensitive data poses privacy risks and limits the growth of benchmark datasets. We comprehensively evaluate whether privacy-preserving ML techniques can enable safer data sharing while preserving performance. Specifically, we apply federated learning (FL) and Differentially Private FL for two widely-studied mental health prediction tasks: depression detection on X (Twitter) and suicide crisis detection on Reddit. We simulate realistic data-sharing scenarios by treating each user as a client in a non-IID setting, evaluating across different client fractions, aggregation strategies, and privacy budgets. While FL achieves comparable performance to centralized training (centralized F1 = 85.63; best FL model F1 = 83.16) on depression identification, we find that Differentially Private FL has a large performance-privacy trade-off (up to F1 = 27.01 drop) even with low levels of noise (epsilon = 50). This is due to the distortion of highly informative yet sparse mental health linguistic markers related to mental health, like health topics and emotion words. This research empirically demonstrates the potential and limitations of current privacy preservation techniques for mental health inference tasks.
Nuredin Ali Abdelkadir, Anjali Ratnam, Zeerak Talat +1
Federated learning (FL) enables privacy-preserving collaborative training across distributed edge devices, but real deployments involve heterogeneous clients with different processing power, memory capacity, and communication latency, which often increase round duration and system cost. This paper proposes a hardware-aware federated learning framework for emotion recognition on session-partitioned IEMOCAP that integrates hardware profiling, top-K client selection, and adaptive local epochs within a unified training loop. We compare the method against FedAvg, FedProx, and random top-K selection under a non-IID setup and show that, across 50 federated rounds and 5 independent trials, the proposed approach achieves competitive validation accuracy (0.352), reduces total training time by about 36.5% compared to FedAvg, and lowers cumulative communication cost by 40%.
Beyazit Bestami Yuksel, Emrah Dikbiyik
Computer Engineering Istanbul Technical University Istanbul, Turkey · Department of Computer Technologies Istanbul University-Cerrahpaşa Istanbul, Turkey
Infant movement analysis provides valuable biomarkers for the early identification of neurodevelopmental disorders. Recent advances in deep learning have enabled automated analysis of infant movements from video-derived skeletal representations, achieving performance comparable to expert assessment for tasks such as General Movement Assessment (GMA). However, most existing approaches rely on centralized training, requiring data from multiple institutions to be collected and stored at a single site. Such assumptions are often impractical in clinical settings due to privacy, governance, and data-sharing constraints. To address these challenges, we present, to the best of our knowledge, the first federated learning framework for automated infant movement analysis and General Movement Assessment using skeletal motion data. As a clinically relevant use case, the proposed framework is evaluated on fidgety movement classification. To quantify model confidence, Monte Carlo (MC) Dropout is employed to estimate predictive uncertainty during inference. Building upon this, we propose an Uncertainty-Aware Federated Averaging (UA-FedAvg) strategy that incorporates predictive entropy derived from MC-Dropout into the federated aggregation process, enabling client contributions to be adjusted according to their predictive uncertainty. Experiments were conducted using a cross-subject evaluation protocol under a three-client federated learning setting. Results demonstrate that federated learning substantially improves classification performance compared with independently trained local models while achieving performance approaching that of centralized training. Furthermore, UA-FedAvg and its variant incorporating validation loss generally outperform conventional FedAvg across the evaluated data-split configurations.
Edmond S. L. Ho
School of Computing Science University of Glasgow Glasgow, Scotland, United Kingdom