COMODO: Cross-Modal Video-to-IMU Distillation for Efficient Egocentric Human Activity Recognition

Baiyu Chen, Wilson Wongso, Zechen Li, Yonchanok Khaokaew, Hao Xue, Flora Salim · DOI

TL;DR

COMODO is a self-supervised framework that distills semantic knowledge from egocentric video into lightweight Inertial Measurement Unit (IMU) sensors for Human Activity Recognition (HAR). By aligning feature distributions through a dynamic FIFO queue, it allows energy-efficient wearable sensors to achieve performance comparable to heavy, privacy-invasive video models without requiring any manual labels.

What Problem Does This Paper Address?

Human Activity Recognition (HAR) on wearable devices faces a fundamental trade-off between sensing fidelity and practicality.

Egocentric video-based models are semantically rich and highly accurate, but they are "power-hungry," raise significant privacy concerns, and fail in poor lighting. Conversely, IMU sensors (accelerometers and gyroscopes) are the gold standard for wearables: they are low-power, privacy-preserving, and work in the dark. However, IMUs are "data-poor." Labeling IMU data is incredibly labor-intensive, requiring precise temporal alignment with external references, leading to smaller datasets and models that generalize poorly to real-world, "in-the-wild" scenarios.

COMODO bridges this gap by using video as a "teacher" to train IMU "students," effectively transferring the semantic intelligence of computer vision to the efficiency of wearable sensors.

Fig. 1. Motivation: Egocentric videos provide rich semantics but are impractical for continuous on-device recognition, while IMU sensors are lightweight and energy-efficient yet lack large-scale training data. To bridge this gap, we propose cross-modal, self-supervised distillation to enhance IMU representations by leveraging video knowledge.

Methods

The authors propose CrOss-MOdal video-to-imu DistillatiOn (COMODO), a self-supervised framework that operates in two phases:

  1. Distillation (Training): The system uses paired, unlabeled video and IMU data. A powerful, pre-trained video encoder (like TimeSformer) is kept frozen to act as a stable source of semantic knowledge. A lightweight IMU encoder (like Mantis) is trained to produce embeddings that mimic the video encoder's behavior.
  2. Distribution Alignment: Instead of simple instance-to-instance matching (which often fails due to the massive modality gap), COMODO maintains a dynamic FIFO (First-In-First-Out) queue of video embeddings. The IMU student learns to match the similarity distribution of the video teacher across this entire queue.
  3. Inference: Once trained, the video teacher and the queue are discarded. The wearable device runs only the lightweight IMU encoder, maintaining high efficiency and privacy.
Fig. 3. Overview of our cross-modal self-supervised distillation framework. The video encoder is pretrained and kept frozen, while the IMU encoder, initialized from a pretrained time-series model, is trained by minimizing the cross-entropy loss between the similarity distributions of video and IMU embeddings, which are computed based on a continuously updated instance queue.

Datasets

The researchers evaluated COMODO on three major egocentric HAR datasets, covering a wide range of activities and sensor configurations:

  • Ego4D: A massive dataset with 31 diverse activity categories (e.g., gardening, cleaning, commuting).
  • EgoExo4D: Focused on 8 coarse activity categories like rock climbing and cooking.
  • MMEA: A fine-grained dataset containing 32 daily activities (e.g., "brush-teeth," "cut-fruits").

Crucially, they tested cross-dataset generalization, training on one dataset (e.g., EgoExo4D) and testing on a completely unseen one (e.g., Ego4D) to simulate real-world deployment.

Key Insights and Ideas

  • Soft Targets Over Hard Labels: Standard contrastive learning (like InfoNCE) treats all "negative" samples equally. COMODO’s distribution distillation recognizes that some negatives are semantically closer than others (e.g., "walking" is more similar to "running" than to "cooking"). Preserving this "semantic structure" from the video teacher is key to the student's success.
  • The FIFO Queue as a Temporal Prior: The authors discovered that the FIFO queue does more than just provide negative samples. Because the queue updates gradually, it imposes a "temporal continuity prior" on the optimization process. This leads to a smoother, more stable training path compared to random sampling, which the authors verified by analyzing gradient consistency.
  • Model Agnosticism: COMODO isn't tied to a specific architecture. It works across different video teachers and IMU students, meaning it can easily integrate future "foundation models" as they emerge.

Key Results

  • Superior Performance: COMODO consistently matched or outperformed fully supervised models. On the Ego4D dataset, it achieved a 59.13% Top-1 accuracy, surpassing the state-of-the-art self-supervised baseline (IMU2CLIP) by 4.3%.
  • Robust Generalization: In cross-dataset tests, COMODO outperformed supervised models fine-tuned on the source data, proving it learns fundamental activity representations rather than just dataset-specific correlations.
  • Massive Efficiency: Compared to its video-based teachers, COMODO offers a 47x speedup in inference latency and a 115x reduction in FLOPs, while consuming only 1.5% of the input window duration for processing.

Limitations and Future Work

  • Paired Data Requirement: While COMODO doesn't need labels, it still requires paired video and IMU data for the initial distillation. The authors note that the rise of smart glasses will make this data easier to collect naturally.
  • Temporal Alignment: Precise alignment between video frames and IMU signals remains a challenge, though the distribution-based approach mitigates this better than instance-based methods.
  • Future Directions: The authors suggest exploring mutual distillation (where the IMU also helps the video model) and extending the framework to other "data-poor" modalities, such as transferring knowledge from video to audio or physiological sensors.

Summary updated

BibTeX
@article{chen2026comodo,
  author = {Baiyu Chen and Wilson Wongso and Zechen Li and Yonchanok Khaokaew and Hao Xue and Flora Salim},
  title = {{COMODO: Cross-Modal Video-to-IMU Distillation for Efficient Egocentric Human Activity Recognition}},
  journal = {Proc. ACM Interact. Mob. Wearable Ubiquitous Technol.},
  year = {2026},
  doi = {10.1145/3810218},
}
Figure