NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Iterative Teaching by Data Hallucination

Zeju Qiu, Weiyang Liu, Tim Z. Xiao, Zhen Liu, Umang Bhatt, Yucen Luo, Adrian Weller, Bernhard Schölkopf

Abstract

We consider the problem of iterative machine teaching, where a teacher sequentially provides examples based on the status of a learner under a discrete input space (i.e., a pool of finite samples). This paper introduces Data Hallucination Teaching (DHT), where the teacher dynamically generates synthetic, continuous-space examples tailored to the learner's current state. This approach bypasses the combinatorial nightmare of discrete data selection, speeds up convergence, and successfully enables iterative teaching for black-box deep neural networks on realistic datasets.

Introduction: The Bottleneck of Discrete Selection

In standard machine learning, a learner model optimizes parameters based on a dataset. Machine Teaching is the inverse problem: given target parameters, what is the minimal dataset required for convergence?

In Iterative Machine Teaching (IMT), a teacher feeds data to the learner step-by-step. Historically, IMT has forced the teacher to select examples from a fixed, discrete pool of real data. This creates a massive combinatorial optimization problem that is computationally prohibitive for high-dimensional data like images. Furthermore, restricting the teacher to a discrete pool limits how fast it can force the learner to converge. The authors ask: what if the teacher could just invent the perfect training example on the fly?

Methodology: From Selection to Hallucination

The authors propose Data Hallucination Teaching (DHT), shifting the teaching space from discrete selection to continuous generation. Instead of picking the "best" existing image, the teacher "hallucinates" the mathematically optimal training example for the learner's current state.

Comparison between Vanilla Iterative Machine Teaching (selection-based) and Data Hallucination Teaching (generation-based).

Teaching Policies

  • Greedy Teaching Policy: A one-step optimization where the teacher synthesizes an example that maximizes the learner's gradient step toward the target weights ($w^*$).
  • Parameterized Teaching Policy: The teacher is parameterized as a neural network (like a VAE or GAN). Instead of calculating one step, it learns a multi-step teaching strategy.
  • Performative Teaching (Black-Box): In deep learning, the true optimal weights ($w^*$) are rarely known. The authors treat the neural network as two parts: a feature extractor and a linear classifier. By treating the target as a moving, performative variable that reacts to the teacher's actions, they can iteratively teach black-box deep neural networks.

Omniscient DHT and Linear Learners

In the "Omniscient" setting, the teacher knows the learner's parameters and the optimal target. For linear learners, this allows for precise gradient updates in the representation space, influencing the target weights directly through generated samples.

Omniscient DHT for linear learners, showing the interaction between the neural encoder, representation space, and linear classifier.

Key Insights

  • Continuous > Discrete: Generating data is vastly more efficient for teaching than selecting it. It is akin to the success of data augmentation but dynamically optimized for the model's exact learning phase.
  • The "Alien" Curriculum: When using a GAN-based teacher, the system implicitly learns a unique curriculum. Early in training, it generates highly clustered, visually unrecognizable samples. While these look like noise to humans, they are mathematically optimal "super-stimuli" that force the learner's weights to jump quickly in the right direction. Later, it switches to realistic data for fine-tuning.
  • Privacy-Preserving Teaching: Because DHT generates synthetic data, it can be constrained to stay perceptually distant from the real dataset. This allows a teacher to train a model without ever exposing sensitive raw data.

Key Results

  • Theoretical: The authors mathematically prove that DHT achieves Exponential Teachability (ET)—meaning the learner converges to the target weights at an exponential rate.
  • White-box Setting: On MNIST and Half-moon datasets, DHT drastically outpaces standard SGD and standard IMT in reaching target weights.
  • Black-box Setting: On realistic datasets, Performative DHT consistently boosts accuracy. For example, on CIFAR-10 with a 15-layer CNN, accuracy improved from 91.85% (SGD) to 92.44% (DHT).
  • Mixup DHT: Using policy gradients to teach Mixup interpolation coefficients boosted a simple CNN's accuracy on CIFAR-10 from 61.75% to 67.64%.

Conclusion

Data Hallucination Teaching represents a paradigm shift in machine teaching. By moving from discrete data selection to continuous data generation, DHT overcomes computational bottlenecks and enables efficient teaching for modern deep learning architectures. Future work will explore more advanced parameterized policies to further enhance performance in complex black-box settings.

Summary updated

BibTeX
@inproceedings{qiu2023iterative,
  author = {Zeju Qiu and Weiyang Liu and Tim Z. Xiao and Zhen Liu and Umang Bhatt and Yucen Luo and Adrian Weller and Bernhard Schölkopf},
  title = {{Iterative Teaching by Data Hallucination}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2023},
  url = {https://openreview.net/forum?id=l44lbKKvLX},
}
Figure