Know Thy Student: Interactive Learning with Gaussian Processes

Rose E. Wang, Mike Wu, Noah D. Goodman

Abstract

Traditional machine teaching assumes an omniscient teacher with perfect knowledge of a student's internal state. This paper introduces an interactive framework using Gaussian Processes to diagnose a student’s hidden parameters or prior knowledge before constructing an optimal curriculum. This "diagnose-then-teach" approach results in up to a 16,000x increase in learning efficiency for reinforcement learning agents.

Introduction

In human education, effective instruction begins with assessment. A teacher does not simply provide information; they first determine the student's current understanding to tailor the lesson. In contrast, most research in Machine Teaching (MT) assumes the teacher already knows the student's hyperparameters and prior experiences. This paper, originally presented at the ICLR 2022 Workshop "From Cells to Societies," proposes a "diagnose-then-teach" loop to bridge this gap.

The Problem: The Omniscience Bottleneck

The primary objective of MT is to identify the "teaching dimension"—the minimal dataset required to transition a learner to a target state. However, the assumption of teacher omniscience is a significant hurdle for real-world applications. If a teacher misjudges a student's regularization parameters or prior knowledge, the "optimal" dataset provided can lead to suboptimal or even detrimental performance. Practical machine teaching requires an interactive mechanism to gauge student misconceptions.

Methodology: Gaussian Process Diagnosis

The authors introduce a diagnostic algorithm centered on Gaussian Processes (GPs). The process follows a five-step loop:

  1. Probing: The teacher maintains a posterior distribution (belief) regarding the student's hidden state $z$.
  2. Hypothesis Sampling: Using an Expected Improvement (EI) acquisition function, the teacher selects a "test probe"—a specific state or data point—to present to the student.
  3. Feedback: The student responds (e.g., via an action or prediction). The teacher measures the discrepancy between this response and the behavior of a hypothetical ideal student.
  4. Belief Update: This discrepancy serves as the target for the GP, which updates the teacher's model of the student using a Radial-Basis Function (RBF) kernel.
  5. Optimal Teaching: Once the diagnosis reaches a confidence threshold, the teacher constructs the minimal training set needed to reach the target state.

Key Insights: The Knowledge Frontier

A critical concept introduced is the "knowledge frontier." In complex environments, a student may already possess partial knowledge. An interactive teacher identifies these "blind spots" rather than providing redundant information.

Visualization of the environment and the identified student knowledge frontier in the MiniGrid domain.

By probing states and observing student actions, the teacher builds a map of the student's expertise. This allows the curriculum to focus exclusively on the frontier of the student's knowledge, drastically reducing the data required for convergence.

Experimental Results

The framework was validated across three domains: Ridge Regression, Support Vector Machines (SVMs), and Offline Reinforcement Learning (RL).

Reinforcement Learning in MiniGrid

The most dramatic results were observed in the MiniGrid EmptyRoom and 4 Rooms environments. While a passive learner required hundreds of thousands of steps to converge, the interactive "diagnose-then-teach" approach ($D(EI)+T$) achieved convergence in approximately 50 steps. This represents a speedup of 2,000x to 16,000x, highlighting the power of targeted instruction.

Regression and Classification

In Ridge Regression, the diagnostic teacher successfully identified the student's regularization parameter ($\lambda$), allowing the student to recover optimal model weights even under high initial bias. In SVM tasks, while diagnosis was successful, the final performance was less sensitive to the regularization parameter, suggesting that the benefits of diagnosis vary by task geometry.

Discussion and Future Work

While the results are promising, several avenues for improvement remain. The current "action matching" feedback in RL is simple; using differences in Value Functions might provide a richer signal. Furthermore, the current sequential "diagnose-then-teach" model could be evolved into a dynamic, interwoven process where assessment and instruction happen simultaneously.

Conclusion

By moving from passive to interactive teaching, we can significantly enhance the efficiency of machine learning agents. Understanding the student is not just a pedagogical nicety; it is a computational prerequisite for optimal teaching.

Summary updated

BibTeX
@inproceedings{wang2022know,
  author = {Rose E. Wang and Mike Wu and Noah D. Goodman},
  title = {{Know Thy Student: Interactive Learning with Gaussian Processes}},
  booktitle = {Cells2Societies @ ICLR},
  year = {2022},
  url = {https://openreview.net/forum?id=rpGGNrMJpW9},
}
Figure