PRIMUS: Pretraining IMU Encoders with Multimodal Self-Supervision

Arnav M. Das, Chi Ian Tang, Fahim Kawsar, Mohammad Malekzadeh

Abstract

PRIMUS is a novel pretraining framework for Inertial Measurement Unit (IMU) sensors designed to enhance human activity recognition (HAR) in low-data regimes. By integrating self-supervision, multimodal alignment with video and text, and nearest-neighbor search, PRIMUS develops a robust "foundation model" for motion. Experimental results demonstrate that PRIMUS outperforms state-of-the-art methods by up to 15% in few-shot learning scenarios and exhibits superior generalization across different sensor domains and tasks.

1. Introduction

While large-scale foundation models like CLIP and GPT have revolutionized computer vision and natural language processing, the field of wearable sensor data—such as accelerometers and gyroscopes—has lagged behind. The primary bottleneck is the difficulty of data labeling; while images are intuitive for humans, raw IMU signals are complex waveforms that are hard to interpret even for experts. PRIMUS addresses this challenge by leveraging synchronized multimodal datasets to create transferable, high-level representations of human motion.

2. Methodology

The PRIMUS framework employs a multi-objective pretraining strategy for an IMU encoder, which consists of a stacked architecture of 1D-CNN and GRU layers. The training process is guided by three distinct loss functions designed to capture different aspects of the data.

The PRIMUS pretraining framework combining self-supervision, multi-modal alignment, and nearest neighbor supervision.
  • Self-Supervision ($L_{SS}$): The model learns noise-invariant features by comparing original IMU segments with augmented versions (e.g., scaled or time-reversed signals).
  • Multimodal Supervision ($L_{MM}$): Using synchronized datasets like EgoExo4D, the model aligns IMU signals with embeddings from frozen, off-the-shelf video and text encoders. This anchors the sensor data to semantic concepts like "cooking" or "soccer."
  • Nearest Neighbor Supervision ($L_{NN}$): To improve feature diversity and robustness, the model maintains a queue of previous features and enforces similarity between the current query and its nearest neighbors in the latent space.

3. Experimental Setup and Datasets

The model is pretrained on the EgoExo4D dataset, which contains 250,000 segments of synchronized IMU, egocentric video, and text. Evaluation is performed across three distinct scenarios to test generalization:

  • EgoExo4D (In-domain): Same activities and hardware as pretraining.
  • Ego4D (Cross-task): Same hardware but novel activities.
  • REALWORLD (Out-of-domain): Different devices (phones/watches), different body placements, and different activities. This serves as a rigorous "stress test" for the model's transferability.

4. Results and Discussion

PRIMUS demonstrates significant performance gains over state-of-the-art baselines, including IMU2CLIP and SimCLR.

Performance comparison of PRIMUS against baselines across three datasets: EgoExo4D, Ego4D, and REALWORLD.

Key findings from the evaluation include:

  • Synergistic Effects: The combination of all three loss functions is essential. While multimodal alignment provides semantic grounding, self-supervision acts as a crucial regularizer, particularly for out-of-domain generalization on the REALWORLD dataset.
  • Few-Shot Efficiency: PRIMUS excels in low-data scenarios, outperforming standard training by a wide margin when only a few hundred labeled samples per class are available.
  • Data Efficiency: The framework is remarkably efficient; pretraining with just 10% of the multimodal data yields performance comparable to using the full dataset.

5. Conclusion and Future Work

PRIMUS establishes a new state-of-the-art for self-supervised IMU pretraining. By bridging the gap between raw sensor data and semantic concepts through multimodal alignment, it enables robust activity recognition with minimal human labeling. Future research will focus on expanding pretraining to include diverse sensor placements and exploring the model's performance on fine-grained motor tasks.

Summary updated

Abstract

Sensing human motions through Inertial Measurement Units (IMUs) embedded in personal devices has enabled significant applications in health and wellness. Labeled IMU data is scarce, however, unlabeled or weakly labeled IMU data can be used to model human motions. For video or text modalities, the "pretrain and adapt" approach utilizes large volumes of unlabeled or weakly labeled data to build a strong feature extractor, followed by adaptation to specific tasks using limited labeled data. However, pretraining methods are poorly understood for IMU data, and pipelines are rarely evaluated on out-of-domain tasks. We propose PRIMUS: a method for PRetraining IMU encoderS that uses a novel pretraining objective that is empirically validated based on downstream performance on both in-domain and out-of-domain datasets. The PRIMUS objective effectively enhances downstream performance by combining self-supervision, multimodal, and nearest-neighbor supervision. With fewer than 500 labeled samples per class, PRIMUS improves test accuracy by up to 15%, compared to state-of-the-art baselines. To benefit the broader community, we have open-sourced our code at github.com/nokia-bell-labs/pretrained-imu-encoders.
BibTeX
@inproceedings{das2025primus,
  author = {Arnav M. Das and Chi Ian Tang and Fahim Kawsar and Mohammad Malekzadeh},
  title = {{PRIMUS: Pretraining IMU Encoders with Multimodal Self-Supervision}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2025},
  url = {https://openreview.net/forum?id=XeY6IsAF9c},
}
Figure