HumanTracker / README.md
dairuliu's picture
Add evaluation motions, preference pairs, and dataset card
beac490 verified
|
Raw
History Blame Contribute Delete
8.36 kB
---
language:
- en
license: apache-2.0
task_categories:
- robotics
- reinforcement-learning
pretty_name: HumanTracker
size_categories:
- 1K<n<10K
tags:
- humanoid
- motion-tracking
- mocap
- preference
- reward-model
configs:
- config_name: preference
data_files:
- split: train
path: preference_pair/train.parquet
- split: test
path: preference_pair/test.parquet
---
# Dataset Card for HumanTracker
[Project page](https://dairuliu.github.io/humantracker/) · [Paper](https://arxiv.org/abs/2608.13555) · [Code](https://github.com/GalaxyGeneralRobotics/HumanTracker)
HumanTracker is a humanoid motion-tracking benchmark. This release contains two complementary subsets:
- **`motions/`** — the evaluation test split: retargeted 29-DoF reference trajectories, grouped into four motion families.
- **`preference_pair/`** — 6,000 human preference pairs over synchronized tracker rollouts, each stored with the corresponding source-motion clip.
The evaluation harness and HumanScore reward model live in the [HumanTracker repository](https://github.com/GalaxyGeneralRobotics/HumanTracker).
## Dataset Details
Humanoid tracking is often scored with per-frame kinematic error, which misses the physical artifacts people notice in video — unstable support, foot skating, mistimed contacts. HumanTracker pairs a large, family-labeled motion test set with a preference-aligned metric (HumanScore) trained on pairwise human comparisons.
| Subset | Role | Size |
| --- | --- | --- |
| `motions/` | Tracker evaluation references (test split) | 2,500 clips |
| `preference_pair/` | Human preference labels + source-motion clips | 6,000 pairs (4,800 / 1,200) |
Motions are retargeted to a 29-DoF Unitree G1-style humanoid with [GMR](https://arxiv.org/abs/2510.02252) and stored as `qpos` trajectories at 50 Hz. Preference pairs compare GMT, TWIST2, SONIC and Humanoid-GPT rollouts of the same reference window (typically 250 frames / 5 s). Labels are a strict preference, `similar`, or `bad_traj` (cannot compare). The pair split is grouped by `motion_id`, so every clip from one source motion stays in one partition.
**Paper:** [HumanTracker: Towards Comprehensive and Human-Aligned Motion Tracking Benchmark](https://arxiv.org/abs/2608.13555) (ECCV 2026).
**License:** Apache 2.0.
## Dataset Structure
```
HumanTracker/
README.md
motions/
test.json
Daily/
Ground/
HighlyDynamic/
Interaction/
preference_pair/
train.json
test.json
train.parquet
test.parquet
```
Filenames are anonymized for release. Dates, performer names, capture-system tags and sample-rate suffixes are removed. Family-level names (`Daily`, `Interaction`, `HighlyDynamic`) are numbered (`Daily_1.npz`). Action labels that are themselves the motion type are kept: Ground actions such as `burpee` and `sit-lie`, and Highly Dynamic actions such as `Tennis` or named martial-arts skills.
### Motions (`motions/`)
`motions/test.json` is a list of
```json
{"path": "Daily/Daily_1.npz", "category": "Daily", "frames": 1584}
```
| Family | Test clips | What it stresses |
| --- | --- | --- |
| Daily | 974 | steady locomotion, mild contacts |
| Interaction | 1,094 | hands–body coordination |
| HighlyDynamic | 268 | impacts, aerial phases, fast footwork |
| Ground | 164 | low posture, multi-contact transitions |
| **Total** | **2,500** | |
Each `.npz` contains:
| Key | Shape | Description |
| --- | --- | --- |
| `qpos` | `(T, 36)` | generalized positions (floating base + 29 DoF) |
| `qvel` | `(T, 35)` | generalized velocities |
| `kpt2gv_pose` | `(T, 14, 4, 4)` | 14 keypoint poses in the gravity-aligned frame |
| `kpt_cvel_in_gv` | `(T, 14, 6)` | keypoint spatial velocities |
| `gv_vel` | `(T, 3)` | root linear velocity in the gravity-aligned frame |
| `gv2wrd_pose` | `(T, 4, 4)` | gravity-aligned frame to world |
| `foot_contact` | `(T, 2)` | left / right foot contact |
The evaluator in the code repository reads the same manifest:
```python
from pathlib import Path
import json
import numpy as np
root = Path("motions")
items = json.loads((root / "test.json").read_text())
item = items[0]
traj = np.load(root / item["path"])
qpos = traj["qpos"] # (frames, 36)
category = item["category"] # Daily | Ground | HighlyDynamic | Interaction
```
```bash
python -m humantracker.eval.eval_parallel_tracker \
--tracker sonic \
--mocap_path /path/to/HumanTracker/motions \
--test_json /path/to/HumanTracker/motions/test.json \
--termination_metric whole_body
```
`path` is relative to `motions/`. The first path component must match `category`.
### Preference pairs (`preference_pair/`)
Load with 🤗 Datasets:
```python
from datasets import load_dataset
ds = load_dataset("GalaxyGeneralRobotics/HumanTracker", name="preference")
row = ds["train"][0]
print(row["choice_type"], row["tracker_pair_key"], row["motion_id"])
```
Or read the parquet / manifests directly, which is what the reward-model trainer does (`train.json` / `test.json` list `record_id`s; annotations live in parquet):
```python
import io
import json
import numpy as np
import pyarrow.parquet as pq
table = pq.read_table("preference_pair/train.parquet")
row = table.to_pydict()
idx = 0
annotation = json.loads(row["annotation_json"][idx])
motion = np.load(io.BytesIO(row["motion_npz"][idx]))
qpos = motion["qpos"] # (num_frames, 36), already sliced to the labeled window
```
`motion_npz` is a compressed NumPy archive with the **source-motion clip** for that pair (same keys as `motions/*.npz`). It is already sliced to `[source_start_frame, source_end_frame)`. Most windows are 250 frames (5 s at 50 Hz); shorter tail windows are kept and padded at training time.
| Column | Description |
| --- | --- |
| `record_id` / `pair_id` | anonymous pair id |
| `motion_id` | anonymized source-motion id (`Daily_12`, `burpee_3`, `Tennis_8`, …) |
| `category` | motion family |
| `tracker_pair_key` | unordered tracker pair, e.g. `gmt\|twist2` |
| `choice_type` | `preference` / `similar` / `bad_traj` |
| `preferred_candidate_idx` | `0` or `1` when `choice_type == preference`, else null |
| `source_start_frame` / `source_end_frame` | clip range in the original capture |
| `num_frames` / `fps` | clip length and 50 Hz |
| `motion_npz` | source-motion clip (bytes, `np.savez_compressed`) |
| `annotation_json` | full cleaned record (candidates, preference, flags) |
`annotation_json` candidates name the two trackers and the clip window. They do not include raw rollout files; those remain in the training pipeline. HumanScore training in the code repository consumes tracker-rollout features plus this preference label. `bad_traj` pairs are excluded from the reported reward-model fit; `preference` uses a Bradley–Terry loss and `similar` a symmetric 0.5 target.
| Split | Pairs | Source motions | preference / similar / bad_traj |
| --- | --- | --- | --- |
| train | 4,800 | 4,486 | 3,850 / 759 / 191 |
| test | 1,200 | 812 | 958 / 190 / 52 |
| **total** | **6,000** | **5,298** | **4,808 / 949 / 243** |
The six unordered tracker pairs (`gmt|hgpt`, `gmt|sonic`, `gmt|twist2`, `hgpt|sonic`, `hgpt|twist2`, `sonic|twist2`) are balanced at 1,000 pairs each.
## Uses
- **Tracker evaluation.** Run a policy on `motions/` with the published evaluator and report Succ / MPJPE / HumanScore per family.
- **Reward-model / HumanScore research.** Train or analyze pairwise preferences in `preference_pair/`, using `motion_npz` as the shared reference clip.
- **Diagnostics.** Family labels and retained action names (`burpee`, `Tennis`, …) support fine-grained error breakdowns.
This release is **not** a full training-motion dump. The 2,500 evaluation clips are the official test split; preference clips are the labeled 5 s windows, not the complete source takes.
## Citation
```bibtex
@misc{liu2026humantrackercomprehensivehumanalignedmotion,
title={HumanTracker: Towards Comprehensive and Human-Aligned Motion Tracking Benchmark},
author={Dairu Liu and Zekun Qi and Jiayu Zeng and Ruixi Yu and Yu Guan and Yintianrun Zhang and Xuchuan Chen and Sikai Liang and Zekai Li and Chenghuai Lin and Xinqiang Yu and Wenyao Zhang and He Wang and Li Yi},
year={2026},
eprint={2608.13555},
archivePrefix={arXiv},
primaryClass={cs.RO},
url={https://arxiv.org/abs/2608.13555},
}
```