Weighted automata learning made to work over more math systems

General semiring conditions for weighted L* termination

Formal Languages and Automata TheoryLogic in Computer Science

Summary

Learning weighted automata, which are tools used to model systems with weights, often relies on special mathematical settings called semirings that have certain properties. This paper shows that algorithms for learning these automata can actually work and finish running on a wider variety of semirings than previously known, including many commonly used ones. The authors introduce a new variant of the learning algorithm that successfully works with these broader conditions, especially for semirings where the order of multiplication doesn't matter. This broadens the possible settings where weighted automata learning can be applied.

What this means in practice

  • For automata engineers: Build learning systems for weighted automata over commutative semirings that guarantee algorithm completion.
  • For formal methods developers: Develop verification tools that handle weighted automata modeled on expanded classes of semirings without termination issues.

A theory result. No direct application yet.

Authors

Noah Bertram, Daniel Luckhardt, Alexandra Silva

Abstract

Weighted automata learning has been well-studied over (semi)rings which have a dimension theory. In this work, we investigate active learning for weighted automata over semirings that lack such a structure. We first show that the principal ideal domain variant of the L* algorithm also terminates for a larger class of semirings containing Noetherian semirings, commutative rings, and bounded distributed lattices. We then present a variant of this algorithm for learning deterministic weighted automata, and prove that this algorithm terminates for commutative semirings.