BIBSnet🔗

CircleCI dockerhub DOI documentation

We introduce BIBSNet (Baby and Infant Brain Segmentation Neural Network), an open-source, community-driven deep learning model. Provided as a BIDS App container, BIBSNet leverages data augmentation and a large, manually annotated infant dataset to produce robust and generalizable brain segmentations. The model outputs native-space brain segmentations, brain masks, and sidecar JSON files as BIDS derivatives.

BIBSnet Github Repository
BIBSnet dockerhub Repository


Background & Significance🔗

From Hendrickson et al. 2025:

Objectives: Brain segmentation of infant magnetic resonance (MR) images is vitally important in studying developmental mental health and disease. The infant brain undergoes many changes throughout the first years of postnatal life, making tissue segmentation difficult for most existing algorithms. Here, we introduce a deep neural network BIBSNet (Baby and Infant Brain Segmentation Neural Network), an open-source, community-driven model that relies on data augmentation and a large sample size of manually annotated images to facilitate the production of robust and generalizable brain segmentations.

Experimental Design: Included in model training and testing were MR brain images on 84 participants with an age range of 0-8 months (median postmenstrual ages of 13.57 months). Using manually annotated real and synthetic segmentation images, the model was trained using a 10-fold cross-validation procedure. Testing occurred on MRI data processed with the DCAN labs infant-ABCD-BIDS processing pipeline using segmentations produced from gold standard manual annotation, joint-label fusion (JLF), and BIBSNet to assess model performance.

Principal Observations: Using group analyses, results suggest that cortical metrics produced using BIBSNet segmentations outperforms JLF segmentations. Additionally, when analyzing individual differences, BIBSNet segmentations perform even better.

Conclusions: BIBSNet segmentation shows marked improvement over JLF segmentations across all age groups analyzed. The BIBSNet model is 600x faster compared to JLF and can be easily included in other processing pipelines.


BIBSNet Model Training🔗

Known Issue with v3.6.0 T1- and T2-only models

The training and test data used for T1-only model training included a mix of T1- and T2- based data. In addition, the T2-only model, while trained on T2-only data, was trained on a smaller portion of the available data. Please use the latest version of BIBSNet (v3.7.0) for which the models have been corrected.

The BIBSNet model was trained using the nnU-Net framework (Isensee et al., 2021) with a large dataset of manually corrected infant MRI brain tissue segmentations. To improve generalizability across scanners and acquisition protocols, data augmentation was performed using SynthSeg, generating 1,000 synthetic images per month age bin per modality (T1w/T2w).

Full methodological details, based on paired T1w and T2w inputs, are described in Hendrickson et al., 2025. In addition to the multimodal (T1w+T2w) model described in this publication, single-modality T1w-only and T2w-only models are also available. The appropriate model is automatically selected at runtime, depending on which modalities are present in the input data.

BIBSNet models are periodically retrained to incorporate new data spanning a wider range of ages and datasets. The details below describe the dataset composition used for the most recent model release (v3.7.0).

BIBSNet Model v3.7.0🔗

Training data for v3.7.0 include:

  • BCP data (0–8 months old), manually curated as part of the publicly available BOBs Repository (as described in Hendrickson et al., 2025, except with an expanded number of participants)
  • HBCD Study data (0–14 months old)
  • SynthSeg images for augmentation: 1,000 per month age bin per modality (N=9000 per modality for T1w+T2w model; N=13000 for T1w-only and T2w-only models)

Pipeline Workflow🔗

BIBSnet - Stages for MRI Processing

Stage 1 - PreBIBSnet🔗

Prepares the input T1-weighted and/or one T2-weighted structural MRI image(s) for BIBSNet:

  • T1w and T2w images are renamed to fit nnU-Net naming conventions (_0000 and _0001 respectively) and if there are multiple T1w or T2w, they are registered to the first run and averaged
  • The neck and shoulders are cropped from the average images using a SynthStrip-derived brain mask to identify the optimal axial cropping plane
  • T2w-to-T1w registration is performed via multiple workflows (either directly or following ACPC-alignment of both T1w and T2w), eta-squared is used to choose the optimal registration method, and the resulting best pair is fed into the next stage for segmentation

Stage 2 - BIBSnet🔗

Quickly and accurately segments an optimally-aligned T1 and T2 pair with a deep neural network trained via nnU-Net and SynthSeg with 0-8 month old infant MRI brain dataset.

Stage 3 - PostBIBSnet🔗

Transforms segmentation back to native space for both T1w and T2w, generates brain masks derived from the segmentation, and creates derivative outputs including sidecar jsons. The working directories for pre- through postBIBSNet are removed if user did not specify a working directory.


How to Cite🔗

Please acknowledge this work using the citation listed on the Zenodo page. There is a "Citation" section in the right-hand sidebar where you can select the citation format, e.g. APA style:

Houghton, A., Conan, G., Hendrickson, T. J., Alexopoulos, D., Goncalves, M., Koirala, S., Latham, A., Lee, E., Lundquist, J., Madison, T. J., Markiewicz, C. J., Moore, L. A., Moser, J., Reiners, P., Rueter, A., Barry J. Tikalsky, Fair, D. A., & Feczko, E. (2024). BIBSnet (3.4.2). Zenodo. https://doi.org/10.5281/zenodo.13743295

Please also acknowledge the associated publication for this tool:

Hendrickson TJ, Reiners P, Moore LA, Perrone AJ, Alexopoulos D, Lee E, Styner M, Kardan O, Chamberlain TA, Mummaneni A, Caldas HA, Bower B, Stoyell S, Martin T, Sung S, Fair E, Uriarte-Lopez J, Rueter AR, Rosenberg MD, Smyser CD, Elison JT, Graham A, Fair DA, Feczko E. (2025). BIBSNet: A Deep Learning Baby Image Brain Segmentation Network for MRI Scans. BioRxiv, 2023.03.22.533696. https://doi.org/10.1101/2023.03.22.533696