{"title":"Behavior tree generation and adaptation for a social robot control with LLMs","authors":"Sergio Merino-Fidalgo , Celia Sánchez-Girón , Eduardo Zalama , Jaime Gómez-García-Bermejo , Jaime Duque-Domingo","doi":"10.1016/j.robot.2025.105165","DOIUrl":null,"url":null,"abstract":"<div><div>Large Language Models have recently emerged as a powerful tool for generating flexible and context-aware robotic behavior. However, adapting to unforeseen events and ensuring robust task completion remain significant challenges. This paper presents a novel system that leverages LLMs and Behavior Trees to enable robots to generate, execute, and adapt task plans based on natural language commands. The system employs ChatGPT to process user instructions, generating initial Behavior Trees that encapsulate the required task steps. A modular architecture, combining the BT planner and a Failure Interpreter module, allows the system to dynamically adjust Behavior Trees when execution challenges or environmental changes arise.</div><div>Unlike conventional methods that rely on static Behavior Trees or predefined state machines, our approach ensures adaptability by integrating a Failure Interpreter capable of identifying execution issues and proposing alternative plans or user clarifications in real time. This adaptability makes the system robust to disturbances and allows for seamless human–robot interaction. We validate the proposed methodology using experiments on a social robot across various scenarios in our workplace, demonstrating its effectiveness in generating executable Behavior Trees and responding to execution failures. The approach achieves an 89.6% success rate in a realistic home environment, highlighting the effectiveness of LLM-powered Behavior Trees in enabling robust and flexible robot behavior from natural language input.</div></div>","PeriodicalId":49592,"journal":{"name":"Robotics and Autonomous Systems","volume":"194 ","pages":"Article 105165"},"PeriodicalIF":5.2000,"publicationDate":"2025-08-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Robotics and Autonomous Systems","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0921889025002623","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AUTOMATION & CONTROL SYSTEMS","Score":null,"Total":0}
引用次数: 0
Abstract
Large Language Models have recently emerged as a powerful tool for generating flexible and context-aware robotic behavior. However, adapting to unforeseen events and ensuring robust task completion remain significant challenges. This paper presents a novel system that leverages LLMs and Behavior Trees to enable robots to generate, execute, and adapt task plans based on natural language commands. The system employs ChatGPT to process user instructions, generating initial Behavior Trees that encapsulate the required task steps. A modular architecture, combining the BT planner and a Failure Interpreter module, allows the system to dynamically adjust Behavior Trees when execution challenges or environmental changes arise.
Unlike conventional methods that rely on static Behavior Trees or predefined state machines, our approach ensures adaptability by integrating a Failure Interpreter capable of identifying execution issues and proposing alternative plans or user clarifications in real time. This adaptability makes the system robust to disturbances and allows for seamless human–robot interaction. We validate the proposed methodology using experiments on a social robot across various scenarios in our workplace, demonstrating its effectiveness in generating executable Behavior Trees and responding to execution failures. The approach achieves an 89.6% success rate in a realistic home environment, highlighting the effectiveness of LLM-powered Behavior Trees in enabling robust and flexible robot behavior from natural language input.
期刊介绍:
Robotics and Autonomous Systems will carry articles describing fundamental developments in the field of robotics, with special emphasis on autonomous systems. An important goal of this journal is to extend the state of the art in both symbolic and sensory based robot control and learning in the context of autonomous systems.
Robotics and Autonomous Systems will carry articles on the theoretical, computational and experimental aspects of autonomous systems, or modules of such systems.