Neural decoding is a widely-used machine learning technique for investigating how behavior, perception and cognition are represented in neural activity. However without careful application data leakage can occur, where information from the test set contaminates the training set, leading to biased estimates of decoding performance and potentially invalidating biological conclusions. Here we show that leakage can be introduced in neural decoding studies by common supervised and unsupervised preprocessing steps, including dimensionality reduction.
We reveal that in some cases leakage can paradoxically decrease decoding performance relative to unbiased estimates, and we provide theoretical analyses explaining how this occurs. We also show that, for autocorrelated neural time series, randomized k-fold cross-validation can dramatically overstate decoding performance. Based on these findings, we provide detailed recommendations for avoiding data leakage in neural decoding.
We thank the Research Infrastructure Services (RIS) group at Washington University in St. Louis for providing computational resources and services needed to generate the research results delivered within this paper. The microscopy experiments were performed in part through the use of Washington University Center for Cellular Imaging (WUCCI) supported by Washington University School of Medicine, The Children’s Discovery Institute of Washington University and St.
Louis Children’s Hospital (CDI-CORE-2015-505 and CDI-CORE-2019-813) and the Foundation for Barnes-Jewish Hospital (3770 and 4642). Holy, Peter Dayan, Brendan A. Triplett for their comments on an earlier version of the manuscript.
R.W. was funded by The McDonnell International Scholars Academy of Washington University in St. M.H.M. was supported by the Australian National University Jubilee Joint Fellowship scheme. Department of Electrical and Systems Engineering, Washington University in St.
Louis, MO, USA Department of Developmental Biology, Washington University in St. Louis, MO, USA Robert Wong, Tianfeng Lu, Shuyu I. Goodhill Department of Neuroscience, Washington University in St.
Extract — continue reading at the source.