• Home
  • Search
  • Code-BT: A Code-Driven Approach to Behavior Tree Generation for Robot Tasks Planning with Large Language Models
  • Cite Icon3
  • https://doi.org/10.24963/ijcai.2024/980Copy DOI Icon

Code-BT: A Code-Driven Approach to Behavior Tree Generation for Robot Tasks Planning with Large Language Models

  • Aug 1, 2024
  • Siyang Zhang +7 more
Show More
  • Abstract
  • Literature Map
  • Citations
  • Similar Papers
Abstract

Behavior trees(BTs) provide a systematic and structured control architecture extensively employed in game AI and robotic behavior control, owing to their modularity, reactivity, and reusability. Nonetheless, manual BTs design requires significant expertise and becomes inefficient as task complexity increases. Recent automation technologies have avoided manual work, but often have high application barriers and face challenges in adapting to new tasks, making it difficult to easily configure them to specific requirements. Code-BT introduces a novel approach that utilizes large language models(LLMs) to automatically generate BTs, representing the task planning process as the process of coding and organizing sequences. By retrieving control flow information from the generated code, BTs can be efficiently constructed to address the complexity and diversity of task planning challenges. Rather than relying on manual design, Code-BT uses task instructions to guide the selection of relevant APIs, and then systematically assembles these APIs into modular code to align with the BTs structure. Finally, action sequences and control logic are extracted from the generated code to construct the BTs. Our approach not only ensures the automation of BTs generation but also guarantees the scalability and adaptability for long-term tasks. Experimental results demonstrate that Code-BT substantially improves LLM performance in BTs generation, achieving improvements ranging from16.67% to 29.17%.

Similar Papers
  • Conference Article
  • Citations5

Integrating Intent Understanding and Optimal Behavior Planning for Behavior Tree Generation from Human Instructions

  • Aug 01, 2024
  • Xiaoshuo Yan +6
  • Conference Article

Human Language-Instructed Robotic Excavation based on Behavior Trees

  • Jan 01, 2024
  • AHFE international
  • Zirui Hong +1
  • PDF
  • Research Article
  • Citations18

Enhancing Robot Task Planning and Execution through Multi-Layer Large Language Models.

  • Mar 06, 2024
  • Sensors
  • Zhirong Luan +6
  • Conference Article
  • Citations16

Integration of an Automated Hierarchical Task Planner in ROS Using Behaviour Trees

  • Sep 01, 2017
  • Jose Angel Segura-Muros +1
  • Conference Article
  • Citations14

An Autonomous Task Algorithm Based on Behavior Trees for Robot

  • Sep 01, 2019
  • Haotian Zhou +2
  • Research Article
  • Citations15

Large language models in neurosurgery: a systematic review and meta-analysis.

  • Nov 23, 2024
  • Acta neurochirurgica
  • Advait Patil +5
  • Conference Article

Human-in-the-loop Learning for Adaptive Robot Manipulation using Large Language Models and Behavior Trees

  • Oct 19, 2025
  • Haotian Zhou +3
  • Preprint Article

Achieving Adaptive Tasks from Human Instructions for Robots Using Large Language Models and Behavior Trees

  • Jan 01, 2024
  • SSRN Electronic Journal
  • Haotian Zhou +3
  • Conference Article
  • Citations7

Generation of synthetic workloads for multiplayer online gaming benchmarks

  • Nov 01, 2012
  • Tonio Triebel +5
  • Book Chapter
  • Citations2

Authoring Behaviour for Characters in Games Reusing Abstracted Plan Traces

  • Jan 01, 2009
  • Antonio A Sánchez-Ruiz +3
  • Research Article

#2924 Comparison of large language models and traditional natural language processing techniques in predicting arteriovenous fistula failure

  • May 23, 2024
  • Nephrology Dialysis Transplantation
  • Suman Lama +6
  • Research Article
  • Citations2

Conversations With my Data: Exploring the Potential of Large Language Models in Qualitative Futures Research

  • Dec 01, 2024
  • World Futures Review
  • Richard B Macgeorge
  • Conference Article
  • Citations1

ELEC: Efficient Large Language Model-Empowered Click-Through Rate Prediction

  • Jul 13, 2025
  • Rui Dong +2
  • Conference Article

A Survey on Training-free Alignment of Large Language Models

  • Jan 01, 2025
  • Bailin Pan +8
  • Research Article

Evaluating large language models for clinical note processing: local fine-tuning and internal-external validation using electronic health records from South Asia.

  • Feb 25, 2026
  • BMC medical informatics and decision making
  • Seyed Alireza Hasheminasab +18
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.