Formalizing Stateful Behavior Trees

Behavior Trees (BTs) are high-level controllers that are useful in a variety of planning tasks and are gaining traction in robotic mission planning.As they gain popularity in safety-critical domains, it is important to formalize their syntax and semantics, as well as verify properties for them.In this paper, we formalize a class of BTs we call Stateful Behavior Trees (SBTs) that have auxiliary variables and operate in an environment that can change over time.SBTs have access to persistent shared memory-often known as a blackboard-that keeps track of these auxiliary variables.We demonstrate that SBTs are equivalent in computational power to Turing Machines when the blackboard can store mathematical (unbounded) integers.We also identify conditions where SBTs have computational power equivalent to finite state automata, specifically where the auxiliary variables are of finitary types.We present a domain specific language (DSL) for writing SBTs and adapt the tool BehaVerify for use with this DSL.This new DSL in BehaVerify supports interfacing with popular BT libraries in Python, and also provides generation of Haskell code and nuXmv models, the latter of which are used for model checking temporal logic specifications for the SBTs.We include examples and scalability results where BehaVerify outperforms another verification tool (MoVe4BT) by a factor of 100.

Authors

Institutions

Publication Details

Journal
Electronic Proceedings in Theoretical Computer Science
Published
2024-11-20
DOI
https://doi.org/10.4204/eptcs.411.14
Citations
4
Primary Topic
Advanced Database Systems and Queries
Type
article
Field-Weighted Citation Impact
1.40

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Formalizing Stateful Behavior Trees

Preston K. Robinette, Taylor T. Johnson, Serena S. Serbinowska, Gábor Karsai
4 citations
Electronic Proceedings in Theoretical Computer Science
Advanced Database Systems and Queries
1.40
article

Formalizing Stateful Behavior Trees

Preston K. Robinette, Taylor T. Johnson, Serena S. Serbinowska, Gábor Karsai
article en
4 citations

Abstract

Behavior Trees (BTs) are high-level controllers that are useful in a variety of planning tasks and are gaining traction in robotic mission planning.As they gain popularity in safety-critical domains, it is important to formalize their syntax and semantics, as well as verify properties for them.In this paper, we formalize a class of BTs we call Stateful Behavior Trees (SBTs) that have auxiliary variables and operate in an environment that can change over time.SBTs have access to persistent shared memory-often known as a blackboard-that keeps track of these auxiliary variables.We demonstrate that SBTs are equivalent in computational power to Turing Machines when the blackboard can store mathematical (unbounded) integers.We also identify conditions where SBTs have computational power equivalent to finite state automata, specifically where the auxiliary variables are of finitary types.We present a domain specific language (DSL) for writing SBTs and adapt the tool BehaVerify for use with this DSL.This new DSL in BehaVerify supports interfacing with popular BT libraries in Python, and also provides generation of Haskell code and nuXmv models, the latter of which are used for model checking temporal logic specifications for the SBTs.We include examples and scalability results where BehaVerify outperforms another verification tool (MoVe4BT) by a factor of 100.

Electronic Proceedings in Theoretical Computer ScienceVol. 411
Vanderbilt University (US)
National Science Foundation, Defense Advanced Research Projects Agency, Advanced Research Projects Agency, National Defense Science and Engineering Graduate, Office of Naval Research, Air Force Office of Scientific Research, Army Research Office, Air Force Research Laboratory
Openalex Percentile: Top 16%
Advanced Database Systems and Queries
1.40
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.