In the world of Machine Learning (ML), we usually focus on the learner: how can an algorithm best extract a "concept" from a pile of random data? Machine Teaching (MT) flips the script. It asks: if we have a helpful teacher who knows the target concept, what is the smallest set of examples they can provide to ensure the learner gets it right?
This paper by Hans Ulrich Simon and Jan Arne Telle, titled "MAP- and MLE-Based Teaching," moves away from classical, deterministic teaching models and dives into the world of probabilistic learners—specifically those using Maximum A-Posteriori (MAP) and Maximum Likelihood Estimation (MLE) strategies.
TL;DR
The authors provide a rigorous framework for teaching probabilistic learners, showing that the "Teaching Dimension" (the minimum number of examples needed) can be characterized by a graph-theoretic property called the Saturating Matching Number. They prove that while MAP learners (who use prior knowledge) are slightly more efficient than MLE learners, the difference is at most one example, and both can be taught in polynomial time.
What Problem Does This Paper Address?
Classical machine teaching models often assume a "no-clash" or "version space" learner—basically, a learner that just eliminates concepts inconsistent with the data. However, real-world learning is often probabilistic. A student might see a few examples and assign a probability to different hypotheses rather than just saying "yes" or "no."
The authors build on previous work to explore the MAP-Teaching Dimension (MAP-TD) and MLE-Teaching Dimension (MLE-TD). They address several gaps:
- Sampling Modes: How does it change the teaching "cost" if the teacher provides examples in a specific order versus a random pile, or if they can repeat examples (replacement)?
- Complexity: Is it computationally feasible to find the optimal teaching set for these probabilistic learners?
- Efficiency: How much does having a "prior" (MAP) actually help compared to a learner who treats all hypotheses as equally likely (MLE)?
Methods
The authors define a learner $L$ parameterized by priors $P(c)$ and likelihoods $P(z|c)$. They then analyze four distinct sampling modes:
- Ordered/Unordered: Does the sequence of examples matter?
- With/Without Replacement: Can the teacher repeat the same example?
The core mathematical innovation is linking teaching to Bipartite Graph Theory. They represent the relationship between concepts and observations as a "consistency graph." They introduce the Saturating Matching Number (SMN)—the smallest "order" of a matching that covers all concepts—as the fundamental metric for teaching complexity.
To prove their results, they employ tools from information theory, specifically using Kullback-Leibler (KL) divergence to show how a teacher can make a target concept stand out as the unique maximizer of the learner's posterior probability.
Datasets
As a theoretical paper in computational learning theory, this work does not use empirical "benchmarks" like ImageNet or GLUE. Instead, it uses synthetic concept classes:
- Binary Concept Classes: Subsets of a finite domain where observations are 0,1-labeled examples.
- Power Sets: Used to prove bounds related to the VC-dimension and antichain numbers.
- Probabilistic Concept Classes: Where concepts are functions mapping instances to probabilities in $[0, 1]$.
Key Insights and Ideas
- The "One-Example" Gap: One of the most striking findings is that for binary concepts, the MLE-teaching dimension is either equal to the MAP-teaching dimension or exceeds it by exactly 1. This suggests that while priors help, a clever teacher can almost entirely compensate for a learner's lack of prior knowledge.
- Sampling Equivalence: The authors discovered that "ordered sampling with replacement" is mathematically equivalent to "unordered sampling with replacement." In short, if you can repeat examples, the order in which you present them doesn't make the teacher's job any easier.
- Monotonicity: The model behaves intuitively—adding more possible observations (a larger "vocabulary") makes teaching easier, while adding more concepts (more "distractors") makes teaching harder.
- The SMN Connection: By proving that MAP-TD equals the SMN of a specific graph, the authors turned a learning problem into a combinatorial one, allowing them to tap into decades of graph theory research.
Key Results
- Polynomial Time Computability: The authors show that the MAP- and MLE-teaching dimensions can be computed in polynomial time relative to the size of the concept class and the domain. This is a major win, as many teaching models are NP-hard to optimize.
- Combinatorial Bounds: They established that these teaching dimensions are bounded from above by well-known metrics like the VC-dimension and the antichain number. This integrates probabilistic teaching into the broader landscape of statistical learning theory.
- Incomparability: They proved that for sampling without replacement, the ordered and unordered modes are "incomparable"—meaning which one is "better" depends entirely on the specific concepts being taught.
Limitations and Future Work
- Optimal vs. Natural Parameters: The paper focuses on "optimally parameterized" learners—the best-case scenario for teaching. The authors acknowledge that real-world learners might have "natural" parameters (like a standard Gaussian prior) that aren't optimized for a specific teacher.
- Intuition vs. Efficiency: While the teacher finds the smallest set of examples, those examples might not be the most "human-intuitive." Future work could explore whether MAP-based teaching forces the teacher to pick examples that actually "explain" the concept to a human.
- Scaling: While polynomial time is good, the "size of the concept class" can still be massive in deep learning contexts. Applying these proofs to infinite or continuous concept spaces remains an open challenge.
Summary updated