On a Combinatorial Problem Arising in Machine Teaching

Joakim Sunde, Brigt Håvardstun, Jan Kratochvíl, Jan Arne Telle

Abstract

In the field of Machine Teaching (MT), identifying the minimum number of examples required to distinguish between concepts is a fundamental challenge. This paper provides a rigorous mathematical proof for a long-standing combinatorial conjecture regarding the "worst-case" scenario for a greedy teacher. By analyzing the structural properties of binary matrices and their projections onto hypercubes, the authors demonstrate that a concept class consisting of consecutive binary numbers ($0$ to $k-1$) requires the maximum number of examples to distinguish concepts under a greedy selection model. This result effectively generalizes the classic edge isoperimetry problem from graph theory to a broader combinatorial context.

Introduction

While standard Machine Learning focuses on a learner's ability to infer a concept from random data, Machine Teaching (MT) explores the inverse: how an omniscient teacher can strategically select the smallest possible set of labeled examples—a witness—to guide a learner toward a target concept. The efficiency of this process is measured by the teaching dimension, defined as the maximum size of a witness required for any concept within a given class.

A central problem in MT is determining the limits of specific teaching algorithms. Recent research introduced a "Greedy" algorithm for constructing teacher mappings, leading to a conjecture about which binary matrices (representing concept classes) are most difficult to teach. Specifically, the problem asks which matrix minimizes the number of unique rows when restricted to a subset of $q$ columns. This paper resolves that conjecture, establishing a formal link between teaching efficiency and extremal combinatorics.

The Extremal Matrix Conjecture

The authors focus on the matrix $H_{n,k}$, which contains the binary representations of the integers $0$ through $k-1$ as its rows. In the context of MT, each row represents a concept and each column represents a potential example.

The core challenge was to prove that $H_{n,k}$ is the "optimal" (or extremal) matrix in a specific sense: for any fixed number of rows $k$ and columns $n$, $H_{n,k}$ minimizes the sum of unique rows across all possible $q$-column subsets. While this property was previously established for the specific case of $q = n-1$ (a known result in hypercube graph theory), its validity for all values of $q$ remained unproven until now.

Methodology and Theoretical Framework

The paper employs several sophisticated techniques from discrete mathematics to establish the proof:

  • Inductive Proofs: The authors utilize a recursive definition of $H_{n,k}$, allowing them to build the proof through induction on the number of rows ($k$).
  • Hamming Weight Analysis: By tracking the "Hamming weight" (the count of 1s in a binary string), the researchers analyzed how the diversity of rows shifts as columns are removed or "hidden."
  • Generalization of Graham’s Lemma: A pivotal component of the proof involves a 1970 lemma by Ron Graham concerning bijective mappings between sets of integers. The authors generalized this lemma to accommodate the specific constraints of the greedy teaching model, ensuring that the binary ordering of $H_{n,k}$ remains the most "compact" configuration possible.

Key Insights

The Hypercube Connection

The research reveals that this teaching problem is a direct generalization of the edge isoperimetry problem. In graph theory, this problem seeks to identify which $k$ vertices in an $n$-dimensional hypercube induce the maximum number of edges. The authors show that the binary ordering of $H_{n,k}$ is optimal not only for edges (where $q=n-1$) but for any dimensionality $q$.

Diversity and Distinguishability

The "aha moment" of the paper lies in the realization that consecutive binary numbers are uniquely structured to minimize "diversity" when bits are removed. By selecting numbers in sequence, the rows remain as similar as possible across all possible projections. In the context of Machine Teaching, this lack of diversity represents the "worst-case" scenario: because the concepts are so similar, a greedy teacher must provide more examples to successfully distinguish them.

Results and Implications

The primary contribution of this work is Theorem 2.1, which formally proves that for any concept class of size $k$ and any number of examples $n$, the matrix $H_{n,k}$ minimizes the sum of unique rows over all possible $q$-column subsets for all $1 \le q \le n$.

This result provides a definitive lower bound for the teaching dimension in the Greedy teaching model. It allows researchers to compare the efficiency of greedy teaching against other established models, such as "recursive teaching" or "no-clash teaching," with mathematical certainty.

Limitations and Future Directions

While the paper provides a theoretical breakthrough, it also highlights practical challenges. Calculating the specific "unique row sum" ($m_q(M)$) for an arbitrary matrix $M$ is computationally intensive, with a complexity of $O(n^q kq \log k)$.

The authors pose an open question for the computer science community: Is the computation of this value Fixed Parameter Tractable (FPT)? Determining whether an algorithm can handle large matrices efficiently when the number of columns $q$ is small remains a key area for future investigation. Additionally, while this work solidifies the mathematical foundation of MT, translating these bounds into practical "explainable AI" or pedagogical software remains an open challenge for applied researchers.

Summary updated

BibTeX
@inproceedings{sunde2024combinatorial,
  author = {Joakim Sunde and Brigt Håvardstun and Jan Kratochvíl and Jan Arne Telle},
  title = {{On a Combinatorial Problem Arising in Machine Teaching}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=spOpHW1No2},
}
Figure