{"id":7809,"date":"2024-12-12T22:00:00","date_gmt":"2024-12-12T22:00:00","guid":{"rendered":"https:\/\/www.aiproblog.com\/index.php\/2024\/12\/12\/teaching-a-robot-its-limits-to-complete-open-ended-tasks-safely\/"},"modified":"2024-12-12T22:00:00","modified_gmt":"2024-12-12T22:00:00","slug":"teaching-a-robot-its-limits-to-complete-open-ended-tasks-safely","status":"publish","type":"post","link":"https:\/\/www.aiproblog.com\/index.php\/2024\/12\/12\/teaching-a-robot-its-limits-to-complete-open-ended-tasks-safely\/","title":{"rendered":"Teaching a robot its limits, to complete open-ended tasks safely"},"content":{"rendered":"<p>Author: Alex Shipps | MIT CSAIL<\/p>\n<div>\n<p dir=\"ltr\" id=\"docs-internal-guid-8a4c5d2f-7fff-0f2d-8a04-5aa86fc148ee\">If someone advises you to \u201cknow your limits,\u201d they\u2019re likely suggesting you do things like exercise in moderation. To a robot, though, the motto represents learning constraints, or limitations of a specific task within the machine\u2019s environment, to do chores safely and correctly.<\/p>\n<p dir=\"ltr\">For instance, imagine asking a robot to clean your kitchen when it doesn\u2019t understand the physics of its surroundings. How can the machine generate a practical multistep plan to ensure the room is spotless? Large language models (LLMs) can get them close, but if the model is only trained on text, it\u2019s likely to miss out on key specifics about the robot\u2019s physical constraints, like how far it can reach or whether there are nearby obstacles to avoid. Stick to LLMs alone, and you\u2019re likely to end up cleaning pasta stains out of your floorboards.<\/p>\n<p dir=\"ltr\">To guide robots in executing these open-ended tasks, researchers at MIT\u2019s Computer Science and Artificial Intelligence Laboratory (CSAIL) used vision models to see what\u2019s near the machine and model its constraints. The team\u2019s strategy involves an LLM sketching up a plan that\u2019s checked in a simulator to ensure it\u2019s safe and realistic. If that sequence of actions is infeasible, the language model will generate a new plan, until it arrives at one that the robot can execute.<\/p>\n<p dir=\"ltr\">This trial-and-error method, which the researchers call \u201cPlanning for Robots via Code for Continuous Constraint Satisfaction\u201d (PRoC3S), tests long-horizon plans to ensure they satisfy all constraints, and enables a robot to perform such diverse tasks as writing individual letters, drawing a star, and sorting and placing blocks in different positions. In the future, PRoC3S could help robots complete more intricate chores in dynamic environments like houses, where they may be prompted to do a general chore composed of many steps (like \u201cmake me breakfast\u201d).<\/p>\n<p dir=\"ltr\">\u201cLLMs and classical robotics systems like task and motion planners can\u2019t execute these kinds of tasks on their own, but together, their synergy makes open-ended problem-solving possible,\u201d says PhD student Nishanth Kumar SM \u201924, co-lead author of a new paper about PRoC3S. \u201cWe\u2019re creating a simulation on-the-fly of what\u2019s around the robot and trying out many possible action plans. Vision models help us create a very realistic digital world that enables the robot to reason about feasible actions for each step of a long-horizon plan.\u201d<\/p>\n<p dir=\"ltr\">The team\u2019s work was presented this past month in a paper shown at the Conference on Robot Learning (CoRL) in Munich, Germany.<\/p>\n<p dir=\"ltr\">The researchers\u2019 method uses an LLM pre-trained on text from across the internet. Before asking PRoC3S to do a task, the team provided their language model with a sample task (like drawing a square) that\u2019s related to the target one (drawing a star). The sample task includes a description of the activity, a long-horizon plan, and relevant details about the robot\u2019s environment.<\/p>\n<p dir=\"ltr\">But how did these plans fare in practice? In simulations, PRoC3S successfully drew stars and letters eight out of 10 times each. It also could stack digital blocks in pyramids and lines, and place items with accuracy, like fruits on a plate. Across each of these digital demos, the CSAIL method completed the requested task more consistently than comparable approaches like\u00a0<a href=\"https:\/\/arxiv.org\/pdf\/2403.11552\">\u201cLLM3\u201d<\/a> and\u00a0<a href=\"https:\/\/arxiv.org\/pdf\/2209.07753\">\u201cCode as Policies\u201d<\/a>.<\/p>\n<p>The CSAIL engineers next brought their approach to the real world. Their method developed and executed plans on a robotic arm, teaching it to put blocks in straight lines. PRoC3S also enabled the machine to place blue and red blocks into matching bowls and move all objects near the center of a table.<\/p>\n<p dir=\"ltr\">Kumar and co-lead author Aidan Curtis SM \u201923, who\u2019s also a PhD student working in CSAIL, say these findings indicate how an LLM can develop safer plans that humans can trust to work in practice. The researchers envision a home robot that can be given a more general request (like \u201cbring me some chips\u201d) and reliably figure out the specific steps needed to execute it. PRoC3S could help a robot test out plans in an identical digital environment to find a working course of action \u2014 and more importantly, bring you a tasty snack.<\/p>\n<p dir=\"ltr\">For future work, the researchers aim to improve results using a more advanced physics simulator and to expand to more elaborate longer-horizon tasks via more scalable data-search techniques. Moreover, they plan to apply PRoC3S to mobile robots such as a quadruped for tasks that include walking and scanning surroundings.<\/p>\n<p dir=\"ltr\">\u201cUsing foundation models like ChatGPT to control robot actions can lead to unsafe or incorrect behaviors due to hallucinations,\u201d says The AI Institute researcher Eric Rosen, who isn\u2019t involved in the research. \u201cPRoC3S tackles this issue by leveraging foundation models for high-level task guidance, while employing AI techniques that explicitly reason about the world to ensure verifiably safe and correct actions. This combination of planning-based and data-driven approaches may be key to developing robots capable of understanding and reliably performing a broader range of tasks than currently possible.\u201d<\/p>\n<p dir=\"ltr\">Kumar and Curtis\u2019 co-authors are also CSAIL affiliates: MIT undergraduate researcher Jing Cao and MIT Department of Electrical Engineering and Computer Science professors Leslie Pack Kaelbling and Tom\u00e1s Lozano-P\u00e9rez. Their work was supported, in part, by the National Science Foundation, the Air Force Office of Scientific Research, the Office of Naval Research, the Army Research Office, MIT Quest for Intelligence, and The AI Institute.<\/p>\n<\/div>\n<p><a href=\"https:\/\/news.mit.edu\/2024\/teaching-robot-its-limits-complete-open-ended-tasks-safely-1212\">Go to Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Author: Alex Shipps | MIT CSAIL If someone advises you to \u201cknow your limits,\u201d they\u2019re likely suggesting you do things like exercise in moderation. To [&hellip;] <span class=\"read-more-link\"><a class=\"read-more\" href=\"https:\/\/www.aiproblog.com\/index.php\/2024\/12\/12\/teaching-a-robot-its-limits-to-complete-open-ended-tasks-safely\/\">Read More<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":463,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[24],"tags":[],"_links":{"self":[{"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/posts\/7809"}],"collection":[{"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/comments?post=7809"}],"version-history":[{"count":0,"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/posts\/7809\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/media\/469"}],"wp:attachment":[{"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/media?parent=7809"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/categories?post=7809"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/tags?post=7809"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}