• Study
  • Data Usage
    • Access & download data
    • Responsible use
    • Acknowledgment
  • Documentation
    • Curation & structure
    • Non-imaging
    • Imaging
    • Substudies
    • Release notes
  • Tools
    • Data tools
    • R Packages
  • Info
    • FAQs
    • Report issues
    • Changelog
    • Cite this website
  • Version
    • empty
  1. Imaging data
  2. Scan types
  3. Documentation
  4. Imaging
  5. Task-based fMRI
  • Curation & structure
    • Data structure
    • Curation standards
    • Naming convention
    • Metadata
  • Non-imaging data
    • ABCD (General)
    • Friends, Family, & Community
    • Genetics
    • Linked External Data
    • Mental Health
    • Neurocognition
    • Novel Technologies
    • Physical Health
    • Substance Use
  • Imaging data
    • Administrative tables
    • Data types
      • Documentation
        • Imaging
          • Concatenated
          • MRI derivatives data documentation
          • Source data / raw data
          • Supplementary tables
    • Scan types
      • Documentation
        • Imaging
          • Diffusion MRI
          • MRI Quality Control
          • Resting-state fMRI
          • Structural MRI
          • Task-based fMRI
          • Task-based fMRI (Behavioral performance)
          • Trial level behavioral performance during task-based fMRI
    • ABCD BIDS Community Collection (ABCC)
      • Documentation
        • Imaging
          • ABCD-BIDS community collection
          • BIDS conversion
          • Data processing
          • Derivatives
          • Quality control procedures
  • Substudy data
    • COVID-19 rapid response research
    • Endocannabinoid
    • IRMA
    • MR Spectroscopy
  • Release notes
    • 6.0 data release

On this page

  • Domain overview
    • Image processing (common to all fMRI)
    • Task-fMRI specific pre-processing
    • Estimation of task-related activation strength
    • Regions of interest (ROIs)
  • fMRI task packages
    • Monetary Incentive Delay Task
    • Stop Signal Task
    • Emotional N-Back Task
  • Methods
  • Notes
    • Effects of scanner instance and software version
    • MID task design and time series modeling
    • E-prime timing errors for GE scanners
    • Mismatched E-Prime output files and imaging data
    • Irregular acquisitions
    • Task fMRI outliers
  1. Imaging data
  2. Scan types
  3. Documentation
  4. Imaging
  5. Task-based fMRI

Task-based fMRI

Domain overview

Please scroll horizontally to view the number of variables and events of administration for the displayed tables.

The Task based Functional MRI (TfMRI) data conatins field maps, spin echo images with opposite phase encode polarity, and multi-frame, gradient echo, echo-planar imaging images.

Image processing (common to all fMRI)

  • Head motion corrected by registering each frame to the first using AFNI’s 3dvolreg (Cox 1996)
  • B0 distortions were corrected using the reversing gradient method with FSL’s topup Smith et al. (2004)
  • Displacement field estimated from spin-echo field map scans
  • Applied to gradient-echo images after adjustment for between-scan head motion
  • Corrected for gradient nonlinearity distortions (Jovicich et al. 2006)
  • Between scan motion correction across all fMRI scans in imaging event
  • Registration between T2-weighted, spin-echo B0 calibration scans and T1-weighted structural images performed using mutual information (Wells et al. 1996)

Task-fMRI specific pre-processing

Note: not included in “minimal processing” (minproc) - Removal of initial volumes - Siemens: 8 TRs - Philips: 8 TRs - GE DV25: 4 TRs - GE DV26 and later (RX28, DV29, etc.): 15 TRs - Normalization and demean - Divide by the mean of each voxel, subtract 1, multiply by 100

