Machine Learning
New federated learning framework improves activity recognition while protecting privacy
Researchers introduce Time-MAGNET, a system that combines multiple sensor types and distributed learning to recognize human activities without centralizing sensitive data.
A research team has developed a novel approach to human activity recognition that sidesteps privacy concerns by keeping user data on individual devices while still enabling accurate model training. The system, called Time-MAGNET, combines multiple sensing modalities with federated learning—a technique that trains machine learning models across distributed devices without centralizing raw data.
The multimodal advantage#
Traditional activity recognition systems rely on a single type of sensor input, which makes them vulnerable to noise and signal quality problems specific to that sensor. Time-MAGNET instead fuses information from different types of sensors simultaneously. The framework uses graph attention mechanisms and a Mixture-of-Experts architecture to adaptively learn how different sensor streams interact with each other, allowing the system to build richer representations of human movement patterns than any single modality could provide alone.
To handle complex temporal patterns—sequences of activities that unfold over time—the researchers deployed a lightweight, encoder-only T5 transformer architecture. They optimized its training efficiency using Low-Rank Adaptation (LoRA), a parameter-efficient fine-tuning technique that reduces computational overhead without sacrificing performance.
Solving the federated learning puzzle#
Distributing machine learning across devices introduces challenges that centralized training doesn't face. Different users and devices produce data with varying statistical properties—some sensor streams may be noisier, others may capture activities differently—making standard federated aggregation methods unstable. The researchers addressed this by proposing Federated Proximal Adaptive Weighting (FedPAW), a new aggregation algorithm designed to handle heterogeneity across clients while maintaining model stability.
Results and implications#
Testing on the MEx dataset showed Time-MAGNET achieved 95.55% accuracy in a centralized setting and 89.97% accuracy when trained across federated clients. These results outperformed existing baseline methods, demonstrating that adaptive multimodal fusion and temporal modeling deliver genuine performance gains. The gap between centralized and federated performance reflects the inherent difficulty of distributed learning, but FedPAW enables effective model aggregation even under challenging heterogeneous conditions.
The approach holds implications for fitness tracking, smart home systems, and healthcare monitoring applications where privacy, data ownership, and communication bandwidth are practical constraints.