Adaptive Sparseness Using Jeffreys Prior

Mário A. T. FigueiredoNeurIPS 2001

Overview

In supervised learning, models that generalize well to new data often rely on sparseness—forcing the model to use only a few important features or data points (kernels) and effectively "pruning" the irrelevant ones. Existing techniques for achieving sparseness have notable drawbacks:

  • Gaussian Priors (Ridge Regression): These shrink weights but rarely set them exactly to zero, leading to complex, "dense" models.
  • Laplacian Priors (LASSO) and SVMs: These can produce sparse models but rely on hyperparameters (like $\lambda$ or $C$) to control the degree of sparseness. Finding the optimal value usually requires computationally expensive cross-validation.

This paper introduces a "parameter-free" approach to sparse machine learning by using a Jeffreys prior in a hierarchical Bayesian framework. Unlike popular methods that require tedious hyperparameter tuning, this method automatically prunes irrelevant features and produces state-of-the-art results in regression and classification with zero manual "knob-turning."

Methodology

The paper proposes a hierarchical Bayesian model. Instead of a simple prior on the weights ($\beta$), it uses a two-level approach:

  1. Level 1: Each weight $\beta_i$ is assigned a zero-mean Gaussian prior with its own variance $\tau_i$.
  2. Level 2: Instead of choosing a specific distribution for $\tau_i$ (which would introduce a hyperparameter), the author uses the Jeffreys prior ($p(\tau_i) \propto 1/\tau_i$).

The Jeffreys prior is "non-informative" and scale-invariant, meaning it doesn't assume a specific scale for the data. This choice is the key innovation that makes the model parameter-free.

To find the best weights, the author uses an Expectation-Maximization (EM) algorithm:

  • The E-step estimates the relevance of each feature (the variances).
  • The M-step updates the weights based on that relevance.

Crucially, during this process, the variances of irrelevant features go to zero, effectively removing them from the model. For classification tasks, the author adapts this approach using a probit model and hidden variables to frame the math similarly to a regression problem.

Key Insights

  • Automatic Relevance Determination (ARD): The model acts as a self-pruning mechanism. If a feature isn't helping explain the data, the Jeffreys prior pushes its weight to exactly zero.
  • Parameter-Free Sparsity: By moving to a non-informative second-level prior, the need for the user to guess how "sparse" the model should be is eliminated. The data itself dictates the sparsity.
  • Probabilistic Outputs: Unlike SVMs, which provide "hard" classifications, this method outputs the probability of class membership, which is highly valuable for decision-making under uncertainty.

Experiments and Results

The method was evaluated on several classic benchmarks for both regression and classification.

Regression Tasks: * A synthetic variable selection task (20 variables). * A "sinc" function kernel regression task. * Boston Housing: A real-world dataset for predicting home prices.

Performance on synthetic variable selection and sinc function regression

Classification Tasks: * Ripley’s synthetic data: A standard 2D two-class problem. * Pima Indians Diabetes: Predicting diabetes onset. * Leptograpsus Crabs: Morphological measurements for sex classification. * Wisconsin Breast Cancer (WBC): Diagnostic classification.

The proposed method consistently outperformed or matched state-of-the-art techniques like SVMs and Relevance Vector Machines (RVMs):

  • Sinc Function Regression: The new method achieved a Mean Squared Error (MSE) of 0.0455, outperforming SVM (0.0519) and RVM (0.0494).
  • Boston Housing: It achieved an MSE of 9.98, better than SVM (10.29) and RVM (10.17).
Comparison of MSE and number of kernels for Sinc and Boston Housing datasets
  • Extreme Sparsity: In the Pima Indians Diabetes task, the proposed method used only 6 kernels on average, compared to 110 used by the SVM, while achieving a lower error rate (61 errors vs. 64).
  • Speed: The learning algorithm is highly efficient; for the "crabs" dataset, it trained in less than 1 second on a PIII-800MHz processor.

Limitations and Future Work

  • Computational Scaling: The M-step requires solving a linear system with a dimension equal to the number of training points ($N$). This results in $O(N^3)$ complexity, making it impractical for very large datasets without further optimization (such as the Nyström method).
  • Large-Scale Testing: Future work should involve testing on massive problems like handwritten digit classification (MNIST) to evaluate how the $O(N^3)$ bottleneck holds up in practice.
  • Kernel Selection: While the model automatically prunes kernels, the user still needs to choose the kernel type (e.g., Gaussian) and its width ($\sigma$). The author suggests these parameters could potentially be integrated into the Bayesian framework in future iterations.

Summary updated

BibTeX
@inproceedings{figueiredo2001adaptive,
  author = {Mário A. T. Figueiredo},
  title = {{Adaptive Sparseness Using Jeffreys Prior}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2001},
}
Figure