Abstract
Learning models for infinite behaviors, such as those represented by Büchi Automata (BA), is a critical challenge in formal verification. While traditional algorithms rely on memory-intensive observation tables, this paper presents a novel tree-based learning framework. By utilizing Families of DFAs (FDFA) and classification trees, the proposed algorithm achieves a quadratic improvement in worst-case storage space. The implementation, integrated into the open-source ROLL library, demonstrates superior performance across hundreds of real-world benchmarks, solving complex learning tasks where previous methods failed.
Introduction: Modeling Infinite Behaviors
In formal verification, "liveness" properties—guarantees that a system will eventually reach a desired state—are modeled using $\omega$-regular languages. These languages are typically recognized by Büchi Automata (BA), which process infinite sequences of data called $\omega$-words.
While learning finite-string automata is well-understood through algorithms like $L^*$, learning BA is significantly more complex. Recent advancements introduced the Family of DFAs (FDFA) as a more manageable representation for $\omega$-regular languages. However, early FDFA learning methods relied on "observation tables" to store membership queries. As system complexity increases, these tables grow quadratically, leading to substantial memory overhead and performance bottlenecks.
The FDFA Representation
An FDFA represents an $\omega$-regular language through a collection of deterministic finite automata. It typically consists of a "leading" DFA, which handles the finite prefix of an $\omega$-word, and several "progress" DFAs that handle the infinitely repeating suffixes.
This structure allows the learner to decompose the problem of learning infinite words into learning multiple finite-word automata, which is a more tractable task.
Tree-Based Learning Framework
The core contribution of this work is the transition from table-based learning to a tree-based approach using classification trees.
- Efficiency of Trees: In a classification tree, internal nodes represent "experiments" (queries to a teacher), and leaves represent the states of the automaton. This structure is inherently more compact than a table because it avoids storing redundant information for every state-experiment pair, providing a quadratically better worst-case storage space.
- K-ary Trees for Complexity: While binary trees suffice for simple automata, the authors found that "syntactic" FDFAs require $K$-ary trees. These trees allow the algorithm to distinguish between multiple states in a single step, which is necessary for the more complex state transitions found in FDFAs.
Bridging FDFA Learners and Büchi Teachers
Most existing verification tools and "teachers" operate on standard Büchi Automata rather than FDFAs. To bridge this gap, the authors developed a sophisticated interaction framework.
Directly converting an FDFA to a BA is computationally expensive. To maintain efficiency, the framework employs under-approximation and over-approximation methods. The learner builds a "close enough" BA to present to the teacher. If the teacher provides a counterexample, the learner uses it to refine the FDFA model. This iterative process continues until the teacher confirms equivalence, ensuring the algorithm eventually converges on the correct language.
Experimental Evaluation and the ROLL Library
The researchers evaluated their algorithm using BüchiStore, a repository of 295 Büchi Automata derived from real-world Linear Temporal Logic (LTL) specifications.
The results were conclusive: the tree-based "Syntactic FDFA" algorithm with under-approximation was the only method capable of solving all 295 tasks within a 30-minute timeout. Furthermore, the number of states in the conjectured models grew much more slowly compared to previous algorithms like $L^\$$, indicating a more stable and scalable learning process.
To support the research community, the authors released the Regular Omega Language Learning (ROLL) library. ROLL is the first comprehensive open-source library for $\omega$-regular language learning, providing a standardized platform for benchmarking and future development.
Conclusion
By replacing observation tables with classification trees, this research significantly advances the state-of-the-art in learning infinite behaviors. The quadratic reduction in space complexity and the introduction of approximation-based teacher interaction make learning Büchi Automata viable for larger, more complex systems. Future work will explore statistical sampling (PAC learning) to address the remaining bottleneck of equivalence queries and extend the framework to non-deterministic representations.
Summary updated