Nonparametric Teaching for Multiple Learners

Chen Zhang, Xiaofeng Cao, Weiyang Liu, Ivor W. Tsang, James T. Kwok

Abstract

We study the problem of teaching multiple learners simultaneously in the nonparametric iterative teaching setting, where a teacher provides examples to learners to accelerate the acquisition of a target concept. This problem is motivated by the gap between current single-learner teaching settings and the real-world scenario of human instruction, where a teacher typically imparts knowledge to multiple students at once. We introduce a novel framework—Multi-learner Nonparametric Teaching (MINT). In MINT, the teacher instructs multiple learners by framing the problem as teaching a vector-valued target model, extending the target model space from a scalar-valued reproducing kernel Hilbert space (RKHS) to a vector-valued space. We demonstrate that MINT offers significant teaching speed-ups over repeated single-learner teaching, particularly when learners can communicate. Extensive experiments validate the practicality and efficiency of the MINT framework.

Introduction

Machine teaching serves as the "inverse" of machine learning: rather than an algorithm extracting patterns from data, a teacher designs an optimal, minimal set of examples to guide a learner toward a target concept. While machine teaching has seen significant theoretical advancement, most existing research focuses on a single-learner setting. In practice, this is computationally inefficient; a teacher with ten students would need to repeat the teaching process ten times.

This paper introduces MINT (Multi-learner Nonparametric Teaching), a framework designed to bridge the gap between algorithmic teaching and the collaborative environment of a classroom. By treating a group of learners as components of a single vector-valued model and allowing for inter-learner communication, MINT achieves significant efficiency gains over traditional, isolated teaching methods.

The MINT Framework

From Scalar to Vector-Valued Teaching

The core innovation of MINT is the transition from scalar-valued to vector-valued teaching. In a standard nonparametric setting, a teacher helps a learner find a function $f(x)$ within a Reproducing Kernel Hilbert Space (RKHS). MINT extends this by instructing a vector of functions $\mathbf{f}(x) = [f_1(x), ..., f_d(x)]$, where each component $f_i$ represents the target concept for the $i$-th learner.

Vanilla vs. Communicated MINT

The framework explores two primary modes of instruction:

  1. Vanilla MINT: The teacher provides examples to all learners simultaneously, but learners do not interact. Even in this baseline, the teacher can optimize the global teaching set, ensuring that the examples provided are useful for the group as a whole.
  2. Communicated MINT: This mode introduces a communication matrix ($A^t$). This matrix allows learners to update their current models using a linear combination of the progress made by their peers. This mimics social learning, where students build upon each other's insights to reach their individual goals faster.

Teaching Strategies

MINT adapts two primary strategies for example selection:

  • Random Functional Teaching (RFT): Examples are selected randomly from the domain.
  • Greedy Functional Teaching (GFT): The teacher selects examples that maximize the "disagreement" between the learners' current states and the target concepts. This active selection leads to significantly faster convergence than random sampling.

Key Insights: The "Zebra" Intuition

A primary advantage of Communicated MINT is its ability to exploit shared information. The authors use the "Zebra" analogy: a child might learn the concept of a "zebra" faster if they already understand "horse" and "black-and-white stripes." In MINT, if the learners' initial models form a basis for the target space, the teacher can theoretically achieve the target concept in just one iteration by providing the optimal communication matrix. This demonstrates that communication is not just a marginal improvement but a fundamental shift in teaching efficiency.

Experimental Results

The authors validated MINT using synthetic data and complex image reconstruction tasks, including image partitioning (dividing a high-resolution image among 16 learners) and RGB image synthesis (where each color channel is treated as a separate learner).

  • Efficiency Gains: In an RGB reconstruction of a lion image, MINT required approximately half the iterations to reach the same Peak Signal-to-Noise Ratio (PSNR) as repeated single-learner teaching.
  • The Power of Communication: Communicated MINT consistently outperformed Vanilla MINT. In the RGB lion task, Communicated MINT achieved a PSNR of ~24.58, compared to ~22.00 for Vanilla MINT and only ~14.49 for single-learner teaching over the same number of iterations.
  • Theoretical Convergence: The paper provides rigorous proofs that MINT is guaranteed to converge and that the greedy strategy (GFT) remains provably more efficient than random sampling in multi-learner environments.

Limitations and Future Directions

While MINT represents a significant step forward, several challenges remain:

  • Gray-Box Requirements: The framework currently assumes the teacher can observe the learners' internal models to select the best examples. Future work could explore "black-box" settings where the teacher has less visibility.
  • Linear Communication: Currently, learners interact via linear combinations. Exploring non-linear communication, perhaps through neural networks, could further enhance learning speed.
  • Scalability: While effective for groups of up to 16, scaling MINT to thousands of learners (as seen in federated learning) requires further optimization of the communication matrix calculation, which currently involves a small MLP and adds computational overhead.

Summary updated

BibTeX
@inproceedings{zhang2023nonparametric,
  author = {Chen Zhang and Xiaofeng Cao and Weiyang Liu and Ivor W. Tsang and James T. Kwok},
  title = {{Nonparametric Teaching for Multiple Learners}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=VkUNovXoxx},
}
Figure