Data-driven HRF estimation for encoding and decoding models

Fabian Pedregosa, Michael Eickenberg, Philippe Ciuciu, Bertrand Thirion, Alexandre Gramfort

Abstract

Standard functional MRI (fMRI) analysis typically relies on a fixed "canonical" Hemodynamic Response Function (HRF) to model the relationship between neural activity and the BOLD signal. However, HRF shape varies significantly across individuals and brain regions. This paper introduces R1-GLM, a method that employs a rank-1 constraint to jointly estimate the HRF shape and neural activation strength. By balancing model flexibility with physiological constraints, R1-GLM achieves significantly higher accuracy in both encoding and decoding tasks while remaining computationally efficient for full-brain analysis.

Introduction

The Blood Oxygen Level Dependent (BOLD) signal measured in fMRI is an indirect proxy for neural activity, mediated by the HRF. While the standard practice uses a fixed HRF across all voxels, empirical evidence shows substantial spatial and inter-subject variability. Flexible alternatives like Finite Impulse Response (FIR) models often suffer from overfitting due to high parameter counts. The authors propose the Rank-1 General Linear Model (R1-GLM) as a "Goldilocks" solution: a model flexible enough to adapt to local physiology but constrained enough to remain stable and predictive.

Methods

The core innovation of R1-GLM is the application of a rank-1 constraint on the matrix of coefficients. This assumes that within a single voxel, all experimental conditions share a common HRF shape but possess unique activation amplitudes.

Key methodological features include:

  • Joint Estimation: Simultaneous optimization of the HRF shape ($h$) and activation coefficients ($\beta$) using the L-BFGS-B quasi-Newton method.
  • Computational Efficiency: A QR decomposition trick reduces the data processed at each voxel, enabling full-brain analysis (~40,000+ voxels) in under 15 minutes.
  • R1-GLMS Extension: A variant designed for "separate designs" to better decorrelate signals in fast-paced experimental tasks.

Experimental Validation

The authors validated R1-GLM using two public datasets:

  1. Encoding (Dataset 1): Predicting BOLD signals from visual features as subjects viewed 1,750 natural images (Kay et al., 2008).
  2. Decoding (Dataset 2): Reading out potential gain levels from brain activity during a gambling task (Tom et al., 2007).

Key Results

R1-GLM and its variant R1-GLMS consistently emerged as the top-performing models across various metrics. In the image identification task (Dataset 1), R1-GLM improved identification scores by up to 8.2% compared to standard fixed-HRF models.

Image identification performance for subject 1, comparing R1-GLM variants against standard fixed and FIR models.

Furthermore, the model showed superior predictive power in terms of average correlation scores. Voxel-wise analysis revealed that R1-GLM captures physiological nuances that fixed models miss, with only 50% of voxels peaking at the "standard" time.

Average correlation scores for subject 1, showing significant improvements in encoding accuracy using data-driven HRF estimation.

Discussion and Insights

The study highlights that data-driven HRF estimation is particularly critical for encoding models, which are highly sensitive to the exact timing and shape of the HRF when synthesizing predicted signals. The rank-1 constraint effectively regularizes the model, preventing the overfitting common in unconstrained FIR models. Additionally, the resulting encoding maps more closely align with the anatomical folding of the visual cortex, suggesting higher biological fidelity.

Conclusion

R1-GLM provides a robust framework for voxel-wise HRF estimation, offering a significant boost in statistical power and predictive accuracy. While the current model treats voxels independently, future work incorporating spatial priors or multi-subject learning could further refine these estimates and enhance the stability of fMRI modeling.

Summary updated

BibTeX
@article{pedregosa2015data,
  author = {Fabian Pedregosa and Michael Eickenberg and Philippe Ciuciu and Bertrand Thirion and Alexandre Gramfort},
  title = {{Data-driven HRF estimation for encoding and decoding models}},
  journal = {NeuroImage},
  year = {2015},
  doi = {10.1016/j.neuroimage.2014.09.060},
}
Figure