SMT-Based Active Learning of Weighted Automata
Tiago Ferreira, Kevin Batz, Alexandra Silva
Abstract
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. 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.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Lineage
- Weighted NetKAT: A Programming Language for Quantitative Network Verification cites Weighted programming: a programming paradigm for specifying mathematical models
- Learning Weighted Automata over Number Rings, Concretely and Categorically cites On Learning Polynomial Recursive Programs
Builds on5
- Prognosis: closed-box analysis of network protocol implementationsTiago Ferreira, Harrison Brewton, Loris D'Antoni, Alexandra SilvaSIGCOMM 2021 · 34 citations
- Weighted programming: a programming paradigm for specifying mathematical modelsKevin Batz, Adrian Gallus, Benjamin Lucien Kaminski, Joost-Pieter Katoen et al.OOPSLA 2022 · 18 citations
- On Learning Polynomial Recursive ProgramsAlex Buna-Marginean, Vincent Cheval, Mahsa Shirmohammadi, James WorrellPOPL 2024 · 7 citations
- Learning Weighted Automata over Number Rings, Concretely and CategoricallyQuentin Aristote, Sam van Gool, Daniela Petrisan, Mahsa ShirmohammadiLICS 2025 · 2 citations
- Weighted NetKAT: A Programming Language for Quantitative Network VerificationEmmanuel Suárez Acevedo, Tiago Ferreira, Kevin Batz, Oliver Bøving et al.PLDI 2026 · 1 citation
Related papers
- Learning Deterministic One-Counter Automata in Polynomial TimePrince Mathew, Vincent Penelle, A. V. SreejithLICS 2025 · 1 citation
- Active Learning of Symbolic Automata over Rational NumbersSebastián Hagedorn Gaete, Martín Muñoz, Cristian Riveros, Rodrigo Toro IcarteAAAI 2026
- An L# Based Algorithm for Active Learning of Minimal Separating AutomataJasper Laumen, Leonne Snel, Frits W. VaandragerCAV 2026
- Automata Learning from Preference and Equivalence QueriesEric Hsiung, Joydeep Biswas, Swarat ChaudhuriCAV 2025 · 1 citation
- Active learning for sound negotiations✱Anca Muscholl, Igor WalukiewiczLICS 2022 · 3 citations
