naishashetty commited on
Commit
7be2487
·
verified ·
1 Parent(s): f2120d7

Publish milo_benchmark v1.0: 25-task/5-scene/3-tier dataset with real 3-planner baseline

Browse files
Files changed (2) hide show
  1. README.md +220 -0
  2. tasks.json +43 -0
README.md ADDED
@@ -0,0 +1,220 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: MILO Benchmark
3
+ language:
4
+ - en
5
+ license: mit
6
+ task_categories:
7
+ - robotics
8
+ tags:
9
+ - embodied-ai
10
+ - ai2thor
11
+ - task-planning
12
+ - robotics
13
+ - synthetic
14
+ size_categories:
15
+ - n<1K
16
+ ---
17
+
18
+ # MILO Benchmark v1.0
19
+
20
+ A small, versioned dataset of `(scene, instruction, ground-truth task
21
+ spec)` triples for evaluating embodied task planning in AI2-THOR,
22
+ built for the [MILO vision-language-robotics
23
+ project](https://github.com/). Every task pairs a natural-language
24
+ instruction with a structured goal/object/target spec and a
25
+ machine-checkable success predicate, across 5 real AI2-THOR scenes
26
+ spanning all 4 iTHOR room types.
27
+
28
+ **This is a synthetic, AI2-THOR-derived dataset, not a human-collected
29
+ one.** Every instruction was authored by a human against a live scan
30
+ of each scene's real object inventory (`get_metadata()`), not
31
+ generated by an LLM and not crowd-sourced — see "Collection
32
+ methodology" below for exactly how, so nobody mistakes this for
33
+ naturalistic human instruction data.
34
+
35
+ ## What's in it
36
+
37
+ 25 tasks across 5 scenes:
38
+
39
+ | Scene | Room type | Tasks |
40
+ |---|---|---|
41
+ | `FloorPlan1` | kitchen | 5 |
42
+ | `FloorPlan5` | kitchen | 5 |
43
+ | `FloorPlan201` | living room | 5 |
44
+ | `FloorPlan301` | bedroom | 5 |
45
+ | `FloorPlan401` | bathroom | 5 |
46
+
47
+ Three difficulty tiers, 5 tasks/scene (2 tier1, 2 tier2, 1 tier3):
48
+
49
+ | Tier | What it exercises | Example |
50
+ |---|---|---|
51
+ | `tier1_locate` | Single-step object resolution (no manipulation). | "Find the mug." |
52
+ | `tier2_pickup` | Navigate + pick up a named object. | "Pick up the apple." |
53
+ | `tier3_store` | Pick up an object, navigate to a receptacle, open it if needed, place the object, close it if it was opened. | "Put the bread away in the fridge." |
54
+
55
+ Each row (see `tasks.json`):
56
+
57
+ ```json
58
+ {
59
+ "task_id": "milo-v1-fp1-t3a",
60
+ "scene": "FloorPlan1",
61
+ "room_type": "kitchen",
62
+ "difficulty_tier": "tier3_store",
63
+ "instruction": "Put the bread away in the fridge.",
64
+ "goal": "store",
65
+ "object": "bread",
66
+ "target": "fridge",
67
+ "notes": "fridge is a confirmed openable container in this scene."
68
+ }
69
+ ```
70
+
71
+ `goal`/`object`/`target` map directly onto this project's
72
+ `schemas.task.SingleTask` (`goal` is a canonical verb like `find`/
73
+ `pick_up`/`store`; a planner unrelated to MILO can just as easily
74
+ treat them as generic action/argument fields). `notes` is
75
+ non-scoring, human-readable context — for a handful of tasks it
76
+ documents a **known, real limitation** the task deliberately keeps
77
+ rather than hides (see below).
78
+
79
+ ## Success predicate
80
+
81
+ A task is scored `goal_success = True` iff its goal condition holds
82
+ against **live** AI2-THOR object state after execution (not just "did
83
+ every planned action dispatch without an error" — those are two
84
+ different claims; both are reported separately by the reference
85
+ runner):
86
+
87
+ | Goal | Live predicate |
88
+ |---|---|
89
+ | `find`/`locate`/... | An object of the named type exists in the scene. (See "Known limitations" — this is necessarily weaker than a real perception check.) |
90
+ | `pick_up`/`fetch`/`deliver` | The named object's live `isPickedUp` is `True`. |
91
+ | `store`/`place`/`put_away` | The named object is not held, and its live `parentReceptacles` includes the target's `objectId`. |
92
+ | `open` / `close` | The named object's live `isOpen` is `True` / `False`. |
93
+
94
+ Reference implementation: `backend/planning_evaluation/live_state.py`'s
95
+ `check_goal_live()` in the [MILO
96
+ repository](../../../..) (this dataset's origin repo).
97
+
98
+ ## Baselines (v1.0, real runs, all three planners)
99
+
100
+ | Planner | Goal success | tier1_locate | tier2_pickup | tier3_store | Notes |
101
+ |---|---|---|---|---|---|
102
+ | `rule_based` | 24/25 (96%) | 10/10 | 10/10 | 4/5 | Deterministic, no LLM. One failure is a real AI2-THOR placement/geometry limit, not a planner defect. |
103
+ | `behavior_tree` | 24/25 (96%) | 10/10 | 10/10 | 4/5 | Same task/plan-step outcomes as `rule_based` (shares its goal-handler templates); same single failure. |
104
+ | `react` (`qwen2.5:7b`, Q4_K_M, via Ollama, local) | 20/25 (80%) | 10/10 | 10/10 | 0/5 | `goal_success`/`execution_success`/`plan_success` agree on every episode — no predicate artifact. All 5 failures are genuine multi-step reasoning failures (the model proposes an action before its precondition chain is satisfied, e.g. `pickup` before navigating close enough), not infrastructure. Run on an RTX 4050 Laptop GPU (6GB VRAM, 82%/18% GPU/CPU split), zero rate-limit retries needed (fully local, no quota). |
105
+
106
+ `react` was also attempted against Gemini's free tier
107
+ (`gemini-flash-latest`) first; that attempt is **not** a valid
108
+ baseline and is excluded from the table above — the free tier's daily
109
+ quota (20 requests/day) was exhausted after 2 of 25 episodes, and a
110
+ raw success-rate computed from that run would have been actively
111
+ misleading (most of its apparent "successes" were `tier1_locate`
112
+ episodes where the LLM call had already failed outright — the
113
+ predicate can't distinguish "the agent found it" from "the object was
114
+ already sitting in the scene regardless of what the agent did"). See
115
+ the origin repository's `experiments/reports/
116
+ phase_e_milo_benchmark_report.md` (Addendum 2 for the Gemini attempt
117
+ and why it doesn't count, Addendum 3 for the `qwen2.5:7b` run this
118
+ table reports) for full methodology, exact commands, and reproduction
119
+ steps.
120
+
121
+ **Reproducing the `react` row**: any OpenAI-API-compatible local
122
+ server works (Ollama, vLLM, ...) — set `LANGUAGE_LLM_PROVIDER=qwen`,
123
+ `LANGUAGE_LLM_MODEL=qwen2.5:7b` (or your chosen model/quantization),
124
+ `LANGUAGE_LLM_BASE_URL` to your server's `/v1` endpoint, and
125
+ `QWEN_API_KEY` to any placeholder value if your server doesn't enforce
126
+ auth, then run
127
+ `RUN_SIMULATOR_TESTS=true python -m planning_evaluation.run_benchmark`
128
+ from the origin repository's `backend/` directory.
129
+
130
+ ## Difficulty tiers and why they were chosen this way
131
+
132
+ Tier boundaries were chosen to exercise structurally different code
133
+ paths in MILO's own rule-based planner (object resolution only, vs.
134
+ navigate+pickup, vs. the full open/place/close container logic) — not
135
+ an arbitrary linguistic complexity scale. This is a deliberate design
136
+ choice: the project's own bug history showed these three code paths
137
+ fail independently (a closed-receptacle bug and a non-openable-target
138
+ bug both lived specifically in the `tier3_store` code path, never in
139
+ `tier1_locate`/`tier2_pickup`) — see "Known limitations" below for the
140
+ two specific, currently-still-open bugs this dataset intentionally
141
+ keeps as ground truth.
142
+
143
+ ## Known limitations — kept deliberately, not hidden
144
+
145
+ Two `tier3_store` tasks are **known, currently reproducible failures**
146
+ against the reference planner, kept in v1.0 on purpose as honest
147
+ negative examples rather than removed to inflate a headline number:
148
+
149
+ - `milo-v1-fp301-t3a` ("Put the book away in the drawer.") fails at
150
+ execution due to a real AI2-THOR physics/geometry limit — the
151
+ drawer opens correctly, but AI2-THOR cannot find room for this
152
+ particular book inside this particular drawer's real interior
153
+ volume. Not a planner defect.
154
+ - `milo-v1-fp401-t3a` ("Put the spray bottle away on the shelf.")
155
+ fails because the reference rule-based planner tries to `open` the
156
+ shelf before placing — a shelf is a valid receptacle but is not
157
+ openable, and the planner's `_deposit()` logic doesn't yet check
158
+ `openable` before deciding to open. A genuine, reproducible planner
159
+ bug, tracked in the origin repo's roadmap.
160
+
161
+ A different, honest limitation of the success predicate itself:
162
+ `tier1_locate`'s live check (existence of an object of the named
163
+ type) cannot verify the agent actually *perceived* the object — only
164
+ that the plan named a real object. A perception-grounded check would
165
+ need a vision pipeline wired into the scoring harness; this dataset's
166
+ reference runner does not do that yet (see the origin repo's Phase C
167
+ vision-grounding work, which is not yet connected to this benchmark).
168
+
169
+ ## Collection methodology
170
+
171
+ 1. For each of the 5 candidate scenes, a live AI2-THOR
172
+ `Controller.step()`/`last_event.metadata` scan was taken to list
173
+ every real object's `objectType`, `pickupable`, `receptacle`, and
174
+ `openable` flags.
175
+ 2. Task objects/targets were chosen only from that confirmed live
176
+ list — never guessed from AI2-THOR documentation or an LLM's
177
+ assumption about what "should" be in a kitchen/bedroom/bathroom.
178
+ 3. Instructions were hand-written in natural language to match each
179
+ task spec (not generated by an LLM, not templated beyond the
180
+ tier's basic sentence shape).
181
+ 4. `tier3_store` targets were chosen to include both confirmed real
182
+ containers (fridge/cabinet/drawer) and one confirmed non-container
183
+ receptacle (shelf) deliberately, once a first sweep run (this
184
+ project's own "Phase D" floor-plan generalization sweep) surfaced
185
+ the non-openable-target bug — see "Known limitations" above.
186
+
187
+ This is the same authoring discipline the origin repository already
188
+ used for its `FloorPlan1`-only real-AI2-THOR task sets
189
+ (`real_scenarios.py`), extended across scenes.
190
+
191
+ ## What this dataset does not cover
192
+
193
+ - Only 5 of iTHOR's ~120 scenes (one per room type, plus a second
194
+ kitchen) — not a claim of full scene coverage.
195
+ - Only single-object, single-goal tasks — no multi-object, multi-step,
196
+ or conditional instructions.
197
+ - No adversarial/ambiguous instructions (Language-layer clarification
198
+ behavior is out of scope here).
199
+ - English only.
200
+
201
+ ## Versioning
202
+
203
+ `v1.0` is frozen — task IDs, scenes, and success predicates in this
204
+ version will not change. Future versions extend rather than mutate
205
+ (e.g. `v1.1` adding scenes/tasks would live in a sibling `v1.1/`
206
+ directory with its own `tasks.json`), so a score reported against
207
+ `v1.0` stays reproducible indefinitely.
208
+
209
+ ## License
210
+
211
+ MIT, matching the origin repository. AI2-THOR scene assets themselves
212
+ are licensed separately by their own maintainers (Allen Institute for
213
+ AI) — this dataset contains no scene assets, only task
214
+ specifications/instructions referencing public AI2-THOR scene IDs.
215
+
216
+ ## Citation
217
+
218
+ This is a research-adjacent project artifact, not a peer-reviewed
219
+ publication. If referencing it, cite the origin repository and this
220
+ dataset version (`milo_benchmark v1.0`).
tasks.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": "milo_benchmark",
3
+ "version": "1.0",
4
+ "description": "Versioned (scene, instruction, ground-truth task spec) triples for evaluating embodied task planning in AI2-THOR, generated for the MILO vision-language-robotics project.",
5
+ "generated_by": "backend/planning_evaluation, following the same live-metadata-confirmed authoring discipline as backend/memory_evaluation/real_scenarios.py and the Phase D floor-plan sweep (experiments/reports/phase_d_floorplan_generalization_findings.md)",
6
+ "license": "mit",
7
+ "difficulty_tiers": {
8
+ "tier1_locate": "Single-step: locate a named object. Exercises object resolution only (rule_based.py's _goal_perceive).",
9
+ "tier2_pickup": "Two-step: navigate to and pick up a named object. Exercises navigate/pickup (rule_based.py's _acquire).",
10
+ "tier3_store": "Multi-step: pick up an object and place it into a named receptacle, opening/closing it if needed. Exercises rule_based.py's _deposit() -- the code path with this project's own documented bug history (Phase A's closed-receptacle fix, the Phase 8.7 audit, and Phase D's non-openable-target bug)."
11
+ },
12
+ "tasks": [
13
+ {"task_id": "milo-v1-fp1-t1a", "scene": "FloorPlan1", "room_type": "kitchen", "difficulty_tier": "tier1_locate", "instruction": "Find the mug.", "goal": "find", "object": "mug", "target": null},
14
+ {"task_id": "milo-v1-fp1-t1b", "scene": "FloorPlan1", "room_type": "kitchen", "difficulty_tier": "tier1_locate", "instruction": "Find the tomato.", "goal": "find", "object": "tomato", "target": null},
15
+ {"task_id": "milo-v1-fp1-t2a", "scene": "FloorPlan1", "room_type": "kitchen", "difficulty_tier": "tier2_pickup", "instruction": "Pick up the apple.", "goal": "pick_up", "object": "apple", "target": null},
16
+ {"task_id": "milo-v1-fp1-t2b", "scene": "FloorPlan1", "room_type": "kitchen", "difficulty_tier": "tier2_pickup", "instruction": "Pick up the spoon.", "goal": "pick_up", "object": "spoon", "target": null},
17
+ {"task_id": "milo-v1-fp1-t3a", "scene": "FloorPlan1", "room_type": "kitchen", "difficulty_tier": "tier3_store", "instruction": "Put the bread away in the fridge.", "goal": "store", "object": "bread", "target": "fridge", "notes": "fridge is a confirmed openable container in this scene."},
18
+
19
+ {"task_id": "milo-v1-fp5-t1a", "scene": "FloorPlan5", "room_type": "kitchen", "difficulty_tier": "tier1_locate", "instruction": "Find the bowl.", "goal": "find", "object": "bowl", "target": null},
20
+ {"task_id": "milo-v1-fp5-t1b", "scene": "FloorPlan5", "room_type": "kitchen", "difficulty_tier": "tier1_locate", "instruction": "Find the kettle.", "goal": "find", "object": "kettle", "target": null},
21
+ {"task_id": "milo-v1-fp5-t2a", "scene": "FloorPlan5", "room_type": "kitchen", "difficulty_tier": "tier2_pickup", "instruction": "Pick up the potato.", "goal": "pick_up", "object": "potato", "target": null},
22
+ {"task_id": "milo-v1-fp5-t2b", "scene": "FloorPlan5", "room_type": "kitchen", "difficulty_tier": "tier2_pickup", "instruction": "Pick up the pan.", "goal": "pick_up", "object": "pan", "target": null},
23
+ {"task_id": "milo-v1-fp5-t3a", "scene": "FloorPlan5", "room_type": "kitchen", "difficulty_tier": "tier3_store", "instruction": "Put the mug away in the cabinet.", "goal": "store", "object": "mug", "target": "cabinet", "notes": "cabinet is a confirmed openable container in this scene."},
24
+
25
+ {"task_id": "milo-v1-fp201-t1a", "scene": "FloorPlan201", "room_type": "living_room", "difficulty_tier": "tier1_locate", "instruction": "Find the laptop.", "goal": "find", "object": "laptop", "target": null},
26
+ {"task_id": "milo-v1-fp201-t1b", "scene": "FloorPlan201", "room_type": "living_room", "difficulty_tier": "tier1_locate", "instruction": "Find the vase.", "goal": "find", "object": "vase", "target": null},
27
+ {"task_id": "milo-v1-fp201-t2a", "scene": "FloorPlan201", "room_type": "living_room", "difficulty_tier": "tier2_pickup", "instruction": "Pick up the newspaper.", "goal": "pick_up", "object": "newspaper", "target": null},
28
+ {"task_id": "milo-v1-fp201-t2b", "scene": "FloorPlan201", "room_type": "living_room", "difficulty_tier": "tier2_pickup", "instruction": "Pick up the pillow.", "goal": "pick_up", "object": "pillow", "target": null},
29
+ {"task_id": "milo-v1-fp201-t3a", "scene": "FloorPlan201", "room_type": "living_room", "difficulty_tier": "tier3_store", "instruction": "Put the remote control away in the drawer.", "goal": "store", "object": "remotecontrol", "target": "drawer", "notes": "drawer is a confirmed openable container in this scene."},
30
+
31
+ {"task_id": "milo-v1-fp301-t1a", "scene": "FloorPlan301", "room_type": "bedroom", "difficulty_tier": "tier1_locate", "instruction": "Find the alarm clock.", "goal": "find", "object": "alarmclock", "target": null},
32
+ {"task_id": "milo-v1-fp301-t1b", "scene": "FloorPlan301", "room_type": "bedroom", "difficulty_tier": "tier1_locate", "instruction": "Find the cell phone.", "goal": "find", "object": "cellphone", "target": null},
33
+ {"task_id": "milo-v1-fp301-t2a", "scene": "FloorPlan301", "room_type": "bedroom", "difficulty_tier": "tier2_pickup", "instruction": "Pick up the boots.", "goal": "pick_up", "object": "boots", "target": null},
34
+ {"task_id": "milo-v1-fp301-t2b", "scene": "FloorPlan301", "room_type": "bedroom", "difficulty_tier": "tier2_pickup", "instruction": "Pick up the CD.", "goal": "pick_up", "object": "cd", "target": null},
35
+ {"task_id": "milo-v1-fp301-t3a", "scene": "FloorPlan301", "room_type": "bedroom", "difficulty_tier": "tier3_store", "instruction": "Put the book away in the drawer.", "goal": "store", "object": "book", "target": "drawer", "notes": "drawer is a confirmed openable container in this scene. Phase D found this exact task fails at execution due to a real AI2-THOR placement/geometry limit (no room found for the object's bounding box inside this drawer), not a planner defect -- kept in v1.0 anyway since it is a genuine, reproducible ground-truth data point, not authoring error. See experiments/reports/phase_d_floorplan_generalization_findings.md section 5."},
36
+
37
+ {"task_id": "milo-v1-fp401-t1a", "scene": "FloorPlan401", "room_type": "bathroom", "difficulty_tier": "tier1_locate", "instruction": "Find the towel.", "goal": "find", "object": "towel", "target": null},
38
+ {"task_id": "milo-v1-fp401-t1b", "scene": "FloorPlan401", "room_type": "bathroom", "difficulty_tier": "tier1_locate", "instruction": "Find the candle.", "goal": "find", "object": "candle", "target": null},
39
+ {"task_id": "milo-v1-fp401-t2a", "scene": "FloorPlan401", "room_type": "bathroom", "difficulty_tier": "tier2_pickup", "instruction": "Pick up the soap bar.", "goal": "pick_up", "object": "soapbar", "target": null},
40
+ {"task_id": "milo-v1-fp401-t2b", "scene": "FloorPlan401", "room_type": "bathroom", "difficulty_tier": "tier2_pickup", "instruction": "Pick up the toilet paper.", "goal": "pick_up", "object": "toiletpaper", "target": null},
41
+ {"task_id": "milo-v1-fp401-t3a", "scene": "FloorPlan401", "room_type": "bathroom", "difficulty_tier": "tier3_store", "instruction": "Put the spray bottle away on the shelf.", "goal": "store", "object": "spraybottle", "target": "shelf", "notes": "KNOWN LIMITATION, kept deliberately: shelf is a real receptacle in this scene but is NOT openable. rule_based.py's _deposit() currently inserts an open step for every tier3_store target regardless of whether it is openable (a real bug this dataset's own generation sweep found -- see docs/roadmap.md's '_deposit() assumes every store destination is openable' row and experiments/reports/phase_d_floorplan_generalization_findings.md section 4). Any planner using today's rule_based.py deposit logic is expected to fail this task until that bug is fixed; this is intentional ground truth, not a mistake."}
42
+ ]
43
+ }