SetCon-eval / README.md
lschiweck's picture
SetCon evaluation data
23e64ec verified
|
Raw History Blame Contribute Delete
7.91 kB
---
license: cc-by-nc-4.0
language:
- en
pretty_name: SetCon evaluation data
viewer: false
tags:
- imu
- wearable-sensing
- human-activity-recognition
- zero-shot-classification
- evaluation
size_categories:
- n<1K
---
# SetCon-eval
Evaluation data of *SetCon: Setup-Conditioned IMU-Language Learning from 3D Human Motion*
Lennart Schiweck<sup>1</sup>, Alaa Saleh<sup>2</sup>, Cristóbal Curio<sup>1</sup>
<sup>1</sup> Cognitive Systems Group, Reutlingen University, Germany &nbsp; <sup>2</sup> Bosch Sensortec GmbH, Germany
[[Paper](https://arxiv.org/abs/2611.32548)]
[[Project page](https://lschiweck.github.io/setcon/)]
[[Model](https://huggingface.co/lschiweck/SetCon)]
Everything besides the IMU windows themselves that is needed to recompute the zero-shot numbers of SetCon on the 18
public IMU test sets of the UniMTS suite: the class texts and class vectors, the person groups, the seeded context
windows of the test protocol and the paper's own per-window predictions. The IMU windows are not included; they come
from `UniMTS_data.zip` of the UniMTS release, which `raw_data.json` identifies by sha256.
The data are released for non-commercial research.
## Contents
```text
SetCon-eval/
├── anchors/
│ ├── clip_vit_b32_class_vectors.safetensors per dataset: names, anchors, names_descriptions (C, 512) float64
│ └── class_texts.json per class: name, 10 narrations, 3 x 10 LLM-written descriptions
├── protocol/
│ ├── person_groups.json participant id of every test window (run-length encoded)
│ └── windows/<dataset>.json classes, gait windows and five context draws
├── reference/predictions_seed{1,2,3}.safetensors the paper's per-window predictions and class-mean readouts
├── raw_data.json source archive and sha256 of the 54 test files used
└── LICENSE, CHECKSUMS.txt
```
Use it with `examples/reproduce_table1.py` of the model repository:
```bash
hf download lschiweck/SetCon --local-dir SetCon
hf download lschiweck/SetCon-eval --repo-type dataset --local-dir SetCon-eval
python SetCon/examples/reproduce_table1.py --unimts-zip UniMTS_data.zip --eval-data SetCon-eval --work work
```
## Class texts and vectors
The 18 datasets have 227 classes. A class is represented by the CLIP ViT-B/32 text embedding of its name as the
dataset gives it, or by an anchor (paper Eq. 8):
a_c = U( U( n_c + U(r_c) ) + U( (1/3) sum_j U(g_cj) ) )
with U the unit normalization, n_c the embedding of the name, r_c the mean embedding of the ten Nymeria narrations
nearest to the name and g_cj the mean embedding of ten descriptions from sampling round j. `names_descriptions` adds
only the descriptions to the name (paper Sec. 4.4). The vectors are the exact float64 vectors of the paper.
- **Narrations.** Nymeria atomic-action narrations of the training participants only, the twelve validation
participants left out. The ten nearest per class are found by cosine similarity of all-mpnet-base-v2 embeddings
between the class name and every line. No test window or label is involved.
- **Descriptions.** Qwen3.6-27B, temperature 0.7, three sampling rounds with the sampling seeds 0, 1 and 2
(`round0`-`round2`), one generic prompt that receives only the class name and asks for ten one-sentence
descriptions of a person performing the activity: whole-body movement, posture, limb motion, pace and direction,
present tense, at most 20 words, no sensors, devices, emotions or scenery. The outputs were not selected or edited;
the first ten per round are used.
## Protocol
- **Person groups.** `person_groups.json` gives each test window a participant id, recovered by matching the test
windows with the public raw recordings of their dataset. The protocol uses kind `exact` only. TNDA-HAR, RealWorld
and UT-Complex (approximate ids) and MMAct (sessions) count as one group each.
- **Context draws.** For draw k = 0..4, every group with at least 7 windows gives six context windows. One generator
`numpy.random.default_rng(1000 + k)` per draw picks them, group by group in ascending order. They are never scored.
Groups of at least 18 windows add six extra context windows for the 6-of-12 reading,
`numpy.random.default_rng([0xCA12, i, k, g])` with i the dataset's index in the list of 18 and g the group.
`no_walking_frame` lists the windows whose device has no gait window among its six context windows (or no context
at all); the walking-frame reading leaves their reference at zero. The lists are what the code in the model
repository computes; it checks every draw against them.
- **Mean-13.** The 13 sets in which every sensor records a gyroscope. Har70+, HARTH, WHARF, MHEALTH and MMAct have an
acceleration-only sensor and are left out.
- **UTD-MHAD.** As in the UniMTS loader, its sensor sits on the right wrist for the first 21 classes and on the right
thigh for the last six, so the site depends on the class. This holds for every compared model.
## Reference predictions
`reference/predictions_seed{S}.safetensors` holds, for each reading (`six_random`, `six_of_twelve`, `walking_frame`,
`zeroed`, `one_window`) and dataset, the paper's predicted class per draw and window for class names and anchors
(int16, shape (5, N), -1 for context windows) and the class-mean readout per draw. For `six_of_twelve` the windows in
`extra_context_six_of_twelve` carry predictions but are not scored.
## Raw data
`raw_data.json` names the archive (`xiyuanz/UniMTS`, revision `378531dbc1ec649b5bb792fd2e8f4c9a1a3ff99d`,
`UniMTS_data.zip`, 4,810,820,152 bytes, sha256 `ad8776df...d776` in full in the file) and the member path, size and
sha256 of each of the 54 files used (`X_test.npy`, `y_test.npy` and the label file of each set). The archive carries
no license and is not redistributed. Each benchmark keeps the terms of its authors.
## License
CC BY-NC 4.0 (`LICENSE`). The narration sentences come from Nymeria (CC BY-NC 4.0). The class vectors are CLIP
ViT-B/32 text embeddings (CLIP: MIT license).
## Acknowledgments
This research was funded by the European Regional Development Fund (ERDF) within the project 'AIDA' (grant
FEIH 2476184). L. Schiweck was supported by a scholarship from Bosch Sensortec GmbH. Views and opinions expressed are
those of the authors only and do not necessarily reflect those of the European Union. Neither the European Union nor
the granting authority can be held responsible for them.
## Citation
```bibtex
@misc{schiweck2026setcon,
title = {{SetCon}: Setup-Conditioned {IMU}-Language Learning from {3D} Human Motion},
author = {Schiweck, Lennart and Saleh, Alaa and Curio, Crist{\'o}bal},
year = {2026},
eprint = {2611.32548},
archivePrefix = {arXiv},
primaryClass = {cs.CV},
url = {https://arxiv.org/abs/2611.32548}
}
@inproceedings{ma2024nymeria,
title = {Nymeria: A Massive Collection of Multimodal Egocentric Daily Motion in the Wild},
author = {Ma, Lingni and Ye, Yuting and Hong, Fangzhou and Guzov, Vladimir and Jiang, Yifeng and Postyeni, Rowan and
Pesqueira, Luis and Gamino, Alexander and Baiyya, Vijay and Kim, Hyo Jin and Bailey, Kevin and
Soriano Fosas, David and Liu, C. Karen and Liu, Ziwei and Engel, Jakob and De Nardi, Renzo and
Newcombe, Richard},
booktitle = {European Conference on Computer Vision (ECCV)},
year = {2024}
}
@inproceedings{zhang2024unimts,
title = {{UniMTS}: Unified Pre-training for Motion Time Series},
author = {Zhang, Xiyuan and Teng, Diyan and Chowdhury, Ranak Roy and Li, Shuheng and Hong, Dezhi and
Gupta, Rajesh K. and Shang, Jingbo},
booktitle = {Advances in Neural Information Processing Systems (NeurIPS)},
year = {2024}
}
```