Active Covering

Heinrich Jiang, Afshin Rostamizadeh

Introduction

In many real-world machine learning applications, the objective extends beyond building a highly accurate general classifier; the goal is to discover every single instance of a rare but critical class. Examples include a bank identifying all fraudulent transactions, a medical researcher uncovering all potential drug candidates, or a platform moderator scrubbing all abusive content. Standard active learning typically focuses on labeling the most "uncertain" points to refine a model's decision boundary. In contrast, Active Covering introduces a framework designed to find all positive examples in an unlabeled dataset using the fewest possible queries.

The primary challenge in this domain is minimizing the "excess query cost"—the number of additional labels requested compared to an optimal learner that already knows the exact locations of the positive examples.

Methodology

To address the active covering problem, the authors analyze three distinct approaches:

  1. Passive Learner: Queries points uniformly at random. This serves as a baseline and incurs a linear excess query cost.
  2. Offline Learner: Based on classical support estimation. It samples an initial batch of points, identifies the positives, and subsequently queries all remaining points in the dataset ordered by their distance to those initial positives.
  3. Active Explore-then-Commit (EC) Learner: The paper's primary contribution. This method begins with a small random "exploration" phase to locate at least one positive example within each cluster (connected component) of the positive distribution. It then "commits" to a greedy strategy: sequentially querying the unlabeled point closest to any known positive example. If the queried point is positive, it is added to the known set, potentially revealing new neighbors to query.

Mathematically, the authors prove that the Active EC Learner achieves an excess query cost of $\tilde{O}(n^{(D-1)/D})$, which is strictly superior to the Offline Learner's $\Theta(n^{D/(D+1)})$.

Datasets and Feature Extraction

The researchers evaluated these algorithms on several standard image-based benchmarks repurposed for the covering task, including UCI Letters, MNIST, Fashion MNIST, CIFAR10, SVHN, and CelebA. To manage the high dimensionality inherent in image data, they utilized activations from the penultimate layer of a pre-trained neural network as embeddings. This allowed the algorithms to operate in a more semantically meaningful feature space.

Key Insights

  • The Power of Connectivity: The greedy active strategy's success hinges on the assumption that positive examples form "connected components." Finding one positive example in a cluster implies its neighbors are likely positive as well. The initial "Explore" phase is critical to ensure no isolated islands of positives are missed.
  • Privacy by Design: Unlike traditional active learning methods that model the boundary between positive and negative classes, the EC algorithm relies exclusively on positive examples to dictate the next query. This is highly advantageous for privacy-sensitive applications (e.g., medical records or spam detection) where storing or training on negative data may be restricted.
  • Mitigating the Curse of Dimensionality: While all evaluated methods degrade as dimensionality ($D$) increases, the active approach scales more gracefully. By dynamically updating the "search frontier" upon discovering a new positive, the learner tightly "hugs" the support of the positive distribution, vastly outperforming offline alternatives.

Results

The Active Explore-then-Commit algorithm consistently matched or outperformed a variety of strong baselines, including One-Class SVMs, Isolation Forests, and Robust Covariance methods.

  • Outperformance: On MNIST and UCI Letters, the EC method was the definitive top performer across all tasks.
  • Competitive Edge: On Fashion MNIST, EC remained highly competitive, excelling in 9 out of 10 tasks.
  • Robustness: For more complex datasets like CIFAR10 and CelebA, the authors observed that when EC struggled, all baseline methods also failed (often performing near random chance). This suggests that these specific tasks were inherently too difficult for the provided feature embeddings rather than exposing a flaw in the EC algorithm itself.
  • Efficiency: Empirical results demonstrated that the EC algorithm retrieves a high percentage of positive examples significantly faster—requiring fewer query batches—than its offline counterparts.

Limitations and Future Directions

The authors identify several avenues for future research:

  • Hard Boundaries: The current theoretical framework assumes a "hard" boundary where the density of positive examples drops abruptly to zero. Accommodating real-world data with "fuzzy" or gradual edges will require more sophisticated nonparametric analysis.
  • Manifold Assumption: The existing bounds depend on the ambient dimension $D$. Future work could investigate whether these theoretical rates improve if the data lies on a lower-dimensional manifold.
  • Hyperparameter Optimization: Although the EC method is largely hyperparameter-free, the size of the initial exploration sample ($m$) is critical to its success. Developing a mechanism to automatically determine the optimal $m$ remains an open challenge.

Summary updated

BibTeX
@inproceedings{jiang2021active,
  author = {Heinrich Jiang and Afshin Rostamizadeh},
  title = {{Active Covering}},
  booktitle = {International Conference on Machine Learning},
  year = {2021},
  url = {https://openreview.net/forum?id=doZlu705wW},
}
Figure