arXiv:2610.40277cs.HCOct 2026

Manuscript Offprint

arXiv:2610.40277

Towards fNIRS foundation models: A curated corpus of 67 public datasets with channel positions in MNI space

Santiago Posso-Murillo

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Brain foundation models have transformed medical artificial intelligence and computational neuroscience by reducing the reliance on task-specific data through large-scale pretraining. While they have been successful with non-invasive neuroimaging data, their adoption in functional near-infrared spectroscopy (fNIRS) has lagged due to the limited size and heterogeneity of public datasets, which are collected under varying protocols, devices, and sensor configurations. In addition, no single fNIRS dataset is comparable in size to the largest datasets in functional magnetic resonance imaging (fMRI), electroencephalography (EEG), or magnetoencephalography (MEG). The fNIRS datasets are also spread across different platforms and often have insufficient information, or lack the protocols that would make them easier to use. Given the advances in EEG foundation models that enable flexible modeling across diverse EEG montages, we curated 1,955 hours of fNIRS data from 67 public datasets spanning 2,798 participants, representing the largest fNIRS curation effort to date. The curated data include oxygenated (HbO) and deoxygenated (HbR) hemoglobin signals along with the three-dimensional position of every channel in the standard space of the Montreal Neurological Institute (MNI), which makes positions comparable across datasets. We release dataloaders that handle each dataset automatically, along with the minimal preprocessing pipeline used to prepare the data, at https://github.com/sposso/fnirs-datasets. This work aims to facilitate the future development of foundation models for fNIRS.

1 Introduction

fNIRS is a noninvasive neuroimaging technique that measures changes in cortical HbO and HbR, a hemodynamic proxy for neural activity [156]. Compared with fMRI, fNIRS is inexpensive, portable and has a higher temporal resolution. Compared with EEG, it is more robust to motion artifacts [141], which allows measurements during movement and in naturalistic settings [196]. fNIRS has been applied to stroke rehabilitation, Alzheimer's screening, pediatric developmental disorders, neonatal brain injury, psychiatric assessment, and the decoding of speech and movement [25, 33, 96, 103, 142, 143, 167, 178].

Over the years, we have witnessed the growth of foundation models across various domains that outperform traditional machine learning methods. A foundation model is defined as any model that is trained on broad data and learns generalizable representations that can be adapted to a wide range of downstream tasks [17]. This approach has driven groundbreaking progress in natural language processing [207], computer vision [8], medical imaging [123, 151], and recently in noninvasive neuroimaging techniques.

Preprint.

In EEG, several foundation models have been proposed [43, 87, 100, 188] and fine-tuned for seizure detection, emotion recognition, sleep staging and abnormality detection. Comparable models have been reported for fMRI [44, 135, 187], including one pretrained on more than 50,000 subjects that predicted 17 diagnoses across hospital cohorts from two countries [184]. Similar progress has followed in MEG [84, 105]. However, foundation models for fNIRS remain underexplored for several reasons.

First, public fNIRS datasets are heterogeneous. They differ in device, number of channels, probe layout and cortical coverage, they are acquired under diverse experimental paradigms, and many report the optode positions incompletely or not at all. Second, they are small. Of the more than 90 public datasets reviewed in this work, the median holds 18 h of recordings and the largest 265 h, whereas single EEG and fMRI datasets used to pretrain foundation models exceed 21,000 h [133] and 6,700 h [118]. Third, they are scattered across repositories, in different formats and with different levels of documentation.

Despite these limitations, a few fNIRS foundation models have been proposed. EFRM, a multimodal EEG–fNIRS model, was pretrained on about 1,250 h of recordings, of which 364 h were fNIRS [88]. Subedi et al. pretrained a model on recordings from one procedural setting with one probe layout [173]. GeoNIRS, the fNIRS foundation model pretrained on the most data to date, used 827 h from 22 datasets [104], less than 5% of the hours used to pretrain some EEG models [43].

To support the development of fNIRS foundation models, we reviewed more than 90 public fNIRS datasets and organized them in three groups. The first group is a pretraining corpus of 61 datasets, with 2,577 participants and 1,836 h of recordings, more than twice the largest pretraining set used for fNIRS to date [104]. The recordings come from laboratories in Asia, Europe, and North America and were acquired with continuous-wave instruments from diverse manufacturers. The probes range from sparse commercial arrays of a few channels to high-density diffuse optical tomography systems with hundreds of channels. The participants include infants, children and adults, healthy or with neurological conditions such as stroke, mild cognitive impairment (MCI), Parkinson's disease (PD) and Alzheimer's disease (AD). The paradigms cover seven categories: resting state, motor, cognitive, speech, visual, emotion and social interaction (Table 1). The second group holds six datasets held out for evaluation with 221 participants and 119 h of recordings (Table 2), taken from the downstream benchmark of GeoNIRS [104]. This allows future fNIRS foundation models to be evaluated on the same tasks.

All 67 datasets provide HbO and HbR signals and 3D optode positions placed in MNI space, which makes positions comparable across datasets (Section 2.3). The position criterion follows from the lack of a convention for naming fNIRS optodes. EEG electrodes carry the standardized names of the 10–20 system, which foundation models have used as a prior to learn the spatial information of each channel [87, 188]. However, fNIRS channels have no such names: a label such as S1–D1 is assigned per montage and refers to a different cortical region in each dataset. Recently, several EEG foundation models have instead used the physical location of the sensors to accommodate the heterogeneity of EEG montages, encoding the 3D coordinates of each electrode so that one model can process any montage [18, 43, 48, 52, 81]. The same strategy can be applied to fNIRS, where the coordinates are the only spatial reference across probe layouts. GeoNIRS is the first model to use it. It encodes the position of each channel, and removing or shuffling the coordinates reduced its accuracy [104]. Therefore, we included the 3D position of every channel in every curated dataset, which allows the montage-agnostic approach of EEG foundation models to be extended to fNIRS.

The third group holds 15 datasets that did not meet the inclusion criteria but provide both HbO and HbR and at least 2D optode coordinates: 13 with a 2D probe layout and 2 with 3D coordinates in an undocumented frame. We release their loaders as well, since they can serve models that do not require 3D positions or that can handle 2D and 3D coordinates together (Appendix C).

In summary, our contributions are:

• A large and diverse pretraining corpus of 61 public fNIRS datasets, 2,577 participants and 1,836 h, more than twice the largest pretraining set used for fNIRS to date (Table 1).

• Channel positions in a common space. Every channel of the corpus is given its position in MNI space (Section 2.3).

• A downstream benchmark of six held-out datasets with labeled epochs, covering three clinical groups and three experimental conditions (Section 3.1).

References (100)

Couldn't load all references. Reload the page to try again.