Abstract
This research, originally presented at COLT 2020, establishes a unified combinatorial framework for characterizing the complexity of query learning. By introducing new metrics—specifically a refined version of consistency dimension—and applying the Littlestone dimension, the authors provide tight upper and lower bounds on the number of queries required to identify a hidden concept. Their results offer a general characterization of efficient learnability for both finite and infinite concept classes, notably providing bounds that are independent of counterexample length.
Introduction
In the classic model of query learning, pioneered by Dana Angluin, a learner interacts with an omniscient teacher to identify a target concept $c$ within a concept class $\mathcal{C}$. This interaction typically involves two types of queries:
- Equivalence Queries (EQ): The learner proposes a hypothesis $H$. The teacher either confirms $H$ is correct or provides a counterexample $x$ where $H(x) \neq c(x)$.
- Membership Queries (MQ): The learner asks for the label of a specific instance $x$. The teacher returns the true label $c(x)$.
While specific algorithms like the $L^*$ algorithm for regular languages have existed for decades, the field lacked a general combinatorial characterization of when a class is learnable with a polynomial number of queries. This paper bridges the gap between computational learning theory and model theory to provide such a characterization.
Combinatorial Framework: Ldim and Consistency
The authors' framework centers on two primary invariants that dictate the difficulty of the learning task:
Littlestone Dimension (Ldim)
Originally used to characterize online learning, the Littlestone dimension measures the "shattering" power of a concept class. It is defined as the depth of the largest mistake tree a learner can be forced to traverse. In model theory, this is known as Shelah’s 2-rank. It represents the inherent structural complexity of the class regarding sequential predictions.
Consistency Dimension (C)
The authors identified that Littlestone dimension alone is insufficient for query learning. They introduced a refined "Consistency Dimension," which measures the minimum number of points required to ensure that a hypothesis within an allowed hypothesis class $\mathcal{H}$ is consistent with the target class $\mathcal{C}$. This metric captures the difficulty of finding a hypothesis that matches the teacher's feedback.
The Universal Learning Algorithm
The paper proves its bounds using a "universal" algorithm based on induction on the Littlestone dimension. The core insight is that if a class is efficiently learnable by any algorithm, this combinatorial approach will also learn it efficiently.
One of the most significant breakthroughs of this approach is that the resulting query complexity is independent of counterexample length. In traditional automata learning, the complexity of algorithms often depends on the length of the strings provided as counterexamples. By focusing on structural complexity (like the number of states in an automaton) rather than the size of the strings, the authors provide a more robust measure of learning efficiency.
Key Theoretical Results
The framework yields specific, tight bounds on the number of queries needed:
- Equivalence Queries Only: For a class with Littlestone dimension $d$ and consistency dimension $c$, the number of equivalence queries is at most $c^d$.
- Combined EQ and MQ: When membership queries are available, the bound improves to $(c-1)^d + 1$.
- Characterization of Efficiency: A concept class is learnable with a polynomial number of queries if and only if both its Littlestone dimension and consistency dimension are bounded by a polynomial.
Applications to Automata
The authors apply their framework to classic concept classes, providing simplified, conceptual proofs for the learnability of:
- Deterministic Finite Automata (DFA): They show that for regular languages, $C \le n^2$ and $\text{Ldim} \le O(n \log n)$, where $n$ is the number of states.
- Families of DFAs (FDFA): This extends the results to $\omega$-regular languages (languages of infinite strings), which are traditionally more difficult to analyze.
Discussion and Limitations
While the paper provides a definitive answer regarding query complexity, it distinguishes this from computational complexity. A class may have a polynomial query complexity, but the computational effort required to determine the next query or hypothesis could still be super-polynomial.
Furthermore, the $c^d$ bound for the EQ-only model remains exponential in the Littlestone dimension. The authors suggest that this exponential dependence may be unavoidable in the general case without further structural assumptions. Future work may involve exploring "strong consistency dimension" to further refine lower bounds for complex classes like $\omega$-languages.
Summary updated