NeuroImageNeurosciencePeer-reviewed journal article
A machine learning based approach towards high-dimensional mediation analysis
Tanmay NathiD, Brian S. CaffoiD, Tor Dessart WageriD, Martin A. LindquistiD
Abstract
Mediation analysis is used to investigate the role of intermediate variables (mediators) that lie in the path between an exposure and an outcome variable. While significant research has focused on developing methods for assessing the influence of mediators on the exposure-outcome relationship, current approaches do not easily extend to settings where the mediator is high-dimensional. These situations are becoming increasingly common with the rapid increase of new applications measuring massive numbers of variables, including brain imaging, genomics, and metabolomics. In this work, we introduce a novel machine learning based method for identifying high dimensional mediators. The proposed algorithm iterates between using a machine learning model to map the high-dimensional mediators onto a lower-dimensional space, and using the predicted values as input in a standard three-variable mediation model. Hence, the machine learning model is trained to maximize the likelihood of the mediation model. Importantly, the proposed algorithm is agnostic to the machine learning model that is used, providing significant flexibility in the types of situations where it can be used. We illustrate the proposed methodology using data from two functional Magnetic Resonance Imaging (fMRI) studies. First, using data from a task-based fMRI study of thermal pain, we combine the proposed algorithm with a deep learning model to detect distributed, network-level brain patterns mediating the relationship between stimulus intensity (temperature) and reported pain at the single trial level. Second, using resting-state fMRI data from the Human Connectome Project, we combine the proposed algorithm with a connectome-based predictive modeling approach to determine brain functional connectivity measures that mediate the relationship between fluid intelligence and working memory accuracy. In both cases, our multivariate mediation model links exposure variables (thermal pain or fluid intelligence), high dimensional brain measures (single-trial brain activation maps or resting-state brain connectivity) and behavioral outcomes (pain report or working memory accuracy) into a single unified model. Using the proposed approach, we are able to identify brain-based measures that simultaneously encode the exposure variable and correlate with the behavioral outcome. I. HIGHLIGHTSO_LICurrent methods for assessing mediation do not easily extend to high dimensions C_LIO_LIWe introduce a new approach for performing high-dimensional mediation analysis C_LIO_LILinks high-dimensional mediator to path analysis model via machine learning algorithm C_LIO_LIMethod illustrated using data from two fMRI studies C_LI
- assay: imaging
- research focus: differential expression
- research focus: cell-cell communication
- research focus: spatial domain detection
- approach: machine learning (classical)
- Citations
- 18
- FWCI
- 2.77
- Field percentile
- top 7%
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Meet me in the middle: brain-behavior mediation analysis for fMRI experiments
Jules Brochard, Jean Daunizeau A·bioRxiv·Oct 17, 2020
- MedDiC: high dimensional mediation analysis via difference in coefficients
Qi Zhang, Zhikai Yang, Jinliang Yang·bioRxiv·Sep 8, 2022
- HILAMA: High-dimensional multi-omic mediation analysis with latent confounding
Xinbo Wang, Junyuan Liu, … and for the Alzheimer’s Disease Neuroimaging Initiative·BMC Medical Research MethodologyPeer-reviewed·Oct 24, 2025
- Multiple brain networks mediating stimulus-pain relationships in humans
Stephan Geuter, Elizabeth A. Reynolds Losin, … Martin A. Lindquist·Cerebral CortexPeer-reviewed·Feb 18, 2020
- MELODY: Mediation Analysis in Logistic Regression for High-Dimensional Mediators and a Binary Outcome
Sunyi Chi, Xingyu Li, … Xuelin Huang·Genetic EpidemiologyPeer-reviewed·Jan 20, 2026
- Measuring weak effects in high dimensional mediation analysis
Chunlin Li, Li Chen, … Tianzhong Yang·medRxiv·Jan 30, 2025