Machine Teaching of Active Sequential Learners

Tomi Peltola, Mustafa Mert Çelikok, Pedram Daee, Samuel Kaski

Standard machine teaching assumes a teacher provides a static, complete dataset to an AI. However, in the real world, AI systems often learn sequentially by actively asking questions—think of recommendation engines or search algorithms. This paper, originally presented at NeurIPS 2019, explores how to optimize the interaction between a "teacher" (often a human user) and an "active learner."

By formulating this interaction as a strategic game, the authors demonstrate that when a teacher plans responses to steer the AI efficiently, and the AI "reads between the lines" to recognize the teacher's intent, learning accelerates significantly in both simulations and human user studies.

The Gap Between Active Learning and Machine Teaching

Most machine learning models treat human input as "passive data"—simple labels or rewards assumed to be noisy but honest reflections of a fixed truth. However, humans are strategic. We form mental models of how an AI works and often provide feedback specifically designed to "nudge" the system in the right direction.

The authors identify a critical gap in the literature:

  • Machine Teaching (finding the best data to teach a model) usually occurs in a "batch" setting where the teacher selects all the data at once.
  • Active Learning (where the AI selects the data) typically assumes a "naive" teacher who simply provides the true label for whatever is asked.

This paper tackles the intersection: Machine Teaching of Active Sequential Learners. In this setting, the AI chooses the queries, and the teacher must decide how to respond to those specific queries to help the AI reach a target goal with minimal effort.

A Two-Sided Strategic Framework

To solve this, the authors propose a framework that models both the teacher and the learner as strategic agents:

  1. The Teacher as a Planner: The teacher’s problem is formulated as a Markov Decision Process (MDP). The "state" is the history of the interaction, and the "actions" are the teacher's responses. By solving this MDP, the teacher provides responses that aren't just strictly "correct" for the current query, but are optimal for steering the learner's future queries toward the ultimate goal.
  2. The Teacher-Aware Learner: The learner’s problem is formulated using Probabilistic Inverse Reinforcement Learning (IRL). Instead of taking a response at face value, the learner assumes the teacher is "boundedly optimal"—choosing responses likely to be helpful. The learner asks, "Why would a strategic teacher give me this specific answer for this specific query?" This allows the AI to infer information about the target model beyond the raw data, updating its beliefs about options it hasn't even queried yet.
  3. Implementation & Robustness: The framework is applied to Bayesian Bernoulli Multi-Armed Bandits (MAB) with arm dependencies. To prevent the system from failing if a user isn't acting strategically, the authors introduce a mixture model. This allows the learner to dynamically balance between assuming a "naive" teacher and a "planning" teacher.

Key Results and Insights

The researchers tested their framework using a simulated Word Relevance Dataset (based on Google’s Word2Vec) and a proof-of-concept human user study.

Performance comparison showing how an active learner guided by a teacher eventually approaches the ground truth accuracy of the full data pool.
  • The Power of Strategic "Lying": A planning teacher might give a positive reward to a mediocre option if they know it will help the learner narrow down the search space faster than a negative reward would.
  • The "Teacher-Aware" Advantage: The most significant performance gains occur when both sides are aware of the interaction. In simulations, the "Planning Teacher + Teacher-Aware Learner" combination reached high accuracy and cumulative rewards significantly faster than standard baseline models.
  • Robustness in Practice: The mixture model performed nearly as well as the perfectly matched model when the teacher was planning, but crucially, it didn't crash when the teacher was actually naive.
  • Human Success: In the user study, participants achieved significantly higher average cumulative rewards when interacting with the "mixture" learner compared to the naive learner. This suggests that even casual human users naturally act as strategic teachers when interacting with AI.

Limitations and Future Directions

While promising, the approach has limitations. Solving the teacher's MDP is computationally expensive, requiring approximations for long planning horizons or large action spaces. Furthermore, the "boundedly optimal" teacher is a simplified cognitive model; real human behavior involves biases and varying skill levels not fully captured here.

Despite these challenges, this framework lays the groundwork for more complex interactive AI. By treating users as strategic teachers rather than passive data oracles, systems like recommendation engines and human-in-the-loop optimization can become vastly more efficient and responsive.

Summary updated

BibTeX
@inproceedings{peltola2019machine,
  author = {Tomi Peltola and Mustafa Mert Çelikok and Pedram Daee and Samuel Kaski},
  title = {{Machine Teaching of Active Sequential Learners}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
  url = {https://openreview.net/forum?id=dbgy7153gaL},
}
Figure