Source-linked AI summary

Agnostic Active Learning Without Constraints

Alina Beygelzimer, Daniel Hsu, John Langford, Tong Zhang

arXiv:1006.2588v1cs.LG

TL;DR

The paper addresses the computational, brittleness, and data-reuse drawbacks of version-space-based agnostic active learning. It develops an importance-weighted strategy using an ERM oracle without restricting returned hypotheses to a maintained candidate set. The resulting algorithm is consistent and can improve label complexity over passive learning under conditions described by the analysis, while its estimator requires martingale-based deviation control for adaptive, random-weight samples.

  • Problem

    Version-space active learning imposes computational, brittleness, and sample-reuse drawbacks, including difficulty maintaining candidate sets and bias in data collected for later reuse.

  • Method

    The algorithm uses an ERM oracle and importance-weighted active learning with a rejection threshold, avoiding strict adherence to a candidate hypothesis set.

  • Results

    The algorithm is always consistent and has improved label complexity over passive learning in cases previously studied, with experimental improvements varying across tasks.

  • Takeaways & Limitations

    The template supports computationally tractable active learning with classifier-training algorithms that approximately minimize error and can estimate the cost of switching class predictions.

  • Takeaways & Limitations

    The deviation analysis must handle adaptively dependent samples and random effective ranges and variances, requiring a martingale-based bound under bounded inverse query probabilities.

Abstract

from arXiv · show

We present and analyze an agnostic active learning algorithm that works without keeping a version space. This is unlike all previous approaches where a restricted set of candidate hypotheses is maintained throughout learning, and only hypotheses from this set are ever returned. By avoiding this version space approach, our algorithm sheds the computational burden and brittleness associated with maintaining version spaces, yet still allows for substantial improvements over supervised learning for classification.

1 Introduction

The paper develops agnostic active learning without maintaining a version space, addressing computational, brittleness, and data-reuse problems while preserving consistency and label-complexity improvements.

  • Version-space active learning can be computationally intractable for important hypothesis classes, including neural networks and decision trees.
  • Version-space methods are brittle because one modeling or computational error can permanently exclude the best hypothesis.
  • Version-space-collected labeled data may not be freely reusable with a different algorithm or hypothesis class because the collection process is biased.
  • The proposed strategy uses an empirical risk minimization oracle rather than enforcing strict adherence to a candidate hypothesis set.
  • Importance weighting produces an unbiased risk-estimation sample, even for hypotheses from a class different from the active learner's class.
  • The algorithm is consistent and improves label complexity over passive learning in cases previously studied, with a practical instantiation and experiments reported.

2 Preliminaries

The preliminaries define the active-learning setting, the target of minimizing classification error with few label queries, and importance-weighted estimation for adaptively sampled data.

  • The learning goal is to return a hypothesis whose error is close to the minimum error in the hypothesis class while using as few label queries as possible.
  • An active learner observes unlabeled examples sequentially and queries each label using a probability that can depend on prior observations, queried labels, coin flips, and the current example.
  • Importance-weighted samples record queried examples with inverse query-probability weights, enabling estimation from adaptively collected labels.
  • The importance-weighted estimator is unbiased for the target expectation when every query probability is positive.
  • The importance-weighted empirical error of a hypothesis is therefore an unbiased estimator of its true error.

3 A Deviation Bound for Importance Weighted Estimators

The paper derives high-probability deviation control for importance-weighted estimators despite adaptive sampling and random ranges and variances, using a martingale argument.

  • Adaptive query probabilities make importance-weighted samples non-i.i.d. because each probability can depend on previous observations and the current example.
  • The estimator's effective range and variance are random because they depend on the adaptively chosen query probabilities.
  • The paper addresses these difficulties with a deviation bound based on a martingale technique.
  • The analysis assumes bounded functions and query probabilities bounded below, equivalently requiring inverse probabilities to have a deterministic upper bound.
  • Conditioned range and variance bounds for estimator terms scale with the inverse query probability.
  • Theorem 1 provides a high-probability deviation bound under an upper bound rmax on inverse query probabilities.

