Source-linked AI summary

Importance Weighted Active Learning

Alina Beygelzimer, Sanjoy Dasgupta, John Langford

arXiv:0812.4952v4cs.LG

TL;DR

Active learning aims to reduce labeling compared with passive supervised learning, but earlier methods were limited to 0–1 loss and could require many labels in practice. IWAL uses importance weighting with variance control to support general loss functions and rigorous label-complexity guarantees; experiments report substantial label reductions without sacrificing predictive performance.

  • Problem

    Earlier active-learning algorithms were designed for 0–1 loss and could rely on loose generalization bounds, limiting adaptation to other losses and practical label efficiency.

  • Method

    IWAL corrects sampling bias with importance weighting and chooses sampling probabilities based on the spread of candidate-hypothesis loss values to control variance.

  • Results

    IWAL experiments yielded substantial label-complexity reductions compared with passive learning without compromising predictive performance.

  • Takeaways & Limitations

    IWAL provides a practical active-learning scheme that supports flexible losses while retaining convergence guarantees and reducing label requirements.

  • Takeaways & Limitations

    The theoretical label-complexity bounds specifically highlight losses of the form l(z, y) = φ(yz), normalized to [0, 1] when Z is bounded.

Abstract

from arXiv · show

We present a practical and statistically consistent scheme for actively learning binary classifiers under general loss functions. Our algorithm uses importance weighting to correct sampling bias, and by controlling the variance, we are able to give rigorous label complexity bounds for the learning process. Experiments on passively labeled data show that this approach reduces the label complexity required to achieve good predictive performance on many learning problems.

1. Introduction

Active learning can reduce labeling effort, but earlier guarantees were limited by loss-specificity, loose bounds, and computational demands. IWAL addresses these issues with importance weighting, variance control, general-loss guarantees, and practical algorithms that reduce labels without sacrificing predictive performance.

  • Motivation: Active learning interactively selects points for labeling, aiming to reduce labels relative to passive learning.Logarithmic improvements are known in special cases such as thresholds on a line and certain linear separators.
  • Limitations of prior work: Earlier bound-based methods provided rigorous label-complexity guarantees but were restricted to 0–1 loss, often loose, and computationally intractable.They commonly required enumerating the hypothesis class or an ε-cover.
  • Importance weighting: Importance-weighted approaches correct sampling bias but had previously been analyzed only in limited settings and mainly asymptotically.Earlier analyses considered restricted model classes, perfect fit, or non-adaptive sampling.
  • IWAL approach: IWAL queries each point with a history-dependent probability and weights queried labels by 1/p_t to remove sampling bias.The method guarantees statistical consistency for any distribution and hypothesis class.
  • IWAL approach: IWAL(loss-weighting) controls variance by choosing probabilities according to candidate-hypothesis prediction spread and provides fallback and general-loss label-complexity guarantees.In some settings, the bounds are roughly the square root of supervised sample complexity.
  • Theory: The paper also establishes a general lower bound on active-learning label complexity that improves the best previous result.
  • Empirical evaluation: Experiments with two IWAL algorithms substantially reduce label complexity relative to passive learning without compromising predictive performance.The algorithms include a convex-programming specialization and a bootstrap method reducible to batch passive learning.

2. Preliminaries

The paper studies streaming active learning over an input space and output space, evaluating hypotheses with a specified loss function. It emphasizes bounded binary losses of the form φ(yz), normalized to [0,1].

  • Learning setup: At each streaming step, the learner observes an unlabeled x_t and decides whether to request its label y_t.Hypotheses map inputs X to a prediction space Z.
  • Loss functions: The algorithm is evaluated using a loss function l: Z × Y → [0, ∞), including binary 0–1 loss as a common example.For binary prediction, Y = Z = {−1, 1} and 0–1 loss is 1(yz < 0).
  • Loss functions: The highlighted loss subclass has the form l(z, y) = φ(yz), with bounded losses normalized to output values in [0, 1].The boundedness assumption applies when the prediction space Z is bounded.

3. The Importance Weighting Skeleton

IWAL selectively requests labels, assigns inverse-probability weights to queried examples, and uses an importance-weighted loss estimate. Under probabilities bounded away from zero, it retains consistency and a supervised-learning safety guarantee.

  • Algorithm: Upon observing x_t, IWAL uses rejection-threshold to choose the probability p_t of requesting its label.The subroutine uses x_t and the previous query history.
  • Algorithm: The algorithm flips a coin with expectation p_t and adds queried examples to the labeled set with weight 1/p_t.Unqueried examples do not enter the labeled set.
  • Loss estimation: The importance-weighted loss estimate is unbiased: E[L_T(h)] = L(h).Large-deviation guarantees require the query probabilities to be chosen carefully.
  • Guarantees: IWAL is consistent when query probabilities are bounded away from zero, converging to the best predictor in the hypothesis class given unlimited labeled and unlabeled data.This addresses failures of some earlier active-learning algorithms under imperfect classification by the hypothesis class.
  • Guarantees: Theorem 1 assumes p_t ≥ p_min for all t and establishes a finite-sample concentration guarantee for finite hypothesis classes.The bound is expressed using the minimum query probability p_min.
  • Guarantees: The resulting label complexity is at most 2/p_min^2 times that of a supervised algorithm.The argument can be extended from finite hypothesis classes to VC spaces.

4. Setting the Rejection Threshold: Loss Weighting