Estimation of task-related activation strength

  • General linear model (GLM) using AFNI’s 3dDeconvolve (Cox 1996)
  • Nuisance regressors to model baseline, quadratic trend, and motion (Power et al. 2014)
    • Motion estimates, derivatives, and squared estimates and derivatives included
  • Time points with framewise displacement (FD) > 0.9 mm censored (Siegel et al. 2014)
  • Hemodynamic response function
    • Modelled as gamma functions with temporal derivatives, using AFNI’s SPMG model
    • For MID and SST models, events modeled as instantaneous
    • For n-back, duration of cues (~3 s) and trial blocks (~24 s) modeled as square waves convolved with SPMG
  • GLM coefficients and t-statistics sampled onto cortical surface
    • Projected 1mm into cortical gray matter along surface normal vector
  • Monetary Incentive Delay (MID)
    • Predictors for anticipation of large, small, and no rewards and feedback for large, small, and no rewards for wins and losses
    • Linear contrasts computed for anticipation of large and small reward vs. no reward, anticipation of large and small loss vs. no reward, feedback of win vs. no reward, and feedback of loss vs. no reward
  • Stop Signal Task (SST)
    • Predictors for successful go trial, failed go trial, successful stop trial, and failed stop trial
    • Contrasts computed for successful vs. failed stop trials and successful vs. failed go trials
  • Emotional N-back (EN-back)
    • Predictors for each type of stimulus (i.e. place and emotional face) in each of the n-back conditions (i.e., 0-back and 2-back) plus fixation
    • Linear contrasts computed for 2-back vs. 0-back across stimulus types, emotional faces vs. places across memory loads, 2-back vs. 0-back for each stimulus type, and each memory load and each stimulus type vs. fixation

Regions of interest (ROIs)

  • Subcortical structures labeled with atlas-based segmentation (Fischl et al. 2002)
  • Cortical regions labeled with the Desikan atlas-based classification (Desikan et al. 2006)
  • Cortical regions labeled with the Destrieux atlas-based classification (Destrieux et al. 2010)
  • ROI average coefficients and t-statistics for each run were averaged across two runs, weighted by degrees of freedom

fMRI task packages

The task-based fMRI scans require special stimulus presentation and response collection equipment and software. All ABCD fMRI tasks are currently programmed in E-Prime Professional 2.0 versions 2.0.10.356 or later and work reliably for PC Windows 8.1 or earlier.

The tasks and stimuli are available for download here and are free to be used by others for their own research projects. When referencing these tasks be sure to use the provided citations. By downloading these tools you agree to using them for educational and research purposes only.

The full fMRI tasks are available for download on GE scanners, Siemens and Philips (SP) scanners, and as a Goggles version. Download GE\_\* versions for GE scanners, SP\_\* versions for Siemens and Philips scanners and Goggles\_\* versions if you are using Goggles. To download the following, please right click and select “open link in new tab.”

  • GE_13_2023
  • GE_2023
  • Goggles_13_20181029
  • Goggles_20181029
  • SP_13_2023
  • SP_2023

Reference: Casey et al. (2018)

Monetary Incentive Delay Task

mr_y_tfmri__mid

When referring to the ABCD monetary incentive task in publications or talks, please cite: Knutson B, Westdorp A, Kaiser E, Hommer D (2000) FMRI visualization of brain activity during a monetary incentive delay task. NeuroImage 12: 20–27. To download the following, please right click and select “open link in new tab.”

  • MID_Practice.zip
  • MID_Behavioral.zip

Stop Signal Task

mr_y_tfmri__sst

When referring to the ABCD stop signal task in publications or talks, please cite Logan and Cowan (1984).

This updated version of the STOP task program addresses the issues arising from the Bissett critique (Bissett et al. 2020). The changes to the task include: 1) fixing glitches that arise from fast responses, 2) not letting the SSD fall below 50msec, 3) ensuring that the Stop signal duration is always 300 msec and 4) fixing the trial coding errors. Please refer to the response to the Bissett critique for more details. Due to limitations piloting the scanner version of the task (sites being closed during the pandemic), users are encouraged to report to ABCD’s helpdesk any bugs or issues related to task length, equipment or different Windows and e-prime versions. To download the following GE or Siemens and Philips (SP) versions, please right click and select “open link in new tab.”

  • SP_SST
  • GE_SST

