arrow
Return

Multi-modal Sketch-Based Behavior Tree Synthesis

delete2025-10-01
delete0
PRE
AI
W
W.H. Zhang
Z
Zhenbang Chen *
W
Weijiang Hong
DOI:10.1145/3763178delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Behavior trees (BTs) are widely adopted in the field of agent control, particularly in robotics, due to their modularity and reactivity. However, constructing a BT that meets the desired expectations is time-consuming and challenging, especially for non-experts. This paper presents BTBOT, a multi-modal sketch-based behavior tree synthesis technique. Given a natural language task description and a set of positive and negative examples, BTBOT automatically generates a BT program that aligns with the natural language description and meets the requirements of the examples. Inside BTBOT, an LLM is employed to understand the task's natural language description and generate a sketch of the task execution. Then, BTBOT searches the sketch to synthesize a candidate BT program consistent with the user-provided positive and negative examples. When the sketch is proven to be incapable of generating the target BT, BTBOT provides a multi-step repairing method that modifies the control nodes and structure of the sketch to search for the desired BT. We have implemented BTBOT in a prototype and evaluated it on a benchmark of 70 tasks across multiple scenarios. The experimental results indicate that BTBOT outperforms the existing BT synthesis techniques in effectiveness and efficiency. In addition, two user studies have been conducted to demonstrate the usefulness of BTBOT.
Keywords:
Program Synthesis
Behavior Tree
Sketch

Journal

P
Proceedings of the ACM on Programming Languages-PACMPL
IF:
2.8
Papers:
308
Citations:
4.7K

Organization

N
national university of defense technology - china
Scholars:
1.8W
Papers: 1.4W
Citations: 9