4 Algorithm

The algorithm uses importance-weighted error minimization and a rejection threshold derived from a deviation bound, while optimizing over the entire hypothesis class rather than a maintained candidate set. Its threshold has a worst-case polynomially small lower bound, with typical probabilities closer to inverse polynomial.

  • Threshold design: The rejection threshold is based on a deviation bound for importance-weighted errors over a finite hypothesis class.The bound holds for all n ≥1 and motivates the algorithmic choices that follow.
  • Hypothesis optimization: At each iteration, the algorithm minimizes importance-weighted error and compares the minimizer with an alternative hypothesis over the entire class H.The alternative only needs to disagree with the minimizer on the current point.
  • Rejection threshold: The query probability is set to 1 when the two hypotheses have sufficiently similar importance-weighted errors; otherwise it is the positive solution of a quadratic equation.The probability is non-increasing with the difference between the two importance-weighted errors.
  • Guarantee: The rejection threshold satisfies p(z1:n−1, x) ≥1/n^n for every n and every admissible history and current point.This is a worst-case guarantee used to apply the deviation analysis.
  • Guarantee: The 1/n^n lower bound is worst-case, while the analysis indicates that probabilities are typically closer to 1/poly(k).Thus, the displayed guarantee is substantially more conservative than the typical-case behavior described by the authors.

5 Analysis

The analysis establishes consistency, label-complexity bounds, and improved rates under low-noise conditions without requiring a maintained version space.

  • Correctness: Theorem 2 gives a consistency guarantee for Algorithm 1 by bounding the generalization error of its importance-weighted empirical risk minimizer.The proof also shows query probabilities P_i ≥ 1/2 on points where the current hypothesis disagrees with h∗.
  • Correctness: Algorithm 1 achieves roughly the same error bound after n unlabeled examples as a passive learner using n labeled examples.
  • Label complexity: The label-complexity analysis uses the disagreement coefficient to bound the expected number of labels queried after n iterations.The coefficient measures the size of the disagreement region around h∗ and is bounded for many learning problems.
  • Label complexity: When err(h∗) is negligible and θ is bounded, the label bound yields a polynomial improvement over supervised learning.In general, the bound contains a linear term err(h∗) · n plus a sublinear term, and the linear term is unavoidable in the worst case.
  • Low-noise conditions: Under the low-noise condition Pr(h(X) ≠ h∗(X)) ≤ κ · (err(h) − err(h∗))^α, the expected label bound is sublinear in n for every 0 < α ≤ 1 when θ is bounded.This improves label complexity, although prior methods obtain better rates under these conditions using restricted version-space optimizations.

6 Experiments

Experiments compare the active learner with passive J48 on binary and multiclass classification tasks, finding similar unlabeled-sample behavior but task-dependent label savings.

  • Setup: The preliminary implementation uses J48 with default parameters and heuristic modifications to construct the alternative hypothesis.The experiments use fixed tuning parameters and do not tune them during active learning.
  • Setup: The evaluation covers binary MNIST and KDDCUP99 tasks plus a ten-class MNIST task, with PCA reducing the input dimensions.The binary tasks use separate training and testing samples, while the multiclass task uses the full MNIST dataset.
  • Results: Test errors versus the number of unlabeled examples were roughly the same for active and passive learners in all three tasks.This matches the consistency guarantee and is not a basic property of many active-learning algorithms.
  • Results: With respect to queried labels, active learning produced minimal improvement on binary MNIST, substantial improvement on KDDCUP99, and moderate improvement on multiclass MNIST.Figure 2 reports test errors as a function of the number of labels queried.
  • Interpretation: The stronger KDDCUP99 improvement is consistent with its lower noise, while MNIST results suggest an initial random-sampling phase before active-learning gains appear.The analysis relates these patterns to dependence on err(h∗) and to disagreement coefficients that can be large at initial scales.

7 Conclusion

