{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/reflect-summarizing-robot-experiences-for","title":"REFLECT: Summarizing Robot Experiences for Failure Explanation and Correction","arxiv_id":"2306.15724","date":"2023-06-27","proceeding":null,"authors":["Zeyi Liu","Arpit Bahety","Shuran Song"],"abstract":"The ability to detect and analyze failed executions automatically is crucial for an explainable and robust robotic system. Recently, Large Language Models (LLMs) have demonstrated strong reasoning abilities on textual inputs. To leverage the power of LLMs for robot failure explanation, we introduce REFLECT, a framework which queries LLM for failure reasoning based on a hierarchical summary of robot past experiences generated from multisensory observations. The failure explanation can further guide a language-based planner to correct the failure and complete the task. To systematically evaluate the framework, we create the RoboFail dataset with a variety of tasks and failure scenarios. We demonstrate that the LLM-based framework is able to generate informative failure explanations that assist successful correction planning.","url_abs":"https://arxiv.org/abs/2306.15724v4","url_pdf":"https://arxiv.org/pdf/2306.15724v4.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"reflect-summarizing-robot-experiences-for","repo_url":"https://github.com/real-stanford/reflect","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"common-sense-reasoning","task_name":"Common Sense Reasoning"},{"task_slug":"large-language-model","task_name":"Large Language Model"},{"task_slug":"robot-task-planning","task_name":"Robot Task Planning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2306.15724","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2306.15724"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/real-stanford/reflect","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":19},"by_repo_kind":{"official":{"samples":19,"ran":0,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"4f68169add358db7","entry":"camera_space_xyz_to_world_xyz","repo":"real-stanford/reflect","repo_kind":"official","path":"main/point_cloud_utils.py","file_url":"https://github.com/real-stanford/reflect/blob/HEAD/main/point_cloud_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4f68169add358db7"}},{"code_sha256_prefix":"f3d2917953b42b9d","entry":"execute_correction_plan","repo":"real-stanford/reflect","repo_kind":"official","path":"main/execute_replan.py","file_url":"https://github.com/real-stanford/reflect/blob/HEAD/main/execute_replan.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f3d2917953b42b9d"}},{"code_sha256_prefix":"cbf146cba6f1e1e4","entry":"flatten_list","repo":"real-stanford/reflect","repo_kind":"official","path":"main/gen_data.py","file_url":"https://github.com/real-stanford/reflect/blob/HEAD/main/gen_data.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"cbf146cba6f1e1e4"}},{"code_sha256_prefix":"5c58ab566b34016f","entry":"get_2d_bbox_from_3d_pcd","repo":"real-stanford/reflect","repo_kind":"official","path":"main/get_local_sg.py","file_url":"https://github.com/real-stanford/reflect/blob/HEAD/main/get_local_sg.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5c58ab566b34016f"}},{"code_sha256_prefix":"a1beae3860112855","entry":"get_failure_injection_idx","repo":"real-stanford/reflect","repo_kind":"official","path":"main/gen_data.py","file_url":"https://github.com/real-stanford/reflect/blob/HEAD/main/gen_data.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a1beae3860112855"}},{"code_sha256_prefix":"28406307196048ee","entry":"get_held_object","repo":"real-stanford/reflect","repo_kind":"official","path":"main/exp.py","file_url":"https://github.com/real-stanford/reflect/blob/HEAD/main/exp.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"28406307196048ee"}},{"code_sha256_prefix":"8e468b70570c5e0e","entry":"get_img_feats","repo":"real-stanford/reflect","repo_kind":"official","path":"main/clip_utils.py","file_url":"https://github.com/real-stanford/reflect/blob/HEAD/main/clip_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8e468b70570c5e0e"}},{"code_sha256_prefix":"2cc0c2941e7fc49a","entry":"get_iou","repo":"real-stanford/reflect","repo_kind":"official","path":"main/scene_graph.py","file_url":"https://github.com/real-stanford/reflect/blob/HEAD/main/scene_graph.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2cc0c2941e7fc49a"}},{"code_sha256_prefix":"99feff65213f3359","entry":"get_nn_text","repo":"real-stanford/reflect","repo_kind":"official","path":"main/clip_utils.py","file_url":"https://github.com/real-stanford/reflect/blob/HEAD/main/clip_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"99feff65213f3359"}},{"code_sha256_prefix":"0fdc59d8880aa5b9","entry":"get_node_dist","repo":"real-stanford/reflect","repo_kind":"official","path":"main/scene_graph.py","file_url":"https://github.com/real-stanford/reflect/blob/HEAD/main/scene_graph.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0fdc59d8880aa5b9"}},{"code_sha256_prefix":"1422367f717832a4","entry":"get_object_list_from_actions","repo":"real-stanford/reflect","repo_kind":"official","path":"main/data.py","file_url":"https://github.com/real-stanford/reflect/blob/HEAD/main/data.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1422367f717832a4"}},{"code_sha256_prefix":"89b4cacb10231f36","entry":"get_object_state","repo":"real-stanford/reflect","repo_kind":"official","path":"main/scene_graph.py","file_url":"https://github.com/real-stanford/reflect/blob/HEAD/main/scene_graph.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"89b4cacb10231f36"}},{"code_sha256_prefix":"dbea2913a1b8d249","entry":"get_scene_text","repo":"real-stanford/reflect","repo_kind":"official","path":"main/exp.py","file_url":"https://github.com/real-stanford/reflect/blob/HEAD/main/exp.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"dbea2913a1b8d249"}},{"code_sha256_prefix":"89a91dfceeb2c26c","entry":"load_data","repo":"real-stanford/reflect","repo_kind":"official","path":"main/data.py","file_url":"https://github.com/real-stanford/reflect/blob/HEAD/main/data.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"89a91dfceeb2c26c"}},{"code_sha256_prefix":"b234710abadc6349","entry":"navigate_to_obj","repo":"real-stanford/reflect","repo_kind":"official","path":"main/action_primitives.py","file_url":"https://github.com/real-stanford/reflect/blob/HEAD/main/action_primitives.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b234710abadc6349"}},{"code_sha256_prefix":"97218b66214d3fc3","entry":"object_color_to_intid","repo":"real-stanford/reflect","repo_kind":"official","path":"main/constants.py","file_url":"https://github.com/real-stanford/reflect/blob/HEAD/main/constants.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"97218b66214d3fc3"}},{"code_sha256_prefix":"15b4c4537630e284","entry":"object_intid_to_color","repo":"real-stanford/reflect","repo_kind":"official","path":"main/constants.py","file_url":"https://github.com/real-stanford/reflect/blob/HEAD/main/constants.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"15b4c4537630e284"}},{"code_sha256_prefix":"c2293cf765f32ac0","entry":"object_string_to_intid","repo":"real-stanford/reflect","repo_kind":"official","path":"main/constants.py","file_url":"https://github.com/real-stanford/reflect/blob/HEAD/main/constants.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c2293cf765f32ac0"}},{"code_sha256_prefix":"ee172cf12ba1e5aa","entry":"world_space_xyz_to_camera_space_xyz","repo":"real-stanford/reflect","repo_kind":"official","path":"main/point_cloud_utils.py","file_url":"https://github.com/real-stanford/reflect/blob/HEAD/main/point_cloud_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ee172cf12ba1e5aa"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}