Online coordinate boosting

Raphael Pelossof, Michael Jones, Ilia Vovsha, Cynthia RudinWorkshops @ ICCV 2008

Abstract

Online Coordinate Boosting (OCB) is a novel algorithm designed to adapt boosted classifiers to streaming data while maintaining high fidelity to the original batch AdaBoost. By deriving a fast approximation of the exact incremental loss function, OCB enables real-time updates to classifier weights, effectively addressing challenges like concept drift and massive dataset scales where batch processing is infeasible.

Introduction

Boosting algorithms, such as the classic AdaBoost, are powerful tools for constructing strong classifiers from a collection of "weak" learners. However, traditional AdaBoost is inherently a batch algorithm, requiring the entire dataset to be available simultaneously. This requirement poses significant challenges in modern contexts:

  1. Scalability: Data streams are often too voluminous to store or process in a single batch.
  2. Concept Drift: In dynamic environments, such as video-based face detection, the underlying data distribution may shift over time. Static batch classifiers cannot adapt to these changes.

While online versions of boosting exist—most notably the work by Oza and Russell—they often rely on heuristics that do not strictly follow the mathematical optimization of the original AdaBoost. Online Coordinate Boosting (OCB) bridges this gap by providing an online update rule that closely replicates batch AdaBoost without the prohibitive computational cost of retraining.

Methods

OCB focuses on optimizing the weights ($\alpha$) of a pre-selected set of fixed weak hypotheses. The core innovation lies in the derivation of an incremental form of the AdaBoost loss function.

Exact Incremental Form and Approximation

The authors first derived an exact online update by taking the derivative of the AdaBoost loss function as a single new example is added. However, an exact update is computationally intractable as it requires the classification history of all previous examples across all weak hypotheses. To overcome this, OCB employs a fast approximation of the sum-product terms in the loss function. This multiplicative update rule utilizes a small set of summary statistics (sums of weights) rather than the full data history.

Complexity and Trade-offs

The algorithm introduces a parameter $K$, representing the order of the approximation. By computing only the last $K$ terms, users can balance accuracy against computational speed. The resulting complexity is $O(NJK)$, where $N$ is the number of examples, $J$ is the number of weak hypotheses, and $K$ is the chosen order.

Experimental Evaluation

The authors evaluated OCB using synthetic data, the MNIST handwritten digit dataset, and a large-scale face detection dataset.

MNIST Performance

OCB was tested on one-vs-all classification tasks for the 70,000 MNIST digits. As shown in the table below, OCB consistently outperformed the Oza and Russell method, achieving errors much closer to the batch AdaBoost baseline. For instance, on the digit "3", OCB reached a test error of 0.93%, compared to 1.05% for Oza and Russell.

Table 1: Test error percentages for MNIST digits across different algorithms.

Face Detection

On a real-world dataset of 100,000 images (7,000 faces and 93,000 non-faces), OCB with an order of $K=400$ demonstrated performance nearly identical to batch AdaBoost. The 1-AUC metric shows OCB tracking the batch performance significantly better than previous online methods as the number of training examples increases.

Figure 1: Comparison of 1-AUC performance on the face dataset. OCB (order 400) closely follows the batch AdaBoost curve.

Key Insights

  • Mathematical Unity: OCB provides a unifying framework; the authors demonstrate that Oza and Russell’s algorithm is a special case of OCB where specific approximation terms are simplified.
  • Weight Smoothing: The OCB update rule naturally averages old weights with new exponential reweighting, stabilizing learning in noisy data streams.
  • The Greedy Ceiling: While increasing the order $K$ generally improves the approximation, very high values can occasionally lead to deterioration due to the greedy nature of coordinate-wise minimization.

Limitations and Future Work

Current limitations include the need for a small batch-trained "seed" to initialize weights and the reliance on a fixed set of features. Future research will focus on "cold-start" initialization strategies and methods for discovering new features as data streams evolve.

Summary updated

BibTeX
@inproceedings{pelossof2008online,
  author = {Raphael Pelossof and Michael Jones and Ilia Vovsha and Cynthia Rudin},
  title = {{Online coordinate boosting}},
  booktitle = {Workshops @ ICCV},
  year = {2008},
}
Figure