Scaling laws in wearable human activity recognition
Tom Hoddes, Alex Bijamov, Saket Joshi, Daniel Roggen, Ali Etemad, Robert Harle, David Racz
TL;DR
The paper investigates whether principled scaling laws connect pre-training data, model capacity, and performance in wearable HAR under data- and compute-constrained conditions. Using a Masked Autoencoder with a Vision Transformer encoder pre-trained on the Extrasensory dataset and evaluated via linear probing on UCI HAR and WISDM benchmarks, it shows that the pre-training loss $L$ scales as a power-law with data hours $D$ and parameter count $P$, i.e., $L \propto D^{-\alpha}$ and $L \propto P^{-\beta}$, and that the exponent is markedly larger when new users are added (data diversity) than when data is increased per user; larger models are needed to exploit more pre-training data. It also demonstrates that downstream performance improves in lockstep with pre-training data scale and model capacity, motivating larger, more diverse pre-training and careful allocation of compute and data collection. The work suggests revisiting prior under-parameterized HAR models and discusses practical paths to deployment, such as teacher-student distillation for on-device use.
Abstract
Many deep architectures and self-supervised pre-training techniques have been proposed for human activity recognition (HAR) from wearable multimodal sensors. Scaling laws have the potential to help move towards more principled design by linking model capacity with pre-training data volume. Yet, scaling laws have not been established for HAR to the same extent as in language and vision. By conducting an exhaustive grid search on both amount of pre-training data and Transformer architectures, we establish the first known scaling laws for HAR. We show that pre-training loss scales with a power law relationship to amount of data and parameter count and that increasing the number of users in a dataset results in a steeper improvement in performance than increasing data per user, indicating that diversity of pre-training data is important, which contrasts to some previously reported findings in self-supervised HAR. We show that these scaling laws translate to downstream performance improvements on three HAR benchmark datasets of postures, modes of locomotion and activities of daily living: UCI HAR and WISDM Phone and WISDM Watch. Finally, we suggest some previously published works should be revisited in light of these scaling laws with more adequate model capacities.
