Active Learning for Cost-Sensitive Classification

Akshay Krishnamurthy, Alekh Agarwal, Tzu-Kuo Huang, Hal Daumé Iii, John Langford

Abstract: We design an active learning algorithm for cost-sensitive multiclass classification: problems where different errors have different costs. Our algorithm, COAL, makes predictions by regressing to each label's cost and predicting the smallest. On a new example, it uses a set of regressors that perform well on past data to estimate possible costs for each label. It queries only the labels that could be the best, ignoring the sure losers. We prove COAL can be efficiently implemented for any regression family that admits squared loss optimization; it also enjoys strong guarantees with respect to predictive performance and labeling effort. We empirically compare COAL to passive learning and several active learning baselines, showing significant improvements in labeling effort and test cost on real-world datasets.

Introduction

Most active learning research focuses on simple binary classification. However, real-world problems are often Cost-Sensitive Multiclass Classification (CSMC). In CSMC, there are many possible labels, and different mistakes have different "costs." For example, in a medical diagnosis, misclassifying a benign mole as malignant is a "cheap" mistake (extra tests), while misclassifying a malignant one as benign is "expensive" (missed treatment).

The challenge is deciding which labels to query for a given example. If you have 100 possible classes, querying the cost for every single one is prohibitively expensive. Previous active learning methods struggled with this because they relied on "0/1 loss" oracles, which are often computationally NP-hard to optimize.

The COAL Algorithm

The authors introduce COAL (Cost Overlapped Active Learning), which shifts the strategy from classification to regression. By framing the problem as regressing to costs rather than minimizing 0/1 loss, the authors leverage standard, efficient optimization tools like least squares.

How it Works

  1. Cost Regression: COAL uses a set of regression functions to predict the cost of each label.
  2. The Version Space: The algorithm maintains an implicit "version space"—a collection of regressors that have performed well on past data.
  3. The Query Rule: For a new unlabeled example, COAL calculates the range of possible costs each label might take according to the version space. It only queries a label if it is not "dominated" (meaning its minimum possible cost is lower than the "best" label's maximum possible cost) and if it is uncertain (the range of predicted costs is above a threshold).

This "domination" check is a powerful heuristic: if the best possible outcome for Label A is still worse than the worst possible outcome for Label B, there is no reason to spend resources querying Label A.

Empirical Evaluation

The researchers evaluated COAL across several diverse domains, including ImageNet sub-trees, the RCV1-v2 text categorization dataset, and structured prediction tasks like Part-of-Speech (POS) tagging and Named-Entity Recognition (NER).

Key Results

On the RCV1-v2 dataset, COAL achieved a lower test cost than passive learning while using significantly fewer queries. As shown in the figure below, the COAL variants consistently outperform passive learning, achieving the same test cost with a fraction of the data.

Test cost vs. number of queries on the RCV1-v2 dataset, comparing passive learning to COAL variants.

In structured prediction tasks, COAL reduced the number of required "roll-outs" (simulations) by 25% to 75%. Furthermore, the authors provide generalization error bounds that match the optimal rates known for binary classification, proving that their multiclass approach maintains theoretical rigor.

Conclusion and Future Work

COAL demonstrates that active learning can be both computationally efficient and theoretically sound for complex multiclass problems. While the current implementation uses an online approximation for speed, future work aims to bridge the gap between this practical approach and the batch optimization theory. Additionally, the regression-based framework could be adapted for other information acquisition problems, such as contextual bandits.

Summary updated

BibTeX
@article{krishnamurthy2019active,
  author = {Akshay Krishnamurthy and Alekh Agarwal and Tzu-Kuo Huang and Hal Daumé III and John Langford},
  title = {{Active Learning for Cost-Sensitive Classification}},
  journal = {J. Mach. Learn. Res.},
  year = {2019},
  url = {https://openreview.net/forum?id=3yuK82QtlBX},
}
Figure