Learning Sparse Confidence-Weighted Classifier on Very High Dimensional Data

Mingkui Tan, Yan Yan, Li Wang, Anton van den Hengel, Ivor W. Tsang, Qinfeng (Javen) Shi

Abstract

Confidence-Weighted (CW) learning is a powerful online learning paradigm that models uncertainty in feature weights. However, its application to high-dimensional data is limited by the $O(d^2)$ complexity of maintaining a full covariance matrix and sensitivity to irrelevant features. This paper introduces Sparse Batch Confidence-Weighted (SBCW) learning, which addresses these challenges through an online-batch update mechanism and a block-diagonal covariance structure. Experimental results on datasets with up to 3.2 million features demonstrate that SBCW achieves state-of-the-art accuracy with significantly reduced computational and memory overhead.

Introduction

Confidence-Weighted (CW) learning is a second-order online learning method that maintains a Gaussian distribution over classifier weights. By tracking the mean and covariance of these weights, CW learning effectively handles uncertainty, particularly for features that appear infrequently. However, the standard CW approach faces two primary bottlenecks: computational scalability and noise sensitivity. Maintaining a full $d \times d$ covariance matrix for $d$ features requires $O(d^2)$ space and $O(d^3)$ or $O(d^2)$ time per update, making it impractical for modern datasets with millions of features. Furthermore, irrelevant features can introduce noise into the covariance structure, degrading performance.

Proposed Methodology: SBCW

To overcome these limitations, the authors propose Sparse Batch Confidence-Weighted (SBCW) learning. This approach combines two key innovations:

Online-Batch Updates (BCW)

Instead of updating the model per instance, the algorithm processes data in small batches. By applying the Woodbury matrix identity, the covariance matrix is updated once per batch. This transition to an online-batch framework significantly reduces computational overhead and improves model stability on modern hardware.

Structured Sparsity and Block-Diagonal Covariance

SBCW incorporates a sparsity constraint to filter out irrelevant features. The feature selection problem is formulated as a mixed-integer programming task, solved efficiently via a cutting-plane method. Crucially, by identifying groups of relevant features, SBCW induces a block-diagonal covariance structure. This allows the model to capture essential correlations within important feature sets while ignoring the vast majority of irrelevant interactions, maintaining the benefits of second-order learning at a fraction of the cost.

Experimental Evaluation

The researchers evaluated SBCW against state-of-the-art methods like FGM, SOFS, and L1SVM across various benchmarks, including the massive URL dataset (3.2 million features).

Accuracy and Feature Selection

SBCW demonstrates superior predictive performance, especially when only a small number of features are selected. As shown in the accuracy comparison on the URL dataset, SBCW consistently outperforms competing sparse learning methods, maintaining high accuracy even with minimal feature sets.

Accuracy vs. Number of Selected Features on the URL dataset.

Computational Efficiency

The batching and structured sparsity approach lead to dramatic speedups. On the covtype dataset, the method was approximately 50 times faster than standard second-order algorithms. On the high-dimensional URL dataset, SBCW maintains a competitive training time while scaling to millions of features, significantly outperforming traditional second-order methods in terms of scalability.

Training Time (seconds) vs. Number of Selected Features on the URL dataset.

Conclusion

SBCW provides a scalable solution for second-order online learning on extremely high-dimensional data. By leveraging batch updates and structured sparsity, it achieves high accuracy and memory efficiency, making it suitable for real-world applications where data is both massive and noisy. While the method introduces new hyperparameters like batch size and feature count, its ability to model structured sparsity allows it to handle datasets that would otherwise require prohibitive memory resources.

Summary updated

BibTeX
@inproceedings{tan2016learning,
  author = {Mingkui Tan and Yan Yan and Li Wang and Anton van den Hengel and Ivor W. Tsang and Qinfeng (Javen) Shi},
  title = {{Learning Sparse Confidence-Weighted Classifier on Very High Dimensional Data}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2016},
  doi = {10.1609/aaai.v30i1.10281},
}
Figure