Behavior Trees and State Machines in Robotics Applications
Not on the map. Why?
Abstract (arXiv)
Autonomous robots combine skills to form increasingly complex behaviors, called missions. While skills are often programmed at a relatively low abstraction level, their coordination is architecturally separated and often expressed in higher-level languages or frameworks. State machines have been the go-to language to model behavior for decades, but recently, behavior trees have gained attention among roboticists. Although several implementations of behavior trees are in use, little is known about their usage and scope in the real world.How do concepts offered by behavior trees relate to traditional languages, such as state machines? How are concepts in behavior trees and state machines used in actual applications? This paper is a study of the key language concepts in behavior trees as realized in domain-specific languages (DSLs), internal and external DSLs offered as libraries, and their use in open-source robotic applications supported by the Robot Operating System (ROS). We analyze behavior-tree DSLs and compare them to the standard language for behavior models in robotics:state machines. We identify DSLs for both behavior-modeling languages, and we analyze five in-depth.We mine open-source repositories for robotic applications that use the analyzed DSLs and analyze their usage. We identify similarities between behavior trees and state machines in terms of language design and the concepts offered to accommodate the needs of the robotics domain. We observed that the usage of behavior-tree DSLs in open-source projects is increasing rapidly. We observed similar usage patterns at model structure and at code reuse in the behavior-tree and state-machine models within the mined open-source projects. We contribute all extracted models as a dataset, hoping to inspire the community to use and further develop behavior trees, associated tools, and analysis techniques.
Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). First posted on arXiv 8 Aug 2022.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2023: 1; 2024: 3; 2025: 4; 2026: 3.
11 papers.
- 2023LLM-MARS: Large Language Model for Behavior Tree Generation and NLP-enhanced Dialogue in Multi-Agent Robot Systemscited by 17
- 2025ADAPT: An Autonomous Forklift for Construction Site Operationcited by 3
- 2026Multimodal Behavior Tree Generation: A Small Vision-Language Model for Robot Task Planningcited by 2
- 2026ECM Contracts: Contract-Aware, Versioned, and Governable Capability Interfaces for Embodied Agentscited by 2
- 2024Adaptable Recovery Behaviors in Robotics: A Behavior Trees and Motion Generators(BTMG) Approach for Failure Managementcited by 1
- 2024Adaptive Manipulation using Behavior Treescited by 1
- 2025Towards Humanoid Robot Autonomy: A Dynamic Architecture Integrating Continuous thought Machines (CTM) and Model Context Protocol (MCP)cited by 1
- 2025LLM-Driven Self-Refinement for Embodied Drone Task Planningcited by 1
- 2024SPACE: A Python-based Simulator for Evaluating Decentralized Multi-Robot Task Allocation Algorithmscited by 0
- 2025Enhancing Explainability with Multimodal Context Representations for Smarter Robotscited by 0
- 2026Towards An LLM-Driven Unified Conversion Framework for BT and FSM in Autonomous Intelligent Systemscited by 0
- 2026Towards An LLM-Driven Unified Conversion Framework for BT and FSM in Autonomous Intelligent Systems24 Sep 2026
- 2026ECM Contracts: Contract-Aware, Versioned, and Governable Capability Interfaces for Embodied Agents10 Apr 2026
- 2026Multimodal Behavior Tree Generation: A Small Vision-Language Model for Robot Task Planning6 Mar 2026
- 2025LLM-Driven Self-Refinement for Embodied Drone Task Planning21 Aug 2025
- 2025Towards Humanoid Robot Autonomy: A Dynamic Architecture Integrating Continuous thought Machines (CTM) and Model Context Protocol (MCP)25 May 2025
- 2025ADAPT: An Autonomous Forklift for Construction Site Operation18 Mar 2025
- 2025Enhancing Explainability with Multimodal Context Representations for Smarter Robots28 Feb 2025
- 2024SPACE: A Python-based Simulator for Evaluating Decentralized Multi-Robot Task Allocation Algorithms6 Sep 2024
- 2024Adaptive Manipulation using Behavior Trees20 Jun 2024
- 2024Adaptable Recovery Behaviors in Robotics: A Behavior Trees and Motion Generators(BTMG) Approach for Failure Management9 Apr 2024
- 2023LLM-MARS: Large Language Model for Behavior Tree Generation and NLP-enhanced Dialogue in Multi-Agent Robot Systems14 Dec 2023