Emotional N-Back Task

mr_y_tfmri__nback

When referring to the ABCD emotional n-back task in publications or talks, please cite: (Cohen et al. 2016). The impact of emotional cues on short-term and long-term memory during adolescence. Society for Neuroscience, San Diego, CA. (Please check for the updated publication). To download the following, please right click and select “open link in new tab”.

  • EmoNBack_Practice.zip
  • EmoNBack_Behavioral.zip
  • RecMem.zip

RADIATE Emotional Face Stimulus Set:

When referring to these stimuli in publications or talks, please cite Conley et al. (2018) and Tottenham et al. (2009).

  • RADIATE JPEGS-1
  • RADIATE JPEGS-2
  • RADIATE BMPS
Using RADIATE Emotional Face Stimulus Set

By downloading these stimuli, you agree to use them solely for approved institutional research or educational purposes and to not use them in any way to deliberately or inadvertently identify the individuals in the pictures.

Methods

Image processing and analysis methods corresponding to ABCD Release 2.0.1 are described in (Hagler et al. 2019). Image processing and analysis methods for the Adolescent Brain Cognitive Development Study (doi: 10.1016/j.neuroimage.2019.116091). Changes to image processing and analysis methods in Release 3.0 and Release 4.0 are documented in Task-based fMRI Release Notes. No significant changes were made to the processing pipeline for Release 5.0. Changes to time series analysis methods in Release 6.0 are documented in Task-based fMRI Release Notes.

Notes

Effects of scanner instance and software version

Multisite longitudinal MRI imaging data are potentially susceptible to influences of scanning parameters, scanner manufacturer, scanner model, and software version, which vary across sites, and sometimes across time. For more information, please refer to “Effects of scanner instance and software version” in Imaging Overview Data Documentation.

MID task design and time series modeling

The Monetary Incentive Delay (MID) task used in ABCD was designed to optimize detection of incentive-anticipatory related activation. To minimize scan duration for research participants, a brief version of the MID task with no variable interval between trials was employed. A consequence of this design is that activation associated with the presentation of the trial feedback may contain some signal stemming from anticipation-related processes. This results in certain feedback contrasts (e.g., large win hit minus neutral hit) being potentially unreliable. Users are encouraged to use contrasts that might provide a closer match on anticipation (e.g., large win hit minus large win miss), and this is what is included in data releases. A second issue is that the task has been analyzed using an approach that is common in the literature, in which only anticipatory cues and feedback notifications are modeled, leaving some trial components (post-cue fixation and probe) unmodeled and thus serving as an implicit baseline. We therefore also caution that some component of anticipatory or feedback-related activation may contain non-specific motor-behavior related signal. Similarly, response times to each target have not been modeled (as suggested by Mumford et al. (2023)). As response times differ between hit and miss trials, recent analyses suggest that nonspecific, behaviorally-driven effects may bias estimates of feedback-related activity. More details on the task design and best practices for its analysis will be described in a forthcoming manuscript. Pending additional analyses in partnership with external data end-users, ABCD may in future releases offer MID task data wherein all trial components as well as target response times are modeled.

E-prime timing errors for GE scanners

In a relatively small, though substantial, subset of task fMRI acquisitions collected on GE scanners (~9% of runs), the time between the 1st and 16th trigger pulse sent from the scanner does not match the expected 12 seconds (see 5.0 Known Issues: Task fMRI stimulus timing, Issue 2). In cases where the discrepancy was either 0.8, 1.6, or 2.4 seconds (or within 0.01 seconds of those values), indicating missed (undetected) trigger pulses (~3% of runs), the start time (used as the reference for subsequent events) can be adjusted by simply subtracting the discrepancy. Any other runs that had a start time discrepancy larger than 0.5 seconds (~6% of runs) are excluded from the current task fMRI analysis pipeline, as such cases reflect irregular trigger timing and can make it difficult or impossible to be sure when the stimulus run started relative to the imaging scan. In cases matching specific trigger timing patterns, it may be possible to infer the correct timing offset, so some of these cases may be salvaged in future releases.

