English

A Resourceful Reframing of Behavior Trees

Programming Languages 2018-03-28 v1 Artificial Intelligence

Abstract

Designers of autonomous agents, whether in physical or virtual environments, need to express nondeterminisim, failure, and parallelism in behaviors, as well as accounting for synchronous coordination between agents. Behavior Trees are a semi-formalism deployed widely for this purpose in the games industry, but with challenges to scalability, reasoning, and reuse of common sub-behaviors. We present an alternative formulation of behavior trees through a language design perspective, giving a formal operational semantics, type system, and corresponding implementation. We express specifications for atomic behaviors as linear logic formulas describing how they transform the environment, and our type system uses linear sequent calculus to derive a compositional type assignment to behavior tree expressions. These types expose the conditions required for behaviors to succeed and allow abstraction over parameters to behaviors, enabling the development of behavior "building blocks" amenable to compositional reasoning and reuse.

Keywords

Cite

@article{arxiv.1803.09099,
  title  = {A Resourceful Reframing of Behavior Trees},
  author = {Chris Martens and Eric Butler and Joseph C. Osborn},
  journal= {arXiv preprint arXiv:1803.09099},
  year   = {2018}
}

Comments

17 pages, 4 figures

R2 v1 2026-06-23T01:03:53.331Z