Splits¶
Every scene is a RoboCasa kitchen (a layout) with a texture and object style set (a style). The split decides which layouts and styles a scene may use, so generalisation to a new kitchen, to new appearance, or to both can be measured separately.
Layouts and styles¶
Only layouts with a kitchen island of at least 2.4 m x 1.4 m are used, because the objects are placed on the island and the placement box is anchored to it.
| Layouts (RoboCasa ids) | Styles | |
|---|---|---|
| train pool | 12, 15, 24, 25, 29, 48, 56 | 11 to 60 (50 styles) |
| test pool | 2, 4, 7 | 1 to 10 (10 styles) |
Island size (long x short, metres) and the robot's lateral base offset along the island (positive is to the robot's left; the robot always faces the island):
| Layout | Island | Base offset | Pool |
|---|---|---|---|
| 12 | 3.75 x 1.48 | 0 | train |
| 15 | 2.56 x 1.47 | -0.88 | train |
| 24 | 3.80 x 1.95 | +1.15 | train |
| 25 | 3.35 x 1.40 | 0 | train |
| 29 | 3.65 x 1.80 | -1.15 | train |
| 48 | 3.29 x 1.46 | 0 | train |
| 56 | 2.62 x 1.60 | +0.79 | train |
| 2 | 2.75 x 1.40 | -0.98 | test |
| 4 | 2.45 x 1.60 | 0 | test |
| 7 | 2.50 x 1.55 | -0.85 | test |
The offset moves the robot along the island so that the placement box stays on the counter top and clear of the sink on layouts where the centred position would overlap it.
Split definitions¶
| Split | Layouts drawn from | Styles drawn from | Scenes per base task |
|---|---|---|---|
train |
train pool | train styles | 50 |
val |
train pool | train styles | 10 |
test_id |
train pool | train styles | 10 |
test_style |
train pool | test styles | 10 |
test_layout |
test pool | train styles | 10 |
test_both |
test pool | test styles | 10 |
The layout and style of each scene were drawn uniformly from the split's pool when the scene was
generated. A published scene is defined by its stored values, not by that draw: layout and style
in meta/manifest.jsonl and in the trial tables (trials/<split>.jsonl), and scene.layout_id and
scene.style_id in extras/episode_*/scene.json, which is what the environment is built from. The
generator for new scenes (robocasa_relations.suite) seeds its draw with (demo, "draw_" + task)
(DRAW_KEY_PREFIX); it does not reproduce the published layouts and styles. The
seed of a scene is 2,000,000 + 1,000 x task index + demo, with the fixed task indices of
seed_indices.py; it is stored per episode in meta/manifest.jsonl, and the formula reproduces the
stored seed of all 6,358 episodes. A scene that needed more than one attempt was built with
seed + attempt x 1,000,000 (see Data format). Test scenes exist to provide oracle-verified initial states:
evaluation starts from the stored initial state (see Evaluation).
Families other than base have only train and val (order, train_added: 50 and 10
scenes per task) or a single evaluation group (composition: 10 scenes per test). All three draw their layouts and
styles from the train pool.
Published groups¶
Episodes published per group, against the planned scenes (the difference is the scenes that could not be collected, see Collection):
| Dataset | Published | Planned | Frames | Size |
|---|---|---|---|---|
base/train |
2,723 | 2,750 | 1,812,306 | 14 GB |
base/val |
547 | 550 | 362,284 | 2.8 GB |
base/test_id |
549 | 550 | 363,496 | 2.8 GB |
base/test_style |
544 | 550 | 356,221 | 2.6 GB |
base/test_layout |
543 | 550 | 359,488 | 2.8 GB |
base/test_both |
541 | 550 | 351,452 | 2.7 GB |
order/train |
544 | 550 | 617,299 | 5.0 GB |
order/val |
109 | 110 | 121,614 | 1.0 GB |
train_added/train |
83 | 100 | 78,091 | 0.5 GB |
train_added/val |
15 | 20 | 14,049 | 0.1 GB |
composition/composition |
160 | 160 | 155,713 | 1.0 GB |
| Total | 6,358 | 6,440 | 4,592,013 | 35 GB |