Behavior Trees for Robotics Software Engineering
Doktorsavhandling, 2026

Context. Robotic systems are used more widely in homes and industry, but their often ad hoc development methods reduce the reliability needed for ongoing growth. Recently, more robotics experts have adopted software engineering best practices to improve system reliability. Building on previous work, we aim to further support the development of reliable robotics missions.
Objective. 
The objective of this thesis is to build systematic knowledge from empirical insights into the current state of practice in specifying robotics missions, and to develop solutions that support improved software engineering practices for the development of robotic missions based on our accumulated knowledge.
Method. This thesis employs a mixed-methods approach, combining empirical and constructive research methodologies. The empirical phase involved knowledge-seeking studies that employed comprehensive analyses of behavior modeling languages and their domain-specific languages, mined open-source projects, and conducted action research and survey studies with practitioners. The constructive research phase involved solution-seeking studies employing the accumulated knowledge to design, implement, and evaluate two solutions in collaboration with practitioners to problems identified in the previous phase. Our research was grounded in the context of robotics software engineering and, when possible, conducted in collaboration with both academic and industrial practitioners.
Result. The empirical contributions provided a comprehensive understanding of behavior trees as a behavior modeling language for robotics missions. This included comparisons with UML behavior modeling languages and state machines, as realized in robotics, regarding modeling concepts and language design, their adoption in open-source robotic projects, and practitioner practices and experiences. Based on these insights, two solutions were developed and evaluated with practitioners.
The first introduces a meta-model extension and domain-specific language for behavior trees, integrated into a popular library, to specify quality concerns. The second proposes an approach for supporting industrial risk assessment by integrating behavior trees, enabling early identification of risk concerns and ensuring that their outcomes are adequately considered in the software implementation of robotics missions.
Conclusion. This thesis advances empirical understanding of behavior modeling languages for specifying robotics missions, focusing on behavior trees, an emerging model for behavior coordination and execution in robotics. The built knowledge about behavior trees characterizes their support, usage, and practitioner perspectives. The developed solutions show behavior trees' potential beyond coordination and execution, using them to capture quality concerns and support risk assessment, thereby opening new directions for their role within the broader robotic software engineering lifecycle.

Robotics

Empirical research

Software engineering

Model-based engineering

Behavior trees

Room 520, Plan 5, Jupiter Building, Hörselgången 5, Lindholmen, Gothenburg
Opponent: Prof. Federico Ciccozzi, Mälardalen University, Sweden

Författare

Razan Ghzouli

Chalmers, Data- och informationsteknik, Interaktionsdesign och Software Engineering

Behavior Trees for Robotic Systems: An Empirical Study on Practices and Experiences. Razan Ghzouli, Jennifer Horkoff, Daniel Strüber and Rebekka Wohlrab

Using Behavior Trees in Risk Assessment

IEEE International Conference on Emerging Technologies and Factory Automation, ETFA,;(2025)

Paper i proceeding

Extending Behavior Trees for Robotic Missions with Quality Requirements

Lecture Notes in Computer Science,;Vol. 15588 LNCS(2025)p. 333-349

Paper i proceeding

Behavior Trees and State Machines in Robotics Applications

IEEE Transactions on Software Engineering,;Vol. 49(2023)p. 4243-4267

Artikel i vetenskaplig tidskrift

Behavior Trees in Action: A study of Robotics Applications

SLE 2020: Proceedings of the 13th ACM SIGPLAN International Conference on Software Language Engineering,;Vol. 16 November 2020(2020)p. 196-209

Paper i proceeding

This thesis investigates how to make robotics mission development more reliable by applying systematic software engineering practices. Using a mixed-methods approach, it examines how robotics missions are currently specified, with a focus on behavior trees as a behavior modeling language. The work includes empirical research and solution development. Key results include a detailed understanding of behavior trees through a software lens: comparison with other behavior modeling languages, their use in robotics open-source projects, and robotics practitioners' practices and experiences. The developed solutions are an extension of behavior trees to handle quality concerns and a method for using behavior trees in industrial risk assessment for robotic missions. The findings highlight that behavior trees can be used for more than just coordination and execution—they can also address quality and risk assessment. The findings in this thesis open new possibilities for the use of behavior trees and other behavior modeling languages in robotics software engineering.

Ämneskategorier (SSIF 2025)

Programvaruteknik

Robotik och automation

Datavetenskap (datalogi)

DOI

10.63959/chalmers.dt/5941

ISBN

978-91-8103-484-4

Doktorsavhandlingar vid Chalmers tekniska högskola. Ny serie: 5941

Utgivare

Chalmers

Room 520, Plan 5, Jupiter Building, Hörselgången 5, Lindholmen, Gothenburg

Online

Opponent: Prof. Federico Ciccozzi, Mälardalen University, Sweden

Mer information

Senast uppdaterat

2026-09-16