Learning Deterministic Multi-Clock Timed Automata
Yu Teng, Miaomiao Zhang, Jie An
TL;DR
This work addresses the challenge of actively learning deterministic timed automata with multiple clocks by reducing the timed-language learning problem to a reset-clocked language learning problem. It introduces a Myhill–Nerode–style equivalence on reset-clocked words and builds two Angluin-style learning algorithms: one with a powerful teacher that can reveal clock-reset information, and a normal-teacher version that guesses resets. A timed observation table over region words drives hypothesis construction, with a partition function translating table data into a DTA (CTA) model. The authors prove termination and correctness for both settings and show exponential complexity in the number of clocks due to reset guessing. Experiments reveal that the method can yield compact multi-clock DTAs, often significantly smaller than existing approaches, albeit with exponential-scaling behavior in practice.
Abstract
We present an algorithm for active learning of deterministic timed automata with multiple clocks. The algorithm is within the querying framework of Angluin's $L^*$ algorithm and follows the idea proposed in existing work on the active learning of deterministic one-clock timed automata. We introduce an equivalence relation over the reset-clocked language of a timed automaton and then transform the learning problem into learning the corresponding reset-clocked language of the target automaton. Since a reset-clocked language includes the clock reset information which is not observable, we first present the approach of learning from a powerful teacher who can provide reset information by answering reset information queries from the learner. Then we extend the algorithm in a normal teacher situation in which the learner can only ask standard membership query and equivalence query while the learner guesses the reset information. We prove that the learning algorithm terminates and returns a correct deterministic timed automaton. Due to the need of guessing whether the clocks reset at the transitions, the algorithm is of exponential complexity in the size of the target automaton.