IWAL(loss-weighting) maintains a shrinking effective hypothesis class and samples labels according to the range of candidate losses. Its concentration analysis establishes that the optimal hypothesis remains under consideration and that the output approaches optimal loss.

  • Rejection threshold: The effective hypothesis class H_t starts as H and shrinks by retaining hypotheses whose empirical loss is not too much worse than the minimum.The threshold is based on a standard sample-complexity bound.
  • Loss weighting: For each unlabeled x_t, loss-weighting sets p_t according to the range of losses predicted by hypotheses remaining in H_t.Because losses are normalized to [0, 1], p_t also lies in [0, 1].
  • Generalization guarantee: With probability at least 1 − δ, the optimal hypothesis h* remains in H_T for every T ≥ 1.The proof uses concentration of importance-weighted loss differences and a union bound over hypotheses and times.
  • Generalization guarantee: The classifier output by IWAL(loss-weighting) satisfies L(h_T) − L(h*) ≤ 2∆_{T−1}.This compares the active learner's output loss with the minimum loss achievable in H.

5. Label Complexity

The paper extends disagreement-coefficient label-complexity analysis beyond 0–1 loss to a broader class of losses. Under bounded slope asymmetry and disagreement coefficient, IWAL has an inevitable linear-in-optimal-loss term plus a sublinear remainder.

  • Main label-complexity result: The generalized query bound has the form O(ηT plus a sublinear term), where η is the best achievable loss.The ηT term remains inevitable, while the second term is sublinear rather than polylogarithmic.
  • Main label-complexity result: The analysis introduces a generalized disagreement coefficient and shows that active learning improves over passive learning when this coefficient is small.The framework applies to arbitrary loss functions satisfying the stated conditions.
  • Loss-function conditions: The admissible loss class includes 0–1 loss and logistic loss but excludes hinge loss.The required condition is bounded slope asymmetry.
  • Loss-function conditions: Slope asymmetry equals 1 for 0–1 loss and is infinite for hinge loss.For differentiable losses of the form l(z, y) = φ(yz), it is bounded by C1/C0.
  • Disagreement coefficient: For linear classifiers under a uniform sphere distribution and differentiable φ, the disagreement coefficient is at most 2C1/C0.This gives a concrete setting in which the generalized parameter is bounded.
  • Upper bound: IWAL(loss-weighting) requests at most the theorem's upper-bounded expected number of labels with probability at least 1 − δ.The bound depends on the minimum achievable loss L* and the disagreement coefficient.
  • Example: Even with infinite slope asymmetry, IWAL can require only an expected β fraction of passive learning's labeled samples for the same loss.The squared-loss example exploits points on which all hypotheses have identical loss.

6. A lower bound on label complexity

The paper proves a distribution-dependent lower bound showing that active learning cannot always avoid many labels. For hypothesis classes of VC dimension d, achieving error η + ϵ may require order dη²/ϵ² queries.

  • Comparison with prior bounds: Compared with the supervised lower bound dη/ϵ², the active-learning lower bound is smaller by a factor of η.The active learner can avoid repeatedly querying the heavy point whose label is immediately obvious.
  • Connection to upper bounds: The lower bound implies an ηT leading term when passive learning uses T examples to reach excess error dη/T.Thus the linear dependence on the optimal error rate is unavoidable for active learning.
  • Lower bound: Ω(dη²/ϵ²) queries are necessary for some distributions when an active learner seeks error at most η + ϵ.The result holds for 2ϵ ≤ η ≤ 1/4 and success probability at least 1/2.
  • Hard distribution: The hard distribution places most mass on an always-positive point and spreads the remaining mass across d − 1 points with hidden label biases.The construction uses β = 2(η + 2ϵ) and γ = ϵ/(η + 2ϵ).
  • Hard distribution: To achieve error at most η + ϵ, a learner must correctly determine the hidden bits for at least three quarters of the d − 1 informative points.Otherwise its error is at least η + ϵ.

7. Implementing IWAL

IWAL is practical for bounded-length linear separators with nonincreasing convex losses, using convex optimization subroutines and importance-weighted sampling. Experiments show comparable performance to supervised learning while substantially reducing queried labels.

  • Efficient implementation: The first optimization is a convex program, while the second reduces to evaluating two cases using solutions of convex programs.The two cases correspond to the possible binary labels y = 1 and y = −1.
  • Efficient implementation: IWAL can be efficiently implemented for bounded-length linear separators and nonincreasing convex loss functions.The implementation uses two optimization problems over a restricted hypothesis set.
  • 7.1 Experiments: In experiments, IWAL with loss-weighting used logistic loss and was evaluated on MNIST 3-versus-5 classification using convex optimization subroutines.The experiments used log-barrier methods and considered two forms of the generalization bound.
  • 7.1 Experiments: Less than 1/3 of the labels were requested while test error and test logistic loss remained similar to supervised learning.This result held for both generalization-bound choices tested.
  • 7.2 Bootstrap instantiation of IWAL: The bootstrap implementation used 10 decision trees, pmin = 0.1, and an initial 10% training sample before fitting the final importance-weighted predictor.The predictors were trained only once on the initial sample rather than retrained after each query.
  • 7.2 Bootstrap instantiation of IWAL: 65.6% of labels sufficed to match passive-learning performance on the same MNIST task under the bootstrap scheme.The comparison is reported using Figure 2, which tracks test error and queries as points seen increase.

8. Conclusion

The conclusion presents IWAL as a statistically consistent and broadly practical alternative to passive learning. Across the reported experiments, it reduces label complexity without sacrificing performance on the same number of unlabeled examples.

  • 8. Conclusion: IWAL retains the convergence guarantee of common supervised learning algorithms while supporting standard algorithms and flexible loss functions.The conclusion presents these properties as addressing objections to deploying active learning.
  • 8. Conclusion: IWAL substantially reduced label complexity in every reported experiment without sacrificing performance on the same number of unlabeled examples.The conclusion attributes validity for dataset construction to IWAL’s explicit accounting for sample-selection bias.
Loading 0812.4952v4…