Variable selection for Gaussian processes via sensitivity analysis of the posterior predictive distribution

Topi Paananen, Juho Piironen, Michael Riis Andersen, Aki VehtariAISTATS 2019

Gaussian Processes (GPs) are state-of-the-art tools for Bayesian regression and classification, offering robust uncertainty quantification. However, their "black box" nature often obscures which input features drive the model's predictions. This paper, presented at AISTATS 2019, introduces a novel framework for variable selection based on the sensitivity analysis of the posterior predictive distribution, addressing fundamental flaws in traditional parametric approaches.

The Limitations of Automatic Relevance Determination (ARD)

The standard method for variable selection in GPs is Automatic Relevance Determination (ARD). ARD relies on the inverse of the "length-scale" parameter ((l_i)) for each input variable. A large length-scale implies that the model is insensitive to changes in that variable, suggesting low relevance.

Despite its popularity, the authors identify two critical issues with ARD:

  1. Identifiability: Length-scales are often poorly identified in the posterior and are coupled with other hyperparameters, leading to high variance in feature rankings across different data splits.
  2. Nonlinearity Bias: ARD systematically underestimates the relevance of linear variables compared to nonlinear ones. Because linear functions have larger length-scales than "wiggly" nonlinear functions, ARD may discard a crucial linear predictor in favor of a less important but highly nonlinear one.

Sensitivity-Based Variable Selection

To overcome these issues, the authors propose shifting the focus from internal model parameters to the predictive output. They introduce two methods that measure how much the predictive distribution changes when inputs are perturbed.

1. The KL Method (Kullback-Leibler Divergence)

This method measures the local sensitivity of the posterior predictive distribution. For each training point, a specific input variable (j) is perturbed by a small amount (\Delta). The relevance is then calculated as the KL divergence between the original and perturbed predictive distributions. This approach is comprehensive as it accounts for changes in both the predictive mean and the predictive uncertainty.

2. The VAR Method (Variance of the Posterior Latent Mean)

While the KL method is local, the VAR method examines global sensitivity across the likely range of a variable. It integrates the variance of the GP's latent mean over the estimated conditional distribution of the variable. This method is computationally more efficient than the KL method, with a complexity of (O(pn^2)) compared to (O(pn^3)).

Empirical Evaluation

Correcting Nonlinearity Bias

The authors used synthetic datasets to demonstrate how ARD fails when linear and nonlinear variables contribute equally to the output variance.

Predictive relevance estimates for synthetic data with varying degrees of nonlinearity.

As shown in the figure above, ARD (blue line) assigns near-zero relevance to linear variables (1–4) while favoring nonlinear ones (5–8). In contrast, the KL and VAR methods correctly identify that all variables are equally relevant, tracking the "True relevance" much more accurately.

Real-World Performance

The methods were further tested on several real-world regression tasks, including the Concrete, Boston Housing, Automobile, and Crime datasets. The goal was to build "submodels" using only the top (k) variables identified by each method.

Mean Log Predictive Density (MLPD) as a function of the number of selected covariates across four real-world datasets.

The results indicate that the KL and VAR methods consistently outperform ARD in terms of Mean Log Predictive Density (MLPD). Specifically, when selecting a small subset of features, the sensitivity-based methods reach the performance of the full model much faster than ARD. They also exhibit significantly higher ranking stability across different random splits of the data.

Conclusion

By moving from parametric importance (length-scales) to predictive sensitivity, the KL and VAR methods provide a more robust and interpretable way to perform variable selection in Gaussian processes. These methods effectively eliminate the bias against linear relationships and offer superior predictive performance for reduced-feature models. While computationally more intensive than ARD, their efficiency can be further improved using sparse GP approximations, making them viable for large-scale applications.

Summary updated

BibTeX
@inproceedings{paananen2019variable,
  author = {Topi Paananen and Juho Piironen and Michael Riis Andersen and Aki Vehtari},
  title = {{Variable selection for Gaussian processes via sensitivity analysis of the posterior predictive distribution}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2019},
}
Figure