The paper concludes that error-minimization oracles provide a practical alternative to version spaces while preserving convergence to passive supervised learning.

  • Contribution: The proposed algorithm replaces the version-space approach with an active-learning strategy based on error-minimization oracles.
  • Scope: The template applies to training algorithms that approximately minimize error and can estimate the cost of switching a class prediction.
  • Guarantee: Even when these properties hold only approximately or heuristically, the algorithm eventually converges to the same solution as passive supervised learning.
  • Future direction: Importance sampling and weighting may support more aggressive active-learning strategies aimed at improving performance at smaller sample sizes while retaining consistency.

A Proof of Deviation Bound for Importance Weighted Estimators

The appendix develops deviation bounds for importance-weighted estimators and uses them in the inductive analysis of the active-learning algorithm.

  • Deviation bounds: The proof strategy uses conditional moment-generating-function bounds as the foundation for importance-weighted estimator deviations.
  • Deviation bounds: Lemmas 4 and 5 establish general concentration tools for functionals of the observed sequence using induction and Markov’s inequality.
  • Deviation bounds: Lemma 7 controls deviations under a lower bound p_min on nonzero query probabilities, and Lemma 8 removes the joint event through a geometric union bound.
  • Deviation bounds: Theorem 1 follows by combining the deviation lemmas with Hoeffding’s inequality, the estimator identity E_i[W_i] = f(X_i,Y_i), the triangle inequality, and a union bound.
  • Algorithm analysis: The later induction proves the query-probability property by analyzing the error difference between competing hypotheses and deriving a contradiction when the minimum probability is below 1/2.

B.3 Proof of Lemma 3

The proof bounds the query probability P_n using the minimum prior disagreement probability, then relates small excess error to disagreement with h∗. These bounds are integrated to control the expected query probability Q_n.

  • The proof uses empirical error differences at n−1 and an earlier index n0 to establish the required lower and upper bounds on excess error.
  • If h equals h_n, empirical minimality makes its error difference nonpositive, contradicting the alternative bound; therefore h must equal h′_n.
  • P_n is at most c3 times P_min, where P_min is the smallest prior query probability at which h disagreed with h∗, or 1 if none exists.
  • When err(h)−err(h∗) is at most γ̄, the disagreement point X_n lies in DIS(h∗, 2 err(h∗)+γ̄), whose probability is bounded by θ·(2 err(h∗)+γ̄).
  • The expected query probability is obtained by conditioning on the excess-error difference and integrating an upper bound over its probability density.

B.4 Proof of Theorem 4

The theorem extends the preceding argument under a low-noise condition. The noise condition directly bounds disagreement probability by a power of excess error, yielding a corresponding expectation bound for Q_n.

  • The theorem follows from an analogue of Lemma 3 under the condition in Eq. (5) and the deviation bounds in Eq. (4).
  • The low-noise condition gives Pr(h(X)≠h∗(X)) ≤ κ·(err(h)−err(h∗))^α and therefore Pr(err(h)−err(h∗)≤γ) ≤ θκγ^α.
  • For α<1, the expectation of Q_n is bounded using the same threshold γ0 defined by 1.5(c4/γ0^2+c5/γ0)εn−1=1; α=1 is handled similarly.

B.5 Analogue of Theorem 2 under Low Noise Conditions

The low-noise analysis establishes uniform high-probability error bounds for the active learner under a rejection-threshold assumption. The final bound uses the noise condition to convert excess error into disagreement probability.

  • The analysis assumes a rejection threshold p(z1:n,x) that is at least 1/n^n for every history and instance.
  • With probability at least 1−δ, the deviation result holds simultaneously for every n≥1 and every h∈H, using P_min,n(h) to measure prior disagreement probabilities.
  • The proof modifies the joint event, unions over n+1 possible values of a, and uses Bernstein’s inequality to obtain a deviation bound with an empirical average inside the square-root term.
  • The resulting deviation bound is converted into uniform distributional error bounds over H after replacing the empirical quantity A_n with a distributional quantity.
  • The final error bound follows by applying the low-noise condition to bound Pr(h_n(X)≠h∗(X)) by κ·(err(h_n)−err(h∗))^α.
Loading 1006.2588v1…