BTPG: A Platform and Benchmark for Behavior Tree Planning in Everyday Service Robots

Xinglin Chen, Yishuai Cai, Minglong Li, Yunxin Mao, Zhou Yang, Wenjing Yang, Weixia Xu, Ji Wang

Abstract

Behavior Trees (BTs) are increasingly favored in robotics for their modularity, human-readability, and inherent safety. However, the sub-field of automated BT planning—generating these trees to solve specific goals—has lacked a standardized platform for fair comparison and rigorous evaluation. This paper introduces BTPG (Behavior Tree Planning Gym), a comprehensive framework designed to unify BT representation and benchmarking. BTPG provides four diverse simulation environments and introduces advanced metrics for robustness and planning progress. We also present UHBTP, a heuristic-based planner that leverages classical logic to outperform Large Language Model (LLM) based approaches in efficiency and reliability.

Introduction

While Behavior Trees are a staple in modern robotics, the development of algorithms to automatically plan these trees has been fragmented. Researchers often rely on custom, simplified simulators, making cross-algorithm comparison nearly impossible. Furthermore, traditional evaluation metrics like planning time and execution steps fail to capture the nuances of real-world deployment, such as a plan's "attraction region" or its robustness to environmental noise. BTPG addresses these gaps by providing a standardized "playground" for the community, moving the field toward reliable, real-world service robot deployment.

The BTPG Framework and Methodology

BTPG unifies BT representation using predicate logic (e.g., on(apple, table)) and STRIPS-style action models. This standardization allows behavior nodes to be tested across different platforms seamlessly.

Overview of the BTPG pipeline, illustrating the transition from task definition through planning to behavior tree execution.

Universal Heuristic Behavior Tree Planning (UHBTP)

A core contribution of this work is the UHBTP algorithm. Unlike recent trends that utilize LLMs for planning heuristics—which are prone to latency and "hallucinations"—UHBTP employs delete relaxation (a technique from classical planning) to generate domain-independent heuristics. This approach ensures raw logic remains the driver of tree construction.

Advanced Evaluation Metrics

BTPG moves beyond simple speed tests by introducing:

  • Planning Progress (PP): Tracks how close a planner is to the optimal solution throughout the search process.
  • Region Distance (RD): Measures the tree's depth, indicating how far from the goal a robot can still recover.
  • Execution Robustness (ER): A probabilistic measure of success when environmental noise is introduced during execution.

Environments and Datasets

BTPG includes a dataset generator capable of creating thousands of randomized tasks across four distinct environments:

  1. RoboWaiter (RW): Service tasks in Unreal Engine 5.
  2. VirtualHome (VH): Household chores using scripted APIs.
  3. OmniGibson (OG): High-fidelity physics-based tasks in NVIDIA’s IsaacSim.
  4. RobotHow (RH): A massive knowledge-based environment for large-scale testing with nearly 5,000 possible conditions.
The OmniGibson environment within BTPG, showcasing high-fidelity physics-based simulation for service robot tasks.

Key Results and Insights

Efficiency and Conciseness

In the complex RobotHow environment, UHBTP achieved a significantly lower timeout rate (22%) compared to the standard BT Expansion algorithm (68.5%). Furthermore, heuristic-based planners produced much more concise trees; in VirtualHome, UHBTP generated trees with approximately 154 nodes, whereas standard expansion required over 1,500 nodes to achieve the same goals.

The Robustness Gap

One of the most critical findings from the BTPG benchmark is the fragility of current planned BTs. While they perform well under ideal conditions, success rates for multi-goal tasks plummeted to below 20% when even moderate environmental noise was introduced. This highlights a major "robustness gap" that future research must address.

Classical Logic vs. LLMs

Experimental results suggest that while LLMs are excellent for interpreting human intent, specialized classical planning algorithms like UHBTP remain superior for the raw logic required in tree construction, offering faster performance and more reliable results.

Conclusion and Future Work

BTPG establishes a new standard for BT planning research, revealing a clear trade-off between planning efficiency and robustness. Future work will focus on closing the robustness gap, integrating LLMs for high-level intent while maintaining algorithmic logic for low-level planning, and expanding physics-based simulations to larger-scale environments like RobotHow.

Summary updated

BibTeX
@inproceedings{chen2025btpg,
  author = {Xinglin Chen and Yishuai Cai and Minglong Li and Yunxin Mao and Zhou Yang and Wenjing Yang and Weixia Xu and Ji Wang},
  title = {{BTPG: A Platform and Benchmark for Behavior Tree Planning in Everyday Service Robots}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.24963/ijcai.2025/969},
}
Figure