bioRxivNeurosciencePreprint
Stimulus-Driven Leakage in Naturalistic Neuroimaging
Abstract
This article elucidates a methodological pitfall of cross-validation for evaluating predictive models applied to naturalistic neuroimaging data---namely, "stimulus-driven leakage." While this problem has been well known as "leakage in training examples" in machine learning, it may be difficult to detect in practice due to conventions in neuroscience. Stimulus-driven leakage can occur when predictive modelling is applied to data from a conventional neuroscientific design, characterized by a limited set of stimuli repeated across trials and/or participants. It results in spurious predictive performance due to overfitting to repeated signals, even in the presence of independent noise. Through comprehensive simulations and real-world examples, following a theoretical formulation, the article underscores how such data leakage can occur and how severely it can compromise results and conclusions when combined with widely spread informal reverse inference. The article concludes with practical recommendations for researchers to avoid stimulus-driven leakage in their experimental design and analysis.
- Citations
- 0
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
- The effects of data leakage on connectome-based machine learning models
Matthew Rosenblatt, Link Tejavibulya, … Dustin Scheinost·Nature CommunicationsPeer-reviewed·Feb 28, 2024
- Preventing Data Leakage in Neural Decoding
Robert Wong, Michael McCullough, … Geoffrey J. Goodhill·bioRxiv·Jun 29, 2026
- Methods for computing the maximum performance of computational models of fMRI responses
Agustín Lage‐Castellanos, Giancarlo Valente, … Federico De Martino·PLoS Computational BiologyPeer-reviewed·Mar 8, 2019
- To pool or not to pool: Can we ignore cross-trial variability in FMRI?
Gang Chen, Srikanth Padmala, … Luiz Pessoa·NeuroImagePeer-reviewed·Oct 24, 2020
- Illusions of Alignment Between Large Language Models and Brains Emerge From Fragile Methods and Overlooked Confounds
Nima Hadidi, Ebrahim Feghhi, … Jonathan C. Kao·bioRxiv·Mar 9, 2025
- Crossvalidation in brain imaging analysis
Nikolaus Kriegeskorte·bioRxiv·Apr 1, 2015