[Paper Review] Learning Global Pairwise Interactions with Bayesian Neural Networks
This paper proposes Bayesian Group Expected Hessian (GEH), a non-parametric probabilistic method that estimates global pairwise interaction effects using Bayesian neural networks (BNNs). By aggregating local Hessian-based interactions across data clusters, GEH provides uncertainty-quantified, globally interpretable interaction detection that improves with better BNNs, outperforming non-probabilistic baselines and enabling discovery of interpretable higher-level feature interactions.
Estimating global pairwise interaction effects, i.e., the difference between the joint effect and the sum of marginal effects of two input features, with uncertainty properly quantified, is centrally important in science applications. We propose a non-parametric probabilistic method for detecting interaction effects of unknown form. First, the relationship between the features and the output is modelled using a Bayesian neural network, capable of representing complex interactions and principled uncertainty. Second, interaction effects and their uncertainty are estimated from the trained model. For the second step, we propose an intuitive global interaction measure: Bayesian Group Expected Hessian (GEH), which aggregates information of local interactions as captured by the Hessian. GEH provides a natural trade-off between type I and type II error and, moreover, comes with theoretical guarantees ensuring that the estimated interaction effects and their uncertainty can be improved by training a more accurate BNN. The method empirically outperforms available non-probabilistic alternatives on simulated and real-world data. Finally, we demonstrate its ability to detect interpretable interactions between higher-level features (at deeper layers of the neural network).
Motivation & Objective
- To address the lack of uncertainty quantification in existing methods for detecting global pairwise interactions in complex, non-linear data.
- To develop a method that detects global interactions—unlike local interaction methods—without requiring pre-specification of interaction forms.
- To enable interpretable detection of interactions between higher-level features learned by deep neural networks.
- To provide theoretical guarantees that interaction estimates improve with better-calibrated Bayesian neural networks.
- To offer a practical, scalable approach for scientific discovery where statistical error control and interpretability are critical.
Proposed method
- Model the relationship between inputs and outputs using a Bayesian neural network (BNN), enabling flexible, non-parametric representation of complex interactions and uncertainty quantification.
- Compute local interaction effects using the Hessian matrix of the BNN's predictive function, capturing second-order interactions at each data point.
- Aggregate local Hessian-based interaction scores across data clusters using a group-based averaging scheme to estimate global pairwise interactions.
- Apply clustering (via L2 distance) to partition input space into regions, ensuring robust aggregation of local interactions into a global measure.
- Use the posterior distribution of the Bayesian Group Expected Hessian (GEH) to quantify uncertainty in interaction estimates, enabling hypothesis testing.
- Leverage the hierarchical structure of deep networks to detect and interpret interactions between high-level features (e.g., nodes in deeper layers), using activation maximization for interpretation.
Experimental results
Research questions
- RQ1Can a non-parametric, probabilistic method detect global pairwise interactions without assuming a specific functional form?
- RQ2How can uncertainty in interaction estimates be properly quantified to enable statistical hypothesis testing?
- RQ3Can interaction detection be improved by training a more accurate Bayesian neural network?
- RQ4Can interpretable interactions between higher-level features (learned by deep networks) be detected and meaningfully interpreted?
- RQ5Does the proposed method outperform existing non-probabilistic interaction detection techniques in terms of accuracy and robustness?
Key findings
- The proposed Bayesian GEH method outperforms non-probabilistic state-of-the-art baselines in detecting global pairwise interactions on both simulated and real-world datasets.
- The method provides uncertainty estimates for interaction effects, enabling a natural trade-off between type I and type II errors through cluster count tuning.
- GEH estimates improve with better-calibrated Bayesian neural networks, a theoretical advantage not guaranteed by existing deep learning-based interaction detection methods.
- The method successfully detects interpretable interactions between higher-level features in MNIST, such as '7 on the left' and '0 on the right', matching human intuition.
- In the MNIST experiments, the strongest detected interaction in each task corresponded exactly to the positive class (e.g., (7,0) and (5,3)), with correct interpretations confirmed via activation maximization.
- Clustering via L2 distance with heuristic cluster count selection performed consistently well, though alternative distance metrics that account for interactions may improve performance.
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.