Bayesian weighted Mendelian randomization for causal inference based on summary statistics

Can Yang, Jia Zhao, Jingsi Ming, Xianghong Hu, Gang Chen, Jin Liu, Can Yang 0002Bioinformatics 2018

Abstract

The results from Genome-Wide Association Studies (GWAS) on thousands of phenotypes provide an unprecedented opportunity to infer the causal effect of one phenotype (exposure) on another (outcome). Mendelian randomization (MR), an instrumental variable (IV) method, has been introduced for causal inference using GWAS data. Due to the polygenic architecture of complex traits/diseases and the ubiquity of pleiotropy, however, MR has many unique challenges compared to conventional IV methods. We propose a Bayesian weighted Mendelian randomization (BWMR) for causal inference to address these challenges. In our BWMR model, the uncertainty of weak effects owing to polygenicity has been taken into account and the violation of IV assumption due to pleiotropy has been addressed through outlier detection by Bayesian weighting. To make the causal inference based on BWMR computationally stable and efficient, we developed a variational expectation-maximization (VEM) algorithm. Moreover, we have also derived an exact closed-form formula to correct the posterior covariance which is often underestimated in variational inference. Through comprehensive simulation studies, we evaluated the performance of BWMR, demonstrating the advantage of BWMR over its competitors. Then we applied BWMR to make causal inference between 130 metabolites and 93 complex human traits, uncovering novel causal relationship between exposure and outcome traits.

Introduction

In the era of Genome-Wide Association Studies (GWAS), researchers have access to a vast repository of genetic variants associated with thousands of phenotypes. However, distinguishing between mere correlation and true causation remains a fundamental challenge. Mendelian Randomization (MR) has emerged as a powerful framework to address this, utilizing genetic variants as instrumental variables (IVs). Because alleles are randomly assigned at birth, they can serve as "natural experiments" to estimate the causal effect of an exposure on an outcome, effectively bypassing many confounding factors present in observational studies.

Despite its promise, standard MR faces significant hurdles in the context of complex biological systems. Two primary issues are polygenicity—where traits are influenced by many variants with small, noisy effects—and horizontal pleiotropy—where a genetic variant affects the outcome through pathways independent of the exposure. These violations of IV assumptions often lead to numerical instability, low statistical power, or inflated false-positive rates in existing MR tools like Egger, GSMR, and RAPS.

The BWMR Framework

To overcome these limitations, we introduce Bayesian Weighted Mendelian Randomization (BWMR). This framework treats causal inference within a unified Bayesian model designed to handle the "messiness" of GWAS summary statistics.

Bayesian Weighting and Outlier Detection

A core innovation of BWMR is its approach to horizontal pleiotropy. Rather than employing "hard" filters that discard suspicious data points—which can lead to a loss of information—BWMR assigns a continuous weight ($w_j$) to each genetic variant. If a variant exhibits characteristics of strong horizontal pleiotropy (acting as an outlier), the model automatically down-weights it toward zero. This probabilistic approach allows the model to retain useful information while mitigating the bias introduced by outliers.

Efficient Inference via VEM

To ensure the model is computationally feasible for large-scale datasets, we utilize a Variational Expectation-Maximization (VEM) algorithm. While Variational Bayes is known for its speed, it typically suffers from a known flaw: the underestimation of posterior variance (uncertainty). To rectify this, we derived an exact closed-form formula to correct the posterior covariance. This correction ensures that the resulting p-values and confidence intervals are statistically rigorous, providing the speed of variational methods without the typical sacrifice in reliability.

Performance and Stability

We validated BWMR through extensive simulations and comparisons with established methods. The results highlighted several key advantages:

  • Superior Error Control: In simulations involving high levels of pleiotropy (50% to 80% invalid instruments), BWMR maintained a stable Type I error rate. In contrast, methods like GSMR experienced skyrocketing error rates, highlighting the risk of false positives when weak pleiotropic effects are ignored.
  • Numerical Stability: While RAPS is theoretically robust, it often encounters numerical instability in real-world applications. BWMR provides a stable alternative that maintains high statistical power without the risk of computational failure.
  • Selection Bias Mitigation: Using three major lipid datasets (Data-A, B, and C), we demonstrated that BWMR effectively handles the nuances of real-world GWAS data, providing consistent causal estimates where other methods might falter.

Mapping the Metabolite-Trait Network

We applied BWMR to a comprehensive matrix of 130 metabolites and 93 complex human traits, including Body Mass Index (BMI), Alzheimer’s Disease (AD), and Coronary Artery Disease. This analysis uncovered a complex network of causal relationships:

  • Causal Directions: BWMR identified 46 significant causal effects of metabolites on complex traits and 101 effects of traits on metabolites.
  • Alzheimer’s Disease Insights: Our findings suggest that AD significantly impacts 47 different metabolites, primarily within the LDL and VLDL lipid classes. Interestingly, none of the 130 metabolites studied showed a significant causal effect on the development of AD, suggesting that metabolic shifts are a consequence rather than a cause of the disease in this context.
  • BMI and Metabolism: BMI was identified as a major driver of metabolic changes, significantly altering 37 different metabolites and confirming its central role in systemic metabolic health.

Conclusion and Future Directions

BWMR represents a significant advancement in the field of causal inference for genomics. By integrating Bayesian weighting with a corrected VEM algorithm, it offers a stable, powerful, and statistically rigorous tool for interpreting GWAS data.

While BWMR currently assumes independence between genetic variants (typically achieved through clumping), future iterations could incorporate explicit modeling of Linkage Disequilibrium (LD) structures. As global biobanks continue to expand, the precision of BWMR will only increase, further illuminating the causal architecture of human health and disease. To encourage community adoption, the BWMR software is publicly available as an R-package on GitHub.

Summary updated

BibTeX
@article{yang2018bayesian,
  author = {Can Yang and Jia Zhao and Jingsi Ming and Xianghong Hu and Gang Chen and Jin Liu and Can Yang},
  title = {{Bayesian weighted Mendelian randomization for causal inference based on summary statistics}},
  journal = {Bioinformatics},
  year = {2018},
}
Figure