Model Learning for Complex Systems: Supporting Verification, Interpretation, and Problem Solving
En cours de chargement...
Date
Authors
Nom de la revue
ISSN de la revue
Titre du volume
Éditeur
Université d'Ottawa | University of Ottawa
Résumé
Modern software-intensive systems and the people who develop and operate them produce a wide range of heterogeneous artifacts with rich domain-specific information, such as numeric execution traces and natural language (NL) descriptions. These artifacts contain valuable information about system behaviour and decision-making problems. Model learning provides a way to transform such artifacts into structured models that can support interpretation, verification, and problem solving. However, input artifacts are often not directly suitable for the techniques used to derive these models. Numeric execution traces may need to be transformed into symbolic representations before automata-learning algorithms can process them. Similarly, NL descriptions may require preparation before they can be translated into specifications. Moreover, successful model derivation does not necessarily establish that the resulting model correctly captures the information represented by the system under learning. Learned models may omit relevant information, introduce unsupported behaviour, or encode an incorrect interpretation of the intended system behaviour or decision-making problem. Therefore, both preparation of input artifacts and assessment of derived models are necessary for reliable model learning.
This thesis develops and evaluates model-learning approaches that address these challenges for two types of source artifacts, numeric execution traces and NL descriptions of decision-making problems. First, we develop an approach for learning behavioural state machines from numeric time-series executions of cyber-physical systems (CPS). The approach systematically combines statistical machine learning with passive automata learning. It transforms numeric traces into symbolic representations suitable for automata learning and derives interpretable state machines that represent observed system behaviour. We evaluate the approach on a commercial network intrusion detection system developed by our industry partner, RabbitRun Technologies. The learned models are more concise and accurate than models derived from expertise-based abstraction. They also support verification of system requirements and analysis of behaviours that are not explicit in those requirements. Second, we develop an approach for deriving optimization specifications from NL descriptions of decision-making problems. The approach prepares and structures the problem descriptions before specification generation and uses solver feedback to refine generated specifications with respect to executability and correctness. The generated specifications are expressed in a domain-specific language (DSL) for optimization modelling. We evaluate the approach on a public dataset of optimization problems and on real-world supply-chain planning problems from our industry partner, Kinaxis. Our results demonstrate that large language models (LLMs) can derive executable optimization specifications from NL descriptions and that systematic input preparation and solver-guided refinement improve the correctness of the generated specifications. Third, we develop an agentic approach for analyzing errors in LLM-generated optimization specifications. The approach identifies and validates the root causes of specification errors. It also supports the construction of a taxonomy that characterizes recurring formulation defects in optimization modelling with DSLs.
Together, these contributions advance model learning from heterogeneous input artifacts through systematic data preparation and assessment of learned-model correctness and quality. The proposed approaches transform numeric execution traces into behavioural models that support interpretation, verification, and behavioural analysis, and transform NL descriptions of decision-making problems into specifications that support optimization problem solving.
Description
Mots-clés
Model Learning, Model-Driven Engineering, Automata Learning, Behavioural Model Synthesis, Model Checking, Domain-Specific Languages, Large Language Models, Automata Learning, Mathematical Optimization, Cyber-physical systems
