[Paper Review] The Kernel Interaction Trick: Fast Bayesian Discovery of Pairwise Interactions in High Dimensions
This paper introduces the Kernel Interaction Trick, a scalable Bayesian method for discovering pairwise interactions in high-dimensional data by representing interactions through a Gaussian process, enabling O(pN² + N³) time complexity per MCMC iteration. It achieves orders-of-magnitude speedups over naive Bayesian inference and outperforms LASSO-based methods in reducing Type I and Type II errors while maintaining sparsity and uncertainty quantification.
Discovering interaction effects on a response of interest is a fundamental problem faced in biology, medicine, economics, and many other scientific disciplines. In theory, Bayesian methods for discovering pairwise interactions enjoy many benefits such as coherent uncertainty quantification, the ability to incorporate background knowledge, and desirable shrinkage properties. In practice, however, Bayesian methods are often computationally intractable for even moderate-dimensional problems. Our key insight is that many hierarchical models of practical interest admit a particular Gaussian process (GP) representation; the GP allows us to capture the posterior with a vector of O(p) kernel hyper-parameters rather than O(p^2) interactions and main effects. With the implicit representation, we can run Markov chain Monte Carlo (MCMC) over model hyper-parameters in time and memory linear in p per iteration. We focus on sparsity-inducing models and show on datasets with a variety of covariate behaviors that our method: (1) reduces runtime by orders of magnitude over naive applications of MCMC, (2) provides lower Type I and Type II error relative to state-of-the-art LASSO-based approaches, and (3) offers improved computational scaling in high dimensions relative to existing Bayesian and LASSO-based approaches.
Motivation & Objective
- To address the computational intractability of Bayesian inference for pairwise interaction models in high-dimensional settings.
- To reduce the O(p²) cost of modeling interactions by representing them via a Gaussian process with O(p) kernel hyperparameters.
- To enable efficient MCMC sampling over hyperparameters with linear time and memory complexity in p per iteration.
- To improve statistical power and reduce false positives and false negatives compared to LASSO-based methods.
- To provide a general-purpose framework for sparse interaction discovery that scales to high-dimensional data while preserving uncertainty quantification.
Proposed method
- Represent the full interaction model using a Gaussian process (GP) with a specialized kernel that implicitly encodes all pairwise interactions.
- Use the GP kernel to avoid explicit computation and inversion of the full precision matrix, reducing time complexity from O(p²N²) to O(pN² + N³).
- Develop a kernel interaction trick to compute posterior summaries (means and variances) for selected main effects and interactions without storing or processing all O(p²) coefficients.
- Apply hierarchical shrinkage priors to the GP kernel hyperparameters to induce sparsity in the selected interactions and main effects.
- Use Markov chain Monte Carlo (MCMC) over the O(p) kernel hyperparameters instead of over O(p²) regression coefficients.
- Extend the framework to higher-order multi-way interactions using the same GP-based representation.
Experimental results
Research questions
- RQ1Can Bayesian inference for pairwise interactions be made computationally tractable in high-dimensional settings?
- RQ2Can a Gaussian process representation reduce the computational cost of posterior inference from O(p²) to O(p) parameters?
- RQ3Does the proposed method achieve better error control (lower Type I and Type II errors) than state-of-the-art LASSO-based approaches?
- RQ4Can the method scale efficiently in both high p and large N regimes while preserving uncertainty quantification?
- RQ5To what extent does the kernel interaction trick enable exact posterior computation without explicitly storing all interaction terms?
Key findings
- The proposed method reduces runtime by orders of magnitude compared to naive MCMC applications on interaction models.
- On synthetic datasets, SKIM achieves lower Type I and Type II error rates than PLASSO and HLASSO, with 3:0 correct selection of main and pairwise effects in the building dataset.
- In the Auto MPG dataset with added noise covariates, SKIM selects only the original 3 main effects and 1 interaction, with no false positives, while LASSO-based methods select 78–99 fake interactions.
- The method maintains linear time complexity in p per MCMC iteration, enabling scalable inference even in high-dimensional settings.
- The kernel interaction trick allows exact posterior mean and variance computation for selected effects without explicitly computing or storing all O(p²) interaction terms.
- Empirical results show that SKIM outperforms LASSO-based methods in both accuracy and robustness under high-dimensional noise, especially in detecting true effects while avoiding false discoveries.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.