I had a discussion the other day about using the weights returned by boosting to do outlier detection. That is to say, the examples with high weight are hard to fit and are therefore likely to be mislabeled/outliers. So why not find some way of automatically ignoring these instances?
I know that BBM already magically does something along these lines, but I was wondering if there were some simple fudges for AdaBoost which would also do this. So I decided to run a quick experiment to see what would work. To set up the data, I randomly drew 100 points from and let these be the instances. The binary labels for the instances were iff the point fell within any of circles; that is, if and only if for any . Just to confound the problem a little bit I then randomly flipped the labels on 10% of the points. The first plate of each of the plots below shows this input data set with the flipped (read: noisy/mislabeled) instances in red and the circles in blue.
For the weak hypotheses I chose the set of circles (of arbitrary radius) which predict either +1 or -1 in their interior and abstain (i.e., predict 0) on their exterior. Since the true labels can be represented as a linear combination of weak hypotheses in principle it should be easy for boosting to recover drive the training down to 0 were it not for the noisy points. Typically AdaBoost will spend a lot of effort trying to fix up these points with little benefit with respect to generalization error.
Below I describe a couple of methods for finding and ignoring these points during the boosting process. For each I include a plot of the set of weak hypotheses after each iteration (blue circles), along with the predictions made by the combined hypothesis on each of the training instances (purple = +, green = -). Below each plot I also indicate the error on the entire training set (first number) along with the error on the non-noisy, correctly labeled points (second number) since we presumably don’t want to match the noisy points too closely.
- Stock AdaBoost – Nothing special here. This is just plain-jane AdaBoost. It does a pretty good job of driving down the training error (0.11 after 11 iterations). But the hypothesis found by AdaBoost is a rather complex combination of many circles that does not bear that much resemblance to the generating hypothesis. Also note that when the noise is removed, the error at the end is 0.07. Not so good when considering that this number could be zero after two or three iterations.
- AdaBoost /w thresholding – Here I again run stock AdaBoost except that the distribution shown to the weak learner ignores all points whose weight exceeds some threshold. Precisely, let denote the distribution over training examples which AdaBoost maintains internally. Then the distribution the weak learner sees is . Here, the combined hypothesis is much simpler consisting essentially of just four circles. The predictions made by this technique really aren’t any worse than regular AdaBoost (0.12 vs 0.11 on the full training set, 0.07 in both cases on the de-noised set). So it seems like doing this is not a completely terrible idea; you make about the same predictions but with much simpler rules.
- AdaBoost /w trimming – Here, once again, we run AdaBoost except this time the distribution shown to the weak learner excludes the 10% of points with the highest mass. That is, let be the rank of a training example, where denotes the total number of training examples. Then the distribution shown to the weak learner is (with some fudging I won’t get into here to break ties). The rules found by this method are unfortunately not that uncomplicated. And while some of the circles are vaguely in the spot they should be, in large part they’re all over the place. But what’s interesting here is that while the error on the training set is about the same as with the other techniques (0.12), the error on just the non-noisy ones is (0.03). So in fact, this method does the best job, in some sense, of ignoring the points which are noisy.
Practically speaking, I think I’d go with AdaBoost /w trimming as an easy approach to getting rid of label noise. Has anyone out there tried this before?
5 responses to “Ignoring outliers during boosting”
Interesting idea. Need to give it a try.
Btw, did you see this – http://research.graphicon.ru/images/stories/Boosting/ecml07.pdf
Brown-boost would probably detect outliers if you could guess their proportion. For a great discussion see
Click to access brownboost.pdf
You might want to check out my new algorithm called RobustBoost. A paper on this algorithm is here:
We are currently working on integrating it into JBoost (http://jboost.sourceforge.net/). Hopefully it will be done by June 15, which is when I will present this algorithm in ICML (http://www.cs.mcgill.ca/~icml2009/invited.html).
I am have been working on a more robust regression boosting algorithm for my undergraduate thesis. The work is pretty much at evaluation stage right now. I am using a trimmed approach to exclude the potential outliers from the fitting process. If you are interested, I can get back to you in 1-2 months once I have written up my final version of the thesis.
Awesome. Please let us know once your work is ready!