Fast estimation of L1-regularized linear models in the mass univariate setting
Abstract
In certain modeling approaches, activation analyses of task-based fMRI data can involve a relatively large number of predictors. For example, in the encoding model approach, complex stimuli are represented in a high-dimensional feature space, resulting in design matrices with many predictors. Similarly, single-trial models and finite impulse response models may also encompass a large number of predictors. In settings where only few of those predictors are expected to be informative, a sparse model fit can be obtained via L1-regularization. However, estimating L1-regularized models requires an iterative fitting procedure, which considerably increases computation time compared to estimating unregularized or L2-regularized models, and complicates the application of L1-regularization on whole-brain data and large sample sizes. Here we provide several functions for estimating L1-regularized models that are optimized for the mass-univariate analysis approach. The package includes a parallel implementation of the coordinate descent algorithm for CPU-only systems and two implementations of the alternating direction method of multipliers algorithm requiring a GPU device. While the core algorithms are implemented in C++/CUDA, data input/output and parameter settings can be conveniently handled via Matlab. The CPU-based implementation is highly memory-efficient and provides considerable speed-up compared to the standard implementation not optimized for the mass-univariate approach. Further acceleration can be achieved on systems equipped with a CUDA-enabled GPU. Using the fastest GPU-based implementation, computation time for whole-brain estimates can be reduced from 9 hours to 5 minutes in an exemplary data setting. Overall, the provided package facilitates the use of L1-regularization for fMRI activation analyses and enables an efficient employment of L1-regularization on whole-brain data and large sample sizes.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 5
- FWCI
- 0.53
- Field percentile
- top 32%
- Research Focus
- Approach
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 Paradigm Free Regularization Approach to Recover Brain Activation from Functional MRI Data
Isa Costantini, Rachid Deriche B, Samuel Deslauriers‐Gauthier·bioRxiv·Apr 14, 2021
- BLMM: Parallelised Computing for Big Linear Mixed Models
Thomas Maullin-Sapey, Thomas E. Nichols·NeuroImagePeer-reviewed·Nov 3, 2022
- Unbiased estimation of the coefficient of determination in linear models: an application to fMRI encoding model comparison
Agustín Lage‐Castellanos, Federico De Martino, Giancarlo Valente·bioRxiv·Mar 4, 2024
- How to improve parameter estimates in GLM-based fMRI data analysis: cross-validated Bayesian model averaging
Joram Soch, Achim Pascal Meyer, … Carsten Allefeld·NeuroImagePeer-reviewed·Jun 29, 2017
- Prediction of fMRI activity using vector autoregressive models: a comparison of sparse and low-rank approaches
Xinle Tian, Alex J. Gibberd, … Matthew A. Nunes·bioRxiv·Jun 15, 2026
- Influence of activation pattern estimates and statistical significance tests in fMRI decoding analysis
Juan Eloy Arco, Carlos González‐García, … Marı́a Ruz·Journal of Neuroscience MethodsPeer-reviewed·Jul 7, 2018