TL;DR
Wearable sensors like smartwatches and phones record motion differently depending on how they are strapped on or tucked away. Previous zero-shot activity recognition models tried to solve this by ignoring sensor orientation completely—accidentally blinding themselves to gravity and failing to tell sitting from lying down. SetCon fixes this by rapidly calibrating a device's mounting angle from a handful of unlabeled motion clips, unlocking massive zero-shot accuracy gains on real-world wearables while being trained purely in 3D simulation.
What Problem Does This Paper Address?
Imagine building a CLIP-like foundation model for Inertial Measurement Units (IMUs—the accelerometers and gyroscopes inside your watch or phone). By aligning motion signals with text, any wearable could recognize human activities zero-shot, without needing labeled training data for every new gadget.
The catch is the sensor setup: where on the body a device sits (e.g., wrist vs. hip) and its mounting (how it is rotated on that limb). Two devices inches apart on the same forearm, twisted at different angles, record wildly different raw waveforms for the exact same walk.
Leading IMU-language models (like UniMTS and AnyMo) tackle this by making their encoders mathematically invariant to mounting rotations. Unfortunately, throwing out orientation throws out the baby with the bathwater: you lose the direction of gravity relative to the body. A hip sensor worn upright on a standing person and the same sensor rotated $90^\circ$ on someone lying on their back produce identical static readings. As a result, rotation-invariant models routinely confuse sitting, standing, and lying down.
Methods
Instead of full invariance, SetCon introduces selective invariance—discounting arbitrary device mounting while preserving body-relative gravity and turning directions. It achieves this by treating the moving human body itself as a calibration target, since a sensor's mounting stays nearly fixed while worn.
Here is how the pipeline works:
- Dual-Route Gravity & Calibration: First, gravity canonicalization rotates every signal sample so gravity points straight up, preserving left/right turn rates while stripping out raw tilt. Second, a lightweight neural calibrator looks at 6 unlabeled 10-second windows from the device (selected out of 12 based on lowest tilt uncertainty) and estimates the setup reference—the rotation from device axes to the limb's anatomical frame. This restores the limb's true tilt relative to gravity.
- Simulation-Supervised Training: Real datasets rarely log exact sensor mounting angles, so SetCon learns entirely from virtual IMUs placed on 3D human body models. Stage 1 pretrains a spatio-temporal graph encoder across 22 body sites to predict how one movement looks under different simulated setups. Stage 2 aligns the encoder with CLIP text embeddings—injecting realistic calibrator errors from an "error bank" so the model learns to handle imperfect estimates.
- Richer Language Access: During Stage 2, SetCon trains on both human activity narrations and LLM-generated kinematic captions (e.g., "bends forward deeply... rotates the torso"). At test time, alongside standard class names, SetCon uses anchors: zero-shot prompt ensembles averaging embeddings of the class name, nearest training narrations, and LLM-written kinematic descriptions. The authors also train a small Qwen3.5-0.8B language model on top of the frozen encoder to answer open-ended questions about how a movement is performed.
Datasets
- Training (100% Simulated): Virtual IMU signals synthesized from Nymeria motion capture fitted to 3D Momentum Human Rig (MHR) body meshes (~95k 10-second windows for Stage 1; ~71k narrated windows for Stage 2). No real IMU data is used during training.
- Evaluation (100% Real): Tested zero-shot with frozen weights on 13 real-world benchmark datasets from the UniMTS suite (including UCI-HAR) that include both accelerometer and gyroscope readings across diverse body placements. No new datasets are introduced, though the authors generate synthetic kinematic captions for Nymeria.
Key Insights and Ideas
- Simulation isn't just for data scarcity—it's for ground truth: Prior work used 3D motion capture merely to synthesize extra IMU training clips. SetCon realizes that 3D bodies provide exact ground-truth mounting rotations that don't exist in real-world datasets, making it possible to supervise a setup calibrator.
- Prompt style must match training text: Training purely on kinematic descriptions hurts simple class-name accuracy, because class names describe purpose ("picking up an item") rather than kinematics ("bending the torso"). However, pairing kinematic training captions with descriptive test-time anchors unlocks a massive synergy, jumping +8.7 percentage points over class names alone.
- Cosine similarity beats LLMs for closed-set classification: While a small language model on top of SetCon beats simple class-name prompts (59.2% vs. 55.9%), direct cosine similarity using text anchors is faster and more accurate (64.7%). The LLM shines instead on sequential and execution questions that static labels cannot express.
Key Results
Evaluated zero-shot across the 13 real-world datasets ("Mean-13"):
- Zero-Shot Classification: SetCon achieves 56.6% mean accuracy using raw class names and 65.3% using text anchors—a huge leap over the strongest baseline, AnyMo (41.8% and 46.7%, respectively), and UniMTS (41.4% and 43.2%).
- Posture & Gravity Tasks: Where full-invariance baselines collapse, SetCon thrives. On postures (sitting, standing, lying), SetCon hits 53.3% accuracy vs. AnyMo's 43.4%. On stairs and elevators, SetCon more than doubles AnyMo's performance (53.2% vs. 25.1%).
- Pure Representation Quality: Tested without text prompts via a class-mean readout (assigning test windows to the nearest labeled class average), SetCon reaches 91.6% accuracy compared to 83.5% for AnyMo, proving its raw motion embeddings separate activities far more cleanly.
Limitations and Future Work
SetCon relies on two practical assumptions: that you know which body site the sensor is on (e.g., left wrist vs. right hip), and that the mounting stays fixed across the recording session. While this holds true for public benchmarks and strapped smartwatches, unscripted daily life is messier—phones get tossed from pockets to bags, and loose wearables slip around. Adapting setup conditioning to unknown body sites and dynamically shifting devices remains an open frontier for future work.
Summary updated