Mismatched E-Prime output files and imaging data

The task fMRI behavioral and stimulus timing files, which are exported from the E-Prime stimulus presentation program, have a date and time stamp recording when the stimulus program was started for a particular task run. E-Prime timing is compared to date and time derived from imaging DICOM metadata to identify events with potentially mismatched E-Prime file and imaging data. In some cases, these mismatches are due to clock offsets on stimulus computers relative to the MRI console computer; e.g., on days of transition to and from Daylight Saving Time (DST), or small, fixed differences in clock time. In other cases, imaging sites uploaded E-Prime files for one participant but assigned them to a different pGUID, which can result in very large timing differences. Participant-events with timing mismatches less than 12.5 minutes are identified by these variables:

  • mr_y_qc__raw__tfmri__mid__eprime__match_indicator: MID E-Prime timing match
    • mr_y_qc__raw__tfmri__mid
  • mr_y_qc__raw__tfmri__nback__eprime__match_indicator: N-Back E-Prime timing match
    • mr_y_qc__raw__tfmri__nback
  • mr_y_qc__raw__tfmri__sst__eprime__match_indicator: SST E-Prime timing match
    • mr_y_qc__raw__tfmri__sst

Participant-events for which timing mismatches can be ignored, e.g., DST transitions or persistent clock offsets, are identified by these variables:

  • mr_y_qc__raw__tfmri__mid__eprime__tdiff__ign_indicator: MID ignore E-Prime mismatch
    • mr_y_qc__raw__tfmri__mid
  • mr_y_qc__raw__tfmri__nback__eprime__tdiff__ign_indicator: N-back ignore E-Prime mismatch
    • mr_y_qc__raw__tfmri__nback
  • mr_y_qc__raw__tfmri__sst__eprime__tdiff__ign_indicator: SST ignore E-Prime mismatch
    • mr_y_qc__raw__tfmri__sst

These variables have been included in the recommended imaging inclusion criteria and the imaging inclusion flags. Refer to the Imaging Overview release note for more details.

Task fMRI results have not been generated for participants with timing mismatches (e.g., mr_y_qc__raw__tfmri__mid__eprime__match_indicator = 0) unless they can be ignored (i.e., mr_y_qc__raw__tfmri__mid__eprime__tdiff__ign_indicator = 1). The ABCD DAIRC continues to work with ABCD imaging sites to recover missing or mismatched E-Prime files to enable the inclusion of these participants’ results in future releases.

Irregular acquisitions

In a small percentage of participant-events (< 2%), the number of scans acquired and the number of task runs documented in E-Prime output files differed, leading to potential ambiguity in the assignment of stimulus runs to imaging scan. To prevent matching a stimulus run to the wrong scan and using an incorrect stimulus event time series in the GLM analysis of the imaging data, the task fMRI GLM analysis is currently skipped for participant-events with an irregular acquisition, resulting in missing derived values in the task fMRI tabulated data and missing minimally processed data. Examples of irregular acquisitions creating potential ambiguity include the collection of 3 scans but only 2 stimulus runs, or 1 scan but 2 stimulus runs. This sometimes occurs because a scan was aborted at the participant’s request. The correct mapping between scan and run can sometimes be ascertained with information about all scans collected and which of those were aborted. However, variation and special cases can make it difficult to fashion general rules that work correctly for all.

In a very small number of participant-events (< 0.1%), the research assistant or scan operator used the wrong scan protocol for the first of two runs; e.g., using the MID scan protocol while using the SST stimulus. Because the length of the scans differs for the different tasks, mismatched scans and tasks are not analyzed. The second scan of the mismatched pair can be correctly analyzed if assigned to the second stimulus run. These situations were identified as having only one scan of a given task that was immediately preceded by a scan of a different task instead of a field map scan.

