A Bayesian Lasso based sparse learning model

Ingvild M. Helgøy, Yushu Li

TL;DR

This paper introduces the Bayesian Lasso Sparse (BLS) model, a novel sparse Bayesian learning method that extends the Bayesian Lasso to handle general nonlinear regression problems using kernel functions. The BLS achieves sparsity in both the sample and variable domains by employing a type-II maximum likelihood estimation procedure, making it robust to noisy data and irregular datasets.

What Problem Does This Paper Address?

Traditional linear regression methods often struggle with high-dimensional datasets where many features are irrelevant. While methods like the Lasso (Tibshirani, 1996) offer variable selection, they can be sensitive to noise. The Bayesian Lasso (Park and Casella, 2008) provides a fully Bayesian approach but doesn't inherently perform variable selection, requiring post-hoc analysis of credible intervals. Furthermore, applying these methods to nonlinear problems often requires specialized kernel-based approaches like Support Vector Machines (SVMs) or Relevance Vector Machines (RVMs). The challenge is to develop a unified Bayesian framework that can handle nonlinearities, achieve sparsity, and be robust to noise, effectively performing both feature selection and model compression.

Methods

The core of the BLS model is built upon the hierarchical Bayesian framework of the Bayesian Lasso. However, instead of using Gibbs sampling for parameter estimation, the BLS employs a type-II maximum likelihood estimation procedure, inspired by the RVM. This approach optimizes hyperparameters by maximizing the marginal likelihood of the data.

Key methodological contributions include:

  • Kernel Extension: The BLS is extended to handle nonlinear problems by incorporating kernel functions, similar to RVM. This allows the model to learn complex relationships in the data.
  • Type-II Maximum Likelihood: This is the primary departure from the original Bayesian Lasso. By optimizing hyperparameters (like the variance of the noise and the precision of the weights) using type-II maximum likelihood, the BLS can achieve sparsity.
  • Automatic Relevance Determination (ARD) Prior: The model utilizes an ARD prior for the weight parameters, where each input sample is associated with an individual hyperparameter. When these hyperparameters are estimated to be zero, the corresponding input samples (and their associated weights) are effectively pruned from the model, leading to sparsity in the sample domain.
  • Fast Optimization Algorithm: The paper adapts a fast marginal likelihood maximization algorithm, similar to that used in RVM, to efficiently update hyperparameters and prune irrelevant basis functions. This addresses the computational cost associated with traditional RVM.
  • Variable Selection in Linear Models: The paper also demonstrates how the BLS framework can be applied to multiple linear regression problems to achieve sparsity in the variable domain, effectively performing automatic variable selection.

Datasets

The paper evaluates the BLS model on:

  • Simulated Datasets:
    • Sinc function: A benchmark function used to evaluate kernel-based methods, generated with varying levels of noise (standard deviations $\sigma = 0.05, 0.1, 0.3, 0.5, 0.7$).
  • Bump function: A dataset designed to test performance on irregular data with high frequency and spikes, simulated with different signal-to-noise ratios (SNR = 1, 2, 3, 4, 5, 10).
  • Linear Regression Datasets: Three simulation studies for variable selection, varying the relationship between the number of observations and variables, and the correlation between predictors.
  • Real-World Dataset:
    • Diabetes data: A dataset used to assess disease progression, with 442 patients and 10 variables.

Key Insights and Ideas

  • Sparsity through Hyperparameter Optimization: The core insight is that by optimizing hyperparameters (specifically, the precision of the weights) using type-II maximum likelihood, the BLS can effectively drive many of these hyperparameters to zero. This directly leads to sparsity, either in the selection of relevant input samples (for nonlinear problems) or relevant features (for linear problems).
  • Robustness to Noise: The BLS's prior distribution is conditioned on the variance of the random noise. The paper shows that as the noise variance increases, the condition for pruning hyperparameters becomes more likely to be satisfied. This suggests that the BLS is more robust to noisy data compared to methods that do not account for noise variance in this manner.
  • Unified Framework for Nonlinearity and Sparsity: The BLS provides a single Bayesian framework that can handle both nonlinear relationships (via kernels) and sparsity, bridging a gap between methods like RVM (nonlinear, sparse in samples) and Lasso (linear, sparse in variables).
  • Automatic Variable Selection: For linear models, the BLS offers a data-driven approach to variable selection, where the model automatically identifies and prunes irrelevant features without requiring manual thresholding or cross-validation for the penalty parameter.

Key Results

  • Sinc Function: The BLS performed comparably to RVM and FLAP on the Sinc function benchmark, showing good approximations and accurate estimation of noise standard deviation, especially at higher noise levels.
  • Bump Dataset: For the more irregular Bump dataset, the BLS demonstrated superior performance with the lowest RMSE and highest sparsity (lowest NOV) when the dataset was noisy (low SNR).
  • Variable Selection: In linear regression simulations, the BLS consistently achieved sparser models (lower NOC) than the Bayesian Lasso and often comparable or better sparsity than the Lasso, while maintaining competitive prediction accuracy (RMSE). For instance, in Simulation 1, the BLS had NOC values closer to the true number of non-zero coefficients than the Lasso.
  • Diabetes Data: On the diabetes dataset, the BLS achieved comparable prediction performance (RMSE) to the Bayesian Lasso and Lasso, but with a significantly lower number of selected coefficients (NOC), indicating higher sparsity.

Limitations and Future Work

  • Computational Complexity: While the paper introduces a fast optimization algorithm, type-II maximum likelihood estimation can still be computationally intensive for very large datasets compared to some non-Bayesian methods.
  • Hyperparameter Sensitivity: Although the BLS estimates hyperparameters, the initial choice of prior distributions for these hyperparameters can still influence the final model.
  • Future Work: The paper suggests that the BLS method can be further explored for other applications, particularly in areas where robustness to noise and automatic sparsity are crucial. The authors also highlight the potential for further theoretical analysis of the BLS's properties.

Summary updated

BibTeX
@article{helgy2025bayesian,
  author = {Ingvild M. Helgøy and Yushu Li},
  title = {{A Bayesian Lasso based sparse learning model}},
  journal = {Commun. Stat. Simul. Comput.},
  year = {2025},
  doi = {10.1080/03610918.2023.2272230},
}
Figure