Towards optimal selection schedules for online active learning

Hugo Cui, Francesca Mignacco, Francesco MoriarXiv 2026

TL;DR

This paper moves beyond simple heuristics in online active learning by deriving the mathematically optimal schedules for querying labels in high-dimensional settings. It reveals that for maximizing final accuracy, "intermediate-margin" strategies—which ignore both the easiest and the hardest samples—are superior, and it introduces a simple $1/t$ shrinking threshold rule that excels in real-world medical diagnosis tasks.

What Problem Does This Paper Address?

In many machine learning domains, such as medical diagnosis or molecular modeling, unlabeled data is plentiful but expert annotation is prohibitively expensive. Active learning aims to minimize these costs by carefully selecting only the most informative samples for labeling.

Most existing research focuses on "pool-based" settings (where you have all data at once) or uses fixed heuristics for "online" settings (where data arrives in a stream). This paper addresses the gap in optimal scheduling: given a stream of data and a limited budget, when and which samples should you query to get the best model by the end of training? The authors specifically look at the high-dimensional regime where the number of features and samples are both large and grow proportionally, a setting that reflects modern large-scale learning.

Methods

The authors employ a powerful framework from statistical physics and control theory to analyze the training dynamics of a linear classifier using the Adatron learning rule (a relative of the Perceptron).

  1. Dimensionality Reduction: They reduce the complex, high-dimensional SGD process into a set of scalar Ordinary Differential Equations (ODEs). These equations track "order parameters"—summary statistics like the model's overlap with the ground truth and its weight norm.
  2. Optimal Control: Using these ODEs, they apply control-theoretic methods (specifically single shooting with JAX) to find the selection policies that minimize two different objectives:
  3. Final Generalization Error: Minimizing error at the end of a fixed training horizon given a total query budget.
  4. Cumulative Cost: Minimizing the sum of mistakes made during training and the cost of queries.
  5. Policy Comparison: They distinguish between myopic policies (greedy, step-by-step optimization) and horizon-optimized schedules (long-term planning over the entire training duration).

Datasets

The theoretical results are validated using:

  • Synthetic Data: Isotropic Gaussian distributions in high dimensions ($d=200$ to $1000$).
  • Pneumonia Diagnosis: A dataset of chest X-ray images (Kermany et al., 2018).
  • Covid-19 Diagnosis: Chest X-ray scans for screening viral pneumonia (Chowdhury et al., 2020; Rahman et al., 2021).

Key Insights and Ideas

  • The "Intermediate-Margin" Surprise: For a fixed budget, the optimal strategy for final accuracy isn't just querying the "hardest" samples (those closest to the decision boundary). Very small margins produce weight updates that are too small to justify the query cost. Instead, the optimal policy targets an "intermediate" range of margins.
  • Shrinking Windows: As the model learns, the range of "useful" margins shifts and shrinks. Figure 1 illustrates how the optimal selection region (in yellow) narrows over time compared to a greedy myopic strategy (in blue).
  • Greed is Suboptimal: Myopic (greedy) strategies tend to exhaust their labeling budget too early in training. Horizon-optimized schedules "invest" their queries more strategically, often querying more aggressively early on to reduce future mistakes.
  • Neural Networks Require Nuance: In two-layer neural networks, simple thresholding on the final output is no longer optimal. The selection policy must instead consider the full vector of internal "pre-activations" to be effective.
Figure 1: (Left) Selection regions in the margin-time plane. The horizon-optimized schedule (yellow) restricts the selection interval more effectively than the myopic one (blue). (Right) Final generalization error vs. query budget, showing the superiority of intermediate-margin schedules.

Key Results

  • Superiority of Intermediate Margins: Horizon-optimized intermediate-margin schedules consistently achieve lower final generalization errors than standard inner-margin or random baselines, especially at low to moderate query budgets.
  • The $1/t$ Heuristic: For cumulative cost minimization, the authors derive a simple, hyperparameter-free heuristic where the query threshold shrinks at a rate of $1/t$. This simple rule performs remarkably well on real-world medical datasets, often outperforming established active learning algorithms like AL-Perc or b-sampling.
  • Logarithmic Complexity: Under the optimal myopic policy for the Adatron rule, the cumulative cost and number of queries grow only logarithmically with training time, while the error decays as $1/t$.

Limitations and Future Work

  • Gaussian Assumption: The core theoretical derivations rely on isotropic Gaussian data distributions. While the results hold up well on real X-ray data, the theory might need adjustment for highly structured or non-Gaussian data.
  • Linear Focus: Most of the "optimal" results are for linear classifiers. While the paper touches on two-layer neural networks, a full characterization of optimal schedules for deep architectures remains an open challenge.
  • Stationary Tasks: The current work assumes a single, unchanging task. The authors suggest that extending this to multi-task settings—where a budget must be allocated across different learning objectives—is a promising future direction.

Summary updated

Abstract

We consider the problem of online linear classification, where a stream of unlabeled samples is available, and annotation is costly. We investigate the optimal query policy, that prescribes whether and when a sample should be labeled and used for a training step, or instead discarded, so as to minimize a given objective. We focus on the realizable case, under Gaussian design, in the high-dimensional regime where data dimension and number of unlabeled samples grow proportionally. We consider two objectives: 1) the generalization error under a labeling budget, and 2) a cumulative cost function where mistakes have unit cost and queries cost $Δ$. We first show that the myopic policies that greedily minimize at all times the increment in the objective correspond to either small or intermediate-margin policies, that prescribe the selection of samples whose margins fall within certain intervals that shrink with time. Within this class, we numerically ascertain the optimal schedules for the selection thresholds that minimize the final values of the objectives. Taking inspiration from the myopic policy for the cumulative cost, we design a very simple query policy schedule that we compare to other proposed heuristics, on synthetic data and real medical image datasets. Finally, we discuss myopic policies for two-layer neural networks, and exemplify how naive margin-based policies can cease to be optimal.
BibTeX
@misc{cui2026towards,
  author = {Hugo Cui and Francesca Mignacco and Francesco Mori},
  title = {{Towards optimal selection schedules for online active learning}},
  year = {2026},
  eprint = {2610.23477},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.23477},
}
Figure