Back to search

The Johns Hopkins University

Decodable Structure in Task fMRI Residuals Reveals Limitations of GLM Analysis

Abstract

dc:description.abstract

The General Linear Model (GLM) is the standard framework for task fMRI analysis, yet it relies on a fixed canonical hemodynamic response function (HRF) that often fails to capture true hemodynamics across brain regions, individuals, and cognitive contexts. This mismatch can shift systematic task-related variance into the residuals, challenging the assumption that residuals reflect only unstructured noise. In this thesis, we test the hypothesis that these residuals contain decodable, task-dependent structure consistent with hemodynamic mis-specification. Using Human Connectome Project (HCP) data, we estimate residual impulse responses by fitting a smooth Finite Impulse Response (FIR) approach to residual time series from 489 regions over a 30-second post-stimulus window across multiple first-level GLM variants using different HRF models. These residual impulse responses serve as inputs to a time-resolved decoding framework where linear classifiers are trained at each post-stimulus lag and evaluated using cross-subject out-of-bag validation. Time-resolved decoding of working memory contrasts reveals that residuals from canonical HRF models retain robust, condition-specific structure. Crucially, comparing residuals across model families further reveals that increasing HRF flexibility is associated with reduced decodability. Relative to canonical HRF models, the flexible spline-based model left less task-related structure in the residuals, as reflected by lower residual decoding accuracy and weaker classifier score separation, whereas adding temporal and dispersion derivatives produced only modest reductions. Haufe-transformed patterns support this result, showing that spatially distributed, condition-specific residual structures are strongly attenuated under the flexible spline-based model. Together, these results suggest that GLM residuals under canonical HRF assumptions are not purely noise and are consistent with the interpretation that more flexible hemodynamic models absorb a greater share of task-related variance in task fMRI.

Degree

thesis:*
Name thesis:degree_name
Sc.M.
Discipline thesis:degree_discipline
Biostatistics
Department thesis:degree_department
Biostatistics
Grantor dc:publisher
The Johns Hopkins University
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Wang, Enrui
Advisor dc:contributor.advisor
  • Martin Lindquist

Subjects

dc:subject × 1

Rights

Language dc:language.iso
English (United States)

Identifiers

dc:identifier.*
Repository record dc:identifier.uri
https://jscholarship.library.jhu.edu/handle/1774.2/72259

Chain of custody

source
Harvested from
Johns Hopkins University
Base URL
jscholarship.library.jhu.edu/server/oai/request
Last updated
2026-11-20
Source record
OAI-PMH GetRecord
citation

Wang, Enrui. Decodable Structure in Task fMRI Residuals Reveals Limitations of GLM Analysis. The Johns Hopkins University, 2026. https://jscholarship.library.jhu.edu/handle/1774.2/72259