|
Download failure_states/README.md from GammaRobotics/ActiveMoMa-Data: direct link, hf CLI and curl.
- Browser
- Download file 7.37 kB
-
https://huggingface.co/datasets/GammaRobotics/ActiveMoMa-Data/resolve/main/failure_states/README.md
- Command line
-
hf download hf://datasets/GammaRobotics/ActiveMoMa-Data/failure_states/README.md
-
curl -L -o README.md https://huggingface.co/datasets/GammaRobotics/ActiveMoMa-Data/resolve/main/failure_states/README.md
7.37 kB
| # Failure states | |
| Part of the data of *ActiveMoMa: Distilling Verified Active Recovery for Efficient Agentic Mobile Manipulation*. These are | |
| the failure states collected for verified distillation (Section 3.3 and Appendix B.1 of the paper). At each failure of a | |
| distilled student in BEHAVIOR-1K, the simulator state was saved, candidate replies were proposed, and the retries among | |
| them were executed from the saved state. The folder holds all 1,421 states of the three rounds of collection, from 309 | |
| episodes. Each comes with the student's input at the failure, every candidate proposed, the outcome of every executed | |
| retry, and the verdict. | |
| ## Contents | |
| | Path | What it holds | | |
| |---|---| | |
| | `states.jsonl` | one line per state: the failure, every candidate proposed for it, the outcome of every executed retry, and the verdicts | | |
| | `prompts/<id>/messages.json`, `image_0.jpg` to `image_2.jpg` | the student's input at the state: the whole conversation in chat format, with the last three head-camera images, in the format of the decision test | | |
| ## Collection | |
| Three rounds ran distilled students on training instances of the shoes, Easter-eggs and mousetraps tasks: | |
| - **Round 1:** the student before any recovery labels; | |
| - **Round 2:** the first-round student with verified decisions; | |
| - **Round 3:** a later student. | |
| Each round consists of one to three collections, which ran on different instances. | |
| At each failure, candidate replies came from three sources: | |
| - **Teacher:** up to three retries and one replanning reply, ranked by preference. The replanning reply is listed as `teacher_move_on`. | |
| - **Grid:** settings that vary the failed skill's parameters. | |
| - **Student:** four samples at temperature 1.0, plus its own reply in the episode. | |
| Retries were executed from the saved state, each followed by the call it hands off to (a `pick` after an approach to an | |
| object, a `place` after an approach to a placement target); replans were not executed. A collection pass executed at | |
| most ten candidates at a state: 13,820 in all, a median of ten. The executed retries came from the teacher (3,372), the | |
| student's samples (2,022), the student's own replies (649) and the grid (7,777). | |
| Left out: | |
| - records of an episode's earlier attempt, when the episode ran again after a timeout; | |
| - states whose restore did not match the saved state. | |
| ## Verdicts | |
| A state is *recoverable* if an executed retry passed and *unrecoverable* if none did. The verdict is therefore relative | |
| to the retries tried. An outcome that says nothing about its candidate is unknown and counts for nothing (Appendix B.2); | |
| a state whose known outcomes settle nothing has no verdict. Two sets of rules are given: | |
| | Field | Rules | Unrecoverable | Recoverable | No verdict | | |
| |---|---|---|---|---| | |
| | `verdict` | those of the decision test and the training labels: Appendix B.2 with its rules (i) to (iii) | 744 | 523 | 154 | | |
| | `verdict_base_rules` | the base rules, which the statistics of Appendix B.1 use | 785 | 574 | 62 | | |
| Under the base rules, 342 of the 543 first-round states with a verdict are unrecoverable, and 218 of the 410 | |
| second-round states, as in Appendix B.1. | |
| ## Fields of `states.jsonl` | |
| | Field | Meaning | | |
| |---|---| | |
| | `id` | `<collection>_<task>_<instance>_<call>` | | |
| | `round`, `collection` | the round of collection (1 to 3) and the collection within it (`1a`, `1b`, `2a`, `2b`, `2c`, `3a`, `3b`) | | |
| | `task`, `instance`, `call_index` | the activity, its instance, and the index of the student's model call at the state (the call that answers the failure) | | |
| | `failed_skill`, `failed_call`, `failure_type`, `failure_report` | the call that failed (in the format of a candidate's `call`), the type of the failure and the tool's report | | |
| | `target`, `target_position`, `held_object` | X, its last known position, and what the gripper holds | | |
| | `target_is_fixture`, `target_is_where_the_held_object_goes`, `other_names_of_target` | what the judging needs, as in the decision test | | |
| | `task_score_at_failure` | the task's score at the failure: the share of its goal conditions that hold | | |
| | `verdict`, `verdict_base_rules` | `unrecoverable`, `recoverable` or `null`, under the two sets of rules above | | |
| | `executed_retries`, `passing_retries` | counts over the executed candidates; a retry passes when its `passed` is true | | |
| | `in_decision_test` | the state's id in `../decision_test/` when it is one of the 154 test states, else `null` | | |
| | `has_prompt` | whether `prompts/<id>/` holds the student's input (true for every state) | | |
| | `candidates` | every proposal for the state, in the order it was proposed (fields below) | | |
| Fields of a candidate (every candidate has all of them; a field that does not apply is `null`): | |
| | Field | Meaning | | |
| |---|---| | |
| | `proposed_by` | `teacher`, one of the teacher's retries; `teacher_move_on`, the teacher's replanning reply; `student_own`, the student's reply in its episode; `student_sample`; `grid` | | |
| | `kind` | `retry`, `replan` or `other`, judged as in the decision test (Appendix B.2) | | |
| | `call` | `{"name", "arguments"}`: the call as the harness parses it. `arguments` is JSON-encoded, as in the OpenAI tool-call format, since the arguments differ in name and type from call to call. The literal text is in `reply` | | |
| | `reply` | the full reply; `null` for a grid setting | | |
| | `executed` | whether the retry was executed from the saved state | | |
| | `teacher_rank` | for the teacher's proposals (`teacher`, `teacher_move_on`), the rank the teacher gave them (0 first) | | |
| | `same_call_as` | for a candidate that repeats the setting of an earlier one (the same skill and arguments once defaults are filled in), that candidate's position in the list. It was not executed again | | |
| | `passed` | for an executed retry: its outcome as the judging rules read it, `null` when the outcome is unknown | | |
| | `passed_as_recorded` | for an executed retry: its outcome as recorded at execution (`null` when the run failed for reasons of infrastructure) | | |
| | `report` | for an executed retry whose own call failed: the tool's report | | |
| | `task_score_after` | for an executed retry: the task's score after its own call | | |
| ## Loading | |
| ```python | |
| import json | |
| from datasets import load_dataset | |
| states = load_dataset("GammaRobotics/ActiveMoMa-Data", "failure_states", split="train") | |
| call = states[0]["candidates"][1]["call"] | |
| print(call["name"], json.loads(call["arguments"])) | |
| ``` | |
| Each line of `states.jsonl` is also plain JSON; `prompts/<id>/messages.json` holds the conversation, whose image parts | |
| name the files beside it. | |
| ## Notes | |
| - The images are JPEG copies (quality 93) of the 512 × 512 inputs, rendered with the simple shading that the model sees | |
| in all simulated experiments. Absolute paths inside the conversations' tracebacks are shortened to `/workspace/`. | |
| - The folder holds the student's inputs and the executed outcomes. Simulator snapshots are not part of it. | |
| - The 154 states of the decision test come from this collection; `in_decision_test` names them. Their verdicts here | |
| equal the decision test's. The decision test executed further retries at 45 of them, which changed no verdict. | |
| - License: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/). The images are renders of BEHAVIOR-1K | |
| scenes and contain none of its 3D assets, which remain under the BEHAVIOR Data Bundle License Agreement | |
| (non-commercial academic research). | |