Lune

OOPSLA2025Top-tier venue

Multi-modal Sketch-Based Behavior Tree Synthesis

Wenmeng Zhang, Zhenbang Chen, Weijiang Hong

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Multi-modal program inference: a marriage of pre-trained language models and component-based synthesis cites Multi-modal synthesis of regular expressions
  • Real-to-Sim Generation: Synthesizing Scenario Programs from Real-World Data via Constraint Solving cites Multi-modal synthesis of regular expressions
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Real-to-Sim Generation: Synthesizing Scenario Programs from Real-World Data via Constraint SolvingPeishan Huang, Wenmeng Zhang, Yusen Chen, Zhenbang ChenOOPSLA 2026

Builds on11

  1. Language-Conditioned Imitation Learning for Robot Manipulation TasksSimon Stepputtis, Joseph Campbell, Mariano J. Phielipp, Stefan Lee et al.NeurIPS 2020 · 258 citations
  2. Decomposed Prompting: A Modular Approach for Solving Complex TasksTushar Khot, Harsh Trivedi, Matthew Finlayson, Yao Fu et al.ICLR 2023 · 94 citations
  3. Make LLM a Testing Expert: Bringing Human-like Interaction to Mobile GUI Testing via Functionality-aware DecisionsZhe Liu, Chunyang Chen, Junjie Wang, Mengzhuo Chen et al.ICSE 2024 · 81 citations
  4. Multi-modal synthesis of regular expressionsQiaochu Chen, Xinyu Wang, Xi Ye, Greg Durrett et al.PLDI 2020 · 81 citations
  5. Multi-modal program inference: a marriage of pre-trained language models and component-based synthesisKia Rahmani, Mohammad Raza, Sumit Gulwani, Vu Le et al.OOPSLA 2021 · 32 citations

Related papers

  1. Interactive synthesis of temporal specifications from examples and natural languageIvan Gavran, Eva Darulova, Rupak MajumdarOOPSLA 2020 · 22 citations
  2. EffBT: An Efficient Behavior Tree Reactive Synthesis and Execution FrameworkZiji Wu, Yu Huang, Peishan Huang, Shanghua Wen et al.ICSE 2025 · 1 citation
  3. Neuro-symbolic Hierarchical Learning for Long-Horizon Robotic TasksYu Huang, Ziji Wu, Zhengyi Ma, Kexin Ma et al.PLDI 2026
  4. BT Expansion: a Sound and Complete Algorithm for Behavior Planning of Intelligent Robots with Behavior TreesZhongxuan Cai, Minglong Li, Wanrong Huang, Wenjing YangAAAI 2021 · 28 citations
  5. MRBTP: Efficient Multi-Robot Behavior Tree Planning and CollaborationYishuai Cai, Xinglin Chen, Zhongxuan Cai, Yunxin Mao et al.AAAI 2025 · 8 citations
Dusk over the sea between two cliffs drawn in fine vertical lines