For approximately 2.0-2.4% of participant-events, only a single imaging scan was available for analysis for one or more tasks, either because only one scan was acquired for that task, one of two scans was aborted during acquisition, or one of two scans failed raw QC. For the SST, if only the second scan was analyzed, these tfMRI data are currently assigned to run1 variables in the tabulated data releases. For the MID and EN-back, if there were errors with run1 scans, neither scan1 or scan2 task fMRI data were analyzed. If there were no issues with the first scan, these data were analyzed.

Task fMRI outliers

Some participants exhibit frequent periods of motion, and depending on when supra-threshold head movements (FD>0.9 mm) occur relative to instances of a given event type, some conditions may be under-represented. In rare cases, this results in extreme values for the beta and SEM estimates, as much as several orders of magnitude different from typical values for a given contrast. The presence of extreme outliers violates standard parametric assumptions, so group-level statistical analyses would produce invalid and nonsensical results. To prevent this, we censor the beta and SEM values if they are identified as having extremely high SEM values and therefore low reliability beta estimates (see Hagler et al., 2019). We censor the beta and SEM values for all ROIs for those contrasts that have RMS of SEM values across the cortical surface greater than 5% signal change. This represents less than 0.5% of all participant-task- contrast-run combinations. The censored values are replaced with empty cells in the tabulated data as well as the concatenated vertexwise data; however, censoring of outlier contrast-runs was not applied to the concatenated voxelwise data (see Concatenated Imaging Data Documentation). Despite this censoring, some outlier beta values (defined as being outside the mean ± 3 x standard deviation) remain. These cases are more likely to have outliers in a limited number of ROIs, and are possibly related to image quality issues not detected in raw or post-processing manual QC.

Users of the task fMRI tabulated or concatenated data are advised to examine outliers in the data and choose inclusion criteria that are appropriate for their analyses. We have provided a set of recommended inclusion criteria for each modality that take into account factors such as imaging QC, task performance, etc. (see MRI Quality Control & Recommended Image Inclusion Criteria release note), and for convenience, we provide a data structure with modality-specific imaging inclusion flags based on those criteria mr_y_qc__incl. However, these recommended inclusion criteria do not account for outliers. It is recommended that users apply methods for handling outliers prior to statistical analysis. For example, inverse rank normalization or winsorizing.

Additional references:

  • Chang and Fitzpatrick (1992)
  • Morgan et al. (2004)

References

