Paper commentary
Active Learning with Statistical Models
Lowest-variance queries reduce training data needed
- Problem Active learners need a principled rule for choosing the next input to query. Common heuristics are not tied to a statistical objective, so they can waste labeled examples.
- Method The learner picks the query whose expected variance, averaged over reference points, is lowest. Closed-form versions are derived for mixtures of Gaussians and for LOESS, avoiding costly retraining.
- Results For LOESS on the Arm/2D kinematics task, the variance-minimizing learner gave lower variance and lower mean squared error than random selection.
Why the learner should pick its own queries
In active learning, the learner chooses the next input to query, observes the output at that input, and adds the new pair to its training set. The study restricts itself to supervised learning from a set of possibly noisy examples, where the aim is to predict the output for a given input efficiently and accurately.
Several heuristics already exist for choosing queries, such as querying where data are absent, where the learner performs poorly, or where its confidence is low, but these rules are not tied to a statistical objective. The question addressed here is how to choose the next input in a statistically optimal way for learners whose predictions come with estimates of their own variance.
The approach is first reviewed for feedforward neural networks, and then applied to two alternative statistically based learners, a mixture of Gaussians and locally weighted regression.
Why variance is the quantity to reduce
The expected squared error of the learner at an input splits into three parts: the noise in the output, the squared bias of the learner, and its variance.
The learners are assumed to be approximately unbiased, so that squared bias is negligible compared with the overall mean squared error. Under that assumption the search focuses on reducing the learner's variance at each input, which is the expected squared deviation of the prediction from its average over training sets.
In an active setting the training inputs are chosen by the learner, so the variance is written as a function of the fixed input part of the training set. Adding a new query and its output changes that variance, and the expected new variance is taken over the values the output could take at the query.
The true conditional distribution of the output at a query is unknown, but learners often provide estimates of its mean and variance, which are enough to estimate the expected new variance. Averaging this quantity over reference points drawn from the known input distribution gives a Monte Carlo estimate of the integrated variance, and the query with the lowest average is selected.
The neural network case and its costs
For a neural network, the output variance is estimated from a least-squares style noise estimate and from the derivative of the output with respect to the weights, following the Optimal Experiment Design line of work. The expected new variance is then obtained in closed form under the assumptions of local linearity and Gaussian output noise with constant variance.
Because the expectation is differentiable with respect to the query input, hillclimbing can locate the query that minimizes it.
These assumptions hold only approximately, and computing the variance estimate requires inverting a matrix whose size is set by the number of weights, once for each new example. Incorporating new examples into the network also requires expensive retraining, so the authors turn to two statistical models that are much more amenable to this kind of selection.
How the mixture of Gaussians makes predictions
The mixture of Gaussians models the joint density of inputs and outputs as a weighted sum of N multivariate Gaussians, and the EM algorithm fits its parameters to the training set with a locally optimal solution. Because the model is a joint density, any subset of the input-output dimensions can be conditioned on, so a forward model also yields the inverse dynamics of a robot arm.
For a given input, each Gaussian gives a conditional mean and conditional variance of the output, and the prediction is the average of these means weighted by each Gaussian's responsibility for that input. The responsibility of Gaussian i is its input density divided by the sum of input densities over all Gaussians, computed before the output is observed.
The predicted variance of the mixture combines the per-Gaussian conditional variances, weighted by the squared responsibilities and scaled by the effective support n_i of each Gaussian, with a term that grows with the distance of the input from the Gaussian's input mean. The effective support n_i is the sum over training points of each point's posterior responsibility for Gaussian i, so it measures how much of the data each component explains.
Selecting queries with a mixture of Gaussians
When the input distribution is known but the mixture's input means and variances are not, the training data alone give the wrong input density, so the joint density must be corrected by a ratio of the known reference input density to the training-data input density. The correction is computed by applying the input density to the training data and to a set of reference inputs drawn from the known distribution.
For a candidate query, the model's estimated distribution of the output is a responsibility-weighted mixture of Gaussians centred at each Gaussian's predicted mean. Each Gaussian's expected variance is then computed after one new point is drawn from its predictive distribution, and these changes are weighted by the query's responsibilities.
The new expectations take closed forms in the component sums, so the expected new variance can be evaluated without sampling. If the input means and variances are also estimated from data, the effect of the new point on those estimates is included in the same expressions.
The query is chosen by evaluating the expected new variance over the reference set for each candidate and taking the candidate with the lowest value. In high-dimensional input spaces, evaluating many candidates covers the query space poorly, and differentiating the expected variance to hillclimb is then more efficient.
Locally weighted regression and its kernel width
The LOESS variant fits a linear regression that weights each training point by a kernel centred at the query input, so points near the input dominate the fit. The original LOESS model uses a tricubic kernel, while this study uses a Gaussian kernel of the form h_i(x) = exp(-k (x - x_i)^2), where k is a smoothing parameter.
The weighted input and output means, their covariances, and the conditional variance of the output are computed from the kernel weights, and the prediction is a linear function of the input. The estimated variance of the prediction is the conditional variance divided by the total weight, adjusted by the squared distance of the input from the weighted mean, with the sum of squared weights entering the denominator.
Three ways of setting k are compared: keeping a fixed amount of support n at each reference point, cross-validation on the training set, and minimizing the estimated prediction variance at the reference points. As k decreases the regression becomes more global, which increases the total weight but also the conditional variance, so the variance-based choice balances these two effects.
The variance-based method gave the best performance in the experiments, and it can use either a separate k for each reference point or a single global k.
With the kernel weight assigned to a candidate query, the expected new variance is again available in closed form, so candidates can be scored without refitting the model. The cumulative sums that enter the expected variance can be cached, which avoids recomputing the full sum for each new candidate. The component expectations are computed in closed form for the new mean, covariance and conditional variance, with the candidate query's kernel weight entering each term.
Setup on the Arm/2D task
The testbed is the Arm/2D kinematics problem: a two-degree-of-freedom arm whose inputs are the two joint angles and whose outputs are the Cartesian coordinates of the tip. Experiments were run without noise, with additive Gaussian noise on the outputs, and with additive Gaussian noise on the inputs, and the results were comparable, so the paper reports the input-noise case.
Input noise corresponds to noisy arm vectors or joint angle sensors, and it produces non-Gaussian errors in the learner's outputs.
The input distribution is assumed uniform, and learning curves are built by starting from an initial sample and repeatedly adding one selected example and retraining. Mean squared error and estimated variance are measured on a set of reference points that are independent of the training set.
Mixture of Gaussians on Arm/2D
The number of Gaussians, their initial placement and the number of EM iterations were set by tuning them on the learner trained with random examples, then reused for the variance-minimizing learner. Initial Gaussian centres were placed at random, uniformly within the smallest hypercube containing all current training examples.
The estimated model variance under the variance-minimizing criterion is significantly lower than under random selection, and the mean squared error shows an even larger improvement.
LOESS against random selection
For LOESS, the kernel is Gaussian and its width is chosen with the variance-based method. The variance and the mean squared error of the variance-minimizing LOESS learner are both significantly lower than those of the learner selecting data at random.
Computation cost and when it matters
The cost matters most when obtaining an example takes days and costs thousands of dollars, and matters less when new data are cheap. Mixture training time grows linearly with the number of examples, whereas its prediction time does not depend on that number, and LOESS has no training time but pays the cost of additional examples at prediction time.
About half of the mixture's training time goes to computing the correction factor, and the learner without that correction still models the training distribution. For the problems examined, learners without the correction performed not appreciably differently from the corrected ones.
Because LOESS prediction cost depends on the training set size, selecting an informative and parsimonious training set also makes later predictions faster.
Limits of the variance criterion
The variance-minimizing strategy ignores the bias component, which can lead to significant errors when the learner's bias is non-negligible. The unbiasedness assumption behind the criterion is itself an approximation, and the experiments do not measure how far it holds.
The experiments cover only function approximation, and the classification case would need different criteria, such as selecting examples to maximize discriminability between Gaussians, or using logistic regression in place of the linear model. The Gaussian output noise assumption is tested only with input noise on Arm/2D. The mixture learner is sensitive to the number of EM iterations, and the authors did not adopt a convergence criterion.
The neural network is reviewed as background and is not part of the reported experiments, which compare the mixture of Gaussians and LOESS only. Future work includes minimizing bias together with variance, and extending the criteria to belief networks.
Paper info
- Authors
- D. A. Cohn, Z. Ghahramani, M. I. Jordan
- Venue
- arXiv · Preprint
- First published
- 1996-3-1
- Added
- 2026-11-12
- Updated
- 1996-3-1
- Version
- v1
- arXiv
- cs/9603104
- Category
- cs.AI
- Original paper terms
- Check in the original ↗
- What we show
- Paper info and commentary
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Quote from the paper
D. A. Cohn, Z. Ghahramani, M. I. Jordan (1996). Active Learning with Statistical Models. arXiv:cs/9603104v1. https://arxiv.org/abs/cs/9603104v1
BibTeX
@misc{cohn1996active,
title = {{Active Learning with Statistical Models}},
author = {D. A. Cohn and Z. Ghahramani and M. I. Jordan},
year = {1996},
eprint = {cs/9603104},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/cs/9603104v1}
}