NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Complexity-Optimized Sparse Bayesian Learning for Scalable Classification Tasks

Jiahua Luo, Chi‐Man Vong, Jie Du

Abstract

Sparse Bayesian Learning (SBL) constructs an extremely sparse probabilistic model with very competitive generalization. However, SBL needs to invert a big covariance matrix with complexity $O(M^3)$ (where $M$ is the feature size) for updating the regularization priors, making it difficult for problems with high-dimensional feature spaces or large data sizes. Such problems often lead to memory overflow. This paper addresses this issue with a newly proposed diagonal Quasi-Newton (DQN) method for SBL called DQN-SBL, where the inversion of the big covariance matrix is bypassed, reducing complexity to $O(M)$. The DQN-SBL is thoroughly evaluated for nonlinear and linear classifications across various benchmarks. Experimental results verify that DQN-SBL achieves competitive generalization with a very sparse model and scales effectively to large-scale problems.

Introduction

Sparse Bayesian Learning (SBL) has long been a favorite in the machine learning community for its ability to produce "extremely sparse" models—models that use only a tiny fraction of available features while maintaining excellent generalization. However, SBL has historically been limited by a "cubic bottleneck": it requires inverting a massive covariance matrix, a process with $O(M^3)$ complexity. For modern high-dimensional datasets, this leads to agonizingly slow training or immediate memory overflow.

In this work, researchers introduce DQN-SBL, a complexity-optimized approach that slashes that cubic requirement down to linear $O(M)$ complexity, finally making SBL viable for truly large-scale tasks with millions of features.

Methodology: The DQN-SBL Approach

The core challenge in scaling SBL is the estimation of weights and the update of regularization priors (ARD priors). Traditional SBL relies on an Expectation-Maximization (EM) framework where the update for these priors requires the diagonal elements of the inverse Hessian matrix. Calculating this inverse Hessian takes $O(M^3)$ time and $O(M^2)$ space, which is prohibitive for datasets with hundreds of thousands or millions of features.

The proposed Diagonal Quasi-Newton (DQN) method approximates the Hessian using a diagonal positive-definite matrix. By focusing only on the diagonal elements and updating them iteratively using a modified weak secant equation, the storage and computation costs drop to linear $O(M)$. This allows the algorithm to handle high-dimensional tasks that were previously impossible for SBL.

Algorithm 2: Summary of the DQN-SBL framework

Experimental Evaluation

The researchers evaluated DQN-SBL across 19 different benchmarks, ranging from small-scale sets like Iris and Wine to massive datasets designed to test scalability:

  • Small/Medium Benchmarks: Used to ensure that the diagonal approximation does not sacrifice the accuracy or sparsity of standard SBL.
  • Large-Scale Benchmarks: Including news20 (~1.35 million features) and url_combined (~3.23 million features). These datasets are typically beyond the reach of standard SBL due to memory constraints.

Results and Discussion

Experimental results demonstrate that DQN-SBL successfully scales to millions of features while maintaining the signature benefits of SBL. On the url_combined dataset, the model achieved 98.54% accuracy, a feat impossible for traditional SBL implementations on standard hardware.

Comparison of accuracy and model sparsity across various datasets

As shown in the performance tables, DQN-SBL matches or slightly outperforms standard SBL and SBELM across most benchmarks. Crucially, it often achieves higher sparsity. For instance, on the Adult1 dataset, DQN-RVM achieved the same accuracy as standard RVM but used significantly fewer basis functions (4.0 vs 47.0). This confirms that the diagonal approximation is sufficient for identifying the most relevant features and maintaining a compact model.

Conclusion

DQN-SBL effectively removes the computational barriers that have restricted Sparse Bayesian Learning to small-scale problems. By reducing complexity from cubic to linear, it enables automatic hyperparameter learning and extreme model sparsity on datasets with millions of features. While training times can fluctuate due to the iterative nature of Quasi-Newton methods, the massive reduction in memory and computational overhead makes it a powerful tool for modern, high-dimensional classification tasks. Future work may focus on further parallelizing the diagonal updates to enhance wall-clock performance.

Summary updated

BibTeX
@article{luo2021complexity,
  author = {Jiahua Luo and Chi‐Man Vong and Jie Du},
  title = {{Complexity-Optimized Sparse Bayesian Learning for Scalable Classification Tasks}},
  journal = {Information Sciences},
  year = {2021},
}
Figure