We propose a design for a functional programming language for autonomous agents, built off the ideas and motivations of Behavior Trees (BTs). BTs are a popular model for designing agents behavior in robotics and AI. However, as their growth has increased dramatically, the simple model of BTs has come to be limiting. There is a growing push to increase the functionality of BTs, with the end goal of BTs evolving into a programming language in their own right, centred around the defining BT properties of modularity and reactiveness.
In this paper, we examine how the BT model must be extended in order to grow into such a language. We identify some fundamental problems which must be solved: implementing `reactive' selection, 'monitoring' safety-critical conditions, and passing data between actions. We provide a variety of small examples which demonstrate that these problems are complex, and that current BT approaches do not handle them in a manner consistent with modularity. We instead provide a simple set of modular programming primitives for handling these use cases, and show how they can be combined to build complex programs. We present a full specification for our BT-inspired language, and give an implementation in the functional programming language Haskell. Finally, we demonstrate our language by translating a large and complex BT into a simple, unambiguous program.
Brain-SAD: A Brain-Inspired Safe Autonomous Driving Control Framework with Dynamic Fear-Oriented Constraint on Dual-Policy
Nanjing University of Information Science & Technology(南京信息工程大学);University of Electronic Science and Technology of China(电子科技大学);Jiangsu Ocean University(江苏海洋大学)
A Linear Programming Approach for Resource-Aware Information-Theoretic Tree Abstractions
Georgia Institute of Technology(佐治亚理工学院);The University of North Carolina at Charlotte(北卡罗来纳大学夏洛特分校);Institute for Robotics and Intelligent Machines(机器人与智能机器研究所)
PerceptIn(PerceptIn公司);University of Delaware(特拉华大学);University of California, Irvine(加州大学欧文分校);Laboratoire ETIS(ETIS实验室);CY Cergy Paris Université(CY塞尔吉-巴黎大学);ENSEA(国立高等电子及应用学院);CNRS(法国国家科学研究中心)