@inbook{c3e8de332e3c4170a64891aac0ba793e,
title = "Formal Methods Meet AI Guidance for Correct Software Development",
abstract = "Active automata learning is an effective approach for deriving behavioral models in learning-based software testing. A major obstacle, however, is defining the learning alphabet that captures possible user interactions with the system under test. We propose an AI-assisted method that leverages large language models (LLMs) to automate and guide this process. Our approach uses two designed prompts that analyze a web application{\textquoteright}s source code: the first extracts all possible frontend interactions and presents them as an editable, human-readable list for validation and abstraction refinement; the second uses this refined list and the source code to define concrete alphabet symbols for learning including their implementation. This method lowers the entry barrier to applying active automata learning and improves the quality of resulting models. We demonstrate its effectiveness on a real web application and show how the learned model can serve as behavioral reference for formal analysis and comparison.",
keywords = "Active automata learning, Formal methods, High assurance systems, Model driven development, Neurosymbolic design",
author = "Marco Krumrey and Tiziana Margaria and Bernhard Steffen",
note = "Publisher Copyright: {\textcopyright} The Author(s), under exclusive license to Springer Nature Switzerland AG 2026.",
year = "2026",
doi = "10.1007/978-3-032-12484-5\_7",
language = "English",
series = "Lecture Notes in Computer Science",
publisher = "Springer Science and Business Media Deutschland GmbH",
pages = "117--137",
booktitle = "Lecture Notes in Computer Science",
}