LLM as BT-Planner: Leveraging LLMs for Behavior Tree Generation in Robot Task Planning
<|reference_start|>LLM as BT-Planner: Leveraging LLMs for Behavior Tree Generation in Robot Task Planning: Robotic assembly tasks are open challenges due to the long task horizon and complex part relations. Behavior trees (BTs) are increasingly used in robot task planning for their modularity and flexibility, but manually designing them can be effort-intensive. Large language models (LLMs) have recently been applied in robotic task planning for generating action sequences, but their ability to generate BTs has not been fully investigated. To this end, We propose LLM as BT-planner, a novel framework to leverage LLMs for BT generation in robotic assembly task planning and execution. Four in-context learning methods are introduced to utilize the natural language processing and inference capabilities of LLMs to produce task plans in BT format, reducing manual effort and ensuring robustness and comprehensibility. We also evaluate the performance of fine-tuned, fewer-parameter LLMs on the same tasks. Experiments in simulated and real-world settings show that our framework enhances LLMs' performance in BT generation, improving success rates in BT generation through in-context learning and supervised fine-tuning.<|reference_end|>
@article{ao2024llm,
    title={LLM as BT-Planner: Leveraging LLMs for Behavior Tree Generation in Robot
  Task Planning},
    author={Jicong Ao, Fan Wu, Yansong Wu, Abdalla Swikir, Sami Haddadin},
    journal={arXiv preprint arXiv:2409.10444},
    year={2024},
    archivePrefix={arXiv},
    eprint={2409.10444},
    primaryClass={cs.RO}
}