LLM-based Property-based Test Generation for Guardrailing Cyber-Physical SystemsKhashayar Etemadi, Marjan Sirjani, Mahshid Helali Moghadam, Per Strandberg, Paul Petterssonhttps://arxiv.org/abs/2505.23549
LLM-based Property-based Test Generation for Guardrailing Cyber-Physical SystemsCyber-physical systems (CPSs) are complex systems that integrate physical, computational, and communication subsystems. The heterogeneous nature of these systems makes their safety assurance challenging. In this paper, we propose a novel automated approach for guardrailing cyber-physical systems using property-based tests (PBTs) generated by Large Language Models (LLMs). Our approach employs an LLM to extract properties from the code and documentation of CPSs. Next, we use the LLM to generate P…