In machine learning, we frequently encounter "p-greater-than-n" problems—datasets with thousands of features but only a handful of samples. This is especially common in fields like genomics, where a single microarray might contain expression levels for thousands of genes across just a few dozen patients.
Automatic Relevance Determination (ARD) is a classic Bayesian strategy designed to handle this exact scenario. It assigns a "relevance" hyperparameter to each feature; if a feature is deemed irrelevant, its weight is squeezed to zero, effectively pruning it from the model. Traditionally, ARD determines relevance by maximizing the marginal likelihood, also known as the model's "evidence."
However, maximizing evidence comes with a surprising catch. In very high-dimensional spaces, this approach can lead to overfitting. The algorithm might select an overly "simple," sparse model that perfectly separates the training data but fails to generalize to new cases. This paper introduces Predictive Automatic Relevance Determination (Predictive-ARD), a framework that improves feature selection by minimizing estimated leave-one-out error rather than maximizing model evidence.
The Evidence Paradox
Maximizing evidence is often equated with Occam's Razor—the principle that simpler models are generally better. However, the authors demonstrate that in high dimensions, the "simplest" (most sparse) model can actually be dangerous. By aggressively pruning features to maximize evidence, the model often discards useful but redundant information, leading to poor performance on unseen test data. The core challenge is finding a better criterion for feature selection that reflects true predictive power without requiring computationally prohibitive cross-validation.
The Predictive ARD Solution
To address the shortcomings of traditional ARD, the authors propose a pipeline with several major enhancements:
- Expectation Propagation (EP) over Laplace: Standard ARD often uses Laplace’s method (a second-order Taylor expansion) to approximate the posterior distribution of weights. The authors replace this with Expectation Propagation (EP), which is generally more accurate for classification tasks because it better approximates the posterior mean.
- Predictive ARD: Instead of choosing hyperparameters that maximize the evidence, Predictive ARD chooses those that minimize an estimate of the leave-one-out (LOO) generalization error.
- "Free" LOO Estimates: Normally, LOO cross-validation is computationally expensive, requiring $N$ separate training runs. However, the authors show that the EP algorithm provides a LOO estimate as a side-effect of its standard message-passing iterations. This makes Predictive ARD computationally feasible.
- Fast Sequential Updates: To handle high-dimensional data efficiently, the model incorporates a fast optimization trick that allows it to add or delete features one by one, significantly speeding up the training process.
Experimental Results: Sparsity vs. Accuracy
The authors evaluated Predictive-ARD on synthetic data (201 features, 11 relevant) and challenging real-world datasets, including Leukaemia (7,129 features, 72 samples) and Colon Cancer microarrays, as well as UCI benchmarks.
The results highlight a clear trade-off between sparsity and accuracy. While traditional evidence-based ARD produces extremely sparse models, Predictive-ARD often retains more features but achieves significantly higher accuracy.
As shown in the figure above, Predictive-ARD-EP consistently outperforms Evidence-ARD-EP in terms of test error.
- Superior Accuracy: On the Leukaemia dataset, Predictive-ARD achieved a test error count of 2.80, compared to 3.86 for evidence-based ARD.
- Robustness to Over-pruning: In synthetic tests, evidence-based ARD frequently pruned away useful features to achieve a "simpler" model. Predictive-ARD correctly identified that a slightly less sparse model generalized better, aligning much closer to the actual number of relevant features.
- Competitive with SVMs: In kernel-based classification tasks (like the Breast Cancer and Diabetes datasets), Predictive-ARD produced models that were much sparser than Support Vector Machines (SVMs) while maintaining comparable or better accuracy. For example, on the Breast Cancer dataset, it used approximately 10 relevance vectors compared to the SVM's 65 support vectors.
Limitations and Future Directions
While Predictive-ARD offers a substantial improvement in generalization, it is not without limitations. The computational complexity of EP still requires $O(d^2)$ or $O(d^3)$ operations depending on the implementation, which can become taxing as the number of active features grows. Additionally, the authors noted the need to "pre-scale" one of their error estimators by a factor of 50 to compensate for the Gaussian tail assumptions of the posterior. Developing a more theoretically grounded way to handle non-Gaussian tails remains an area for future improvement. Finally, the paper suggests that future work could explore custom loss functions that explicitly trade off between the LOO error estimate and the number of features to optimize for specific testing-time constraints.
Summary updated