Non-transitory computer-readable storage media having computer executable instructions stored thereupon that, when executed by a processor, the computer executable instructions cause the processor to perform a method for selecting candidates for annotation for use in training classifiers, the method comprising:
- identifying, for a trained Convolutional Neural Network (CNN), a group of candidate training samples, wherein each candidate training sample is a portion of an image, and wherein each candidate training sample includes a plurality of patches of the portion of the image;
- for each candidate training sample in the group of candidate training samples:
- for each patch of the plurality of patches associated with the candidate training sample, determining a plurality of probabilities, each probability being a probability that the patch corresponds to a label of a plurality of labels, wherein the plurality of probabilities are determined using the trained CNN;
- identifying a subset of the patches in the plurality of patches;
- and
- for each patch in the subset of the patches, calculating a metric that indicates at least a variance of the probabilities assigned to each patch in the subset of the patches;
- selecting a subset of the candidate training samples from the group of candidate training samples by sorting the candidate samples in a descending order based on the metric, wherein the subset does not include all of the candidate training samples, wherein a higher value of the metric indicates that a candidate sample is more informative for training of the CNN, and further wherein the selecting of the subset of the candidate samples is based on the sorted candidate samples;
- labeling candidate training samples in the subset of the candidate training samples by querying an external source;
- and
- re-training the CNN using the labeled candidate training samples.