Online Classification Using a Voted RDA Method

Tianbing Xu, Jianfeng Gao, Lin Xiao, Amelia C. Regan

Introduction

In the era of "big data," online classification—where a model learns from examples sequentially—is essential for real-time applications like spam filtering and ad targeting. However, standard online methods often produce "dense" models where almost every feature has a non-zero weight, leading to high memory consumption. The voted RDA (vRDA) method addresses this by combining the sparsity-inducing power of Regularized Dual Averaging (RDA) with the robust "voted" framework of the classic Perceptron.

Methodology

The vRDA algorithm merges two distinct optimization strategies:

  • Regularized Dual Averaging (RDA): This technique tracks the average of all previous gradients and is highly effective at utilizing $\ell_1$-regularization to induce model sparsity.
  • The "Voted" Approach: Borrowed from the Voted Perceptron, this strategy dictates that the model should only be updated when it makes a prediction error (a "conservative" update). During testing, the system takes a weighted majority vote of all models generated during training, where weights are determined by a model's "survival time" (how many correct predictions it made before the next error).

A key theoretical innovation of this work is the concept of "relative strength of regularization." This metric captures the difference between the regularization of an ideal predictor and the average regularization of the predictors generated by the algorithm, allowing the authors to derive formal mistake bounds that are independent of the total number of training examples.

Experimental Results

The researchers evaluated vRDA on a large-scale Natural Language Processing (NLP) task: Parse Reranking using the Penn Treebank corpus. The training set included 36,000 sentences with over 1.2 million features.

Superior Sparsity

vRDA demonstrates that performance does not need to be sacrificed for model compactness. By updating only on errors, the algorithm avoids unnecessary computations on "easy" examples. When using a log loss function, vRDA achieved a state-of-the-art F-score of 0.9174 while utilizing only 173,000 features—roughly 14% of the total feature space.

Sparsity comparison under Log loss: vRDA maintains significantly fewer non-zero features than the standard Perceptron as more samples are processed.

The Power of the Voted Approach

A major finding of the paper is that the weighted average of predictors (the "voted" result) consistently exhibits lower variance and higher accuracy than simply using the single weight vector from the final training step. This averaging effect stabilizes the model against the noise inherent in online updates.

F-score comparison: Averaged (voted) predictors consistently yield higher and more stable F-scores than single final predictors across both Hinge and Log loss functions.

Conclusion

vRDA provides a mathematically grounded framework for efficient online learning. It successfully matches the accuracy of the standard Perceptron while producing significantly sparser models. While the "voted" approach introduces some memory overhead for storing historical predictors, the resulting gains in stability and sparsity make it a compelling choice for high-dimensional classification tasks. Future work may explore its performance in other domains such as computer vision or genomics.

Summary updated

BibTeX
@inproceedings{xu2014online,
  author = {Tianbing Xu and Jianfeng Gao and Lin Xiao and Amelia C. Regan},
  title = {{Online Classification Using a Voted RDA Method}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2014},
  doi = {10.1609/aaai.v28i1.8957},
}
Figure