A behavior tree is a structured visual modeling technique used in systems engineering and software engineering to represent system behavior. It utilizes a hierarchical tree diagram composed of nodes and connectors to illustrate control flow and system actions. By replacing ambiguous natural language descriptions with standardized visual elements—such as boxes, arrows, and standard symbols—behavior trees improve clarity, reduce misinterpretation, and enhance understanding of complex systems.
Overview The extensive amount of detail involved in describing the numerous requirements of a large-scale system using natural language can lead to short-term memory overload, hindering a comprehensive understanding of the system's needs. Natural language often introduces ambiguities, aliases, inconsistencies, redundancies, and incomplete information to concepts. This creates uncertainty and over-complicates systems. The behavior tree representation attempts to eliminate uncertainty by limiting vocabulary to the original requirements. Large requirement sets may require the help of a composition tree representation that resolves aliases and other vocabulary problems in a prior step. The aim is to produce a deep, accurate, and holistic representation of system needs that can be understood by all readers (often stakeholders). Since the behavior tree notation uses formal semantics, it can serve as input for further processing, such as making an executable for a given set of requirements.
Behavior tree forms
Both single and integrated (composite) behavior tree forms are important in applying behavior trees in systems and software engineering.
Requirement behavior trees (RBT): Initially, individual requirement behavior trees are constructed to capture all behavioral fragments from each natural language requirement, using a rigorous translation process that preserves both intent and vocabulary. The translation process can uncover a range of defects in original natural language requirements. Integrated behavior trees (IBT): Because a set of requirements imply the integrated behavior of a system, all the individual requirement behavior trees can be composed to construct an integrated behavior tree that provides a single holistic view of the emergent integrated behavior of the system. This enables the construction of the system's integrated behavior from its requirements. An analogy to help describe this process is the transition from a randomly arranged set of jigsaw puzzle pieces to putting each of the pieces in its appropriate place. When this happens, each piece of information is placed in its intended context and their collective emergent properties become clear. Having all the requirements converted to behavior trees (RBT) is similar to having all the pieces for a jigsaw puzzle randomly spread out on a table – until all the pieces are connected, the emergent picture remains unclear, and it is uncertain whether any pieces are missing or don’t fit. Constructing an integrated behavior tree (IBT) reveals emergent behavior and missing pieces.
Behavior engineering process Critical aspects of behavior engineering representation and process are listed below. Representation:
The composition tree's role in the overall process is to provide a means to overcome the imperfect knowledge associated with the large set of requirements for a system. Process:
Behavior engineering uses behavior trees to control complexity while growing a shared understanding of a complex system. A shared holistic understanding of a complex system integrates requirements to show its implied emergent behavior.
History Behavior trees and the concepts for their application in systems and software engineering were originally developed by Geoff Dromey. The first publication of some of the key ideas were in 2001. Early publications on this work used the terms "genetic software engineering" and "genetic design" to describe the application of behavior trees. The reason for originally using the word "genetic" was because sets of genes, sets of jigsaw puzzle pieces, and sets of requirements, when represented as behavior trees, all appear to share several key properties:
They contained enough information as a set to allow them to be composed – with behavior trees, this allows a system to be built out of its requirements. The order in which the pieces were put together was not important – with requirements, this aids in coping with complexity. When all the members of the set were put together, the resulting integrated entity exhibited a set of important emergent properties. For behavior trees, important emergent properties include:
The integrated behavior of the system is implied by the requirements. The coherent behavior of each component is referred to in the requirements. These genetic parallels, in another context, were originally spelled out by Adrian Woolfson. Despite these legitimate genetic parallels, it was felt that this emphasis led to confusion with the concept of genetic algorithms. As a result, the term behavior engineering was introduced to describe the processes that exploit behavior trees to construct systems. Since the behavior tree notation was originally conceived, several people from the Dependable Complex Computer-based Systems Group (DCCS – a joint University of Queensland, Griffith University research group) have made important contributions to the evolution and refinement of the behavior tree notation and usage. Probabilistic timed behavior trees have been developed by researchers such as Rob Colvin, Lars Grunske, and Kirsten Winter of the DCCS, so that reliability, performance, and other dependability properties could be expressed.
Key concepts
Behavior tree notation
… excerpt ends here. Continue reading the full article.





