Iterative Teaching by Label Synthesis

Weiyang Liu, Zhen Liu, Hanchen Wang, Liam Paull, Bernhard Schölkopf, Adrian Weller

Introduction

Machine teaching serves as the inverse of machine learning: given a target model, the objective is to construct the minimal dataset—often referred to as a "teaching curse"—to guide a learner toward that target. In Iterative Machine Teaching (IMT), a teacher provides examples sequentially, adapting to the learner's current state. However, a significant bottleneck exists in example selection. For a pool of $m$ images and $n$ iterations, the search space for an optimal sequence is $O(m^n)$. Even greedy heuristics scale linearly with dataset size, making them impractical for large-scale modern problems.

Comparison between Vanilla Iterative Teaching and Label Synthesis Teaching.

Methodology: LAbel Synthesis Teaching (LAST)

To bypass the computational cost of searching through massive datasets, this research introduces LAbel Synthesis Teaching (LAST). Instead of scanning a pool for the most informative $(x, y)$ pair, the teacher randomly samples an input $x$ and synthesizes a custom label $y$ designed to nudge the learner’s parameters $w_t$ directly toward the target parameters $w^*$.

The framework encompasses several variants:

  • Greedy LAST: Solves a one-step optimization to find the label that minimizes the distance to the target state in the next iteration.
  • Parameterized LAST: Employs a neural network teacher trained via bi-level optimization (unrolling learner updates) or reinforcement learning (policy gradients).
  • Black-box LAST (BLAST): Addresses realistic scenarios where the teacher lacks direct access to the learner's internal target, instead using a validation set as a proxy.

Geometric Interpretation and Key Insights

A core revelation of this work is that the "correct" ground-truth label is not always the most instructive. By synthesizing "soft" or even technically "incorrect" labels, a teacher can provide a more precise gradient signal, accelerating convergence.

Geometric comparison of parameter trajectories for SGD versus LAST.

For linear learners, LAST naturally produces a curriculum. The synthesized labels initially resemble the learner's current predictions ("easy" examples) and gradually shift toward the target predictions ("hard" examples) as the student improves. This approach provides a unified view of existing techniques; the authors demonstrate that Knowledge Distillation and Label Smoothing are essentially specific, non-optimal instances of label synthesis.

Experimental Results

The researchers evaluated LAST across synthetic 2D datasets, MNIST (binary and multi-class), and linear regression tasks. Key findings include:

  • Exponential Teachability: LAST is proven to converge at least as fast as standard Stochastic Gradient Descent (SGD) and often achieves exponential rates of error reduction.
  • Computational Efficiency: By eliminating the need for exhaustive sample searching, LAST achieves teaching efficiency comparable to IMT at a fraction of the computational cost.
  • Mixed Teaching: Combining sample selection with label synthesis yields the most potent results, identifying the optimal points in the gradient space to reach the target $w^*$.

Conclusion and Future Work

Label synthesis represents a powerful shift in machine teaching, moving from selection-based paradigms to synthesis-based ones. While the current theory often assumes an "omniscient" teacher, future work aims to refine Black-box implementations and scale these methods to complex architectures like Transformers. By bridging the gap between theoretical teaching and practical iterative algorithms, LAST offers a scalable path toward more efficient machine education.

Summary updated

BibTeX
@inproceedings{liu2021iterative,
  author = {Weiyang Liu and Zhen Liu and Hanchen Wang and Liam Paull and Bernhard Schölkopf and Adrian Weller},
  title = {{Iterative Teaching by Label Synthesis}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
}
Figure