Datasets:
Publish Xperience-10M minimal and neural derived artifacts
Browse files- PROJECT_README.md +39 -0
- README.md +10 -0
- docs/data/task_walkthroughs.json +310 -0
- docs/index.html +58 -2
- results/episode_task_suite/task_walkthroughs/TASK_WALKTHROUGHS.md +291 -0
- results/episode_task_suite/task_walkthroughs/task_walkthroughs.json +310 -0
- scripts/task_walkthroughs.py +362 -0
PROJECT_README.md
CHANGED
|
@@ -16,6 +16,7 @@ into:
|
|
| 16 |
- 12 end-to-end episode-level tasks,
|
| 17 |
- lightweight neural MLP heads for the same 12 task contracts,
|
| 18 |
- a generated four-direction research taxonomy matching the Ropedia job tracks,
|
|
|
|
| 19 |
- a next TODO track for Qwen3-Omni fine-tuning and sensor-bridge evaluation,
|
| 20 |
- metrics, predictions, model weights, manifests, charts, and a static website,
|
| 21 |
- a clear explanation of what a single episode can and cannot prove.
|
|
@@ -105,6 +106,7 @@ scripts/
|
|
| 105 |
episode_task_suite.py # 12 end-to-end task definitions
|
| 106 |
neural_task_models.py # optional PyTorch MLP heads for all 12 tasks
|
| 107 |
research_direction_taxonomy.py # maps 12 tasks to the four research tracks
|
|
|
|
| 108 |
generate_visualizations.py # refreshes SVG charts + summary JSON
|
| 109 |
render_task_suite_infographic.py # renders the ChatGPT-image-backed PNG
|
| 110 |
render_overview_figures.py # renders polished pipeline/architecture PNGs
|
|
@@ -122,12 +124,14 @@ results/
|
|
| 122 |
episode_task_suite/ # 12-task suite metrics and predictions
|
| 123 |
neural_mlp/ # optional neural baseline artifacts per task
|
| 124 |
research_directions/ # four-track taxonomy, CSV, and summary
|
|
|
|
| 125 |
omni_exploration/ # H20/ModelScope smoke-test artifacts
|
| 126 |
|
| 127 |
docs/
|
| 128 |
index.html # GitHub Pages dashboard
|
| 129 |
data/summary_metrics.json # website-readable metrics bundle
|
| 130 |
data/research_directions.json # four-track website data bundle
|
|
|
|
| 131 |
assets/task_suite_infographic.png # 12-task presentation graphic
|
| 132 |
assets/pipeline_diagram.png # verified episode pipeline graphic
|
| 133 |
assets/task_architectures.png # verified 12-task minimal architecture map
|
|
@@ -319,6 +323,7 @@ Refresh charts and the website data bundle:
|
|
| 319 |
|
| 320 |
```bash
|
| 321 |
python scripts/research_direction_taxonomy.py
|
|
|
|
| 322 |
python scripts/generate_visualizations.py
|
| 323 |
python scripts/render_overview_figures.py
|
| 324 |
python scripts/render_task_suite_infographic.py
|
|
@@ -412,6 +417,40 @@ the Xperience-10M sample modalities, but only direction C is strongly represente
|
|
| 412 |
by the current 12-task suite. Directions A, B, and D need additional targets and
|
| 413 |
multi-episode training before they become full research deliverables.
|
| 414 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 415 |
## Minimal 12-Task Architectures
|
| 416 |
|
| 417 |
These are deliberately minimal baselines. They are useful because every
|
|
|
|
| 16 |
- 12 end-to-end episode-level tasks,
|
| 17 |
- lightweight neural MLP heads for the same 12 task contracts,
|
| 18 |
- a generated four-direction research taxonomy matching the Ropedia job tracks,
|
| 19 |
+
- junior-friendly walkthroughs for every task, with case study, input, process, and output,
|
| 20 |
- a next TODO track for Qwen3-Omni fine-tuning and sensor-bridge evaluation,
|
| 21 |
- metrics, predictions, model weights, manifests, charts, and a static website,
|
| 22 |
- a clear explanation of what a single episode can and cannot prove.
|
|
|
|
| 106 |
episode_task_suite.py # 12 end-to-end task definitions
|
| 107 |
neural_task_models.py # optional PyTorch MLP heads for all 12 tasks
|
| 108 |
research_direction_taxonomy.py # maps 12 tasks to the four research tracks
|
| 109 |
+
task_walkthroughs.py # beginner explanations for each task contract
|
| 110 |
generate_visualizations.py # refreshes SVG charts + summary JSON
|
| 111 |
render_task_suite_infographic.py # renders the ChatGPT-image-backed PNG
|
| 112 |
render_overview_figures.py # renders polished pipeline/architecture PNGs
|
|
|
|
| 124 |
episode_task_suite/ # 12-task suite metrics and predictions
|
| 125 |
neural_mlp/ # optional neural baseline artifacts per task
|
| 126 |
research_directions/ # four-track taxonomy, CSV, and summary
|
| 127 |
+
task_walkthroughs/ # case-study walkthroughs for all 12 tasks
|
| 128 |
omni_exploration/ # H20/ModelScope smoke-test artifacts
|
| 129 |
|
| 130 |
docs/
|
| 131 |
index.html # GitHub Pages dashboard
|
| 132 |
data/summary_metrics.json # website-readable metrics bundle
|
| 133 |
data/research_directions.json # four-track website data bundle
|
| 134 |
+
data/task_walkthroughs.json # beginner task explanation data bundle
|
| 135 |
assets/task_suite_infographic.png # 12-task presentation graphic
|
| 136 |
assets/pipeline_diagram.png # verified episode pipeline graphic
|
| 137 |
assets/task_architectures.png # verified 12-task minimal architecture map
|
|
|
|
| 323 |
|
| 324 |
```bash
|
| 325 |
python scripts/research_direction_taxonomy.py
|
| 326 |
+
python scripts/task_walkthroughs.py
|
| 327 |
python scripts/generate_visualizations.py
|
| 328 |
python scripts/render_overview_figures.py
|
| 329 |
python scripts/render_task_suite_infographic.py
|
|
|
|
| 417 |
by the current 12-task suite. Directions A, B, and D need additional targets and
|
| 418 |
multi-episode training before they become full research deliverables.
|
| 419 |
|
| 420 |
+
## Task Walkthroughs For Juniors
|
| 421 |
+
|
| 422 |
+
Every task now has a beginner-facing explanation with:
|
| 423 |
+
|
| 424 |
+
- a concrete coffee-episode case study,
|
| 425 |
+
- exact input contract,
|
| 426 |
+
- middle process modules,
|
| 427 |
+
- output contract,
|
| 428 |
+
- minimal and neural metric,
|
| 429 |
+
- one important limitation.
|
| 430 |
+
|
| 431 |
+
Primary files:
|
| 432 |
+
|
| 433 |
+
- [`TASK_WALKTHROUGHS.md`](results/episode_task_suite/task_walkthroughs/TASK_WALKTHROUGHS.md)
|
| 434 |
+
- [`task_walkthroughs.json`](results/episode_task_suite/task_walkthroughs/task_walkthroughs.json)
|
| 435 |
+
- [`docs/data/task_walkthroughs.json`](docs/data/task_walkthroughs.json)
|
| 436 |
+
|
| 437 |
+
Compact map:
|
| 438 |
+
|
| 439 |
+
| Task | Case study | Input -> process -> output |
|
| 440 |
+
| --- | --- | --- |
|
| 441 |
+
| `timeline_action` | A pouring window should be named as the current action. | all-modality window -> action label builder + classifier -> action class |
|
| 442 |
+
| `timeline_subtask` | A fine action is grouped into a broader drink-preparation stage. | all-modality window -> subtask label builder + classifier -> subtask label |
|
| 443 |
+
| `transition_detection` | Detect the change from preparing to pouring. | window -> boundary builder + binary classifier -> boundary/steady |
|
| 444 |
+
| `next_action` | A preparing window predicts what happens 20 frames later. | current window -> future-label shift + classifier -> next action |
|
| 445 |
+
| `hand_trajectory_forecast` | A hand moving toward a cup becomes a future 3D hand path. | current window -> future mocap target + regressor -> hand trajectory |
|
| 446 |
+
| `contact_prediction` | Decide whether hand/body contact is happening. | non-contact features -> contact target + binary classifier -> contact label |
|
| 447 |
+
| `object_relevance` | Infer milk, cup, coffee, or related objects during pouring. | non-caption features -> multi-hot object target + sigmoid heads -> object set |
|
| 448 |
+
| `caption_grounding` | Query Pour milk into coffee and retrieve the matching moment. | text-like query + candidates -> projection + cosine ranker -> ranked windows |
|
| 449 |
+
| `cross_modal_retrieval` | Motion/IMU from pouring retrieves matching depth/video. | motion/IMU/camera -> projection + candidate index -> ranked depth/video windows |
|
| 450 |
+
| `modality_reconstruction` | Infer depth/video features from motion, IMU, and camera pose. | source modalities -> scaler + regressor -> target modality vector |
|
| 451 |
+
| `temporal_order` | Tell whether reaching then pouring was reversed. | adjacent window pair -> pair combiner + binary classifier -> correct/reversed |
|
| 452 |
+
| `misalignment_detection` | Catch motion paired with visual/depth features shifted in time. | motion side + visual side -> aligned/shifted pair builder + classifier -> aligned/shifted |
|
| 453 |
+
|
| 454 |
## Minimal 12-Task Architectures
|
| 455 |
|
| 456 |
These are deliberately minimal baselines. They are useful because every
|
README.md
CHANGED
|
@@ -49,7 +49,9 @@ This is the reviewable half of the project. You can inspect the task outputs, co
|
|
| 49 |
- `docs/assets/task_suite_infographic.png`: ChatGPT-image-backed infographic with low-resolution public-sample modality thumbnails, including audio waveform context, and verified metric overlays
|
| 50 |
- `docs/data/summary_metrics.json`: dashboard-readable summary bundle
|
| 51 |
- `docs/data/research_directions.json`: generated four-track taxonomy for the website
|
|
|
|
| 52 |
- `results/episode_task_suite/research_directions/`: JSON, CSV, and Markdown task-to-research-track mapping
|
|
|
|
| 53 |
- `scripts/*.py`: reproduction scripts
|
| 54 |
- `notes/*.md`: interpretation and reproducibility notes
|
| 55 |
|
|
@@ -126,6 +128,14 @@ Primary taxonomy artifact:
|
|
| 126 |
|
| 127 |
`results/episode_task_suite/research_directions/research_direction_taxonomy.json`
|
| 128 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 129 |
## Pending 32-Episode Pilot
|
| 130 |
|
| 131 |
| Item | Value |
|
|
|
|
| 49 |
- `docs/assets/task_suite_infographic.png`: ChatGPT-image-backed infographic with low-resolution public-sample modality thumbnails, including audio waveform context, and verified metric overlays
|
| 50 |
- `docs/data/summary_metrics.json`: dashboard-readable summary bundle
|
| 51 |
- `docs/data/research_directions.json`: generated four-track taxonomy for the website
|
| 52 |
+
- `docs/data/task_walkthroughs.json`: beginner-oriented input/process/output guide for all 12 tasks
|
| 53 |
- `results/episode_task_suite/research_directions/`: JSON, CSV, and Markdown task-to-research-track mapping
|
| 54 |
+
- `results/episode_task_suite/task_walkthroughs/`: case-study walkthroughs for every task contract
|
| 55 |
- `scripts/*.py`: reproduction scripts
|
| 56 |
- `notes/*.md`: interpretation and reproducibility notes
|
| 57 |
|
|
|
|
| 128 |
|
| 129 |
`results/episode_task_suite/research_directions/research_direction_taxonomy.json`
|
| 130 |
|
| 131 |
+
## Junior Task Walkthroughs
|
| 132 |
+
|
| 133 |
+
Each task has a case study, input contract, middle process modules, output
|
| 134 |
+
contract, metric, and current limitation. Start here when onboarding a junior
|
| 135 |
+
researcher or engineer:
|
| 136 |
+
|
| 137 |
+
`results/episode_task_suite/task_walkthroughs/TASK_WALKTHROUGHS.md`
|
| 138 |
+
|
| 139 |
## Pending 32-Episode Pilot
|
| 140 |
|
| 141 |
| Item | Value |
|
docs/data/task_walkthroughs.json
ADDED
|
@@ -0,0 +1,310 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"source": "results/episode_task_suite/summary_report.json",
|
| 3 |
+
"scope": {
|
| 4 |
+
"episode_count": 1,
|
| 5 |
+
"num_frames": 5821,
|
| 6 |
+
"num_windows": 1161,
|
| 7 |
+
"feature_dim": 8378,
|
| 8 |
+
"window_frames": 20,
|
| 9 |
+
"stride_frames": 5,
|
| 10 |
+
"warning": "These walkthroughs explain task contracts on one public sample episode; they are not cross-episode performance claims."
|
| 11 |
+
},
|
| 12 |
+
"shared_pipeline": [
|
| 13 |
+
"Read annotation.hdf5 and synchronized video-derived features.",
|
| 14 |
+
"Slice the episode into 20-frame windows with stride 5.",
|
| 15 |
+
"Build an 8,378-d current feature vector from available modality blocks.",
|
| 16 |
+
"Construct a task-specific target from labels, future frames, paired windows, or modality splits.",
|
| 17 |
+
"Train a minimal head and, when enabled, a neural MLP head.",
|
| 18 |
+
"Write metrics, predictions, and model artifacts for review."
|
| 19 |
+
],
|
| 20 |
+
"tasks": {
|
| 21 |
+
"timeline_action": {
|
| 22 |
+
"plain_goal": "Look at one short multimodal window and name what action is happening now.",
|
| 23 |
+
"case_study": "In the coffee-making sample, if the 20-frame window is during a pouring moment, the task asks the model to output an action such as Pour coffee or Pour milk into coffee.",
|
| 24 |
+
"input": "One 20-frame window represented by the current 8,378-d feature vector: video/depth summaries, pose, SLAM/camera pose, motion capture, IMU, calibration, and language-derived context.",
|
| 25 |
+
"middle_modules": [
|
| 26 |
+
"Window builder slices the episode into short overlapping windows.",
|
| 27 |
+
"Feature assembler concatenates all current feature blocks.",
|
| 28 |
+
"Label builder reads the action annotation for the center of the window.",
|
| 29 |
+
"Classifier head maps the window vector to one action class.",
|
| 30 |
+
"Evaluator compares predicted action labels against the held-out chronological segment."
|
| 31 |
+
],
|
| 32 |
+
"output": "A single action class for the current window.",
|
| 33 |
+
"junior_tip": "This is like asking: given this tiny movie clip plus sensor readings, what is the person doing right now?",
|
| 34 |
+
"failure_mode": "The one-episode chronological split contains future action classes that were not present in training, so low test macro-F1 is expected.",
|
| 35 |
+
"task": "timeline_action",
|
| 36 |
+
"metric": {
|
| 37 |
+
"key": "macro_f1",
|
| 38 |
+
"name": "macro-F1",
|
| 39 |
+
"direction": "higher",
|
| 40 |
+
"minimal": 0.05,
|
| 41 |
+
"neural_mlp": 0.02631578947368421
|
| 42 |
+
},
|
| 43 |
+
"module_summary": "input window -> feature/target builder -> baseline head -> evaluator -> artifact files"
|
| 44 |
+
},
|
| 45 |
+
"timeline_subtask": {
|
| 46 |
+
"plain_goal": "Predict the higher-level task stage for the current window.",
|
| 47 |
+
"case_study": "A pouring action may belong to a broader subtask such as preparing or pouring a drink. The model predicts that broader stage instead of a fine action.",
|
| 48 |
+
"input": "The same all-modality 8,378-d window vector used by action recognition.",
|
| 49 |
+
"middle_modules": [
|
| 50 |
+
"Window builder creates the current temporal slice.",
|
| 51 |
+
"Feature assembler keeps all available modality blocks.",
|
| 52 |
+
"Subtask label builder maps the current timestamp to a subtask annotation.",
|
| 53 |
+
"Classifier head predicts the subtask class.",
|
| 54 |
+
"Evaluator reports class-balanced scores so rare subtasks matter."
|
| 55 |
+
],
|
| 56 |
+
"output": "A single subtask label for the current window.",
|
| 57 |
+
"junior_tip": "Action is the verb; subtask is the chapter of the activity.",
|
| 58 |
+
"failure_mode": "Single-episode ordering means some later subtasks appear only in test, so this is a pipeline check rather than a general benchmark.",
|
| 59 |
+
"task": "timeline_subtask",
|
| 60 |
+
"metric": {
|
| 61 |
+
"key": "macro_f1",
|
| 62 |
+
"name": "macro-F1",
|
| 63 |
+
"direction": "higher",
|
| 64 |
+
"minimal": 0.04954121121178666,
|
| 65 |
+
"neural_mlp": 0.017518248175182476
|
| 66 |
+
},
|
| 67 |
+
"module_summary": "input window -> feature/target builder -> baseline head -> evaluator -> artifact files"
|
| 68 |
+
},
|
| 69 |
+
"transition_detection": {
|
| 70 |
+
"plain_goal": "Detect whether the current window is near a boundary between actions.",
|
| 71 |
+
"case_study": "When the demonstrator changes from preparing to pouring, the model should flag a boundary instead of a steady action window.",
|
| 72 |
+
"input": "One all-modality window vector plus labels derived from action-change timestamps.",
|
| 73 |
+
"middle_modules": [
|
| 74 |
+
"Boundary builder scans action labels over time and marks windows near a change.",
|
| 75 |
+
"Feature assembler supplies all current modality features.",
|
| 76 |
+
"Binary classifier predicts steady vs boundary.",
|
| 77 |
+
"Boundary matcher checks whether predicted boundary times are close to true boundary times.",
|
| 78 |
+
"Evaluator reports macro-F1 and timing error, not just accuracy."
|
| 79 |
+
],
|
| 80 |
+
"output": "A binary label: boundary or steady.",
|
| 81 |
+
"junior_tip": "This is the model's way of saying: something just changed here.",
|
| 82 |
+
"failure_mode": "Boundaries are rare, so high accuracy can be misleading if the model predicts steady too often.",
|
| 83 |
+
"task": "transition_detection",
|
| 84 |
+
"metric": {
|
| 85 |
+
"key": "macro_f1",
|
| 86 |
+
"name": "macro-F1",
|
| 87 |
+
"direction": "higher",
|
| 88 |
+
"minimal": 0.6551829268292684,
|
| 89 |
+
"neural_mlp": 0.6484848484848484
|
| 90 |
+
},
|
| 91 |
+
"module_summary": "input window -> feature/target builder -> baseline head -> evaluator -> artifact files"
|
| 92 |
+
},
|
| 93 |
+
"next_action": {
|
| 94 |
+
"plain_goal": "Use the current window to guess the action that will happen shortly after it.",
|
| 95 |
+
"case_study": "If a window shows the person preparing to pour, the target can be the action 20 frames later, such as the start of pouring.",
|
| 96 |
+
"input": "The current all-modality window vector at time t.",
|
| 97 |
+
"middle_modules": [
|
| 98 |
+
"Window builder picks a current time window.",
|
| 99 |
+
"Future label builder shifts the action target by 20 frames.",
|
| 100 |
+
"Feature assembler uses only current information, not future features.",
|
| 101 |
+
"Classifier head predicts the future action class.",
|
| 102 |
+
"Evaluator checks whether the future action label is correct."
|
| 103 |
+
],
|
| 104 |
+
"output": "A single action class for t+20 frames.",
|
| 105 |
+
"junior_tip": "This is short-horizon intention prediction: what will the person do next?",
|
| 106 |
+
"failure_mode": "The public sample has unseen future classes in the chronological test split, which makes this very hard with one episode.",
|
| 107 |
+
"task": "next_action",
|
| 108 |
+
"metric": {
|
| 109 |
+
"key": "macro_f1",
|
| 110 |
+
"name": "macro-F1",
|
| 111 |
+
"direction": "higher",
|
| 112 |
+
"minimal": 0.05925925925925927,
|
| 113 |
+
"neural_mlp": 0.023529411764705882
|
| 114 |
+
},
|
| 115 |
+
"module_summary": "input window -> feature/target builder -> baseline head -> evaluator -> artifact files"
|
| 116 |
+
},
|
| 117 |
+
"hand_trajectory_forecast": {
|
| 118 |
+
"plain_goal": "Predict where the hands will move over the next few frames.",
|
| 119 |
+
"case_study": "When the hand is moving toward a cup or bottle, the model predicts the future 3D hand-joint path.",
|
| 120 |
+
"input": "The current all-modality window vector at time t.",
|
| 121 |
+
"middle_modules": [
|
| 122 |
+
"Window builder chooses the current sensor window.",
|
| 123 |
+
"Target builder extracts future left/right hand 3D joints from motion capture.",
|
| 124 |
+
"Regression head predicts a continuous trajectory, not a class label.",
|
| 125 |
+
"Output reshaper interprets the vector as future frames and joints.",
|
| 126 |
+
"Evaluator computes MPJPE, the average 3D joint-position error."
|
| 127 |
+
],
|
| 128 |
+
"output": "A future trajectory vector for left and right hand joints.",
|
| 129 |
+
"junior_tip": "Instead of naming an action, this task draws the next hand path in 3D.",
|
| 130 |
+
"failure_mode": "It is still a window-level forecast, not a full policy or long-horizon motion generator.",
|
| 131 |
+
"task": "hand_trajectory_forecast",
|
| 132 |
+
"metric": {
|
| 133 |
+
"key": "mpjpe",
|
| 134 |
+
"name": "MPJPE",
|
| 135 |
+
"direction": "lower",
|
| 136 |
+
"minimal": 0.8222644925117493,
|
| 137 |
+
"neural_mlp": 0.11163123697042465
|
| 138 |
+
},
|
| 139 |
+
"module_summary": "input window -> feature/target builder -> baseline head -> evaluator -> artifact files"
|
| 140 |
+
},
|
| 141 |
+
"contact_prediction": {
|
| 142 |
+
"plain_goal": "Predict whether the body or hand is in contact with something.",
|
| 143 |
+
"case_study": "During manipulation, the hand may touch a cup, table, or bottle. The task asks whether any contact is happening.",
|
| 144 |
+
"input": "Non-contact and non-caption feature blocks, so the answer is not directly leaked from the target labels.",
|
| 145 |
+
"middle_modules": [
|
| 146 |
+
"Feature selector removes contact-label and caption-label blocks.",
|
| 147 |
+
"Target builder converts contact annotations into a binary label.",
|
| 148 |
+
"Binary classifier predicts contact vs no contact.",
|
| 149 |
+
"Evaluator reports macro-F1 and accuracy.",
|
| 150 |
+
"Degeneracy checker records whether only one class appears."
|
| 151 |
+
],
|
| 152 |
+
"output": "A binary contact label.",
|
| 153 |
+
"junior_tip": "This is a simple physical-interaction probe: is the person touching something now?",
|
| 154 |
+
"failure_mode": "The current public sample is degenerate for this task because one class dominates, so perfect score does not mean the model learned contact physics.",
|
| 155 |
+
"task": "contact_prediction",
|
| 156 |
+
"metric": {
|
| 157 |
+
"key": "macro_f1",
|
| 158 |
+
"name": "macro-F1",
|
| 159 |
+
"direction": "higher",
|
| 160 |
+
"minimal": 1.0,
|
| 161 |
+
"neural_mlp": 1.0
|
| 162 |
+
},
|
| 163 |
+
"module_summary": "input window -> feature/target builder -> baseline head -> evaluator -> artifact files"
|
| 164 |
+
},
|
| 165 |
+
"object_relevance": {
|
| 166 |
+
"plain_goal": "Predict which objects matter in the current window.",
|
| 167 |
+
"case_study": "If the person is pouring milk into coffee, relevant objects may include milk, cup, coffee, or container-like items.",
|
| 168 |
+
"input": "Non-caption feature blocks, so the model must infer objects from sensors rather than copying the caption words.",
|
| 169 |
+
"middle_modules": [
|
| 170 |
+
"Object vocabulary builder collects object labels from annotations.",
|
| 171 |
+
"Feature selector removes caption-derived label blocks.",
|
| 172 |
+
"Multi-label target builder creates a multi-hot object vector.",
|
| 173 |
+
"Sigmoid heads predict each object's relevance independently.",
|
| 174 |
+
"Evaluator reports micro-F1 and exact-match quality."
|
| 175 |
+
],
|
| 176 |
+
"output": "A multi-label object set for the current window.",
|
| 177 |
+
"junior_tip": "A window can involve more than one object, so this is not a one-class classifier.",
|
| 178 |
+
"failure_mode": "Object labels are sparse and language-derived, so this is currently a weak object-centric probe.",
|
| 179 |
+
"task": "object_relevance",
|
| 180 |
+
"metric": {
|
| 181 |
+
"key": "micro_f1",
|
| 182 |
+
"name": "micro-F1",
|
| 183 |
+
"direction": "higher",
|
| 184 |
+
"minimal": 0.18393030009680542,
|
| 185 |
+
"neural_mlp": 0.1797583081570997
|
| 186 |
+
},
|
| 187 |
+
"module_summary": "input window -> feature/target builder -> baseline head -> evaluator -> artifact files"
|
| 188 |
+
},
|
| 189 |
+
"caption_grounding": {
|
| 190 |
+
"plain_goal": "Given a text-like query from annotation, find the matching time window.",
|
| 191 |
+
"case_study": "A query like Pour milk into coffee should rank the windows from the actual pouring moment higher than unrelated windows.",
|
| 192 |
+
"input": "Caption/object/interaction query features and a set of candidate sensor-window features.",
|
| 193 |
+
"middle_modules": [
|
| 194 |
+
"Query builder converts annotation words into a compact query representation.",
|
| 195 |
+
"Candidate builder gathers held-out sensor windows.",
|
| 196 |
+
"Projection head maps sensor windows into the query space.",
|
| 197 |
+
"Ranker scores candidates by cosine similarity.",
|
| 198 |
+
"Evaluator reports MRR and top-k retrieval accuracy."
|
| 199 |
+
],
|
| 200 |
+
"output": "A ranked list of windows, with the correct matching window ideally near rank 1.",
|
| 201 |
+
"junior_tip": "This is search: type a description, retrieve the matching moment.",
|
| 202 |
+
"failure_mode": "Bag-of-objects text features are too simple for rich language grounding.",
|
| 203 |
+
"task": "caption_grounding",
|
| 204 |
+
"metric": {
|
| 205 |
+
"key": "mrr",
|
| 206 |
+
"name": "MRR",
|
| 207 |
+
"direction": "higher",
|
| 208 |
+
"minimal": 0.017183946083791223,
|
| 209 |
+
"neural_mlp": 0.01781111161035397
|
| 210 |
+
},
|
| 211 |
+
"module_summary": "input window -> feature/target builder -> baseline head -> evaluator -> artifact files"
|
| 212 |
+
},
|
| 213 |
+
"cross_modal_retrieval": {
|
| 214 |
+
"plain_goal": "Use one group of modalities to retrieve the matching window from another group.",
|
| 215 |
+
"case_study": "Use motion, IMU, and camera-pose signals from a pouring moment to retrieve the matching depth/video representation for that same moment.",
|
| 216 |
+
"input": "Query side: motion, IMU, and camera/pose features. Candidate side: depth and video features.",
|
| 217 |
+
"middle_modules": [
|
| 218 |
+
"Feature splitter separates query modalities from target modalities.",
|
| 219 |
+
"Projection head maps the query vector into target-modality space.",
|
| 220 |
+
"Candidate index stores target vectors from held-out windows.",
|
| 221 |
+
"Ranker retrieves nearest candidates by cosine similarity.",
|
| 222 |
+
"Evaluator reports MRR, top-1, top-5, and top-10 accuracy."
|
| 223 |
+
],
|
| 224 |
+
"output": "A ranked list of candidate depth/video windows.",
|
| 225 |
+
"junior_tip": "This checks whether different sensors agree about the same moment in time.",
|
| 226 |
+
"failure_mode": "Good retrieval means useful alignment signal, but it is not yet 3D reconstruction or rendering.",
|
| 227 |
+
"task": "cross_modal_retrieval",
|
| 228 |
+
"metric": {
|
| 229 |
+
"key": "mrr",
|
| 230 |
+
"name": "MRR",
|
| 231 |
+
"direction": "higher",
|
| 232 |
+
"minimal": 0.26335984006618296,
|
| 233 |
+
"neural_mlp": 0.1530070022204131
|
| 234 |
+
},
|
| 235 |
+
"module_summary": "input window -> feature/target builder -> baseline head -> evaluator -> artifact files"
|
| 236 |
+
},
|
| 237 |
+
"modality_reconstruction": {
|
| 238 |
+
"plain_goal": "Predict one modality feature block from other modality blocks.",
|
| 239 |
+
"case_study": "Given motion, IMU, and camera-pose signals while the hand moves, predict the matching depth/video feature vector.",
|
| 240 |
+
"input": "Motion, IMU, and camera/pose features as input; depth/video features as the regression target.",
|
| 241 |
+
"middle_modules": [
|
| 242 |
+
"Feature splitter defines source and target modality blocks.",
|
| 243 |
+
"Scaler normalizes source and target vectors using train statistics.",
|
| 244 |
+
"Regression head predicts the target feature vector.",
|
| 245 |
+
"Inverse scaler returns predictions to target scale.",
|
| 246 |
+
"Evaluator reports MSE, MAE, and R2."
|
| 247 |
+
],
|
| 248 |
+
"output": "A reconstructed depth/video feature vector.",
|
| 249 |
+
"junior_tip": "This is feature-level imagination: can the model infer what another sensor would see?",
|
| 250 |
+
"failure_mode": "This reconstructs compressed features, not raw pixels, depth maps, meshes, NeRFs, or Gaussian splats.",
|
| 251 |
+
"task": "modality_reconstruction",
|
| 252 |
+
"metric": {
|
| 253 |
+
"key": "r2",
|
| 254 |
+
"name": "R2",
|
| 255 |
+
"direction": "higher",
|
| 256 |
+
"minimal": -0.016022846771134747,
|
| 257 |
+
"neural_mlp": -0.010198171891414143
|
| 258 |
+
},
|
| 259 |
+
"module_summary": "input window -> feature/target builder -> baseline head -> evaluator -> artifact files"
|
| 260 |
+
},
|
| 261 |
+
"temporal_order": {
|
| 262 |
+
"plain_goal": "Tell whether two nearby windows are in the correct time order.",
|
| 263 |
+
"case_study": "If window A shows reaching and window B shows pouring, the model should distinguish A then B from B then A.",
|
| 264 |
+
"input": "A pair of adjacent window vectors, plus their difference vector.",
|
| 265 |
+
"middle_modules": [
|
| 266 |
+
"Pair builder creates correct-order and reversed-order examples.",
|
| 267 |
+
"Feature combiner concatenates first window, second window, and their difference.",
|
| 268 |
+
"Binary classifier predicts correct vs reversed.",
|
| 269 |
+
"Evaluator reports F1, precision, and recall.",
|
| 270 |
+
"Diagnostic reader interprets whether features encode local time direction."
|
| 271 |
+
],
|
| 272 |
+
"output": "A binary label: correct order or reversed order.",
|
| 273 |
+
"junior_tip": "This asks whether the representation knows which moment came first.",
|
| 274 |
+
"failure_mode": "It only tests local ordering, not long-term planning or causality.",
|
| 275 |
+
"task": "temporal_order",
|
| 276 |
+
"metric": {
|
| 277 |
+
"key": "f1",
|
| 278 |
+
"name": "F1",
|
| 279 |
+
"direction": "higher",
|
| 280 |
+
"minimal": 0.5487364620938628,
|
| 281 |
+
"neural_mlp": 0.8717948717948718
|
| 282 |
+
},
|
| 283 |
+
"module_summary": "input window -> feature/target builder -> baseline head -> evaluator -> artifact files"
|
| 284 |
+
},
|
| 285 |
+
"misalignment_detection": {
|
| 286 |
+
"plain_goal": "Detect when modalities that should match are shifted out of sync.",
|
| 287 |
+
"case_study": "Motion from a pouring moment is paired with video/depth from several windows later. The task asks the model to detect that mismatch.",
|
| 288 |
+
"input": "A motion-side feature group and a visual/depth-side feature group, either aligned or artificially shifted.",
|
| 289 |
+
"middle_modules": [
|
| 290 |
+
"Alignment builder creates positive pairs from the same time window.",
|
| 291 |
+
"Shift builder creates negative pairs by offsetting one modality group.",
|
| 292 |
+
"Feature combiner joins both sides into one example.",
|
| 293 |
+
"Binary classifier predicts aligned vs misaligned.",
|
| 294 |
+
"Evaluator reports F1 and accuracy."
|
| 295 |
+
],
|
| 296 |
+
"output": "A binary label: aligned or shifted.",
|
| 297 |
+
"junior_tip": "This is a synchronization alarm for multimodal data.",
|
| 298 |
+
"failure_mode": "Synthetic shifts are useful diagnostics but do not solve calibration, reconstruction, or mapping by themselves.",
|
| 299 |
+
"task": "misalignment_detection",
|
| 300 |
+
"metric": {
|
| 301 |
+
"key": "f1",
|
| 302 |
+
"name": "F1",
|
| 303 |
+
"direction": "higher",
|
| 304 |
+
"minimal": 0.4865671641791045,
|
| 305 |
+
"neural_mlp": 0.7335243553008597
|
| 306 |
+
},
|
| 307 |
+
"module_summary": "input window -> feature/target builder -> baseline head -> evaluator -> artifact files"
|
| 308 |
+
}
|
| 309 |
+
}
|
| 310 |
+
}
|
docs/index.html
CHANGED
|
@@ -465,6 +465,37 @@
|
|
| 465 |
gap: 14px;
|
| 466 |
margin-top: 18px;
|
| 467 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 468 |
.artifact {
|
| 469 |
border: 1px solid var(--line);
|
| 470 |
border-radius: var(--radius);
|
|
@@ -506,14 +537,14 @@
|
|
| 506 |
@media (max-width: 960px) {
|
| 507 |
.hero-inner, .two-col { grid-template-columns: 1fr; }
|
| 508 |
.hero-inner { min-height: 0; }
|
| 509 |
-
.hero-stats, .models, .task-grid, .artifact-grid, .chart-grid, .callout-row, .direction-grid, .baseline-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
| 510 |
.section-head { display: block; }
|
| 511 |
.section-head p { margin-top: 14px; }
|
| 512 |
.nav-links { display: none; }
|
| 513 |
}
|
| 514 |
@media (max-width: 640px) {
|
| 515 |
.wrap { width: min(100% - 28px, var(--max)); }
|
| 516 |
-
.hero-stats, .models, .task-grid, .artifact-grid, .chart-grid, .callout-row, .direction-grid, .baseline-strip { grid-template-columns: 1fr; }
|
| 517 |
.hero-inner, section { padding: 46px 0; }
|
| 518 |
.signal { grid-template-columns: 1fr; }
|
| 519 |
.signal strong { text-align: left; }
|
|
@@ -544,6 +575,7 @@
|
|
| 544 |
<a href="#neural">Neural</a>
|
| 545 |
<a href="#directions">Directions</a>
|
| 546 |
<a href="#architectures">Arch</a>
|
|
|
|
| 547 |
<a href="#tasks">Tasks</a>
|
| 548 |
<a href="#features">Signals</a>
|
| 549 |
<a href="#artifacts">Artifacts</a>
|
|
@@ -714,6 +746,29 @@
|
|
| 714 |
</div>
|
| 715 |
</section>
|
| 716 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 717 |
<section id="tasks">
|
| 718 |
<div class="wrap">
|
| 719 |
<div class="section-head">
|
|
@@ -779,6 +834,7 @@
|
|
| 779 |
<article class="artifact"><h3>Task-suite report</h3><p>One JSON file with every task metric and split detail.</p><a href="https://github.com/ChaoYue0307/ropedia-episode-task-suite/blob/main/results/episode_task_suite/summary_report.json">summary_report.json</a></article>
|
| 780 |
<article class="artifact"><h3>Neural MLP task results</h3><p>Per-task PyTorch MLP metrics, predictions, histories, and checkpoints for the same 12 task contracts.</p><a href="https://github.com/ChaoYue0307/ropedia-episode-task-suite/tree/main/results/episode_task_suite/neural_mlp">neural_mlp/</a></article>
|
| 781 |
<article class="artifact"><h3>Four-direction taxonomy</h3><p>Generated JSON, CSV, Markdown, and website data mapping all 12 tasks to the four research tracks with two baselines.</p><a href="https://github.com/ChaoYue0307/ropedia-episode-task-suite/tree/main/results/episode_task_suite/research_directions">research_directions/</a></article>
|
|
|
|
| 782 |
<article class="artifact"><h3>Feature manifest</h3><p>Start/end index and dimension for every current feature block.</p><a href="https://github.com/ChaoYue0307/ropedia-episode-task-suite/blob/main/results/episode_task_suite/feature_manifest.json">feature_manifest.json</a></article>
|
| 783 |
<article class="artifact"><h3>Cross-modal retrieval</h3><p>The strongest self-supervised signal from the single episode.</p><a href="https://github.com/ChaoYue0307/ropedia-episode-task-suite/blob/main/results/episode_task_suite/cross_modal_retrieval/metrics.json">metrics.json</a></article>
|
| 784 |
<article class="artifact"><h3>Current all-feature action model</h3><p>Classifier metrics, predictions, confusion matrix, and model weights.</p><a href="https://github.com/ChaoYue0307/ropedia-episode-task-suite/blob/main/results/min_all_modalities_action_model/metrics.json">metrics.json</a></article>
|
|
|
|
| 465 |
gap: 14px;
|
| 466 |
margin-top: 18px;
|
| 467 |
}
|
| 468 |
+
.walkthrough-grid {
|
| 469 |
+
display: grid;
|
| 470 |
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
| 471 |
+
gap: 16px;
|
| 472 |
+
}
|
| 473 |
+
.walk-card {
|
| 474 |
+
border: 1px solid var(--line);
|
| 475 |
+
border-radius: var(--radius);
|
| 476 |
+
background: var(--surface);
|
| 477 |
+
padding: 18px;
|
| 478 |
+
display: grid;
|
| 479 |
+
gap: 12px;
|
| 480 |
+
align-content: start;
|
| 481 |
+
}
|
| 482 |
+
.walk-card h3 { margin: 0; font-family: var(--font-mono); font-size: 15px; }
|
| 483 |
+
.walk-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
|
| 484 |
+
.walk-flow {
|
| 485 |
+
display: grid;
|
| 486 |
+
grid-template-columns: 0.72fr 1.15fr 0.72fr;
|
| 487 |
+
gap: 8px;
|
| 488 |
+
align-items: stretch;
|
| 489 |
+
font-size: 12px;
|
| 490 |
+
}
|
| 491 |
+
.walk-flow span {
|
| 492 |
+
border: 1px solid #e5dfd5;
|
| 493 |
+
background: #faf7f1;
|
| 494 |
+
border-radius: 6px;
|
| 495 |
+
padding: 9px;
|
| 496 |
+
min-height: 58px;
|
| 497 |
+
}
|
| 498 |
+
.walk-flow strong { display: block; color: var(--ink); font-size: 11px; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.04em; }
|
| 499 |
.artifact {
|
| 500 |
border: 1px solid var(--line);
|
| 501 |
border-radius: var(--radius);
|
|
|
|
| 537 |
@media (max-width: 960px) {
|
| 538 |
.hero-inner, .two-col { grid-template-columns: 1fr; }
|
| 539 |
.hero-inner { min-height: 0; }
|
| 540 |
+
.hero-stats, .models, .task-grid, .artifact-grid, .chart-grid, .callout-row, .direction-grid, .baseline-strip, .walkthrough-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
| 541 |
.section-head { display: block; }
|
| 542 |
.section-head p { margin-top: 14px; }
|
| 543 |
.nav-links { display: none; }
|
| 544 |
}
|
| 545 |
@media (max-width: 640px) {
|
| 546 |
.wrap { width: min(100% - 28px, var(--max)); }
|
| 547 |
+
.hero-stats, .models, .task-grid, .artifact-grid, .chart-grid, .callout-row, .direction-grid, .baseline-strip, .walkthrough-grid, .walk-flow { grid-template-columns: 1fr; }
|
| 548 |
.hero-inner, section { padding: 46px 0; }
|
| 549 |
.signal { grid-template-columns: 1fr; }
|
| 550 |
.signal strong { text-align: left; }
|
|
|
|
| 575 |
<a href="#neural">Neural</a>
|
| 576 |
<a href="#directions">Directions</a>
|
| 577 |
<a href="#architectures">Arch</a>
|
| 578 |
+
<a href="#walkthroughs">Guide</a>
|
| 579 |
<a href="#tasks">Tasks</a>
|
| 580 |
<a href="#features">Signals</a>
|
| 581 |
<a href="#artifacts">Artifacts</a>
|
|
|
|
| 746 |
</div>
|
| 747 |
</section>
|
| 748 |
|
| 749 |
+
<section id="walkthroughs">
|
| 750 |
+
<div class="wrap">
|
| 751 |
+
<div class="section-head">
|
| 752 |
+
<h2>Junior-friendly task walkthroughs.</h2>
|
| 753 |
+
<p>Each task is explained as a case study with input, middle process modules, and output. The full generated guide is committed as Markdown and JSON.</p>
|
| 754 |
+
</div>
|
| 755 |
+
<div class="walkthrough-grid">
|
| 756 |
+
<article class="walk-card"><h3>timeline_action</h3><p><strong>Case:</strong> a pouring window should map to the current action, such as Pour coffee.</p><div class="walk-flow"><span><strong>Input</strong>one 20-frame all-modality window</span><span><strong>Process</strong>window builder, feature assembler, action label builder, classifier, evaluator</span><span><strong>Output</strong>current action class</span></div></article>
|
| 757 |
+
<article class="walk-card"><h3>timeline_subtask</h3><p><strong>Case:</strong> a fine action is grouped into a broader drink-preparation stage.</p><div class="walk-flow"><span><strong>Input</strong>one all-modality window</span><span><strong>Process</strong>window builder, feature assembler, subtask label builder, classifier, evaluator</span><span><strong>Output</strong>current subtask label</span></div></article>
|
| 758 |
+
<article class="walk-card"><h3>transition_detection</h3><p><strong>Case:</strong> detect the moment the demonstrator changes from preparing to pouring.</p><div class="walk-flow"><span><strong>Input</strong>one window plus boundary labels</span><span><strong>Process</strong>boundary builder, feature assembler, binary classifier, boundary matcher, evaluator</span><span><strong>Output</strong>boundary or steady</span></div></article>
|
| 759 |
+
<article class="walk-card"><h3>next_action</h3><p><strong>Case:</strong> a preparing-to-pour window should predict the action 20 frames later.</p><div class="walk-flow"><span><strong>Input</strong>current window at time t</span><span><strong>Process</strong>future label shift, current-only features, classifier, evaluator</span><span><strong>Output</strong>action at t+20 frames</span></div></article>
|
| 760 |
+
<article class="walk-card"><h3>hand_trajectory_forecast</h3><p><strong>Case:</strong> when a hand moves toward a cup, predict the future 3D hand path.</p><div class="walk-flow"><span><strong>Input</strong>current all-modality window</span><span><strong>Process</strong>future mocap target builder, regression head, trajectory reshaper, MPJPE evaluator</span><span><strong>Output</strong>future left/right hand joints</span></div></article>
|
| 761 |
+
<article class="walk-card"><h3>contact_prediction</h3><p><strong>Case:</strong> decide whether the hand/body is touching an object or surface.</p><div class="walk-flow"><span><strong>Input</strong>non-contact, non-caption features</span><span><strong>Process</strong>feature selector, contact target builder, binary classifier, degeneracy check</span><span><strong>Output</strong>contact or no contact</span></div></article>
|
| 762 |
+
<article class="walk-card"><h3>object_relevance</h3><p><strong>Case:</strong> during pouring, infer relevant objects such as milk, cup, or coffee.</p><div class="walk-flow"><span><strong>Input</strong>non-caption features</span><span><strong>Process</strong>object vocabulary, multi-hot targets, sigmoid heads, micro-F1 evaluator</span><span><strong>Output</strong>multi-label object set</span></div></article>
|
| 763 |
+
<article class="walk-card"><h3>caption_grounding</h3><p><strong>Case:</strong> a query like Pour milk into coffee should retrieve the matching moment.</p><div class="walk-flow"><span><strong>Input</strong>caption query plus candidate windows</span><span><strong>Process</strong>query builder, candidate builder, projection head, cosine ranker, MRR evaluator</span><span><strong>Output</strong>ranked matching windows</span></div></article>
|
| 764 |
+
<article class="walk-card"><h3>cross_modal_retrieval</h3><p><strong>Case:</strong> motion and IMU from pouring should retrieve the matching depth/video window.</p><div class="walk-flow"><span><strong>Input</strong>motion/IMU/camera query, depth/video candidates</span><span><strong>Process</strong>modality splitter, projection head, candidate index, cosine ranker, top-k evaluator</span><span><strong>Output</strong>ranked depth/video windows</span></div></article>
|
| 765 |
+
<article class="walk-card"><h3>modality_reconstruction</h3><p><strong>Case:</strong> infer compressed depth/video features from motion, IMU, and camera pose.</p><div class="walk-flow"><span><strong>Input</strong>motion/IMU/camera features</span><span><strong>Process</strong>source-target split, scaling, regression head, inverse scaling, R2 evaluator</span><span><strong>Output</strong>depth/video feature vector</span></div></article>
|
| 766 |
+
<article class="walk-card"><h3>temporal_order</h3><p><strong>Case:</strong> tell whether reaching then pouring has been reversed.</p><div class="walk-flow"><span><strong>Input</strong>two adjacent windows</span><span><strong>Process</strong>pair builder, feature combiner, binary classifier, F1 evaluator</span><span><strong>Output</strong>correct or reversed order</span></div></article>
|
| 767 |
+
<article class="walk-card"><h3>misalignment_detection</h3><p><strong>Case:</strong> detect motion from pouring paired with video/depth shifted later.</p><div class="walk-flow"><span><strong>Input</strong>motion side plus visual/depth side</span><span><strong>Process</strong>aligned pair builder, shifted pair builder, feature combiner, binary classifier</span><span><strong>Output</strong>aligned or shifted</span></div></article>
|
| 768 |
+
</div>
|
| 769 |
+
</div>
|
| 770 |
+
</section>
|
| 771 |
+
|
| 772 |
<section id="tasks">
|
| 773 |
<div class="wrap">
|
| 774 |
<div class="section-head">
|
|
|
|
| 834 |
<article class="artifact"><h3>Task-suite report</h3><p>One JSON file with every task metric and split detail.</p><a href="https://github.com/ChaoYue0307/ropedia-episode-task-suite/blob/main/results/episode_task_suite/summary_report.json">summary_report.json</a></article>
|
| 835 |
<article class="artifact"><h3>Neural MLP task results</h3><p>Per-task PyTorch MLP metrics, predictions, histories, and checkpoints for the same 12 task contracts.</p><a href="https://github.com/ChaoYue0307/ropedia-episode-task-suite/tree/main/results/episode_task_suite/neural_mlp">neural_mlp/</a></article>
|
| 836 |
<article class="artifact"><h3>Four-direction taxonomy</h3><p>Generated JSON, CSV, Markdown, and website data mapping all 12 tasks to the four research tracks with two baselines.</p><a href="https://github.com/ChaoYue0307/ropedia-episode-task-suite/tree/main/results/episode_task_suite/research_directions">research_directions/</a></article>
|
| 837 |
+
<article class="artifact"><h3>Task walkthroughs</h3><p>Beginner-oriented case studies for all 12 tasks, including input, middle process modules, output, metric, and limitation.</p><a href="https://github.com/ChaoYue0307/ropedia-episode-task-suite/tree/main/results/episode_task_suite/task_walkthroughs">task_walkthroughs/</a></article>
|
| 838 |
<article class="artifact"><h3>Feature manifest</h3><p>Start/end index and dimension for every current feature block.</p><a href="https://github.com/ChaoYue0307/ropedia-episode-task-suite/blob/main/results/episode_task_suite/feature_manifest.json">feature_manifest.json</a></article>
|
| 839 |
<article class="artifact"><h3>Cross-modal retrieval</h3><p>The strongest self-supervised signal from the single episode.</p><a href="https://github.com/ChaoYue0307/ropedia-episode-task-suite/blob/main/results/episode_task_suite/cross_modal_retrieval/metrics.json">metrics.json</a></article>
|
| 840 |
<article class="artifact"><h3>Current all-feature action model</h3><p>Classifier metrics, predictions, confusion matrix, and model weights.</p><a href="https://github.com/ChaoYue0307/ropedia-episode-task-suite/blob/main/results/min_all_modalities_action_model/metrics.json">metrics.json</a></article>
|
results/episode_task_suite/task_walkthroughs/TASK_WALKTHROUGHS.md
ADDED
|
@@ -0,0 +1,291 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Junior-Friendly 12-Task Walkthroughs
|
| 2 |
+
|
| 3 |
+
This file explains every task in the Xperience-10M episode suite as an input -> process -> output pipeline.
|
| 4 |
+
It is generated by `scripts/task_walkthroughs.py` from committed metrics plus hand-audited task explanations.
|
| 5 |
+
|
| 6 |
+
## Shared Pipeline
|
| 7 |
+
|
| 8 |
+
- Read annotation.hdf5 and synchronized video-derived features.
|
| 9 |
+
- Slice the episode into 20-frame windows with stride 5.
|
| 10 |
+
- Build an 8,378-d current feature vector from available modality blocks.
|
| 11 |
+
- Construct a task-specific target from labels, future frames, paired windows, or modality splits.
|
| 12 |
+
- Train a minimal head and, when enabled, a neural MLP head.
|
| 13 |
+
- Write metrics, predictions, and model artifacts for review.
|
| 14 |
+
|
| 15 |
+
## Task Walkthroughs
|
| 16 |
+
|
| 17 |
+
### `timeline_action`
|
| 18 |
+
|
| 19 |
+
**Goal:** Look at one short multimodal window and name what action is happening now.
|
| 20 |
+
|
| 21 |
+
**Case study:** In the coffee-making sample, if the 20-frame window is during a pouring moment, the task asks the model to output an action such as Pour coffee or Pour milk into coffee.
|
| 22 |
+
|
| 23 |
+
**Input:** One 20-frame window represented by the current 8,378-d feature vector: video/depth summaries, pose, SLAM/camera pose, motion capture, IMU, calibration, and language-derived context.
|
| 24 |
+
|
| 25 |
+
**Middle process modules:**
|
| 26 |
+
- Window builder slices the episode into short overlapping windows.
|
| 27 |
+
- Feature assembler concatenates all current feature blocks.
|
| 28 |
+
- Label builder reads the action annotation for the center of the window.
|
| 29 |
+
- Classifier head maps the window vector to one action class.
|
| 30 |
+
- Evaluator compares predicted action labels against the held-out chronological segment.
|
| 31 |
+
|
| 32 |
+
**Output:** A single action class for the current window.
|
| 33 |
+
|
| 34 |
+
**Metric:** macro-F1 (higher is better). Minimal `0.0500`, neural MLP `0.0263`.
|
| 35 |
+
|
| 36 |
+
**Junior mental model:** This is like asking: given this tiny movie clip plus sensor readings, what is the person doing right now?
|
| 37 |
+
|
| 38 |
+
**Current limitation:** The one-episode chronological split contains future action classes that were not present in training, so low test macro-F1 is expected.
|
| 39 |
+
|
| 40 |
+
### `timeline_subtask`
|
| 41 |
+
|
| 42 |
+
**Goal:** Predict the higher-level task stage for the current window.
|
| 43 |
+
|
| 44 |
+
**Case study:** A pouring action may belong to a broader subtask such as preparing or pouring a drink. The model predicts that broader stage instead of a fine action.
|
| 45 |
+
|
| 46 |
+
**Input:** The same all-modality 8,378-d window vector used by action recognition.
|
| 47 |
+
|
| 48 |
+
**Middle process modules:**
|
| 49 |
+
- Window builder creates the current temporal slice.
|
| 50 |
+
- Feature assembler keeps all available modality blocks.
|
| 51 |
+
- Subtask label builder maps the current timestamp to a subtask annotation.
|
| 52 |
+
- Classifier head predicts the subtask class.
|
| 53 |
+
- Evaluator reports class-balanced scores so rare subtasks matter.
|
| 54 |
+
|
| 55 |
+
**Output:** A single subtask label for the current window.
|
| 56 |
+
|
| 57 |
+
**Metric:** macro-F1 (higher is better). Minimal `0.0495`, neural MLP `0.0175`.
|
| 58 |
+
|
| 59 |
+
**Junior mental model:** Action is the verb; subtask is the chapter of the activity.
|
| 60 |
+
|
| 61 |
+
**Current limitation:** Single-episode ordering means some later subtasks appear only in test, so this is a pipeline check rather than a general benchmark.
|
| 62 |
+
|
| 63 |
+
### `transition_detection`
|
| 64 |
+
|
| 65 |
+
**Goal:** Detect whether the current window is near a boundary between actions.
|
| 66 |
+
|
| 67 |
+
**Case study:** When the demonstrator changes from preparing to pouring, the model should flag a boundary instead of a steady action window.
|
| 68 |
+
|
| 69 |
+
**Input:** One all-modality window vector plus labels derived from action-change timestamps.
|
| 70 |
+
|
| 71 |
+
**Middle process modules:**
|
| 72 |
+
- Boundary builder scans action labels over time and marks windows near a change.
|
| 73 |
+
- Feature assembler supplies all current modality features.
|
| 74 |
+
- Binary classifier predicts steady vs boundary.
|
| 75 |
+
- Boundary matcher checks whether predicted boundary times are close to true boundary times.
|
| 76 |
+
- Evaluator reports macro-F1 and timing error, not just accuracy.
|
| 77 |
+
|
| 78 |
+
**Output:** A binary label: boundary or steady.
|
| 79 |
+
|
| 80 |
+
**Metric:** macro-F1 (higher is better). Minimal `0.6552`, neural MLP `0.6485`.
|
| 81 |
+
|
| 82 |
+
**Junior mental model:** This is the model's way of saying: something just changed here.
|
| 83 |
+
|
| 84 |
+
**Current limitation:** Boundaries are rare, so high accuracy can be misleading if the model predicts steady too often.
|
| 85 |
+
|
| 86 |
+
### `next_action`
|
| 87 |
+
|
| 88 |
+
**Goal:** Use the current window to guess the action that will happen shortly after it.
|
| 89 |
+
|
| 90 |
+
**Case study:** If a window shows the person preparing to pour, the target can be the action 20 frames later, such as the start of pouring.
|
| 91 |
+
|
| 92 |
+
**Input:** The current all-modality window vector at time t.
|
| 93 |
+
|
| 94 |
+
**Middle process modules:**
|
| 95 |
+
- Window builder picks a current time window.
|
| 96 |
+
- Future label builder shifts the action target by 20 frames.
|
| 97 |
+
- Feature assembler uses only current information, not future features.
|
| 98 |
+
- Classifier head predicts the future action class.
|
| 99 |
+
- Evaluator checks whether the future action label is correct.
|
| 100 |
+
|
| 101 |
+
**Output:** A single action class for t+20 frames.
|
| 102 |
+
|
| 103 |
+
**Metric:** macro-F1 (higher is better). Minimal `0.0593`, neural MLP `0.0235`.
|
| 104 |
+
|
| 105 |
+
**Junior mental model:** This is short-horizon intention prediction: what will the person do next?
|
| 106 |
+
|
| 107 |
+
**Current limitation:** The public sample has unseen future classes in the chronological test split, which makes this very hard with one episode.
|
| 108 |
+
|
| 109 |
+
### `hand_trajectory_forecast`
|
| 110 |
+
|
| 111 |
+
**Goal:** Predict where the hands will move over the next few frames.
|
| 112 |
+
|
| 113 |
+
**Case study:** When the hand is moving toward a cup or bottle, the model predicts the future 3D hand-joint path.
|
| 114 |
+
|
| 115 |
+
**Input:** The current all-modality window vector at time t.
|
| 116 |
+
|
| 117 |
+
**Middle process modules:**
|
| 118 |
+
- Window builder chooses the current sensor window.
|
| 119 |
+
- Target builder extracts future left/right hand 3D joints from motion capture.
|
| 120 |
+
- Regression head predicts a continuous trajectory, not a class label.
|
| 121 |
+
- Output reshaper interprets the vector as future frames and joints.
|
| 122 |
+
- Evaluator computes MPJPE, the average 3D joint-position error.
|
| 123 |
+
|
| 124 |
+
**Output:** A future trajectory vector for left and right hand joints.
|
| 125 |
+
|
| 126 |
+
**Metric:** MPJPE (lower is better). Minimal `0.8223`, neural MLP `0.1116`.
|
| 127 |
+
|
| 128 |
+
**Junior mental model:** Instead of naming an action, this task draws the next hand path in 3D.
|
| 129 |
+
|
| 130 |
+
**Current limitation:** It is still a window-level forecast, not a full policy or long-horizon motion generator.
|
| 131 |
+
|
| 132 |
+
### `contact_prediction`
|
| 133 |
+
|
| 134 |
+
**Goal:** Predict whether the body or hand is in contact with something.
|
| 135 |
+
|
| 136 |
+
**Case study:** During manipulation, the hand may touch a cup, table, or bottle. The task asks whether any contact is happening.
|
| 137 |
+
|
| 138 |
+
**Input:** Non-contact and non-caption feature blocks, so the answer is not directly leaked from the target labels.
|
| 139 |
+
|
| 140 |
+
**Middle process modules:**
|
| 141 |
+
- Feature selector removes contact-label and caption-label blocks.
|
| 142 |
+
- Target builder converts contact annotations into a binary label.
|
| 143 |
+
- Binary classifier predicts contact vs no contact.
|
| 144 |
+
- Evaluator reports macro-F1 and accuracy.
|
| 145 |
+
- Degeneracy checker records whether only one class appears.
|
| 146 |
+
|
| 147 |
+
**Output:** A binary contact label.
|
| 148 |
+
|
| 149 |
+
**Metric:** macro-F1 (higher is better). Minimal `1.0000`, neural MLP `1.0000`.
|
| 150 |
+
|
| 151 |
+
**Junior mental model:** This is a simple physical-interaction probe: is the person touching something now?
|
| 152 |
+
|
| 153 |
+
**Current limitation:** The current public sample is degenerate for this task because one class dominates, so perfect score does not mean the model learned contact physics.
|
| 154 |
+
|
| 155 |
+
### `object_relevance`
|
| 156 |
+
|
| 157 |
+
**Goal:** Predict which objects matter in the current window.
|
| 158 |
+
|
| 159 |
+
**Case study:** If the person is pouring milk into coffee, relevant objects may include milk, cup, coffee, or container-like items.
|
| 160 |
+
|
| 161 |
+
**Input:** Non-caption feature blocks, so the model must infer objects from sensors rather than copying the caption words.
|
| 162 |
+
|
| 163 |
+
**Middle process modules:**
|
| 164 |
+
- Object vocabulary builder collects object labels from annotations.
|
| 165 |
+
- Feature selector removes caption-derived label blocks.
|
| 166 |
+
- Multi-label target builder creates a multi-hot object vector.
|
| 167 |
+
- Sigmoid heads predict each object's relevance independently.
|
| 168 |
+
- Evaluator reports micro-F1 and exact-match quality.
|
| 169 |
+
|
| 170 |
+
**Output:** A multi-label object set for the current window.
|
| 171 |
+
|
| 172 |
+
**Metric:** micro-F1 (higher is better). Minimal `0.1839`, neural MLP `0.1798`.
|
| 173 |
+
|
| 174 |
+
**Junior mental model:** A window can involve more than one object, so this is not a one-class classifier.
|
| 175 |
+
|
| 176 |
+
**Current limitation:** Object labels are sparse and language-derived, so this is currently a weak object-centric probe.
|
| 177 |
+
|
| 178 |
+
### `caption_grounding`
|
| 179 |
+
|
| 180 |
+
**Goal:** Given a text-like query from annotation, find the matching time window.
|
| 181 |
+
|
| 182 |
+
**Case study:** A query like Pour milk into coffee should rank the windows from the actual pouring moment higher than unrelated windows.
|
| 183 |
+
|
| 184 |
+
**Input:** Caption/object/interaction query features and a set of candidate sensor-window features.
|
| 185 |
+
|
| 186 |
+
**Middle process modules:**
|
| 187 |
+
- Query builder converts annotation words into a compact query representation.
|
| 188 |
+
- Candidate builder gathers held-out sensor windows.
|
| 189 |
+
- Projection head maps sensor windows into the query space.
|
| 190 |
+
- Ranker scores candidates by cosine similarity.
|
| 191 |
+
- Evaluator reports MRR and top-k retrieval accuracy.
|
| 192 |
+
|
| 193 |
+
**Output:** A ranked list of windows, with the correct matching window ideally near rank 1.
|
| 194 |
+
|
| 195 |
+
**Metric:** MRR (higher is better). Minimal `0.0172`, neural MLP `0.0178`.
|
| 196 |
+
|
| 197 |
+
**Junior mental model:** This is search: type a description, retrieve the matching moment.
|
| 198 |
+
|
| 199 |
+
**Current limitation:** Bag-of-objects text features are too simple for rich language grounding.
|
| 200 |
+
|
| 201 |
+
### `cross_modal_retrieval`
|
| 202 |
+
|
| 203 |
+
**Goal:** Use one group of modalities to retrieve the matching window from another group.
|
| 204 |
+
|
| 205 |
+
**Case study:** Use motion, IMU, and camera-pose signals from a pouring moment to retrieve the matching depth/video representation for that same moment.
|
| 206 |
+
|
| 207 |
+
**Input:** Query side: motion, IMU, and camera/pose features. Candidate side: depth and video features.
|
| 208 |
+
|
| 209 |
+
**Middle process modules:**
|
| 210 |
+
- Feature splitter separates query modalities from target modalities.
|
| 211 |
+
- Projection head maps the query vector into target-modality space.
|
| 212 |
+
- Candidate index stores target vectors from held-out windows.
|
| 213 |
+
- Ranker retrieves nearest candidates by cosine similarity.
|
| 214 |
+
- Evaluator reports MRR, top-1, top-5, and top-10 accuracy.
|
| 215 |
+
|
| 216 |
+
**Output:** A ranked list of candidate depth/video windows.
|
| 217 |
+
|
| 218 |
+
**Metric:** MRR (higher is better). Minimal `0.2634`, neural MLP `0.1530`.
|
| 219 |
+
|
| 220 |
+
**Junior mental model:** This checks whether different sensors agree about the same moment in time.
|
| 221 |
+
|
| 222 |
+
**Current limitation:** Good retrieval means useful alignment signal, but it is not yet 3D reconstruction or rendering.
|
| 223 |
+
|
| 224 |
+
### `modality_reconstruction`
|
| 225 |
+
|
| 226 |
+
**Goal:** Predict one modality feature block from other modality blocks.
|
| 227 |
+
|
| 228 |
+
**Case study:** Given motion, IMU, and camera-pose signals while the hand moves, predict the matching depth/video feature vector.
|
| 229 |
+
|
| 230 |
+
**Input:** Motion, IMU, and camera/pose features as input; depth/video features as the regression target.
|
| 231 |
+
|
| 232 |
+
**Middle process modules:**
|
| 233 |
+
- Feature splitter defines source and target modality blocks.
|
| 234 |
+
- Scaler normalizes source and target vectors using train statistics.
|
| 235 |
+
- Regression head predicts the target feature vector.
|
| 236 |
+
- Inverse scaler returns predictions to target scale.
|
| 237 |
+
- Evaluator reports MSE, MAE, and R2.
|
| 238 |
+
|
| 239 |
+
**Output:** A reconstructed depth/video feature vector.
|
| 240 |
+
|
| 241 |
+
**Metric:** R2 (higher is better). Minimal `-0.0160`, neural MLP `-0.0102`.
|
| 242 |
+
|
| 243 |
+
**Junior mental model:** This is feature-level imagination: can the model infer what another sensor would see?
|
| 244 |
+
|
| 245 |
+
**Current limitation:** This reconstructs compressed features, not raw pixels, depth maps, meshes, NeRFs, or Gaussian splats.
|
| 246 |
+
|
| 247 |
+
### `temporal_order`
|
| 248 |
+
|
| 249 |
+
**Goal:** Tell whether two nearby windows are in the correct time order.
|
| 250 |
+
|
| 251 |
+
**Case study:** If window A shows reaching and window B shows pouring, the model should distinguish A then B from B then A.
|
| 252 |
+
|
| 253 |
+
**Input:** A pair of adjacent window vectors, plus their difference vector.
|
| 254 |
+
|
| 255 |
+
**Middle process modules:**
|
| 256 |
+
- Pair builder creates correct-order and reversed-order examples.
|
| 257 |
+
- Feature combiner concatenates first window, second window, and their difference.
|
| 258 |
+
- Binary classifier predicts correct vs reversed.
|
| 259 |
+
- Evaluator reports F1, precision, and recall.
|
| 260 |
+
- Diagnostic reader interprets whether features encode local time direction.
|
| 261 |
+
|
| 262 |
+
**Output:** A binary label: correct order or reversed order.
|
| 263 |
+
|
| 264 |
+
**Metric:** F1 (higher is better). Minimal `0.5487`, neural MLP `0.8718`.
|
| 265 |
+
|
| 266 |
+
**Junior mental model:** This asks whether the representation knows which moment came first.
|
| 267 |
+
|
| 268 |
+
**Current limitation:** It only tests local ordering, not long-term planning or causality.
|
| 269 |
+
|
| 270 |
+
### `misalignment_detection`
|
| 271 |
+
|
| 272 |
+
**Goal:** Detect when modalities that should match are shifted out of sync.
|
| 273 |
+
|
| 274 |
+
**Case study:** Motion from a pouring moment is paired with video/depth from several windows later. The task asks the model to detect that mismatch.
|
| 275 |
+
|
| 276 |
+
**Input:** A motion-side feature group and a visual/depth-side feature group, either aligned or artificially shifted.
|
| 277 |
+
|
| 278 |
+
**Middle process modules:**
|
| 279 |
+
- Alignment builder creates positive pairs from the same time window.
|
| 280 |
+
- Shift builder creates negative pairs by offsetting one modality group.
|
| 281 |
+
- Feature combiner joins both sides into one example.
|
| 282 |
+
- Binary classifier predicts aligned vs misaligned.
|
| 283 |
+
- Evaluator reports F1 and accuracy.
|
| 284 |
+
|
| 285 |
+
**Output:** A binary label: aligned or shifted.
|
| 286 |
+
|
| 287 |
+
**Metric:** F1 (higher is better). Minimal `0.4866`, neural MLP `0.7335`.
|
| 288 |
+
|
| 289 |
+
**Junior mental model:** This is a synchronization alarm for multimodal data.
|
| 290 |
+
|
| 291 |
+
**Current limitation:** Synthetic shifts are useful diagnostics but do not solve calibration, reconstruction, or mapping by themselves.
|
results/episode_task_suite/task_walkthroughs/task_walkthroughs.json
ADDED
|
@@ -0,0 +1,310 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"source": "results/episode_task_suite/summary_report.json",
|
| 3 |
+
"scope": {
|
| 4 |
+
"episode_count": 1,
|
| 5 |
+
"num_frames": 5821,
|
| 6 |
+
"num_windows": 1161,
|
| 7 |
+
"feature_dim": 8378,
|
| 8 |
+
"window_frames": 20,
|
| 9 |
+
"stride_frames": 5,
|
| 10 |
+
"warning": "These walkthroughs explain task contracts on one public sample episode; they are not cross-episode performance claims."
|
| 11 |
+
},
|
| 12 |
+
"shared_pipeline": [
|
| 13 |
+
"Read annotation.hdf5 and synchronized video-derived features.",
|
| 14 |
+
"Slice the episode into 20-frame windows with stride 5.",
|
| 15 |
+
"Build an 8,378-d current feature vector from available modality blocks.",
|
| 16 |
+
"Construct a task-specific target from labels, future frames, paired windows, or modality splits.",
|
| 17 |
+
"Train a minimal head and, when enabled, a neural MLP head.",
|
| 18 |
+
"Write metrics, predictions, and model artifacts for review."
|
| 19 |
+
],
|
| 20 |
+
"tasks": {
|
| 21 |
+
"timeline_action": {
|
| 22 |
+
"plain_goal": "Look at one short multimodal window and name what action is happening now.",
|
| 23 |
+
"case_study": "In the coffee-making sample, if the 20-frame window is during a pouring moment, the task asks the model to output an action such as Pour coffee or Pour milk into coffee.",
|
| 24 |
+
"input": "One 20-frame window represented by the current 8,378-d feature vector: video/depth summaries, pose, SLAM/camera pose, motion capture, IMU, calibration, and language-derived context.",
|
| 25 |
+
"middle_modules": [
|
| 26 |
+
"Window builder slices the episode into short overlapping windows.",
|
| 27 |
+
"Feature assembler concatenates all current feature blocks.",
|
| 28 |
+
"Label builder reads the action annotation for the center of the window.",
|
| 29 |
+
"Classifier head maps the window vector to one action class.",
|
| 30 |
+
"Evaluator compares predicted action labels against the held-out chronological segment."
|
| 31 |
+
],
|
| 32 |
+
"output": "A single action class for the current window.",
|
| 33 |
+
"junior_tip": "This is like asking: given this tiny movie clip plus sensor readings, what is the person doing right now?",
|
| 34 |
+
"failure_mode": "The one-episode chronological split contains future action classes that were not present in training, so low test macro-F1 is expected.",
|
| 35 |
+
"task": "timeline_action",
|
| 36 |
+
"metric": {
|
| 37 |
+
"key": "macro_f1",
|
| 38 |
+
"name": "macro-F1",
|
| 39 |
+
"direction": "higher",
|
| 40 |
+
"minimal": 0.05,
|
| 41 |
+
"neural_mlp": 0.02631578947368421
|
| 42 |
+
},
|
| 43 |
+
"module_summary": "input window -> feature/target builder -> baseline head -> evaluator -> artifact files"
|
| 44 |
+
},
|
| 45 |
+
"timeline_subtask": {
|
| 46 |
+
"plain_goal": "Predict the higher-level task stage for the current window.",
|
| 47 |
+
"case_study": "A pouring action may belong to a broader subtask such as preparing or pouring a drink. The model predicts that broader stage instead of a fine action.",
|
| 48 |
+
"input": "The same all-modality 8,378-d window vector used by action recognition.",
|
| 49 |
+
"middle_modules": [
|
| 50 |
+
"Window builder creates the current temporal slice.",
|
| 51 |
+
"Feature assembler keeps all available modality blocks.",
|
| 52 |
+
"Subtask label builder maps the current timestamp to a subtask annotation.",
|
| 53 |
+
"Classifier head predicts the subtask class.",
|
| 54 |
+
"Evaluator reports class-balanced scores so rare subtasks matter."
|
| 55 |
+
],
|
| 56 |
+
"output": "A single subtask label for the current window.",
|
| 57 |
+
"junior_tip": "Action is the verb; subtask is the chapter of the activity.",
|
| 58 |
+
"failure_mode": "Single-episode ordering means some later subtasks appear only in test, so this is a pipeline check rather than a general benchmark.",
|
| 59 |
+
"task": "timeline_subtask",
|
| 60 |
+
"metric": {
|
| 61 |
+
"key": "macro_f1",
|
| 62 |
+
"name": "macro-F1",
|
| 63 |
+
"direction": "higher",
|
| 64 |
+
"minimal": 0.04954121121178666,
|
| 65 |
+
"neural_mlp": 0.017518248175182476
|
| 66 |
+
},
|
| 67 |
+
"module_summary": "input window -> feature/target builder -> baseline head -> evaluator -> artifact files"
|
| 68 |
+
},
|
| 69 |
+
"transition_detection": {
|
| 70 |
+
"plain_goal": "Detect whether the current window is near a boundary between actions.",
|
| 71 |
+
"case_study": "When the demonstrator changes from preparing to pouring, the model should flag a boundary instead of a steady action window.",
|
| 72 |
+
"input": "One all-modality window vector plus labels derived from action-change timestamps.",
|
| 73 |
+
"middle_modules": [
|
| 74 |
+
"Boundary builder scans action labels over time and marks windows near a change.",
|
| 75 |
+
"Feature assembler supplies all current modality features.",
|
| 76 |
+
"Binary classifier predicts steady vs boundary.",
|
| 77 |
+
"Boundary matcher checks whether predicted boundary times are close to true boundary times.",
|
| 78 |
+
"Evaluator reports macro-F1 and timing error, not just accuracy."
|
| 79 |
+
],
|
| 80 |
+
"output": "A binary label: boundary or steady.",
|
| 81 |
+
"junior_tip": "This is the model's way of saying: something just changed here.",
|
| 82 |
+
"failure_mode": "Boundaries are rare, so high accuracy can be misleading if the model predicts steady too often.",
|
| 83 |
+
"task": "transition_detection",
|
| 84 |
+
"metric": {
|
| 85 |
+
"key": "macro_f1",
|
| 86 |
+
"name": "macro-F1",
|
| 87 |
+
"direction": "higher",
|
| 88 |
+
"minimal": 0.6551829268292684,
|
| 89 |
+
"neural_mlp": 0.6484848484848484
|
| 90 |
+
},
|
| 91 |
+
"module_summary": "input window -> feature/target builder -> baseline head -> evaluator -> artifact files"
|
| 92 |
+
},
|
| 93 |
+
"next_action": {
|
| 94 |
+
"plain_goal": "Use the current window to guess the action that will happen shortly after it.",
|
| 95 |
+
"case_study": "If a window shows the person preparing to pour, the target can be the action 20 frames later, such as the start of pouring.",
|
| 96 |
+
"input": "The current all-modality window vector at time t.",
|
| 97 |
+
"middle_modules": [
|
| 98 |
+
"Window builder picks a current time window.",
|
| 99 |
+
"Future label builder shifts the action target by 20 frames.",
|
| 100 |
+
"Feature assembler uses only current information, not future features.",
|
| 101 |
+
"Classifier head predicts the future action class.",
|
| 102 |
+
"Evaluator checks whether the future action label is correct."
|
| 103 |
+
],
|
| 104 |
+
"output": "A single action class for t+20 frames.",
|
| 105 |
+
"junior_tip": "This is short-horizon intention prediction: what will the person do next?",
|
| 106 |
+
"failure_mode": "The public sample has unseen future classes in the chronological test split, which makes this very hard with one episode.",
|
| 107 |
+
"task": "next_action",
|
| 108 |
+
"metric": {
|
| 109 |
+
"key": "macro_f1",
|
| 110 |
+
"name": "macro-F1",
|
| 111 |
+
"direction": "higher",
|
| 112 |
+
"minimal": 0.05925925925925927,
|
| 113 |
+
"neural_mlp": 0.023529411764705882
|
| 114 |
+
},
|
| 115 |
+
"module_summary": "input window -> feature/target builder -> baseline head -> evaluator -> artifact files"
|
| 116 |
+
},
|
| 117 |
+
"hand_trajectory_forecast": {
|
| 118 |
+
"plain_goal": "Predict where the hands will move over the next few frames.",
|
| 119 |
+
"case_study": "When the hand is moving toward a cup or bottle, the model predicts the future 3D hand-joint path.",
|
| 120 |
+
"input": "The current all-modality window vector at time t.",
|
| 121 |
+
"middle_modules": [
|
| 122 |
+
"Window builder chooses the current sensor window.",
|
| 123 |
+
"Target builder extracts future left/right hand 3D joints from motion capture.",
|
| 124 |
+
"Regression head predicts a continuous trajectory, not a class label.",
|
| 125 |
+
"Output reshaper interprets the vector as future frames and joints.",
|
| 126 |
+
"Evaluator computes MPJPE, the average 3D joint-position error."
|
| 127 |
+
],
|
| 128 |
+
"output": "A future trajectory vector for left and right hand joints.",
|
| 129 |
+
"junior_tip": "Instead of naming an action, this task draws the next hand path in 3D.",
|
| 130 |
+
"failure_mode": "It is still a window-level forecast, not a full policy or long-horizon motion generator.",
|
| 131 |
+
"task": "hand_trajectory_forecast",
|
| 132 |
+
"metric": {
|
| 133 |
+
"key": "mpjpe",
|
| 134 |
+
"name": "MPJPE",
|
| 135 |
+
"direction": "lower",
|
| 136 |
+
"minimal": 0.8222644925117493,
|
| 137 |
+
"neural_mlp": 0.11163123697042465
|
| 138 |
+
},
|
| 139 |
+
"module_summary": "input window -> feature/target builder -> baseline head -> evaluator -> artifact files"
|
| 140 |
+
},
|
| 141 |
+
"contact_prediction": {
|
| 142 |
+
"plain_goal": "Predict whether the body or hand is in contact with something.",
|
| 143 |
+
"case_study": "During manipulation, the hand may touch a cup, table, or bottle. The task asks whether any contact is happening.",
|
| 144 |
+
"input": "Non-contact and non-caption feature blocks, so the answer is not directly leaked from the target labels.",
|
| 145 |
+
"middle_modules": [
|
| 146 |
+
"Feature selector removes contact-label and caption-label blocks.",
|
| 147 |
+
"Target builder converts contact annotations into a binary label.",
|
| 148 |
+
"Binary classifier predicts contact vs no contact.",
|
| 149 |
+
"Evaluator reports macro-F1 and accuracy.",
|
| 150 |
+
"Degeneracy checker records whether only one class appears."
|
| 151 |
+
],
|
| 152 |
+
"output": "A binary contact label.",
|
| 153 |
+
"junior_tip": "This is a simple physical-interaction probe: is the person touching something now?",
|
| 154 |
+
"failure_mode": "The current public sample is degenerate for this task because one class dominates, so perfect score does not mean the model learned contact physics.",
|
| 155 |
+
"task": "contact_prediction",
|
| 156 |
+
"metric": {
|
| 157 |
+
"key": "macro_f1",
|
| 158 |
+
"name": "macro-F1",
|
| 159 |
+
"direction": "higher",
|
| 160 |
+
"minimal": 1.0,
|
| 161 |
+
"neural_mlp": 1.0
|
| 162 |
+
},
|
| 163 |
+
"module_summary": "input window -> feature/target builder -> baseline head -> evaluator -> artifact files"
|
| 164 |
+
},
|
| 165 |
+
"object_relevance": {
|
| 166 |
+
"plain_goal": "Predict which objects matter in the current window.",
|
| 167 |
+
"case_study": "If the person is pouring milk into coffee, relevant objects may include milk, cup, coffee, or container-like items.",
|
| 168 |
+
"input": "Non-caption feature blocks, so the model must infer objects from sensors rather than copying the caption words.",
|
| 169 |
+
"middle_modules": [
|
| 170 |
+
"Object vocabulary builder collects object labels from annotations.",
|
| 171 |
+
"Feature selector removes caption-derived label blocks.",
|
| 172 |
+
"Multi-label target builder creates a multi-hot object vector.",
|
| 173 |
+
"Sigmoid heads predict each object's relevance independently.",
|
| 174 |
+
"Evaluator reports micro-F1 and exact-match quality."
|
| 175 |
+
],
|
| 176 |
+
"output": "A multi-label object set for the current window.",
|
| 177 |
+
"junior_tip": "A window can involve more than one object, so this is not a one-class classifier.",
|
| 178 |
+
"failure_mode": "Object labels are sparse and language-derived, so this is currently a weak object-centric probe.",
|
| 179 |
+
"task": "object_relevance",
|
| 180 |
+
"metric": {
|
| 181 |
+
"key": "micro_f1",
|
| 182 |
+
"name": "micro-F1",
|
| 183 |
+
"direction": "higher",
|
| 184 |
+
"minimal": 0.18393030009680542,
|
| 185 |
+
"neural_mlp": 0.1797583081570997
|
| 186 |
+
},
|
| 187 |
+
"module_summary": "input window -> feature/target builder -> baseline head -> evaluator -> artifact files"
|
| 188 |
+
},
|
| 189 |
+
"caption_grounding": {
|
| 190 |
+
"plain_goal": "Given a text-like query from annotation, find the matching time window.",
|
| 191 |
+
"case_study": "A query like Pour milk into coffee should rank the windows from the actual pouring moment higher than unrelated windows.",
|
| 192 |
+
"input": "Caption/object/interaction query features and a set of candidate sensor-window features.",
|
| 193 |
+
"middle_modules": [
|
| 194 |
+
"Query builder converts annotation words into a compact query representation.",
|
| 195 |
+
"Candidate builder gathers held-out sensor windows.",
|
| 196 |
+
"Projection head maps sensor windows into the query space.",
|
| 197 |
+
"Ranker scores candidates by cosine similarity.",
|
| 198 |
+
"Evaluator reports MRR and top-k retrieval accuracy."
|
| 199 |
+
],
|
| 200 |
+
"output": "A ranked list of windows, with the correct matching window ideally near rank 1.",
|
| 201 |
+
"junior_tip": "This is search: type a description, retrieve the matching moment.",
|
| 202 |
+
"failure_mode": "Bag-of-objects text features are too simple for rich language grounding.",
|
| 203 |
+
"task": "caption_grounding",
|
| 204 |
+
"metric": {
|
| 205 |
+
"key": "mrr",
|
| 206 |
+
"name": "MRR",
|
| 207 |
+
"direction": "higher",
|
| 208 |
+
"minimal": 0.017183946083791223,
|
| 209 |
+
"neural_mlp": 0.01781111161035397
|
| 210 |
+
},
|
| 211 |
+
"module_summary": "input window -> feature/target builder -> baseline head -> evaluator -> artifact files"
|
| 212 |
+
},
|
| 213 |
+
"cross_modal_retrieval": {
|
| 214 |
+
"plain_goal": "Use one group of modalities to retrieve the matching window from another group.",
|
| 215 |
+
"case_study": "Use motion, IMU, and camera-pose signals from a pouring moment to retrieve the matching depth/video representation for that same moment.",
|
| 216 |
+
"input": "Query side: motion, IMU, and camera/pose features. Candidate side: depth and video features.",
|
| 217 |
+
"middle_modules": [
|
| 218 |
+
"Feature splitter separates query modalities from target modalities.",
|
| 219 |
+
"Projection head maps the query vector into target-modality space.",
|
| 220 |
+
"Candidate index stores target vectors from held-out windows.",
|
| 221 |
+
"Ranker retrieves nearest candidates by cosine similarity.",
|
| 222 |
+
"Evaluator reports MRR, top-1, top-5, and top-10 accuracy."
|
| 223 |
+
],
|
| 224 |
+
"output": "A ranked list of candidate depth/video windows.",
|
| 225 |
+
"junior_tip": "This checks whether different sensors agree about the same moment in time.",
|
| 226 |
+
"failure_mode": "Good retrieval means useful alignment signal, but it is not yet 3D reconstruction or rendering.",
|
| 227 |
+
"task": "cross_modal_retrieval",
|
| 228 |
+
"metric": {
|
| 229 |
+
"key": "mrr",
|
| 230 |
+
"name": "MRR",
|
| 231 |
+
"direction": "higher",
|
| 232 |
+
"minimal": 0.26335984006618296,
|
| 233 |
+
"neural_mlp": 0.1530070022204131
|
| 234 |
+
},
|
| 235 |
+
"module_summary": "input window -> feature/target builder -> baseline head -> evaluator -> artifact files"
|
| 236 |
+
},
|
| 237 |
+
"modality_reconstruction": {
|
| 238 |
+
"plain_goal": "Predict one modality feature block from other modality blocks.",
|
| 239 |
+
"case_study": "Given motion, IMU, and camera-pose signals while the hand moves, predict the matching depth/video feature vector.",
|
| 240 |
+
"input": "Motion, IMU, and camera/pose features as input; depth/video features as the regression target.",
|
| 241 |
+
"middle_modules": [
|
| 242 |
+
"Feature splitter defines source and target modality blocks.",
|
| 243 |
+
"Scaler normalizes source and target vectors using train statistics.",
|
| 244 |
+
"Regression head predicts the target feature vector.",
|
| 245 |
+
"Inverse scaler returns predictions to target scale.",
|
| 246 |
+
"Evaluator reports MSE, MAE, and R2."
|
| 247 |
+
],
|
| 248 |
+
"output": "A reconstructed depth/video feature vector.",
|
| 249 |
+
"junior_tip": "This is feature-level imagination: can the model infer what another sensor would see?",
|
| 250 |
+
"failure_mode": "This reconstructs compressed features, not raw pixels, depth maps, meshes, NeRFs, or Gaussian splats.",
|
| 251 |
+
"task": "modality_reconstruction",
|
| 252 |
+
"metric": {
|
| 253 |
+
"key": "r2",
|
| 254 |
+
"name": "R2",
|
| 255 |
+
"direction": "higher",
|
| 256 |
+
"minimal": -0.016022846771134747,
|
| 257 |
+
"neural_mlp": -0.010198171891414143
|
| 258 |
+
},
|
| 259 |
+
"module_summary": "input window -> feature/target builder -> baseline head -> evaluator -> artifact files"
|
| 260 |
+
},
|
| 261 |
+
"temporal_order": {
|
| 262 |
+
"plain_goal": "Tell whether two nearby windows are in the correct time order.",
|
| 263 |
+
"case_study": "If window A shows reaching and window B shows pouring, the model should distinguish A then B from B then A.",
|
| 264 |
+
"input": "A pair of adjacent window vectors, plus their difference vector.",
|
| 265 |
+
"middle_modules": [
|
| 266 |
+
"Pair builder creates correct-order and reversed-order examples.",
|
| 267 |
+
"Feature combiner concatenates first window, second window, and their difference.",
|
| 268 |
+
"Binary classifier predicts correct vs reversed.",
|
| 269 |
+
"Evaluator reports F1, precision, and recall.",
|
| 270 |
+
"Diagnostic reader interprets whether features encode local time direction."
|
| 271 |
+
],
|
| 272 |
+
"output": "A binary label: correct order or reversed order.",
|
| 273 |
+
"junior_tip": "This asks whether the representation knows which moment came first.",
|
| 274 |
+
"failure_mode": "It only tests local ordering, not long-term planning or causality.",
|
| 275 |
+
"task": "temporal_order",
|
| 276 |
+
"metric": {
|
| 277 |
+
"key": "f1",
|
| 278 |
+
"name": "F1",
|
| 279 |
+
"direction": "higher",
|
| 280 |
+
"minimal": 0.5487364620938628,
|
| 281 |
+
"neural_mlp": 0.8717948717948718
|
| 282 |
+
},
|
| 283 |
+
"module_summary": "input window -> feature/target builder -> baseline head -> evaluator -> artifact files"
|
| 284 |
+
},
|
| 285 |
+
"misalignment_detection": {
|
| 286 |
+
"plain_goal": "Detect when modalities that should match are shifted out of sync.",
|
| 287 |
+
"case_study": "Motion from a pouring moment is paired with video/depth from several windows later. The task asks the model to detect that mismatch.",
|
| 288 |
+
"input": "A motion-side feature group and a visual/depth-side feature group, either aligned or artificially shifted.",
|
| 289 |
+
"middle_modules": [
|
| 290 |
+
"Alignment builder creates positive pairs from the same time window.",
|
| 291 |
+
"Shift builder creates negative pairs by offsetting one modality group.",
|
| 292 |
+
"Feature combiner joins both sides into one example.",
|
| 293 |
+
"Binary classifier predicts aligned vs misaligned.",
|
| 294 |
+
"Evaluator reports F1 and accuracy."
|
| 295 |
+
],
|
| 296 |
+
"output": "A binary label: aligned or shifted.",
|
| 297 |
+
"junior_tip": "This is a synchronization alarm for multimodal data.",
|
| 298 |
+
"failure_mode": "Synthetic shifts are useful diagnostics but do not solve calibration, reconstruction, or mapping by themselves.",
|
| 299 |
+
"task": "misalignment_detection",
|
| 300 |
+
"metric": {
|
| 301 |
+
"key": "f1",
|
| 302 |
+
"name": "F1",
|
| 303 |
+
"direction": "higher",
|
| 304 |
+
"minimal": 0.4865671641791045,
|
| 305 |
+
"neural_mlp": 0.7335243553008597
|
| 306 |
+
},
|
| 307 |
+
"module_summary": "input window -> feature/target builder -> baseline head -> evaluator -> artifact files"
|
| 308 |
+
}
|
| 309 |
+
}
|
| 310 |
+
}
|
scripts/task_walkthroughs.py
ADDED
|
@@ -0,0 +1,362 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Generate junior-friendly walkthroughs for each Xperience-10M task."""
|
| 3 |
+
|
| 4 |
+
from __future__ import annotations
|
| 5 |
+
|
| 6 |
+
import json
|
| 7 |
+
from collections import OrderedDict
|
| 8 |
+
from pathlib import Path
|
| 9 |
+
from typing import Any
|
| 10 |
+
|
| 11 |
+
from research_direction_taxonomy import METRIC_SPECS, fmt_metric
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
ROOT = Path(__file__).resolve().parents[1]
|
| 15 |
+
RESULTS = ROOT / "results" / "episode_task_suite"
|
| 16 |
+
OUT_DIR = RESULTS / "task_walkthroughs"
|
| 17 |
+
DOCS_DATA = ROOT / "docs" / "data"
|
| 18 |
+
SUMMARY_REPORT = RESULTS / "summary_report.json"
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
TASK_WALKTHROUGHS: OrderedDict[str, dict[str, Any]] = OrderedDict(
|
| 22 |
+
[
|
| 23 |
+
(
|
| 24 |
+
"timeline_action",
|
| 25 |
+
{
|
| 26 |
+
"plain_goal": "Look at one short multimodal window and name what action is happening now.",
|
| 27 |
+
"case_study": "In the coffee-making sample, if the 20-frame window is during a pouring moment, the task asks the model to output an action such as Pour coffee or Pour milk into coffee.",
|
| 28 |
+
"input": "One 20-frame window represented by the current 8,378-d feature vector: video/depth summaries, pose, SLAM/camera pose, motion capture, IMU, calibration, and language-derived context.",
|
| 29 |
+
"middle_modules": [
|
| 30 |
+
"Window builder slices the episode into short overlapping windows.",
|
| 31 |
+
"Feature assembler concatenates all current feature blocks.",
|
| 32 |
+
"Label builder reads the action annotation for the center of the window.",
|
| 33 |
+
"Classifier head maps the window vector to one action class.",
|
| 34 |
+
"Evaluator compares predicted action labels against the held-out chronological segment.",
|
| 35 |
+
],
|
| 36 |
+
"output": "A single action class for the current window.",
|
| 37 |
+
"junior_tip": "This is like asking: given this tiny movie clip plus sensor readings, what is the person doing right now?",
|
| 38 |
+
"failure_mode": "The one-episode chronological split contains future action classes that were not present in training, so low test macro-F1 is expected.",
|
| 39 |
+
},
|
| 40 |
+
),
|
| 41 |
+
(
|
| 42 |
+
"timeline_subtask",
|
| 43 |
+
{
|
| 44 |
+
"plain_goal": "Predict the higher-level task stage for the current window.",
|
| 45 |
+
"case_study": "A pouring action may belong to a broader subtask such as preparing or pouring a drink. The model predicts that broader stage instead of a fine action.",
|
| 46 |
+
"input": "The same all-modality 8,378-d window vector used by action recognition.",
|
| 47 |
+
"middle_modules": [
|
| 48 |
+
"Window builder creates the current temporal slice.",
|
| 49 |
+
"Feature assembler keeps all available modality blocks.",
|
| 50 |
+
"Subtask label builder maps the current timestamp to a subtask annotation.",
|
| 51 |
+
"Classifier head predicts the subtask class.",
|
| 52 |
+
"Evaluator reports class-balanced scores so rare subtasks matter.",
|
| 53 |
+
],
|
| 54 |
+
"output": "A single subtask label for the current window.",
|
| 55 |
+
"junior_tip": "Action is the verb; subtask is the chapter of the activity.",
|
| 56 |
+
"failure_mode": "Single-episode ordering means some later subtasks appear only in test, so this is a pipeline check rather than a general benchmark.",
|
| 57 |
+
},
|
| 58 |
+
),
|
| 59 |
+
(
|
| 60 |
+
"transition_detection",
|
| 61 |
+
{
|
| 62 |
+
"plain_goal": "Detect whether the current window is near a boundary between actions.",
|
| 63 |
+
"case_study": "When the demonstrator changes from preparing to pouring, the model should flag a boundary instead of a steady action window.",
|
| 64 |
+
"input": "One all-modality window vector plus labels derived from action-change timestamps.",
|
| 65 |
+
"middle_modules": [
|
| 66 |
+
"Boundary builder scans action labels over time and marks windows near a change.",
|
| 67 |
+
"Feature assembler supplies all current modality features.",
|
| 68 |
+
"Binary classifier predicts steady vs boundary.",
|
| 69 |
+
"Boundary matcher checks whether predicted boundary times are close to true boundary times.",
|
| 70 |
+
"Evaluator reports macro-F1 and timing error, not just accuracy.",
|
| 71 |
+
],
|
| 72 |
+
"output": "A binary label: boundary or steady.",
|
| 73 |
+
"junior_tip": "This is the model's way of saying: something just changed here.",
|
| 74 |
+
"failure_mode": "Boundaries are rare, so high accuracy can be misleading if the model predicts steady too often.",
|
| 75 |
+
},
|
| 76 |
+
),
|
| 77 |
+
(
|
| 78 |
+
"next_action",
|
| 79 |
+
{
|
| 80 |
+
"plain_goal": "Use the current window to guess the action that will happen shortly after it.",
|
| 81 |
+
"case_study": "If a window shows the person preparing to pour, the target can be the action 20 frames later, such as the start of pouring.",
|
| 82 |
+
"input": "The current all-modality window vector at time t.",
|
| 83 |
+
"middle_modules": [
|
| 84 |
+
"Window builder picks a current time window.",
|
| 85 |
+
"Future label builder shifts the action target by 20 frames.",
|
| 86 |
+
"Feature assembler uses only current information, not future features.",
|
| 87 |
+
"Classifier head predicts the future action class.",
|
| 88 |
+
"Evaluator checks whether the future action label is correct.",
|
| 89 |
+
],
|
| 90 |
+
"output": "A single action class for t+20 frames.",
|
| 91 |
+
"junior_tip": "This is short-horizon intention prediction: what will the person do next?",
|
| 92 |
+
"failure_mode": "The public sample has unseen future classes in the chronological test split, which makes this very hard with one episode.",
|
| 93 |
+
},
|
| 94 |
+
),
|
| 95 |
+
(
|
| 96 |
+
"hand_trajectory_forecast",
|
| 97 |
+
{
|
| 98 |
+
"plain_goal": "Predict where the hands will move over the next few frames.",
|
| 99 |
+
"case_study": "When the hand is moving toward a cup or bottle, the model predicts the future 3D hand-joint path.",
|
| 100 |
+
"input": "The current all-modality window vector at time t.",
|
| 101 |
+
"middle_modules": [
|
| 102 |
+
"Window builder chooses the current sensor window.",
|
| 103 |
+
"Target builder extracts future left/right hand 3D joints from motion capture.",
|
| 104 |
+
"Regression head predicts a continuous trajectory, not a class label.",
|
| 105 |
+
"Output reshaper interprets the vector as future frames and joints.",
|
| 106 |
+
"Evaluator computes MPJPE, the average 3D joint-position error.",
|
| 107 |
+
],
|
| 108 |
+
"output": "A future trajectory vector for left and right hand joints.",
|
| 109 |
+
"junior_tip": "Instead of naming an action, this task draws the next hand path in 3D.",
|
| 110 |
+
"failure_mode": "It is still a window-level forecast, not a full policy or long-horizon motion generator.",
|
| 111 |
+
},
|
| 112 |
+
),
|
| 113 |
+
(
|
| 114 |
+
"contact_prediction",
|
| 115 |
+
{
|
| 116 |
+
"plain_goal": "Predict whether the body or hand is in contact with something.",
|
| 117 |
+
"case_study": "During manipulation, the hand may touch a cup, table, or bottle. The task asks whether any contact is happening.",
|
| 118 |
+
"input": "Non-contact and non-caption feature blocks, so the answer is not directly leaked from the target labels.",
|
| 119 |
+
"middle_modules": [
|
| 120 |
+
"Feature selector removes contact-label and caption-label blocks.",
|
| 121 |
+
"Target builder converts contact annotations into a binary label.",
|
| 122 |
+
"Binary classifier predicts contact vs no contact.",
|
| 123 |
+
"Evaluator reports macro-F1 and accuracy.",
|
| 124 |
+
"Degeneracy checker records whether only one class appears.",
|
| 125 |
+
],
|
| 126 |
+
"output": "A binary contact label.",
|
| 127 |
+
"junior_tip": "This is a simple physical-interaction probe: is the person touching something now?",
|
| 128 |
+
"failure_mode": "The current public sample is degenerate for this task because one class dominates, so perfect score does not mean the model learned contact physics.",
|
| 129 |
+
},
|
| 130 |
+
),
|
| 131 |
+
(
|
| 132 |
+
"object_relevance",
|
| 133 |
+
{
|
| 134 |
+
"plain_goal": "Predict which objects matter in the current window.",
|
| 135 |
+
"case_study": "If the person is pouring milk into coffee, relevant objects may include milk, cup, coffee, or container-like items.",
|
| 136 |
+
"input": "Non-caption feature blocks, so the model must infer objects from sensors rather than copying the caption words.",
|
| 137 |
+
"middle_modules": [
|
| 138 |
+
"Object vocabulary builder collects object labels from annotations.",
|
| 139 |
+
"Feature selector removes caption-derived label blocks.",
|
| 140 |
+
"Multi-label target builder creates a multi-hot object vector.",
|
| 141 |
+
"Sigmoid heads predict each object's relevance independently.",
|
| 142 |
+
"Evaluator reports micro-F1 and exact-match quality.",
|
| 143 |
+
],
|
| 144 |
+
"output": "A multi-label object set for the current window.",
|
| 145 |
+
"junior_tip": "A window can involve more than one object, so this is not a one-class classifier.",
|
| 146 |
+
"failure_mode": "Object labels are sparse and language-derived, so this is currently a weak object-centric probe.",
|
| 147 |
+
},
|
| 148 |
+
),
|
| 149 |
+
(
|
| 150 |
+
"caption_grounding",
|
| 151 |
+
{
|
| 152 |
+
"plain_goal": "Given a text-like query from annotation, find the matching time window.",
|
| 153 |
+
"case_study": "A query like Pour milk into coffee should rank the windows from the actual pouring moment higher than unrelated windows.",
|
| 154 |
+
"input": "Caption/object/interaction query features and a set of candidate sensor-window features.",
|
| 155 |
+
"middle_modules": [
|
| 156 |
+
"Query builder converts annotation words into a compact query representation.",
|
| 157 |
+
"Candidate builder gathers held-out sensor windows.",
|
| 158 |
+
"Projection head maps sensor windows into the query space.",
|
| 159 |
+
"Ranker scores candidates by cosine similarity.",
|
| 160 |
+
"Evaluator reports MRR and top-k retrieval accuracy.",
|
| 161 |
+
],
|
| 162 |
+
"output": "A ranked list of windows, with the correct matching window ideally near rank 1.",
|
| 163 |
+
"junior_tip": "This is search: type a description, retrieve the matching moment.",
|
| 164 |
+
"failure_mode": "Bag-of-objects text features are too simple for rich language grounding.",
|
| 165 |
+
},
|
| 166 |
+
),
|
| 167 |
+
(
|
| 168 |
+
"cross_modal_retrieval",
|
| 169 |
+
{
|
| 170 |
+
"plain_goal": "Use one group of modalities to retrieve the matching window from another group.",
|
| 171 |
+
"case_study": "Use motion, IMU, and camera-pose signals from a pouring moment to retrieve the matching depth/video representation for that same moment.",
|
| 172 |
+
"input": "Query side: motion, IMU, and camera/pose features. Candidate side: depth and video features.",
|
| 173 |
+
"middle_modules": [
|
| 174 |
+
"Feature splitter separates query modalities from target modalities.",
|
| 175 |
+
"Projection head maps the query vector into target-modality space.",
|
| 176 |
+
"Candidate index stores target vectors from held-out windows.",
|
| 177 |
+
"Ranker retrieves nearest candidates by cosine similarity.",
|
| 178 |
+
"Evaluator reports MRR, top-1, top-5, and top-10 accuracy.",
|
| 179 |
+
],
|
| 180 |
+
"output": "A ranked list of candidate depth/video windows.",
|
| 181 |
+
"junior_tip": "This checks whether different sensors agree about the same moment in time.",
|
| 182 |
+
"failure_mode": "Good retrieval means useful alignment signal, but it is not yet 3D reconstruction or rendering.",
|
| 183 |
+
},
|
| 184 |
+
),
|
| 185 |
+
(
|
| 186 |
+
"modality_reconstruction",
|
| 187 |
+
{
|
| 188 |
+
"plain_goal": "Predict one modality feature block from other modality blocks.",
|
| 189 |
+
"case_study": "Given motion, IMU, and camera-pose signals while the hand moves, predict the matching depth/video feature vector.",
|
| 190 |
+
"input": "Motion, IMU, and camera/pose features as input; depth/video features as the regression target.",
|
| 191 |
+
"middle_modules": [
|
| 192 |
+
"Feature splitter defines source and target modality blocks.",
|
| 193 |
+
"Scaler normalizes source and target vectors using train statistics.",
|
| 194 |
+
"Regression head predicts the target feature vector.",
|
| 195 |
+
"Inverse scaler returns predictions to target scale.",
|
| 196 |
+
"Evaluator reports MSE, MAE, and R2.",
|
| 197 |
+
],
|
| 198 |
+
"output": "A reconstructed depth/video feature vector.",
|
| 199 |
+
"junior_tip": "This is feature-level imagination: can the model infer what another sensor would see?",
|
| 200 |
+
"failure_mode": "This reconstructs compressed features, not raw pixels, depth maps, meshes, NeRFs, or Gaussian splats.",
|
| 201 |
+
},
|
| 202 |
+
),
|
| 203 |
+
(
|
| 204 |
+
"temporal_order",
|
| 205 |
+
{
|
| 206 |
+
"plain_goal": "Tell whether two nearby windows are in the correct time order.",
|
| 207 |
+
"case_study": "If window A shows reaching and window B shows pouring, the model should distinguish A then B from B then A.",
|
| 208 |
+
"input": "A pair of adjacent window vectors, plus their difference vector.",
|
| 209 |
+
"middle_modules": [
|
| 210 |
+
"Pair builder creates correct-order and reversed-order examples.",
|
| 211 |
+
"Feature combiner concatenates first window, second window, and their difference.",
|
| 212 |
+
"Binary classifier predicts correct vs reversed.",
|
| 213 |
+
"Evaluator reports F1, precision, and recall.",
|
| 214 |
+
"Diagnostic reader interprets whether features encode local time direction.",
|
| 215 |
+
],
|
| 216 |
+
"output": "A binary label: correct order or reversed order.",
|
| 217 |
+
"junior_tip": "This asks whether the representation knows which moment came first.",
|
| 218 |
+
"failure_mode": "It only tests local ordering, not long-term planning or causality.",
|
| 219 |
+
},
|
| 220 |
+
),
|
| 221 |
+
(
|
| 222 |
+
"misalignment_detection",
|
| 223 |
+
{
|
| 224 |
+
"plain_goal": "Detect when modalities that should match are shifted out of sync.",
|
| 225 |
+
"case_study": "Motion from a pouring moment is paired with video/depth from several windows later. The task asks the model to detect that mismatch.",
|
| 226 |
+
"input": "A motion-side feature group and a visual/depth-side feature group, either aligned or artificially shifted.",
|
| 227 |
+
"middle_modules": [
|
| 228 |
+
"Alignment builder creates positive pairs from the same time window.",
|
| 229 |
+
"Shift builder creates negative pairs by offsetting one modality group.",
|
| 230 |
+
"Feature combiner joins both sides into one example.",
|
| 231 |
+
"Binary classifier predicts aligned vs misaligned.",
|
| 232 |
+
"Evaluator reports F1 and accuracy.",
|
| 233 |
+
],
|
| 234 |
+
"output": "A binary label: aligned or shifted.",
|
| 235 |
+
"junior_tip": "This is a synchronization alarm for multimodal data.",
|
| 236 |
+
"failure_mode": "Synthetic shifts are useful diagnostics but do not solve calibration, reconstruction, or mapping by themselves.",
|
| 237 |
+
},
|
| 238 |
+
),
|
| 239 |
+
]
|
| 240 |
+
)
|
| 241 |
+
|
| 242 |
+
|
| 243 |
+
def load_summary() -> dict[str, Any]:
|
| 244 |
+
return json.loads(SUMMARY_REPORT.read_text(encoding="utf-8"))
|
| 245 |
+
|
| 246 |
+
|
| 247 |
+
def metric(summary: dict[str, Any], task: str, family: str) -> float | None:
|
| 248 |
+
task_metrics = summary.get(family, {}).get(task, {})
|
| 249 |
+
key = METRIC_SPECS[task][0]
|
| 250 |
+
value = task_metrics.get(key)
|
| 251 |
+
return float(value) if value is not None else None
|
| 252 |
+
|
| 253 |
+
|
| 254 |
+
def build_payload(summary: dict[str, Any]) -> dict[str, Any]:
|
| 255 |
+
tasks = OrderedDict()
|
| 256 |
+
for task, spec in TASK_WALKTHROUGHS.items():
|
| 257 |
+
metric_key, metric_name, direction = METRIC_SPECS[task]
|
| 258 |
+
minimal = metric(summary, task, "tasks")
|
| 259 |
+
neural = metric(summary, task, "neural_tasks")
|
| 260 |
+
tasks[task] = {
|
| 261 |
+
**spec,
|
| 262 |
+
"task": task,
|
| 263 |
+
"metric": {
|
| 264 |
+
"key": metric_key,
|
| 265 |
+
"name": metric_name,
|
| 266 |
+
"direction": direction,
|
| 267 |
+
"minimal": minimal,
|
| 268 |
+
"neural_mlp": neural,
|
| 269 |
+
},
|
| 270 |
+
"module_summary": "input window -> feature/target builder -> baseline head -> evaluator -> artifact files",
|
| 271 |
+
}
|
| 272 |
+
return {
|
| 273 |
+
"source": "results/episode_task_suite/summary_report.json",
|
| 274 |
+
"scope": {
|
| 275 |
+
"episode_count": 1,
|
| 276 |
+
"num_frames": summary.get("num_frames"),
|
| 277 |
+
"num_windows": summary.get("num_windows"),
|
| 278 |
+
"feature_dim": summary.get("feature_dim"),
|
| 279 |
+
"window_frames": summary.get("window_frames"),
|
| 280 |
+
"stride_frames": summary.get("stride_frames"),
|
| 281 |
+
"warning": "These walkthroughs explain task contracts on one public sample episode; they are not cross-episode performance claims.",
|
| 282 |
+
},
|
| 283 |
+
"shared_pipeline": [
|
| 284 |
+
"Read annotation.hdf5 and synchronized video-derived features.",
|
| 285 |
+
"Slice the episode into 20-frame windows with stride 5.",
|
| 286 |
+
"Build an 8,378-d current feature vector from available modality blocks.",
|
| 287 |
+
"Construct a task-specific target from labels, future frames, paired windows, or modality splits.",
|
| 288 |
+
"Train a minimal head and, when enabled, a neural MLP head.",
|
| 289 |
+
"Write metrics, predictions, and model artifacts for review.",
|
| 290 |
+
],
|
| 291 |
+
"tasks": tasks,
|
| 292 |
+
}
|
| 293 |
+
|
| 294 |
+
|
| 295 |
+
def write_markdown(payload: dict[str, Any]) -> None:
|
| 296 |
+
lines = [
|
| 297 |
+
"# Junior-Friendly 12-Task Walkthroughs",
|
| 298 |
+
"",
|
| 299 |
+
"This file explains every task in the Xperience-10M episode suite as an input -> process -> output pipeline.",
|
| 300 |
+
"It is generated by `scripts/task_walkthroughs.py` from committed metrics plus hand-audited task explanations.",
|
| 301 |
+
"",
|
| 302 |
+
"## Shared Pipeline",
|
| 303 |
+
"",
|
| 304 |
+
]
|
| 305 |
+
for step in payload["shared_pipeline"]:
|
| 306 |
+
lines.append(f"- {step}")
|
| 307 |
+
lines.extend(["", "## Task Walkthroughs", ""])
|
| 308 |
+
|
| 309 |
+
for task, spec in payload["tasks"].items():
|
| 310 |
+
metric = spec["metric"]
|
| 311 |
+
minimal = fmt_metric(metric["minimal"])
|
| 312 |
+
neural = fmt_metric(metric["neural_mlp"])
|
| 313 |
+
lines.extend(
|
| 314 |
+
[
|
| 315 |
+
f"### `{task}`",
|
| 316 |
+
"",
|
| 317 |
+
f"**Goal:** {spec['plain_goal']}",
|
| 318 |
+
"",
|
| 319 |
+
f"**Case study:** {spec['case_study']}",
|
| 320 |
+
"",
|
| 321 |
+
f"**Input:** {spec['input']}",
|
| 322 |
+
"",
|
| 323 |
+
"**Middle process modules:**",
|
| 324 |
+
]
|
| 325 |
+
)
|
| 326 |
+
for module in spec["middle_modules"]:
|
| 327 |
+
lines.append(f"- {module}")
|
| 328 |
+
lines.extend(
|
| 329 |
+
[
|
| 330 |
+
"",
|
| 331 |
+
f"**Output:** {spec['output']}",
|
| 332 |
+
"",
|
| 333 |
+
f"**Metric:** {metric['name']} ({metric['direction']} is better). Minimal `{minimal}`, neural MLP `{neural}`.",
|
| 334 |
+
"",
|
| 335 |
+
f"**Junior mental model:** {spec['junior_tip']}",
|
| 336 |
+
"",
|
| 337 |
+
f"**Current limitation:** {spec['failure_mode']}",
|
| 338 |
+
"",
|
| 339 |
+
]
|
| 340 |
+
)
|
| 341 |
+
|
| 342 |
+
(OUT_DIR / "TASK_WALKTHROUGHS.md").write_text(
|
| 343 |
+
"\n".join(lines).rstrip() + "\n", encoding="utf-8"
|
| 344 |
+
)
|
| 345 |
+
|
| 346 |
+
|
| 347 |
+
def main() -> int:
|
| 348 |
+
OUT_DIR.mkdir(parents=True, exist_ok=True)
|
| 349 |
+
DOCS_DATA.mkdir(parents=True, exist_ok=True)
|
| 350 |
+
payload = build_payload(load_summary())
|
| 351 |
+
text = json.dumps(payload, indent=2, ensure_ascii=False)
|
| 352 |
+
(OUT_DIR / "task_walkthroughs.json").write_text(text + "\n", encoding="utf-8")
|
| 353 |
+
(DOCS_DATA / "task_walkthroughs.json").write_text(text + "\n", encoding="utf-8")
|
| 354 |
+
write_markdown(payload)
|
| 355 |
+
print(f"Wrote {OUT_DIR / 'task_walkthroughs.json'}")
|
| 356 |
+
print(f"Wrote {OUT_DIR / 'TASK_WALKTHROUGHS.md'}")
|
| 357 |
+
print(f"Wrote {DOCS_DATA / 'task_walkthroughs.json'}")
|
| 358 |
+
return 0
|
| 359 |
+
|
| 360 |
+
|
| 361 |
+
if __name__ == "__main__":
|
| 362 |
+
raise SystemExit(main())
|