File size: 4,340 Bytes
bcf5a06
 
 
 
 
 
 
 
 
 
 
 
 
 
3aaa031
bcf5a06
3aaa031
 
 
bcf5a06
 
 
3aaa031
 
 
 
 
df3be54
3aaa031
 
df3be54
3aaa031
 
 
 
 
bcf5a06
 
 
 
df3be54
bcf5a06
3aaa031
 
df3be54
 
3aaa031
bcf5a06
df3be54
bcf5a06
3aaa031
bcf5a06
3aaa031
 
bcf5a06
3aaa031
df3be54
3aaa031
bcf5a06
 
3aaa031
bcf5a06
3aaa031
 
df3be54
3aaa031
 
 
 
 
 
 
 
 
 
 
bcf5a06
 
 
 
 
 
 
 
 
 
3aaa031
bcf5a06
 
 
 
 
3aaa031
bcf5a06
3aaa031
bcf5a06
3aaa031
 
df3be54
3aaa031
 
bcf5a06
3aaa031
bcf5a06
3aaa031
 
 
 
 
bcf5a06
3aaa031
bcf5a06
3aaa031
 
 
df3be54
3aaa031
bcf5a06
df3be54
bcf5a06
3aaa031
bcf5a06
3aaa031
bcf5a06
3aaa031
bcf5a06
df3be54
 
3aaa031
bcf5a06
3aaa031
bcf5a06
3aaa031
bcf5a06
3aaa031
bcf5a06
3aaa031
bcf5a06
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
---
license: cc-by-4.0
pretty_name: KlaskTron
source_datasets:
  - original
size_categories:
  - 1M<n<10M
tags:
  - imitation-learning
  - reinforcement-learning
  - robotics
  - control
  - simulation
  - klask
  - parquet
  - pickle
  - tabular
  - datasets
  - mlcroissant
task_categories:
  - robotics
  - reinforcement-learning
configs:
  - config_name: human
    data_files:
      - split: train
        path: "parquet/human/*.parquet"
  - config_name: human_augmented
    data_files:
      - split: train
        path: "parquet/human_augmented/*.parquet"
  - config_name: synthetic
    default: true
    data_files:
      - split: train
        path: "parquet/synthetic/*.parquet"
---

# KlaskTron

KlaskTron is a Klask imitation-learning dataset with three tiers: real human play, axis-mirror-augmented human data, and large-scale synthetic rollouts.

| Tier | Episodes | Steps | Source |
| --- | ---: | ---: | --- |
| `human` | 111 | 80,591 | reconstructed from recorded human play |
| `human_augmented` | 444 | 322,364 | axis-mirror augmentation of the human tier (none, x, y, xy) |
| `synthetic` | 34,649 | 5,000,000 | generated in simulation from an expert-like policy |

Total: 35,204 episodes and 5,402,955 action steps.

## Loading Parquet

```python
from datasets import load_dataset

human = load_dataset("KlaskLab/klasktron-il-benchmark", "human", split="train")
human_augmented = load_dataset("KlaskLab/klasktron-il-benchmark", "human_augmented", split="train")
synthetic = load_dataset("KlaskLab/klasktron-il-benchmark", "synthetic", split="train")
```

Each Parquet row is one transition:

| Column | Meaning |
| --- | --- |
| `tier` | `human`, `human_augmented`, or `synthetic` |
| `episode_id` | tier-local episode id |
| `source_file` | original pickle file |
| `episode_in_file` | episode index inside that pickle |
| `step` | transition index inside the episode |
| `obs` | state at time `t`, shape `[12]` |
| `act` | action at time `t`, shape `[4]` |
| `next_obs` | state at time `t + 1`, shape `[12]` |
| `rew` | all-zero placeholder |
| `terminal` | true only on the final transition of a terminal episode |

Observation layout:

```text
[ball_x, ball_y,
 ball_vx, ball_vy,
 peg1_x, peg1_y,
 peg2_x, peg2_y,
 peg1_vx, peg1_vy,
 peg2_vx, peg2_vy]
```

Action layout:

```text
[peg1_vx, peg1_vy, peg2_vx, peg2_vy]
```

## Loading Pickles

Raw pickle files live under:

```text
human/trajectories/
human_augmented/trajectories/
synthetic/trajectories/
```

Episode fields:

- `obs`: float32 array, shape `[T + 1, 12]`
- `acts`: float32 array, shape `[T, 4]`
- `rews`: float32 array, shape `[T]` where present
- `infos`: optional per-step metadata
- `terminal`: whether the rollout ends naturally

Raw container types:

| Tier | Container |
| --- | --- |
| `human` | `imitation.data.types.TrajectoryWithRew` |
| `human_augmented` | `imitation.data.types.Trajectory` |
| `synthetic` | plain Python `dict` |

The human and human_augmented pickles need a compatible Python environment with `imitation` available. The synthetic pickles only use plain dictionaries and NumPy arrays. As usual, only unpickle data you trust.

## Rewards

There is no meaningful per-step reward signal. `rew` / `rews` is an all-zero placeholder and should not be used for offline-RL returns, filtering, or scoring.

## Notes

- The human tier comes from 111 recorded human Klask trajectories that were reestimated into simulation coordinates.
- The human_augmented tier extends the human tier 4x by applying axis-mirror augmentation (none, x, y, xy) to each trajectory.
- The synthetic tier reflects simulator and expert-policy assumptions.

### Why Both Formats Exist

The pickle files are the original episode objects used by imitation-learning code that expects `imitation.data.types.Trajectory` / `TrajectoryWithRew` objects. The mirrored Parquet folder exposes the same trajectories as a safer, easier-to-inspect transition table for Hugging Face Datasets, pandas, Polars, DuckDB, PyArrow, browser previews, and Croissant-compatible tooling.

## License

Creative Commons Attribution 4.0 International License (CC-BY-4.0).

## Citation

```bibtex
@article{klasktron2026,
  title={KlaskTron: A Contact-Rich, Adversarial Benchmark for Imitation Learning},
  author={Anonymous},
  year={2026},
  note={Under review at NeurIPS 2026}
}
```