Interactive Machine Learning: From Theory to Scale

Yinglun ZhuarXiv 2025 · DOI

Abstract

Traditional machine learning often relies on passive data collection, which is inefficient in high-stakes or resource-constrained environments. Interactive machine learning (IML) offers a solution by allowing models to actively select data or actions. However, theoretical IML often fails at scale due to noise sensitivity and computational bottlenecks in large action spaces. This paper presents a framework for bridging this gap, introducing algorithms for active learning with abstention, spanner-based exploration for massive action spaces, and adaptive model selection techniques.

Introduction

In supervised learning, the standard paradigm involves collecting a static dataset, labeling it, and training a model. In domains like medicine or robotics, this "passive" approach is often prohibitively expensive or risky. Interactive machine learning—where the algorithm dynamically chooses which data points to label or which actions to take—promises significant efficiency gains.

Despite this promise, a significant gap exists between theoretical guarantees and practical scalability. Most existing theories assume low-noise environments or small, manageable action spaces. This work addresses three primary bottlenecks: the impact of noise in active learning, the computational explosion of large action spaces in contextual bandits, and the difficulty of model selection under partial feedback.

Overcoming the Noise Barrier in Active Learning

Standard active learning algorithms often fail to outperform passive learning when data is noisy. To address this, we introduce an "abstention" mechanism based on Chow’s error. This allows a classifier to refrain from making predictions on ambiguous examples near the decision boundary at a controlled cost.

By leveraging a weighted square loss regression oracle, the proposed approach achieves exponential label savings. Specifically, the algorithm reaches a label complexity of $polylog(1/\epsilon)$, a dramatic improvement over the $1/\epsilon^2$ required by passive learning. Crucially, this is achieved without the restrictive "low-noise" assumptions typically required to see such gains in theoretical models.

Scaling Contextual Bandits to Millions of Actions

Contextual bandits are essential for recommendation systems, but traditional exploration strategies break down when the number of possible actions (arms) reaches the millions. We propose SpannerIGW and SpannerGreedy, algorithms that utilize "barycentric spanners."

A barycentric spanner is a small subset of representative actions that can linearly represent the entire action space. By focusing exploration on this spanner, the model can efficiently learn the reward landscape without ever needing to enumerate every possible action. This results in $\sqrt{T}$ regret with runtime and memory requirements that are entirely independent of the total number of actions.

To further handle continuous or near-infinite action spaces, we introduce the concept of "smooth regret." Rather than attempting to find a single optimal action in a dense space—a task often likened to finding a needle in a haystack—the learner competes against a smoothed distribution of high-performing actions, providing a more robust benchmark for real-world systems.

Adaptive Model Selection

Choosing the correct model complexity (e.g., the number of features) is notoriously difficult in bandit settings because the learner only receives partial feedback. We develop a two-dimensional doubling trick that searches across both elimination steps and hypothesis class complexity. This allows the learner to adapt to the "intrinsic dimension" of the problem—the actual number of relevant features—rather than being penalized by the "ambient dimension" of the entire feature set.

Our analysis proves a fundamental lower bound: while model selection in supervised learning adds only logarithmic overhead, bandit feedback necessitates a polynomial overhead, highlighting the inherent difficulty of adaptation in interactive environments.

Experimental Results

The proposed algorithms were evaluated against several large-scale benchmarks:

  • Extreme Scale: On the amazon-3m dataset, which contains nearly 3 million actions, the spanner-based methods outperformed existing tree-based contextual bandit methods by a factor of two in terms of total reward.
  • Language Tasks: In named-entity recognition tasks (oneshotwiki-311 and oneshotwiki-14031), the algorithms demonstrated superior efficiency in handling thousands of discrete actions.
  • Real-World Feedback: The methods were validated using the New Yorker Magazine Cartoon Caption Contest dataset, proving effective in environments with multiple optimal solutions.

Conclusion and Future Work

This work demonstrates that the theoretical benefits of interactive machine learning can be realized at scale by rethinking how algorithms handle noise and action space dimensionality. By introducing abstention and spanner-based exploration, we provide a path for IML to move from "toy" problems to complex, real-world applications.

Future research will focus on extending these principles to multi-step decision-making (Reinforcement Learning) and improving the practical implementation of regression oracles for non-convex models like deep neural networks.

Summary updated

Abstract

Machine learning has achieved remarkable success across a wide range of applications, yet many of its most effective methods rely on access to large amounts of labeled data or extensive online interaction. In practice, acquiring high-quality labels and making decisions through trial-and-error can be expensive, time-consuming, or risky, particularly in large-scale or high-stakes settings. This dissertation studies interactive machine learning, in which the learner actively influences how information is collected or which actions are taken, using past observations to guide future interactions. We develop new algorithmic principles and establish fundamental limits for interactive learning along three dimensions: active learning with noisy data and rich model classes, sequential decision making with large action spaces, and model selection under partial feedback. Our results include the first computationally efficient active learning algorithms achieving exponential label savings without low-noise assumptions; the first efficient, general-purpose contextual bandit algorithms whose guarantees are independent of the size of the action space; and the first tight characterizations of the fundamental cost of model selection in sequential decision making. Overall, this dissertation advances the theoretical foundations of interactive learning by developing algorithms that are statistically optimal and computationally efficient, while also providing principled guidance for deploying interactive learning methods in large-scale, real-world settings.
BibTeX
@misc{zhu2025interactive,
  author = {Yinglun Zhu},
  title = {{Interactive Machine Learning: From Theory to Scale}},
  year = {2025},
  eprint = {2512.23924},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.23924},
}
Figure