SMT-Based Active Learning of Weighted Automata

Tiago Ferreira, Kevin Batz, Alexandra Silva
5/8/2026
cs.FLcs.LG

No confident code implementation found for this paper.

Abstract

We present an SMT-based active learning algorithm for nondeterministic weighted automata (WFAs) as a practical and robust alternative to Hankel/L*-style methods. Our algorithm is parametric in a given semiring and, if it terminates, guaranteed to produce minimal WFAs.

Show full abstract

We prove partial correctness and provide a sufficient termination condition, which in particular implies termination for all finite semirings. Our extensive experimental evaluation shows that our algorithm is capable of learning numerous minimal WFAs over both finite and infinite semirings, vastly outperforms a naive baseline, and is competitive with a state-of-the-art algorithm while producing significantly smaller automata and requiring less interaction with the teacher.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ferreira2026smtbased,
  title  = {SMT-Based Active Learning of Weighted Automata},
  author = {Tiago Ferreira and Kevin Batz and Alexandra Silva},
  year   = {2026},
  eprint = {2605.07758},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.07758v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.07758.svg)](https://codeofpaper.com/paper/2605.07758)

Discussion