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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
pretty_name: KlaskTron
|
| 4 |
+
source_datasets:
|
| 5 |
+
- original
|
| 6 |
+
size_categories:
|
| 7 |
+
- 1M<n<10M
|
| 8 |
+
tags:
|
| 9 |
+
- imitation-learning
|
| 10 |
+
- reinforcement-learning
|
| 11 |
+
- robotics
|
| 12 |
+
- control
|
| 13 |
+
- simulation
|
| 14 |
+
- klask
|
| 15 |
+
- pickle
|
| 16 |
+
task_categories:
|
| 17 |
+
- robotics
|
| 18 |
+
- reinforcement-learning
|
| 19 |
+
---
|
| 20 |
+
|
| 21 |
+
# KlaskTron
|
| 22 |
+
|
| 23 |
+
## Dataset Summary
|
| 24 |
+
|
| 25 |
+
KlaskTron is a trajectory dataset for imitation-learning experiments in the Klask tabletop game. It includes three tiers of demonstrations stored in simulation coordinates so users can compare learning from real play, augmented real data, and large-scale synthetic rollouts.
|
| 26 |
+
|
| 27 |
+
| Tier | Files | Episodes | Steps | Source |
|
| 28 |
+
| --- | ---: | ---: | ---: | --- |
|
| 29 |
+
| `human` | 106 | 106 | 81,455 | reconstructed from recorded human play |
|
| 30 |
+
| `augmented` | 7 | 424 | 325,820 | augmented from the human tier |
|
| 31 |
+
| `synthetic` | 542 | 34,649 | 5,000,000 | generated in simulation from an expert or expert-like policy |
|
| 32 |
+
|
| 33 |
+
Across all tiers, the repository contains 35,179 episodes and 5,407,275 action steps.
|
| 34 |
+
|
| 35 |
+
## Repository Structure
|
| 36 |
+
|
| 37 |
+
```text
|
| 38 |
+
klasktron/
|
| 39 |
+
|-- human/
|
| 40 |
+
| |-- trajectories/
|
| 41 |
+
| `-- metadata.json
|
| 42 |
+
|-- augmented/
|
| 43 |
+
| |-- trajectories/
|
| 44 |
+
| `-- metadata.json
|
| 45 |
+
|-- synthetic/
|
| 46 |
+
| |-- trajectories/
|
| 47 |
+
| `-- metadata.json
|
| 48 |
+
|-- dataset_card.md
|
| 49 |
+
`-- README.md
|
| 50 |
+
```
|
| 51 |
+
|
| 52 |
+
Each tier contains a `trajectories/` directory with `.pkl` files and a `metadata.json` summary file. The `human` tier uses per-episode files such as `reestimate_*.pkl`, while the `augmented` and `synthetic` tiers are stored as chunked files such as `chunk_00000.pkl`.
|
| 53 |
+
|
| 54 |
+
## Data Format
|
| 55 |
+
|
| 56 |
+
Trajectory files are stored as Python pickle files. A record corresponds to
|
| 57 |
+
one episode and carries the following fields:
|
| 58 |
+
|
| 59 |
+
- `obs`: float32 array with shape `[T + 1, 12]`
|
| 60 |
+
- `acts`: float32 array with shape `[T, 4]`
|
| 61 |
+
- `rews`: float32 array with shape `[T]` (zero placeholder, see Rewards below)
|
| 62 |
+
- `infos`: optional per-step metadata (null in every released episode)
|
| 63 |
+
- `terminal`: whether the rollout ends naturally
|
| 64 |
+
|
| 65 |
+
Observation layout (identical across all three tiers):
|
| 66 |
+
|
| 67 |
+
```text
|
| 68 |
+
[ball_x, ball_y,
|
| 69 |
+
ball_vx, ball_vy,
|
| 70 |
+
peg1_x, peg1_y,
|
| 71 |
+
peg2_x, peg2_y,
|
| 72 |
+
peg1_vx, peg1_vy,
|
| 73 |
+
peg2_vx, peg2_vy]
|
| 74 |
+
```
|
| 75 |
+
|
| 76 |
+
Action layout (identical across all three tiers):
|
| 77 |
+
|
| 78 |
+
```text
|
| 79 |
+
[peg1_vx, peg1_vy, peg2_vx, peg2_vy]
|
| 80 |
+
```
|
| 81 |
+
|
| 82 |
+
Per-tier container type:
|
| 83 |
+
|
| 84 |
+
| Tier | Container type |
|
| 85 |
+
| --- | --- |
|
| 86 |
+
| `human` | `imitation.data.types.TrajectoryWithRew` |
|
| 87 |
+
| `augmented` | `imitation.data.types.Trajectory` |
|
| 88 |
+
| `synthetic` | plain Python `dict` |
|
| 89 |
+
|
| 90 |
+
### Rewards
|
| 91 |
+
|
| 92 |
+
The `rews` field is an all-zero placeholder in every tier that stores it
|
| 93 |
+
(the `augmented` tier uses `Trajectory` and therefore does not store a
|
| 94 |
+
`rews` field at all). No tier carries a meaningful per-step reward signal,
|
| 95 |
+
and consumers should not use `rews` as returns for offline RL, filtering
|
| 96 |
+
by return, or scoring.
|
| 97 |
+
|
| 98 |
+
### Loading notes
|
| 99 |
+
|
| 100 |
+
Human- and augmented-tier files reference `imitation.data.types.*` symbols
|
| 101 |
+
at unpickling time, so they need a Python environment with the `imitation`
|
| 102 |
+
package (plus `numpy`) installed. Synthetic-tier files use only plain dicts
|
| 103 |
+
and ndarrays and can be loaded with the standard-library `pickle` alone.
|
| 104 |
+
|
| 105 |
+
## Data Collection and Processing
|
| 106 |
+
|
| 107 |
+
### Human Tier
|
| 108 |
+
|
| 109 |
+
- Recorded from real human Klask play
|
| 110 |
+
- Converted into simulation-coordinate trajectories through a separate state-reestimation pipeline
|
| 111 |
+
- Manually cleaned before inclusion in this release
|
| 112 |
+
|
| 113 |
+
### Augmented Tier
|
| 114 |
+
|
| 115 |
+
- Derived from the human tier
|
| 116 |
+
- Produced through augmentation and benchmark preprocessing
|
| 117 |
+
- Intended to extend the small real-data regime without changing the task format
|
| 118 |
+
|
| 119 |
+
### Synthetic Tier
|
| 120 |
+
|
| 121 |
+
- Generated in simulation from an expert or expert-like policy
|
| 122 |
+
- Metadata identifies the generator as `rl_games_expert` on `Isaac-Klask-v0`
|
| 123 |
+
- Generated with self-play enabled
|
| 124 |
+
|
| 125 |
+
## Recommended Uses
|
| 126 |
+
|
| 127 |
+
- Benchmarking behavioral cloning and related imitation-learning methods
|
| 128 |
+
- Comparing human, augmented, and synthetic demonstrations under one shared format
|
| 129 |
+
- Studying data-scaling behavior and sim-to-sim transfer within the Klask benchmark
|
| 130 |
+
|
| 131 |
+
## Out-of-Scope Uses
|
| 132 |
+
|
| 133 |
+
- Real-world deployment or safety-critical control
|
| 134 |
+
- Human identity inference or user profiling
|
| 135 |
+
- Claims about human skill outside this benchmark and preprocessing pipeline
|
| 136 |
+
|
| 137 |
+
## Limitations
|
| 138 |
+
|
| 139 |
+
- The human tier depends on a separate state-reestimation and cleaning pipeline.
|
| 140 |
+
- The augmented tier inherits the biases and coverage limits of the human data.
|
| 141 |
+
- The synthetic tier reflects simulator assumptions and expert-policy biases.
|
| 142 |
+
- Because the data is stored as pickle files, it is better suited for download-and-load workflows than direct browser inspection.
|
| 143 |
+
- None of the three tiers carry a meaningful per-step reward signal. The `rews` field is an all-zero placeholder wherever it appears (`human` and `synthetic`); the `augmented` tier does not store rewards at all.
|
| 144 |
+
|
| 145 |
+
## Related Resources
|
| 146 |
+
|
| 147 |
+
- `klask_imitation`: main codebase for training, evaluation, augmentation,
|
| 148 |
+
and synthetic data generation. URL: [Anonymized for review]
|
| 149 |
+
- `klask_reestimate`: reestimation pipeline used to produce the human
|
| 150 |
+
trajectories from recorded gameplay. URL: [Anonymized for review]
|
| 151 |
+
|
| 152 |
+
## Licensing Information
|
| 153 |
+
|
| 154 |
+
This dataset is released under the Creative Commons Attribution 4.0
|
| 155 |
+
International License (CC-BY-4.0).
|
| 156 |
+
|
| 157 |
+
## Citation
|
| 158 |
+
|
| 159 |
+
```bibtex
|
| 160 |
+
@article{klasktron2026,
|
| 161 |
+
title={KlaskTron: A Contact-Rich, Adversarial Benchmark for Imitation Learning},
|
| 162 |
+
author={Anonymous},
|
| 163 |
+
year={2026},
|
| 164 |
+
note={Under review at NeurIPS 2026}
|
| 165 |
+
}
|
| 166 |
+
```
|