Extending AALpy with Passive Learning: A Generalized State-Merging Approach

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: von Berg, Benjamin, Aichernig, Bernhard K.
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908405568897024
author von Berg, Benjamin
Aichernig, Bernhard K.
author_facet von Berg, Benjamin
Aichernig, Bernhard K.
contents AALpy is a well-established open-source automata learning library written in Python with a focus on active learning of systems with IO behavior. It provides a wide range of state-of-the-art algorithms for different automaton types ranging from fully deterministic to probabilistic automata. In this work, we present the recent addition of a generalized implementation of an important method from the domain of passive automata learning: state-merging in the red-blue framework. Using a common internal representation for different automaton types allows for a general and highly configurable implementation of the red-blue framework. We describe how to define and execute state-merging algorithms using AALpy, which reduces the implementation effort for state-merging algorithms mainly to the definition of compatibility criteria and scoring. This aids the implementation of both existing and novel algorithms. In particular, defining some existing state-merging algorithms from the literature with AALpy only takes a few lines of code.
format Preprint
id arxiv_https___arxiv_org_abs_2506_06333
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Extending AALpy with Passive Learning: A Generalized State-Merging Approach
von Berg, Benjamin
Aichernig, Bernhard K.
Machine Learning
Formal Languages and Automata Theory
AALpy is a well-established open-source automata learning library written in Python with a focus on active learning of systems with IO behavior. It provides a wide range of state-of-the-art algorithms for different automaton types ranging from fully deterministic to probabilistic automata. In this work, we present the recent addition of a generalized implementation of an important method from the domain of passive automata learning: state-merging in the red-blue framework. Using a common internal representation for different automaton types allows for a general and highly configurable implementation of the red-blue framework. We describe how to define and execute state-merging algorithms using AALpy, which reduces the implementation effort for state-merging algorithms mainly to the definition of compatibility criteria and scoring. This aids the implementation of both existing and novel algorithms. In particular, defining some existing state-merging algorithms from the literature with AALpy only takes a few lines of code.
title Extending AALpy with Passive Learning: A Generalized State-Merging Approach
topic Machine Learning
Formal Languages and Automata Theory
url https://arxiv.org/abs/2506.06333