Active Learning of Deterministic Transducers with Outputs in Arbitrary Monoids
Quentin Aristote
TL;DR
This paper addresses the problem of learning and minimizing subsequential-style transducers whose outputs live in an arbitrary monoid $M$, extending classical automata/minimization results to the monoidal setting. It leverages the categorical framework of Colcombet, Petrișan and Stabile to obtain existence and uniqueness conditions for a minimal monoidal transducer and to formulate a general learning algorithm via membership and equivalence queries. The approach models monoidal transducers as functors into the Kleisli category $\\mathbf{Kl}(\\mathcal{T}_M)$, uses a quaternary factorization system to decompose learning/minimization steps, and proves termination under right-noetherianity assumptions on $M$; it also provides concrete guidance for implementing the abstract FunL* learning procedure. The work suggests practical applications, notably learning transducers with outputs in trace monoids for scheduling tasks, and points to generalizations via other monads and subcategories to refine termination and complexity guarantees.
Abstract
We study monoidal transducers, transition systems arising as deterministic automata whose transitions also produce outputs in an arbitrary monoid, for instance allowing outputs to commute or to cancel out. We use the categorical framework for minimization and learning of Colcombet, Petrişan and Stabile to recover the notion of minimal transducer recognizing a language, and give necessary and sufficient conditions on the output monoid for this minimal transducer to exist and be unique (up to isomorphism). The categorical framework then provides an abstract algorithm for learning it using membership and equivalence queries, and we discuss practical aspects of this algorithm's implementation.