Andersson, Jesper L. R., Stefan Skare, and John Ashburner. 2003. NeuroImage 20 (2): 870–88. doi:10.1016/S1053-8119(03)00336-7.
Bissett, Patrick G., McKenzie P. Hagen, Henry M. Jones, and Russell A. Poldrack. 2020. doi:10.1101/2020.05.08.084707.
Casey, B. J., Tariq Cannonier, May I. Conley, Alexandra O. Cohen, Deanna M. Barch, Mary M. Heitzeg, Mary E. Soules, et al. 2018. Developmental Cognitive Neuroscience 32 (August): 43–54. doi:10.1016/j.dcn.2018.03.001.
Chang, H., and J. M. Fitzpatrick. 1992. IEEE Transactions on Medical Imaging 11 (3): 319–29. doi:10.1109/42.158935.
Cohen, A, M Conley, D Dellarco, and B Casey. 2016. Proceedings of the Society for Neuroscience; San Diego.
Conley, May I., Danielle V. Dellarco, Estee Rubien-Thomas, Alexandra O. Cohen, Alessandra Cervera, Nim Tottenham, and Bj Casey. 2018. Psychiatry Research 270 (December): 1059–67. doi:10.1016/j.psychres.2018.04.066.
Cox, Robert W. 1996. Computers and Biomedical Research 29 (3): 162–73. doi:10.1006/cbmr.1996.0014.
Desikan, Rahul S., Florent Ségonne, Bruce Fischl, Brian T. Quinn, Bradford C. Dickerson, Deborah Blacker, Randy L. Buckner, et al. 2006. NeuroImage 31 (3): 968–80. doi:10.1016/j.neuroimage.2006.01.021.
Destrieux, Christophe, Bruce Fischl, Anders Dale, and Eric Halgren. 2010. NeuroImage 53 (1): 1–15. doi:10.1016/j.neuroimage.2010.06.010.
Fischl, Bruce, David H. Salat, Evelina Busa, Marilyn Albert, Megan Dieterich, Christian Haselgrove, Andre Van Der Kouwe, et al. 2002. Neuron 33 (3): 341–55. doi:10.1016/S0896-6273(02)00569-X.
Hagler, Donald J., SeanN. Hatton, M. Daniela Cornejo, Carolina Makowski, Damien A. Fair, Anthony Steven Dick, Matthew T. Sutherland, et al. 2019. NeuroImage 202 (November): 116091. doi:10.1016/j.neuroimage.2019.116091.
Jovicich, Jorge, Silvester Czanner, Douglas Greve, Elizabeth Haley, Andre Van Der Kouwe, Randy Gollub, David Kennedy, et al. 2006. NeuroImage 30 (2): 436–43. doi:10.1016/j.neuroimage.2005.09.046.
Logan, Gordon D., and William B. Cowan. 1984. Psychological Review 91 (3): 295–327. doi:10.1037/0033-295X.91.3.295.
Morgan, Paul S., Richard W. Bowtell, Dominick J. O. McIntyre, and Brian S. Worthington. 2004. Journal of Magnetic Resonance Imaging 19 (4): 499–507. doi:10.1002/jmri.20032.
Mumford, Jeanette A., Patrick G. Bissett, Henry M. Jones, Sunjae Shim, Jaime Ali H. Rios, and Russell A. Poldrack. 2023. Nature Human Behaviour 8 (2): 349–60. doi:10.1038/s41562-023-01760-0.
Power, Jonathan D., Anish Mitra, Timothy O. Laumann, Abraham Z. Snyder, Bradley L. Schlaggar, and Steven E. Petersen. 2014. NeuroImage 84 (January): 320–41. doi:10.1016/j.neuroimage.2013.08.048.
Siegel, Joshua S., Jonathan D. Power, Joseph W. Dubis, Alecia C. Vogel, Jessica A. Church, Bradley L. Schlaggar, and Steven E. Petersen. 2014. Human Brain Mapping 35 (5): 1981–96. doi:10.1002/hbm.22307.
Smith, Stephen M., Mark Jenkinson, Mark W. Woolrich, Christian F. Beckmann, Timothy E. J. Behrens, Heidi Johansen-Berg, Peter R. Bannister, et al. 2004. NeuroImage 23 (January): S208–19. doi:10.1016/j.neuroimage.2004.07.051.
Tottenham, Nim, James W. Tanaka, Andrew C. Leon, Thomas McCarry, Marcella Nurse, Todd A. Hare, David J. Marcus, Alissa Westerlund, Bj Casey, and Charles Nelson. 2009. Psychiatry Research 168 (3): 242–49. doi:10.1016/j.psychres.2008.05.006.
Wells, William M., Paul Viola, Hideki Atsumi, Shin Nakajima, and Ron Kikinis. 1996. Medical Image Analysis 1 (1): 35–51. doi:10.1016/S1361-8415(01)80004-9.
 

ABCD Study®, Teen Brains. Today’s Science. Brighter Future.® and the ABCD Study Logo are registered marks of the U.S. Department of Health & Human Services (HHS). Adolescent Brain Cognitive Development℠ Study is a service mark of the U.S. Department of Health & Human Services (HHS).