cs.AISep 24, 2026

Towards An LLM-Driven Unified Conversion Framework for BT and FSM in Autonomous Intelligent Systems

Authors: Zhang Qi, Yang Shuo, Zhu Zhengqiu, Zhou Peng, Jiao Peng

Organizations: College of Systems Engineering, National University of Defense Technology CHANGSHA, HUNAN, China

Abstract

Finite state machine (FSM) and behavior trees (BT) are widely adopted behavioral modeling paradigms for autonomous intelligent systems. While functionally equivalent and inter-convertible in principle, existing transformation methods between FSM and BT face major challenges in preserving behavioral completeness and avoiding model complexity explosion. To overcome these issues, we propose an LLM-driven unified conversion framework that enables automatic, efficient, and semantically consistent transformation between FSM and BT. Specifically, a novel loop execution BT structure is designed for LLM to accurately capture the loop structure in FSM, thereby preserving behavioral completeness. To mitigate the state explosion problem in BT-to-FSM conversion, a depth compression strategy is introduced with LLM prompt to eliminate redundant control nodes, complemented by differentiated hierarchical conversion rules that collectively reduce the number of required sub-FSM. Simulation experiments in multiple autonomous decision-making scenarios demonstrate that the proposed framework enables an accurate and automated bidirectional conversion between FSM and BT. Furthermore, it significantly enhances the scalability and maintainability of generated models compared to traditional approaches, providing a practical solution for behavior model conversion in consumer-grade autonomous intelligent systems such as service robots, game agents, and smart home devices

Figures & tables

Explore similar work

CardsList
  1. A Generative Partially Specified Finite State Machine Approach to Complex Behaviour Planning

    Jul 17, 2026Kalana Ratnayake, Michael Pritchard, David Hinwood +2Classical PlanningBehavior Tree

  2. CABTO: Context-Aware Behavior Tree Grounding for Robot Manipulation

    Mar 17, 2026Yishuai Cai, Xinglin Chen, Yunxin Mao +6Behavior TreeRobot Planning

  3. Multimodal Behavior Tree Generation: A Small Vision-Language Model for Robot Task Planning

    Mar 6, 2026Riccardo Andrea Izzo, Cristiano Battistini, Gianluca Bardaro +1Large-Scale Robot Demonstration DatasetsBehavior Tree