bioRxivNeurosciencePreprint
More or fewer latent variables in the high-dimensional data space? That is the question
Francesco Edoardo VaccariiD, Stefano DiomediiD, Edoardo BettazziiD, Matteo FilippiniiD, Marina De VitisiD, Kostas HadjidimitrakisiD, Patrizia FattoriiD
Abstract
Dimensionality reduction is widely used in modern Neuro-science to process massive neural recordings data. Despite the development of complex non-linear techniques, linear algorithms, in particular Principal Component Analysis (PCA), are still the gold standard. However, there is no consensus on how to estimate the optimal number of latent variables to retain. In this study, we addressed this issue by testing different criteria on simulated data. Parallel analysis and cross validation proved to be the best methods, being largely unaffected by the number of units and the amount of noise. Parallel analysis was quite conservative and tended to underestimate the number of dimensions especially in low-noise regimes, whereas in these conditions cross validation provided slightly better estimates. Both criteria consistently estimate the ground truth when 100+ units were available. As an exemplary application to real data, we estimated the dimensionality of the spiking activity in two macaque parietal areas during different phases of a delayed reaching task. We show that different criteria can lead to different trends in the estimated dimensionality. These apparently contrasting results are reconciled when the implicit definition of dimensionality underlying the different criteria is considered. Our findings suggest that the term dimensionality needs to be defined carefully and, more importantly, that the most robust criteria for choosing the number of dimensions should be adopted in future works. To help other researchers with the implementation of such an approach on their data, we provide a simple software package, and we present the results of our simulations through a simple Web based app to guide the choice of latent variables in a variety of new studies. Key pointsO_LIParallel analysis and cross-validation are the most effective criteria for principal components retention, with parallel analysis being slightly more conservative in low-noise conditions, but being more robust with larger noise. C_LIO_LIThe size of data matrix as well as the decay rate of the explained variance decreasing curve strongly limit the number of latent components that should be considered. C_LIO_LIWhen analyzing real spiking data, the estimated dimensionality depends dramatically on the criterion used, leading to apparently different results. However, these differences stem, in large part, from the implicit definitions of dimensionality underlying each criterion. C_LIO_LIThis study emphasizes the need for careful definition of dimensionality in population spiking activity and suggests the use of parallel analysis and cross-validation methods for future research. C_LI
- organism: mouse
- assay: bulk RNA-seq
- research focus: dimensionality reduction
- research focus: benchmarking
- approach: statistical model
- approach: benchmark study
- 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
- A detailed investigation of Shared Variance Component Analysis as a tool to characterize neural dimensionality
Alejandro Carballosa, Alessandro Torcini·Journal of Neuroscience MethodsPeer-reviewed·Jun 18, 2026
- Estimating the dimensionality of the manifold underlying multi-electrode neural recordings
Ege Altan, Sara A. Solla, … Eric Jon Perreault·PLoS Computational BiologyPeer-reviewed·Nov 29, 2021
- A scale-dependent measure of system dimensionality
Stefano Recanatesi, Serena Bradde, … Eric Shea‐Brown·PatternsPeer-reviewed·Aug 1, 2022
- Dimensionality reduction for neural population decoding
Charles R. Heller, Stephen V. David·bioRxiv·Apr 18, 2021
- Common population codes produce extremely nonlinear neural manifolds
Anandita De, Rishidev Chaudhuri·Proceedings of the National Academy of SciencesPeer-reviewed·Sep 21, 2023
- Shared Component Analysis
Alain De Cheveigné A·NeuroImagePeer-reviewed·Dec 8, 2020