Manuscript Offprint
arXiv:2610.17845GeoNIRS: Geometry-Aware Pretraining for Heterogeneous fNIRS Representation Learning
ABSTRACT
Functional near-infrared spectroscopy (fNIRS) provides portable, low-cost, and spatially localized measurements of cortical hemodynamics, but substantial differences in channel count, probe layout, signal distribution, and task type hinder joint pretraining across datasets. We introduce GeoNIRS, a geometry-aware pretraining framework that uses the physical locations of source–detector pairs as a shared spatial reference across heterogeneous probe layouts. GeoNIRS compresses variable-size channel sets into a fixed-size latent representation and employs bidirectional HbO/HbR cross-reconstruction with contiguous temporal masking to learn transferable representations. GeoNIRS-base is pretrained on eight heterogeneous datasets, while GeoNIRS-large scales pretraining to 22 datasets. Neither the data nor labels of the downstream tasks are used during pretraining, enabling evaluation under a strict cross-task setting. To the best of our knowledge, GeoNIRS is the first fNIRS framework to explicitly model physical channel geometry during joint pretraining across heterogeneous channel configurations, and the first to provide both complete source code and downloadable pretrained checkpoints.
We evaluate GeoNIRS on eight held-out tasks spanning clinical and auditory assessment, pain and affective processing, semantic decoding, and motor function. GeoNIRS achieves the highest task-averaged balanced accuracy among the evaluated conventional machine-learning, fNIRS-specific, general time-series, and fNIRS pretraining baselines. Compared with random initialization, pretraining improves task-averaged balanced accuracy by 4.12 percentage points under linear probing and 3.30 points under full fine-tuning, with larger benefits when downstream labels are scarce. GeoNIRS also remains robust when input channels are missing. Geometry perturbations and pretraining ablations further demonstrate that both channel geometry and cross-chromophore reconstruction contribute to the learned representations. Overall, GeoNIRS provides an open and reproducible framework for transferable representation learning across heterogeneous fNIRS datasets. Our code and pretrained checkpoints are available at https://github.com/GeoNIRS/GeoNIRS
1 INTRODUCTION
Functional near-infrared spectroscopy (fNIRS) noninvasively measures changes in cortical oxygenated and deoxygenated hemoglobin (HbO/HbR), providing a hemodynamic proxy for neural activity (Ferrari & Quaresima, 2012; Scholkmann et al., 2014). Compared with functional magnetic resonance imaging, fNIRS is relatively inexpensive, portable, and silent, supporting bedside monitoring, measurements during movement, and experiments in naturalistic settings. Its spatially localized cortical signals also complement the high-temporal-resolution electrophysiological activity recorded by EEG (Pinti et al., 2020; Yücel et al., 2021). These properties have enabled appli-cations across cognitive and affective neuroscience, brain–computer interfaces, motor and neurorehabilitation research, and the assessment of neurological and psychiatric conditions (Obrig, 2014; Ehlis et al., 2014; Naseer & Hong, 2015; Mihara & Miyai, 2016). In the closely related EEG domain, neural foundation models and their benchmarking ecosystems are considerably more mature. OmniEEG-Bench and Meta FAIR's NeuralBench-EEG systematically evaluate pretrained models across multiple datasets, tasks, and standardized adaptation protocols (Lu et al., 2026; Banville et al., 2026). BENDR provided early evidence for large-scale self-supervised EEG pretraining, while LaBraM, EEGPT, BrainOmni, and REVE further demonstrated that aggregating unlabeled recordings across datasets, tasks, and acquisition systems can produce transferable neural representations (Kostas et al., 2021; Jiang et al., 2024; Wang et al., 2024a; Xiao et al., 2025; El Ouahidi et al., 2025). Such multi-dataset pretraining alleviates the limited scale of individual datasets while exposing models to variations in populations, paradigms, and acquisition systems, thereby facilitating transfer to unseen tasks and label-scarce settings. Extending this paradigm to heterogeneous fNIRS datasets is therefore an important step from dataset-specific decoding toward general-purpose neural representation learning.
Conventional fNIRS decoding remains largely dataset-specific and supervised, ranging from handcrafted HbO/HbR features with LDA or SVM to fNIRS-specific deep networks (Naseer et al., 2016a;b; Wang et al., 2022; 2023; 2026b). These methods are typically trained separately under fixed probe layouts and label spaces, preventing joint learning from heterogeneous unlabeled data. Extending multi-dataset pretraining to fNIRS presents two key challenges. First, channel semantics vary across probe layouts: the same channel index may correspond to different cortical locations, while the same region may be covered by different channels. Variable-channel support alone therefore cannot establish cross-layout spatial correspondence. Second, designing a non-trivial pretraining objective is difficult. Slowly varying hemodynamic signals make within-signal masked reconstruction susceptible to temporal interpolation (Scholkmann et al., 2014; Zhou et al., 2026). Self-reconstruction within each chromophore may primarily capture modality-specific signal structure. In contrast, cross-chromophore reconstruction encourages the model to leverage the shared physiological information between HbO and HbR, promoting more transferable representations (Cui et al., 2010). As shown in Table 13, existing methods address only parts of these challenges. Early approaches use a single dataset or train separately across datasets (Liu et al., 2021; Wang et al., 2021; 2024b). Jung et al. jointly pretrain across varying channel counts but do not model physical channel geometry (Jung et al., 2025); EFRM uses only one fNIRS dataset (Jung & An, 2025); and Subedi et al. assume a shared probe configuration and require supervised adaptation to new layouts (Subedi et al., 2026). ASDGPrompt and DSSER likewise do not perform joint multi-dataset pretraining (Cai et al., 2026; Wang et al., 2026a). Thus, existing work has yet to jointly address cross-layout spatial unification and physiologically grounded pretraining, while reproducibility remains limited by the scarcity of complete source code and downloadable pretrained checkpoints.
The design of our work is inspired by recent advances in EEG foundation models and physiological signal pretraining. First, BrainOmni shows that incorporating the physical properties of sensors into representation learning and compressing a variable number of sensor inputs into a fixed-size latent representation can mitigate structural differences across acquisition systems (Xiao et al., 2025). Second, xMAE performs masked cross-modal reconstruction between synchronously recorded ECG and PPG signals, demonstrating that predicting masked signals from related physiological observations can reduce reliance on local temporal smoothness (Zhou et al., 2026). However, each fNIRS channel is defined by a source–detector pair, while HbO and HbR are coupled but non-equivalent hemodynamic observations within the same modality (Cui et al., 2010). These ideas must therefore be redesigned for fNIRS to unify heterogeneous probe layouts and learn the hemodynamic structure shared between HbO and HbR.
Building on these ideas, we propose GeoNIRS, a geometry-aware pretraining framework for heterogeneous fNIRS data. GeoNIRS explicitly encodes source–detector geometry and compresses variable-size channel sets from heterogeneous probe layouts into a fixed-size latent representation. It is pretrained via bidirectional HbO/HbR cross-reconstruction with contiguous temporal masking, encouraging the model to capture shared hemodynamic structure while reducing reliance on local temporal interpolation. GeoNIRS-base is pretrained on 383.30 hours of recordings across eight datasets, while GeoNIRS-large scales pretraining to 827.04 hours across 22 datasets. To the best of our knowledge, GeoNIRS is the first fNIRS framework to explicitly incorporate physical channel geometry for joint pretraining across heterogeneous probe layouts, and the first to release both

Figure 1: Overview of the GeoNIRS framework. HbO/HbR signals from datasets with varying channel counts and probe layouts are divided into temporal patches and encoded alongside source-detector geometry. The geometry-aware channel compressor uses learnable latent queries and shared geometry-aware channel attention to map variable-size physical channel sets into a fixed number of latent-channel tokens. Pretraining employs bidirectional cross-chromophore reconstruction: contiguous patches of the target chromophore are masked and reconstructed using its visible context together with the complete complementary chromophore. The reconstruction loss is computed only at masked and valid target positions. After pretraining, the encoder and channel compressor are used for downstream adaptation.
complete source code and downloadable pretrained checkpoints. Across eight held-out downstream tasks, GeoNIRS achieves the strongest task-averaged performance among the evaluated methods. Compared with random initialization, pretraining improves average balanced accuracy by 4.12 percentage points under linear probing and 3.30 percentage points under full fine-tuning. Further experiments show larger pretraining gains in low-label regimes, robustness to missing channels, and task-averaged benefits from channel geometry and cross-chromophore reconstruction across all three adaptation protocols.
2.1 OVERVIEW
As shown in Figure 1, GeoNIRS processes paired HbO/HbR signals and source-detector geometry from datasets with varying channel counts and probe layouts. Separate temporal encoders represent the two chromophores, while a geometry-aware channel compressor maps each dataset-specific physical-channel set into a fixed number of latent-channel tokens. Pretraining masks contiguous patches of one chromophore and reconstructs them using its visible context together with the complete complementary chromophore, with the two reconstruction directions optimized jointly. After pretraining, the reconstruction decoders are discarded and the fixed-length representations are adapted through linear probing, LoRA, or full fine-tuning.
2.2 TEMPORAL AND GEOMETRIC REPRESENTATIONS
For a recording from dataset , we denote the paired chromophore signals as , where is the dataset-specific number of physical channels and may vary across datasets. Along the temporal dimension, each channel is divided into non-overlapping patches, each containing samples. Every patch is projected into a -dimensional token and augmented with a learnable temporal positional embedding. Separate HbO and HbR temporal encoders then model the token sequence within each physical channel, producing . Because each temporal encoder is applied independently to all channels with weights shared across channels, the model does not require a fixed . Samples and channels rejected during preprocessing quality control, together with patches containing insufficient valid samples, are excluded using validity masks.
2.3 GEOMETRY-AWARE CHANNEL COMPRESSION
To transform variable-size physical channel sets into fixed-length representations, we introduce learnable latent queries, denoted by . For the -th temporal patch, the paired HbO and HbR representations are first fused as
The latent queries are projected into queries, while the fused temporal representations and channel geometry jointly form the keys:
where denotes the channel representations produced by the geometry encoder. The attention weights from the fixed latent channels to the current physical channel set are then computed as
where is the attention-head dimension. Invalid channels are masked before the softmax operation. HbO and HbR share the same attention weights but retain separate value representations:
This design gives both chromophores a shared spatial mapping determined jointly by their paired signals and physical geometry, while preserving their chromophore-specific content. After an output projection and a feed-forward block, the representations across all temporal patches form , , where denotes the output feature dimension.
2.4 BIDIRECTIONAL CROSS-CHROMOPHORE RECONSTRUCTION
GeoNIRS employs asymmetric bidirectional cross-chromophore reconstruction. For each recording, a contiguous span of valid temporal patches, denoted by , is randomly selected as the reconstruction target. In the HbO→HbR direction, HbO remains fully visible while the HbR patches within are masked. The two streams jointly determine the geometry-aware channel attention, while the complete HbO representation provides the values to be aggregated. The reverse direction uses the same target span, keeps HbR fully visible, and masks the corresponding HbO patches. The compact representations for the two directions are
where denotes a temporally masked target representation, is the geometry-aware channel attention defined above, and is a chromophore-specific residual projection that maps the feature dimension from to without mixing latent channels or temporal patches. The visible context of the target chromophore therefore contributes to channel-attention estimation, while the complete complementary chromophore supplies the reconstruction content. Contiguous masking further reduces reliance on local temporal interpolation.
The cross-chromophore decoders map the fixed latent-channel representations back to the physical channels of each dataset. For physical channel and temporal patch , the decoder query combines the channel geometry, a temporal positional embedding, and a learnable bias:
These queries retrieve reconstruction features from the corresponding latent tokens through cross-attention. A channel-wise temporal decoder and reconstruction head then produce the original signal patches:
Table 1: Cross-task fNIRS decoding performance measured by balanced accuracy (%). Results are averaged over two random seeds, with subject-level five-fold cross-validation performed for each seed. The best and second-best results in each column are highlighted in bold and underline, respectively.
| Method | ICH | CI Status | Tinnitus | Pain Intensity | Emotion | Semantic | Motor Recovery | Action Mode | Average |
|---|---|---|---|---|---|---|---|---|---|
| RBF-SVM (2016b) | 74.83 | 64.14 | 55.65 | 52.84 | 56.01 | 50.36 | 57.82 | 59.65 | 58.91 |
| Stat-LDA (2016a) | 51.55 | 53.09 | 51.53 | 54.66 | 59.38 | 50.61 | 62.40 | 65.94 | 56.14 |
| 1D-CNN (2018) | 66.42 | 57.67 | 56.88 | 50.60 | 58.09 | 50.63 | 55.63 | 56.14 | 56.51 |
| EEGNet (2018) | 56.35 | 49.68 | 51.12 | 49.92 | 52.68 | 49.85 | 59.74 | 65.00 | 54.29 |
| fNIRS-T (2022) | 72.25 | 64.19 | 52.05 | 52.90 | 55.63 | 50.61 | 64.41 | 70.87 | 60.36 |
| fNIRSNet (2023) | 52.05 | 48.69 | 50.00 | 50.00 | 49.93 | 50.00 | 55.37 | 50.00 | 50.75 |
| fNIRS4D (2026b) | 75.71 | 51.40 | 49.98 | 51.79 | 55.33 | 50.19 | 57.82 | 69.11 | 57.67 |
| MOMENT-LP (2024) | 73.93 | 60.48 | 54.29 | 54.43 | 55.69 | 50.17 | 60.83 | 70.12 | 59.99 |
| MOMENT-LoRA (2024) | 72.16 | 62.10 | 53.47 | 53.95 | 55.03 | 50.20 | 63.28 | 71.12 | 60.17 |
| Jung-MAE-LP (2025) | 72.21 | 65.45 | 51.76 | 55.22 | 58.14 | 51.48 | 62.24 | 68.98 | 60.68 |
| Jung-MAE-LoRA (2025) | 77.52 | 64.12 | 54.85 | 54.73 | 57.39 | 50.72 | 64.19 | 70.31 | 61.73 |
| GeoNIRS-LP (ours) | 77.82 | 68.06 | 58.70 | 56.19 | 58.23 | 50.93 | 64.27 | 70.29 | 63.06 |
| GeoNIRS-LoRA (ours) | 80.10 | 69.53 | 58.72 | 54.36 | 59.15 | 51.22 | 63.92 | 70.34 | 63.42 |
| GeoNIRS-FT (ours) | 80.86 | 69.19 | 57.70 | 54.70 | 59.13 | 51.03 | 64.75 | 70.99 | 63.54 |
Note: ICH denotes intracerebral hemorrhage, and CI denotes cochlear implant. MOMENT-LP and MOMENT-LoRA both use the MOMENT-1-base backbone. Jung-MAE denotes our Jung-inspired MAE implementation. Average performance is computed equally across all eight tasks.
Because the physical-channel queries are constructed from the corresponding geometry, the same decoder can generate channel-specific reconstructions for datasets with different channel counts and probe layouts.
Each reconstruction direction is optimized using complementary time- and frequency-domain objectives:
Here, measures the time-domain absolute error, while and measure the Fourier-amplitude error and circular phase discrepancy, respectively. All terms are computed only over target samples that are both masked and valid after quality control. The final pretraining objective averages the two reconstruction directions:
2.5 DOWNSTREAM ADAPTATION
During downstream adaptation, temporal masking is disabled and the reconstruction decoders are discarded. The complete HbO/HbR signals and their channel geometry are processed by the pretrained temporal encoders, geometry encoder, and channel compressor, producing fixed-length representations . The two chromophore representations are then concatenated along the feature dimension:
and passed to a task-specific prediction head. For linear probing, the pretrained backbone is frozen and only the prediction head is trained. LoRA updates the low-rank adaptation parameters and prediction head, whereas full fine-tuning jointly updates the entire pretrained backbone and downstream head.
3 EXPERIMENTS
We conduct experiments to answer six questions: (1) whether GeoNIRS outperforms existing methods on downstream fNIRS tasks that are unseen during pretraining; (2) whether its downstream gains arise from pretraining rather than the model architecture alone; (3) whether pretraining improves transfer when downstream labels are scarce; (4) whether geometry-aware representations remain robust when input channels are missing; (5) how channel geometry and cross-chromophore reconstruction contribute to the learned representations; and (6) how performance changes when scaling model capacity and pretraining data. We first describe the experimental setup and then present cross-task benchmarking, random-initialization controls, label-efficient adaptation, channel-loss robustness, and component ablations.
3.1 EXPERIMENTAL SETUP
Pretraining data. Our dataset inventory comprises 30 fNIRS datasets, of which 22 are used for pretraining and eight are held out exclusively for downstream evaluation. GeoNIRS-base is pretrained on eight datasets spanning cognitive and executive functions, social interaction, naturalistic stimulation, and functional localization. GeoNIRS-large extends this corpus with 14 additional datasets, resulting in a total of 22 pretraining datasets. Dataset-level descriptions, statistics, and references are provided in Supplementary Table 1.
The complete 22-dataset pretraining corpus contains 3,578 recordings totaling 827.04 hours and yields 93,726 30-s windows after preprocessing. All windows are resampled to 5 Hz. The datasets vary substantially in participant population, channel count, probe layout, acquisition system, and experimental paradigm. None of the eight downstream datasets is included in either pretraining corpus. Unless otherwise specified, GeoNIRS refers to GeoNIRS-base; results for GeoNIRS-large are reported in Appendix E.2.
Downstream tasks. We evaluate GeoNIRS on eight held-out binary classification tasks spanning clinical and auditory assessment, pain and affective processing, semantic decoding, and motor function. All experiments follow a cross-subject setting: each participant is assigned exclusively to the training, validation, or test set, and all compared methods use identical subject assignments. Input-window duration is configured separately for each task according to its experimental paradigm. Complete task definitions, references, and dataset statistics are provided in Appendix A.
Baselines. We compare GeoNIRS against four groups of baselines. First, conventional machine-learning approaches include an RBF-SVM (Naseer et al., 2016b) and statistical-feature LDA (Naseer et al., 2016a). Second, supervised neural baselines include 1D-CNN (Trakoolwilaiwan et al., 2018), EEGNet (Lawhern et al., 2018), fNIRS-T (Wang et al., 2022), fNIRSNet (Wang et al., 2023), and fNIRS4D (Wang et al., 2026b). Third, MOMENT-1-base (Goswami et al., 2024) serves as a general-purpose pretrained time-series baseline and is evaluated using linear probing and LoRA. Fourth, we evaluate a paper-guided implementation of the multi-dataset fNIRS pretraining framework of Jung et al. (2025), denoted as Jung-inspired MAE. To accommodate heterogeneous channel counts, Jung-inspired MAE uses channel-independent encoding with shared parameters but does not model physical channel geometry. All methods use the same task-specific input windows and cross-subject splits. Implementation details are provided in Appendix B, while the capabilities and availability of existing fNIRS pretraining methods are summarized in Table 13.
Adaptation protocols. We evaluate GeoNIRS under three downstream adaptation protocols. For linear probing (LP), the pretrained backbone is frozen and only a task-specific classification head is optimized. For low-rank adaptation (LoRA), low-rank trainable matrices are introduced into the encoder, while the remaining pretrained parameters are kept frozen. For full fine-tuning (FT), the entire backbone and classification head are jointly optimized. All three protocols use identical subject splits within each downstream task. The label-efficiency and channel-loss experiments use full fine-tuning. MOMENT-LP and MOMENT-LoRA both use the publicly released MOMENT-1-base backbone.
Evaluation protocol. We perform subject-level five-fold cross-validation, such that subjects in the test fold are never observed during downstream training or model selection. Within each fold,
Table 2: Effect of fNIRS pretraining on downstream transfer performance across eight tasks. Results are reported as balanced accuracy (%). denotes the absolute improvement brought by pretraining, calculated as Pretrained minus Random Init in percentage points.
| Downstream Task | Linear Probing | Full Fine-Tuning | ||||||
|---|---|---|---|---|---|---|---|---|
| Random Init | Pretrained | (pp) | (pp) | Random Init | Pretrained | (pp) | (pp) | |
| ICH | 71.68 | 77.82 | +6.14 | +6.72 | 75.18 | 80.86 | +5.68 | +5.13 |
| CI Status | 64.32 | 68.06 | +3.74 | +5.03 | 66.50 | 69.19 | +2.69 | +2.46 |
| Tinnitus | 53.31 | 58.70 | +5.39 | +10.17 | 51.85 | 57.70 | +5.85 | +8.96 |
| Pain Intensity | 52.33 | 56.19 | +3.86 | +3.34 | 52.40 | 54.70 | +2.30 | +0.07 |
| Emotion | 54.68 | 58.23 | +3.55 | +4.43 | 54.66 | 59.13 | +4.47 | +6.63 |
| Semantic | 49.55 | 50.93 | +1.38 | +1.43 | 51.52 | 51.03 | -0.49 | -1.15 |
| Motor Recovery | 60.33 | 64.27 | +3.94 | +5.56 | 63.14 | 64.75 | +1.61 | +3.52 |
| Action Mode | 65.30 | 70.29 | +4.99 | +7.14 | 66.72 | 70.99 | +4.27 | +6.09 |
| Average | 58.94 | 63.06 | +4.12 | +5.48 | 60.25 | 63.54 | +3.30 | +3.96 |
the remaining subjects are randomly divided into training and validation sets. Each experiment is repeated with two random seeds, 810 and 811, and the reported results are averaged across folds and seeds. Balanced accuracy is used as the primary evaluation metric because several datasets exhibit class imbalance. AUROC and macro-F1 are additionally reported in the pretraining-control experiments and in the supplementary results. Task-averaged results assign equal weight to each of the eight downstream tasks, irrespective of their number of participants or windows.
Complete implementation details are provided in Appendix B.
3.2 CROSS-TASK DOWNSTREAM PERFORMANCE
Table 1 reports balanced accuracy across the eight held-out downstream tasks. The three GeoNIRS adaptation variants achieve the highest overall averages among all evaluated methods: 63.54 for full fine-tuning, 63.42 for LoRA, and 63.06 for linear probing, compared with 61.73 for the strongest non-GeoNIRS baseline. Notably, linear probing already surpasses all baselines while keeping the pretrained backbone frozen, indicating that GeoNIRS learns representations that transfer directly across datasets and tasks. LoRA performs within 0.12 percentage points of full fine-tuning, showing that competitive transfer can also be achieved through parameter-efficient adaptation. The largest margins over the strongest non-GeoNIRS results occur on CI Status and ICH, where GeoNIRS improves balanced accuracy by 4.08 and 3.34 percentage points, respectively. GeoNIRS also ranks first on Tinnitus, Pain Intensity, and Motor Recovery, and second on Emotion, Semantic, and Action Mode. These results demonstrate broad cross-dataset transfer rather than an improvement driven by a single downstream dataset.
3.3 EFFECT OF PRETRAINING
Table 2 isolates the contribution of pretraining by comparing GeoNIRS with an otherwise identical randomly initialized counterpart. Under linear probing, pretraining improves average balanced accuracy by 4.12 percentage points and AUROC by 5.48 points, with positive gains across all eight tasks. Under full fine-tuning, the corresponding average gains are 3.30 and 3.96 points, respectively.
The larger gain under linear probing is expected because the frozen backbone more directly reflects representation quality, whereas full fine-tuning can partially compensate for random initialization using downstream labels. Because the compared models share the same architecture, data splits, and adaptation protocol, the observed gains can be attributed to pretraining rather than model capacity.
3.4 LABEL-EFFICIENT ADAPTATION
We next examine whether pretraining improves downstream adaptation when labeled data are scarce. GeoNIRS-FT is trained using class-balanced, nested subsets containing , , , or of


Figure 2: Label-efficient downstream adaptation averaged equally across eight tasks. (a) Balanced accuracy of pretrained GeoNIRS-FT, its randomly initialized counterpart, and the strongest non-GeoNIRS baseline at each training-label ratio. The baseline is selected separately at each ratio according to its mean balanced accuracy across the eight tasks. (b) Absolute performance gains of GeoNIRS-FT over random initialization and the selected non-GeoNIRS baseline.


Figure 3: Channel-loss robustness averaged equally across eight downstream tasks. (a) Balanced accuracy of GeoNIRS-FT and the strongest non-GeoNIRS baseline under fixed and random channel loss. The baseline is selected separately for each condition by its mean balanced accuracy across the eight tasks. (b) Absolute performance gains of GeoNIRS-FT over the selected baseline. Channel loss is applied only during inference; all models are trained with complete channel inputs.
the training data, while the validation and test sets remain unchanged. Figure 2 compares pretrained GeoNIRS-FT with its randomly initialized counterpart and the strongest non-GeoNIRS baseline at each label ratio, selected by mean balanced accuracy across the eight tasks.
GeoNIRS-FT achieves the highest task-averaged accuracy at all four label ratios. Its gain over random initialization is 4.72 percentage points with 10% labels and 3.30 points with the complete training set. Its gains over the strongest non-GeoNIRS baseline are 3.02, 3.20, 1.78, and 1.81 points at 10%, 25%, 50%, and 100% labels, respectively. These results indicate that pretraining remains beneficial when downstream supervision is limited.
3.5 CHANNEL ROBUSTNESS
We evaluate robustness to missing channels by removing 10%, 25%, or 50% of the inputs only during inference. Under fixed channel loss, the same predefined subset of channels is removed in every run; under random channel loss, a new subset is sampled independently for each seed. All models are trained using complete channel inputs.
As shown in Figure 3, GeoNIRS-FT remains stable under both settings. At 50% channel loss, its balanced accuracy decreases by 1.22 points under fixed loss and 1.70 points under random loss. Its advantage over the strongest non-GeoNIRS baseline in each condition increases from 1.81 points with complete channels to 5.62 and 4.99 points under fixed and random 50% channel loss, respectively. These results are consistent with the geometry-aware design of GeoNIRS, which may help the model use spatially related measurements when some channels are unavailable. Similar trends across full fine-tuning, LoRA, and linear probing are reported in Supplementary Table 17.
Table 3: Effect of perturbing channel geometry during downstream inference, averaged equally across eight tasks. Results are reported as balanced accuracy (%), together with the absolute gains in balanced accuracy over competing baselines under geometry perturbation. Standard deviations are obtained by pooling task-level within-task variances.
| Adaptation | Normal | Zeros | Shuffle | Zeros Δ (pp) | Shuffle Δ (pp) |
|---|---|---|---|---|---|
| Full Fine-Tuning | |||||
| LoRA | |||||
| Linear Probing | |||||
| Average |
Table 4: Ablation study of the proposed pretraining components, averaged equally across eight downstream tasks. Results are reported as balanced accuracy (%). Δ denotes the change relative to GeoNIRS in percentage points.
| Pretraining Variant | Full Fine-Tuning | LoRA | Linear Probing | Average | ||||
|---|---|---|---|---|---|---|---|---|
| BA | Δ | BA | Δ | BA | Δ | BA | Δ | |
| GeoNIRS | 63.54 | - | 63.42 | - | 63.06 | - | 63.34 | - |
| w/o Geometry | 60.93 | 60.19 | 59.97 | 60.36 | ||||
| Self-Reconstruction | 62.29 | 61.46 | 61.53 | 61.76 | ||||
3.6 ABLATION STUDIES
Geometry perturbation after pretraining. We perturb only the channel coordinates during downstream inference while keeping the pretrained weights and fNIRS signals unchanged. Coordinates are either replaced with zeros or randomly shuffled across channels. These perturbations reduce average balanced accuracy by 2.34 and 3.24 percentage points, respectively, across the three adaptation protocols (Table 3). The larger reduction under shuffling indicates that incorrect channel-location correspondence is more harmful than removing geometry entirely.
Pretraining components. We retrain two variants using the same pretraining data and downstream protocols. The w/o Geometry variant removes channel-coordinate encoding, whereas Self-Reconstruction masks the same temporal segments in HbO and HbR and reconstructs each chromophore from its own visible context. As shown in Table 4, the two variants reduce average balanced accuracy by 2.98 and 1.58 percentage points, respectively, with consistent degradation across full fine-tuning, LoRA, and linear probing.
4 CONCLUSION
We introduced GeoNIRS, a geometry-aware framework for joint pretraining across fNIRS datasets with heterogeneous channel counts and probe layouts. GeoNIRS uses source–detector geometry to establish cross-layout spatial correspondence, compresses variable channel sets into fixed latent representations, and learns from paired HbO/HbR signals through bidirectional cross-chromophore reconstruction. Across eight held-out downstream datasets, GeoNIRS achieves the strongest task-averaged performance among the evaluated methods and maintains its advantages under linear probing, limited-label adaptation, and missing-channel conditions. The perturbation and ablation results further confirm the contributions of channel geometry and cross-chromophore reconstruction. These findings provide a practical and reproducible foundation for representation learning across heterogeneous fNIRS datasets.
AI USE STATEMENT
In this work, we used generative AI tools to assist with the implementation of parts of the proposed method and with translation. We have not used generative AI tools for designing the proposed methodology or experiments, formulating hypotheses, interpreting experimental results, data cleaning or reformatting, and task related to synthetic data generation, mathematical proofs or conclusions, theoretical or conceptual framework development, and qualitative or thematic analysis are not applicable to this work. Additionally, we used generative AI tools for general software development assistance, searching for publicly available datasets, and language polishing to improve readability. We have reviewed all AI-assisted work. All AI-assisted code and text were manually reviewed and verified by the authors. AI-assisted code used in the experiments was tested for correctness, and datasets suggested through AI-assisted search were verified against their original sources.
ETHICS STATEMENT
This work uses publicly available datasets released by previous studies. No new human subjects were recruited, and no additional experiments or data collection were conducted in this work. We only used publicly accessible and anonymized datasets in accordance with their respective data usage policies. This study does not involve the collection or processing of personally identifiable information.
REPRODUCIBILITY STATEMENT
REPRODUCIBILITY STATEMENT
We provide detailed descriptions of the datasets, preprocessing procedures, model architecture, training settings, and evaluation protocols in the main paper and appendix. All datasets used in this work are publicly available. The complete source code, experiment configurations, and pretrained checkpoints are publicly available at https://github.com/GeoNIRS/GeoNIRS.
REFERENCES
Zaineb Ajra, Grégoire Vergotte, Stéphane Perrey, Lilian Evra, Simon Pla, Gérard Dray, Jacky Montmain, and Binbin Xu. Multimodal dataset from the CMx7-MM Experiment. OpenNeuro, 2026. URL https://doi.org/10.18112/openneuro.ds007554.v1.0.0. Dataset, version 1.0.0.
Jessica E. Anderson, Laura B. Carlton, Sreekanth Kura, Walker J. O'Brien, De'Ja Rogers, Parisa Rahimi, Parya Y. Farzam, Muhammad H. Zaman, David A. Boas, and Meryem A. Yücel. High-density multidistance fNIRS enhances detection of brain activity during a word-color Stroop task. Neurophotonics, 12(3):035010, 2025. doi: 10.1117/1.NPh.12.3.035010. URL https://doi.org/10.1117/1.NPh.12.3.035010.
Gemma Bale, John O'Brien, and Emilia Butters. Cambridge_data. OpenNeuro, 2026. URL https://doi.org/10.18112/openneuro.ds007714.v1.0.0. Dataset, version 1.0.0.
András Bálint, Wilhelm Wimmer, Christian Rummel, Marco Caversaccio, and Stefan Weder. An fNIRS dataset for Multimodal Speech Comprehension in Normal Hearing Individuals and Cochlear Implant Users. Scientific Data, 12(1):1305, 2025. doi: 10.1038/s41597-025-05654-w. URL https://doi.org/10.1038/s41597-025-05654-w.
Hubert Banville, Stéphane d'Ascoli, Simon Dahan, Jérémie Rapin, Marlène Careil, Yohann Benchetrit, Jarod Lévy, Saarang Panchavati, Antoine Ratouchniak, Mingfang (Lucy) Zhang, Elisa Cascardi, Katelyn Begany, Teon Brooks, and Jean-Rémi King. Neuralbench: A unifying framework to benchmark neuroai models, 2026. URL https://arxiv.org/abs/2605.08495.
Emilia Butters, Gemma Bale, and John O'Brien. Cambridge_data_resting. OpenNeuro, 2026. URL https://doi.org/10.18112/openneuro.ds007719.v1.0.0. Dataset, version 1.0.0.
Jingwen Cai, Xi Zeng, and Jun Li. Asdgprompt: Autism spectrum disorder classification with spontaneous fnirs signals based on graph prompt learning. Biomedical Signal Processing and Control, 127:111055, 2026.
Yanan Chen, Huihui Niu, Na Ao, Jingwen Xu, Qiyue Ming, Xiyue Teng, Bo Yang, Ziyi Lian, Xiaowei Jiang, and Yunkai Yang. An fNIRS hyperscanning dataset on the modulation of synchrony by social relationship during social touch. Scientific Data, 12(1):1975, 2025. doi: 10.1038/s41597-025-06233-9. URL https://doi.org/10.1038/s41597-025-06233-9.
Xu Cui, Signe Bray, and Allan L Reiss. Functional near infrared spectroscopy (nirs) signal improvement based on negative correlation between oxygenated and deoxygenated hemoglobin dynamics. Neuroimage, 49(4):3039–3046, 2010.
Julien Dubois, Ryan M. Field, Sami Jawhar, Erin M. Koch, Zahra M. Aghajan, Naomi Miller, Katherine L. Perdue, and Moriah Taylor. Reliability of brain metrics derived from a Time-Domain Functional Near-Infrared Spectroscopy System. Scientific Reports, 14(1):17500, 2024. doi: 10.1038/s41598-024-68555-9. URL https://doi.org/10.1038/s41598-024-68555-9.
Keith Kawabata Duncan, Ippeita Dan, Keiko Tagai, Chiho Sato, and Tatsuya Tokuda. fNIRS dataset recorded during real use of a cosmetic product. figshare, 2018. URL https://doi.org/10.6084/m9.figshare.7409834. Dataset.
Sudan Duwadi, De'Ja Rogers, Alex D. Boyd, Laura B. Carlton, Yiwen Zhang, Anna Kawai Gaona, Aneesa Diya Pathiyaparambath, Ravin Chaudhury, Bernhard B Zimmermann, Walker J O'Brien, Alexander von Lühmann, David A. Boas, Meryem A. Yücel, and Kamal Sen. Whole-Head Cocktail Party fNIRS. OpenNeuro, 2026. URL https://doi.org/10.18112/openneuro.ds007738.v1.0.0. Dataset, version 1.0.0.
Ann-Christine Ehlis, Sabrina Schneider, Thomas Dresler, and Andreas J Fallgatter. Application of functional near-infrared spectroscopy in psychiatry. Neuroimage, 85:478–488, 2014.
Yassine El Ouahidi, Jonathan Lys, Philipp Thölke, Nicolas Farrugia, Bastien Pasde-loup, Vincent Gripon, Karim Jerbi, and Giulia Lioi. Reve: A foundation model for eeg - adapting to any setup with large-scale pretraining on 25,000 subjects. In D. Belgrave, C. Zhang, H. Lin, R. Pascanu, P. Koniusz, M. Ghassemi, and N. Chen (eds.), Advances in Neural Information Processing Systems, volume 38, Main Conference, pp. 22541–22577. Curran Associates, Inc., 2025. doi: 10.52202/085713-0760. URL https://proceedings.neurips.cc/paper_files/paper/2025/file/20a917f77773ac0fa8bea2bdd6606b66-Paper-Conference.pdf.
Marco Ferrari and Valentina Quaresima. A brief review on the history of human functional near-infrared spectroscopy (fnirs) development and fields of application. Neuroimage, 63(2):921–935, 2012.
Morgan Fogarty, Sean M. Rafferty, Zachary E. Markow, Anthony C. O'Sullivan, Calamity F. Svoboda, Tessa George, Kelsey King, Dana Wilhelm, Kalyan Tripathy, Emily M. Mugler, Stephanie Naufel, Allen Yin, Jason W. Trobaugh, Adam T. Eggebrecht, Edward J. Richter, and Joseph P. Culver. Very-High-Density Diffuse Optical Tomography System Validation Dataset. OpenNeuro, 2026a. URL https://doi.org/10.18112/openneuro.ds007463.v1.1.1. Dataset, version 1.1.1.
Morgan Fogarty, Kalyan Tripathy, Alexandra M Svoboda, Mariel L Schroeder, Sean M Rafferty, Edward J Richter, Christopher Tracy, Patricia K Mansfield, Madison Booth, Andrew K Fishell, Arefeh Sherafati, Zachary E Markow, Muriah D Wheelock, Ana Maria Arbelaez, Bradley L Schlaggar, Christopher D Smyser, Adam T Eggebrecht, and Joseph P Culver. High-Density Diffuse Optical Tomography Audiovisual Movie Viewing Dataset. OpenNeuro, 2026b. URL https://doi.org/10.18112/openneuro.ds007473.v1.0.0. Dataset, version 1.0.0.
Michelle Goodrick, Daniel Eduardo Limón Cano, and Edgar Guevara. Multimodal Dataset of a 30-Day Yoga Intervention: fNIRS, Biochemical, Postural, and Subjective Outcomes. Zenodo, 2026. URL https://doi.org/10.5281/zenodo.20560768. Dataset, version 1.0.0.
Mononito Goswami, Konrad Szafer, Arjun Choudhry, Yifu Cai, Shuo Li, and Artur Dubrawski. MOMENT: A family of open time-series foundation models. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pp. 16115–16152. PMLR, 2024.
Edgar Guevara, Francisco Javier Rivas-Ruvalcaba, Eleazar Samuel Kolosovas-Machuca, Miguel Ramírez-Elías, Ramón Díaz de León Zapata, Jose Luis Ramirez-GarciaLuna, and Ildefonso Rodríguez-Leyva. Parkinson's disease patients show delayed hemodynamic changes in primary motor cortex in fine motor tasks and decreased resting-state interhemispheric functional connectivity: a functional near-infrared spectroscopy study. Neurophotonics, 11(2):025004, 2024. doi: 10.1117/1.NPh.11.2.025004. URL https://doi.org/10.1117/1.NPh.11.2.025004.
Yinying Hu, Yuqi Liu, Yuting Hou, Yafeng Pan, and Xiangping Gao. Dataset of natural conversations about appearance using fNIRS. Scientific Data, 12(1):1486, 2025. doi: 10.1038/s41597-025-05574-9. URL https://doi.org/10.1038/s41597-025-05574-9.
Mikhail R. Isaev, Olesya A. Mokienko, Roman Kh. Lyukmanov, Ekaterina S. Ikonnikova, Anastasiia N. Cherkasova, Natalia A. Suponeva, Michael A. Piradov, and Pavel D. Bobrov. A multiple session dataset of NIRS recordings from stroke patients controlling brain–computer interface. Scientific Data, 11(1):1168, 2024. doi: 10.1038/s41597-024-04012-6. URL https://doi.org/10.1038/s41597-024-04012-6.
Wei-Bang Jiang, Liming Zhao, and Bao-Liang Lu. Large brain model for learning generic representations with tremendous eeg data in bci. In International Conference on Learning Representations, volume 2024, pp. 16405–16426, 2024.
Euijin Jung and Jinung An. Efrm: A multimodal eeg–fnirs representation-learning model for few-shot brain-signal classification. Computers in Biology and Medicine, 199:111292, 2025.
Euijin Jung, Hyunmin Lee, and Jinung An. fnirs foundation model for few-shot based fnirs classification. In 2025 13th International Conference on Brain-Computer Interface (BCI), pp. 1–4. IEEE, 2025.
Demetres Kostas, Stephane Aroca-Ouellette, and Frank Rudzicz. Bendr: Using transformers and a contrastive self-supervised learning task to learn from massive amounts of eeg data. Frontiers in Human Neuroscience, 15:653659, 2021.
Vernon J Lawhern, Amelia J Solon, Nicholas R Waytowich, Stephen M Gordon, Chou P Hung, and Brent J Lance. Eegnet: a compact convolutional neural network for eeg-based brain–computer interfaces. Journal of neural engineering, 15(5):056013, 2018.
Seho Lee, Hee Ra Jung, In-Nea Wang, Min-Kyung Jung, Hakseung Kim, and Dong-Joo Kim. Multimodal eeg and fnirs biosignal acquisition during motor imagery tasks in patients with orthopedic impairment, 2026. URL https://doi.org/10.82901/nemar.on004022.
Xinge Li, Manon A. Krol, Sahar Jahani, David A. Boas, Helen Tager-Flusberg, and Meryem A. Yücel. Brain correlates of motor complexity during observed and executed actions. Scientific Reports, 10(1):10965, 2020. doi: 10.1038/s41598-020-67327-5. URL https://doi.org/10.1038/s41598-020-67327-5.
Ruixue Liu, Bryan Reimer, Siyang Song, Bruce Mehler, and Erin Solovey. Unsupervised fnirs feature extraction with cae and esn autoencoder for driver cognitive load classification. Journal of Neural Engineering, 18(3):036002, 2021.
Ziling Lu, Zongsheng Li, Xinke Shen, Kexin Lou, Yingyue Xin, Xiaoqi Chen, Shinan Wang, Xiang Chen, Jiahao Fan, Chenyu Huang, et al. Omnieeg-bench: A standardized evaluation benchmark for eeg foundation models. arXiv preprint arXiv:2606.00815, 2026.
Alexandra Medvedeva, Nikolay Syrov, Lev Yakovlev, Yana Alieva, Artemiy Berkmush-Antipova, Galina Ivanova, Natalia Shusharina, and Alexander Kaplan. Multisession fNIRS-EEG data of Post-Stroke Motor Recovery. Recordings During Intact and Paretic Hand Movements. Scientific Data, 13(1):448, 2026. doi: 10.1038/s41597-026-06803-5. URL https://doi.org/10.1038/s41597-026-06803-5.
Masahito Mihara and Ichiro Miyai. Review of functional near-infrared spectroscopy in neurorehabilitation. Neurophotonics, 3(3):031414–031414, 2016.
Ryssa Moffat and Emily S. Cross. InterGenSynch. OpenNeuro, 2026. URL https://doi.org/10.18112/openneuro.ds008192.v1.0.5. Dataset, version 1.0.5.
Noman Naseer and Keum-Shik Hong. fnirs-based brain-computer interfaces: a review. Frontiers in human neuroscience, 9:3, 2015.
Noman Naseer, Farzan M Noori, Nauman K Qureshi, and Keum-Shik Hong. Determining optimal feature-combination for lda classification of functional near-infrared spectroscopy signals in brain-computer interface application. Frontiers in human neuroscience, 10:237, 2016a.
Noman Naseer, Nauman Khalid Qureshi, Farzan Majeed Noori, and Keum-Shik Hong. Analysis of different classification techniques for two-class functional near-infrared spectroscopy-based brain-computer interface. Computational intelligence and neuroscience, 2016(1):5480760, 2016b.
Hellmuth Obrig. Nirs in clinical neurology—a ‘promising’tool? Neuroimage, 85:535–546, 2014.
Ke Peng, Meryem A. Yücel, Sarah C. Steele, Edward A. Bittner, Christopher M. Aasted, Mark A. Hoeft, Arielle Lee, Edward E. George, David A. Boas, Lino Becerra, and David Borsook. Morphine Attenuates fNIRS Signal Associated With Painful Stimuli in the Medial Frontopolar Cortex (medial BA 10). Frontiers in Human Neuroscience, 12:394, 2018. doi: 10.3389/fnhum.2018.00394. URL https://doi.org/10.3389/fnhum.2018.00394.
Paola Pinti, Ilias Tachtsidis, Antonia Hamilton, Joy Hirsch, Clarisse Aichelburg, Sam Gilbert, and Paul W Burgess. The present and future use of functional near-infrared spectroscopy (fnirs) for cognitive neuroscience. Annals of the new York Academy of Sciences, 1464(1):5–29, 2020.
Sophie Raible, João Pereira, Foivos Kotsogiannis, Bruno Direito, Teresa Sousa, Manuela da Cunha Seiffert, Rik Lavicka, Vendija Skeltona, Daniëlle Evenblij, Assunta Ciarlo, Armin Heinecke, Jacqueline Gädtke, Zeus Tipado, David M. A. Mehler, Simon H. Kohl, Miguel Castelo-Branco, Rainer Goebel, Michael Lührs, and Bettina Sorger. The MULTiple PAradigms (MULPA) dataset. Maastricht University, 2026. URL https://doi.org/10.5281/zenodo.21033499. Dataset, version v1.0.
Milan Rybár, Riccardo Poli, and Ian Daly. Simultaneous EEG and fNIRS recordings for semantic decoding of imagined animals and tools. Scientific Data, 12(1):613, 2025. doi: 10.1038/s41597-025-04967-0. URL https://doi.org/10.1038/s41597-025-04967-0.
Catalina Saini Ferrón, Gabriela Vargas González, and Carlos Valle Araya. Multimodal EEG-fNIRS data from patients undergoing general anesthesia. OpenNeuro, 2026. URL https://doi.org/10.18112/openneuro.ds004541.v1.0.0. Dataset, version 1.0.0.
Juan San Juan. Replication Data for: fNIRS RSFC in Tinnitus. Harvard Dataverse, 2017. URL https://doi.org/10.7910/DVN/ZNZZBV. Dataset, version 1.1.
Gopika Satish, Leah M. Taylor, Megan P. Arnold, Julia Gallagher-Shale, Karthikeyan Krishnamurthy, and Gregory J. Basura. Subjective tinnitus severity correlates with objective changes in human auditory cortex as measured by functional near-infrared spectroscopy. OpenNeuro, 2026. URL https://doi.org/10.18112/openneuro.ds007990.v1.0.0. Dataset, version 1.0.0.
Felix Scholkmann, Stefan Kleiser, Andreas Jaakko Metz, Raphael Zimmermann, Juan Mata Pavia, Ursula Wolf, and Martin Wolf. A review on continuous wave functional near-infrared spectroscopy and imaging instrumentation and methodology. Neuroimage, 85:6–27, 2014.
Jian Shi, Danyang Chen, Xingwei Zhao, Zhixian Zhao, Shengjie Li, Yeguang Xu, Tao Ding, Zheng Zhu, Peng Zhang, Qing Ye, Yingxin Tang, Ping Zhang, Bo Tao, and Zhouping Tang. HEFMI-ICH: a hybrid EEG-fNIRS motor imagery dataset for brain-computer interface in intracerebral hemorrhage. Scientific Data, 12(1):1816, 2025. doi: 10.1038/s41597-025-06100-7. URL https://doi.org/10.1038/s41597-025-06100-7.
Jaeyoung Shin, Alexander von Luhmann, Benjamin Blankertz, Do-Won Kim, Jichai Jeong, Han-Jeong Hwang, and Klaus-Robert Muller. Open Access Dataset for EEG+NIRS Single-Trial Classification. IEEE Transactions on Neural Systems and Rehabilitation Engineering, 25(10):1735–1745, 2016. doi: 10.1109/TNSRE.2016.2628057. URL https://doi.org/10.1109/TNSRE.2016.2628057.
Michiel Spapé, Kalle Mäkelä, and Tuukka Ruotsalo. NEMO: A Database for Emotion Analysis Using Functional Near-Infrared Spectroscopy. IEEE Transactions on Affective Computing, 15(3):1166–1177, 2023. doi: 10.1109/TAFFC.2023.3315971. URL https://doi.org/10.1109/TAFFC.2023.3315971.
Aseem Subedi, Suvranu De, Lora Cavuoto, Steven Schwaitzberg, Matthew Hackett, and Jack Norfleet. An interpretable transformer-based foundation model for cross-procedural skill assessment using raw fnirs signals. ACM Transactions on Computing for Healthcare, 7(3):1–24, 2026.
Gerardo Enrique Torres-Cuevas, Mario Aurelio Martínez-Jiménez, and Edgar Guevara. Resident physician mental workload assessed with fNIRS. Zenodo, 2025. URL https://doi.org/10.5281/zenodo.15186570. Dataset, version 1.0.0.
Thanawin Trakoolwilaiwan, Bahareh Behboodi, Jaeseok Lee, Kyungsoo Kim, and Ji-Woong Choi. Convolutional neural network for high-accuracy functional near-infrared spectroscopy in a brain-computer interface: three-class classification of rest, right-, and left-hand motor execution. Neurophotonics, 5(1):011008–011008, 2018.
Guagnyu Wang, Wenchao Liu, Yuhong He, Cong Xu, Lin Ma, and Haifeng Li. Eegpt: Pretrained transformer for universal and reliable representation of eeg signals. Advances in Neural Information Processing Systems, 37:39249–39280, 2024a.
Liang Wang, Zhe Huang, Ziyu Zhou, Devon McKeon, Giles Blaney, Michael C Hughes, and Robert JK Jacob. Taming fnirs-based bci input for better calibration and broader use. In The 34th Annual ACM Symposium on User Interface Software and Technology, pp. 179–197, 2021.
Liang Wang, Jiayan Zhang, Jinyang Liu, Devon McKeon, David Guy Brizan, Giles Blaney, and Robert JK Jacob. Empower real-world bcis with nirs-x: An adaptive learning framework that harnesses unlabeled brain signals. In Proceedings of the 37th Annual ACM Symposium on User Interface Software and Technology, pp. 1–16, 2024b.
YuGuo Wang, Honglin Wang, Ze Wang, and Yan Wu. Eeg-fnirs self-supervised emotion recognition method based on dual-stream siamese network. Frontiers in Neuroinformatics, 20:1894506, 2026a.
Zenghui Wang, Jun Zhang, Xiaochu Zhang, Peng Chen, and Bing Wang. Transformer model for functional near-infrared spectroscopy classification. IEEE Journal of Biomedical and Health Informatics, 26(6):2559–2569, 2022.
Zenghui Wang, Jihong Fang, and Jun Zhang. Rethinking delayed hemodynamic responses for fnirs classification. IEEE Transactions on Neural Systems and Rehabilitation Engineering, 31:4528–4538, 2023.
Zenghui Wang, Delv Zhu, Jun Zhang, Guobao Xiao, and Songlin Du. Domain knowledge fused state space model for fnirs-based brain–computer interfaces. IEEE Transactions on Instrumentation and Measurement, 2026b.
Qinfan Xiao, Ziyun Cui, Chi Zhang, SiQi Chen, Wen Wu, Andrew Thwaites, Alexandra Woolgar, Bowen Zhou, and Chao Zhang. Brainomni: A brain foundation model for unified eeg and meg signals. In D. Belgrave, C. Zhang, H. Lin, R. Pascanu, P. Koniusz, M. Ghassemi, and N. Chen (eds.), Advances in Neural Information Processing Systems, volume 38, Main Conference, pp. 41179–41212. Curran Associates, Inc., 2025. doi: 10.52202/085713-1375. URL https://proceedings.neurips.cc/paper_files/paper/2025/file/3aef4a18c2646b9d11d9ab4d9bec72c8-Paper-Conference.pdf.
Meryem A Yücel, Alexander v Lühmann, Felix Scholkmann, Judit Gervain, Ippeita Dan, Hasan Ayaz, David Boas, Robert J Cooper, Joseph Culver, Clare E Elwell, et al. Best practices for fnirs publications. Neurophotonics, 8(1):012101–012101, 2021.
Meryem A. Yücel, Jessica E. Anderson, De'Ja Rogers, Parisa Hajirahimi, Parya Farzam, Yuanyuan Gao, Rini I. Kaplan, Emily J. Braun, Nishaat Mukadam, Sudan Duwadi, Laura Carlton, David Beeler, Lindsay K. Butler, Erin Carpenter, Jaimie Giris, John Wilson, Vaibhav Tripathi, Yiwen Zhang, Bettina Sorger, Alexander von Lühmann, David C. Somers, Alice Cronin-Golomb, Swathi Kiran, Terry D. Ellis, and David A. Boas. Quantifying the impact of hair and skin characteristics on fNIRS signal quality for enhanced inclusivity. Nature Human Behaviour, 9(12):2651–2668, 2025. doi: 10.1038/s41562-025-02274-7. URL https://doi.org/10.1038/s41562-025-02274-7.
Hao Zhang, Yiqing Hu, Yang Li, Shuangyu Zhang, XiaoLi Li, and Chenguang Zhao. Simultaneous Dataset of Brain, Eye and Hand during Visuomotor Tasks. Scientific Data, 12(1):189, 2025. doi: 10.1038/s41597-024-04227-7. URL https://doi.org/10.1038/s41597-024-04227-7.
Hao Zhou, Simon A Lee, Cyrus Tanade, Keum San Chun, Juhyeon Lee, Migyeong Gwak, Megha Thukral, Justin Sung, Eugene Hwang, Mehrab Bin Morshed, et al. Physiology-aware masked cross-modal reconstruction for biosignal representation learning. arXiv preprint arXiv:2605.00973, 2026.
A TASKS AND DATASETS
We initially screened nearly 100 publicly available fNIRS datasets and retained 30 that provided the signals and metadata required for standardized preprocessing and geometry-aware modeling. Most excluded datasets lacked source–detector coordinates, raw intensity measurements, or other essential acquisition metadata. Although these datasets may remain suitable for dataset-specific analyses, the missing information prevents their reliable integration into a unified geometry-aware pretraining framework. Among the 30 retained datasets, 22 are used for pretraining and eight are held out exclusively for downstream evaluation. GeoNIRS-base uses the eight pretraining datasets in Type-I(a), whereas GeoNIRS-large additionally uses the 14 datasets in Type-I(b). Type-II lists the eight downstream datasets excluded from both pretraining corpora. The eight-dataset base pretraining corpus contains 42,951 windows.
Supplementary Table 1. Dataset inventory for pretraining and downstream evaluation.
| Task type | Datasets | #Subject | #Channels | Sample length (s) | Task description |
|---|---|---|---|---|---|
| Type-I(a): Base pretraining corpus (8 datasets; also used by Large) | |||||
| Cognitive task | Anderson et al. (2025) | 17 | 214 | 30 | Word-color Stroop with congruent and incongruent conditions; high-density and sparse-array fNIRS acquisition. |
| Social interaction | Moffat & Cross (2026) | 122 | 26 | 30 | Dyadic hyperscanning during collaborative drawing with longitudinal follow-up. |
| Naturalistic stimulation and functional localization | Fogarty et al. (2026b) | 5 | 3375–3515 | 30 | Audiovisual movie viewing with visual, language, and motor functional localizers. |
| Fogarty et al. (2026a) | 8 | 9543–10759 | 30 | Movie viewing and functional localizers with very-high-density DOT and fMRI comparison. | |
| Resting state | Yücel et al. (2025) | 115 | 26 | 30 | Resting-state recordings with an additional ball task; hair/skin effects on fNIRS signal quality. |
| Butters et al. (2026) | 64 | 1728 | 30 | Resting-state fNIRS recordings. | |
| Sensory stimulation and attention | Bale et al. (2026) | 63 | 432 | 30 | Visual stimulation under two experimental conditions (A/B). |
| Dubois et al. (2024) | 49 | 592–2744 | 30 | Auditory story/noise/silence stimulation and time-domain fNIRS test–retest reliability. | |
| Type-I(b): Additional pretraining datasets for Large (14 datasets) | |||||
| Cognitive task | Ajra et al. (2026) | 30 | 16 | 30 | Multimodal recording of low, medium, and high mental workload. |
| Torres-Cuevas et al. (2025) | 29 | 24 | 30 | Resident-physician shift load at 0 h, 12 h, and 24 h. | |
| Social interaction | Chen et al. (2025) | 20 | 30 | Inter-brain synchrony during social touch in 47 female dyads (24 friend dyads and 23 stranger dyads). | |
| Hu et al. (2025) | 31 | 40 | 30 | Natural conversation about physical appearance (NIRx system). | |
| Sensory stimulation and attention | San Juan (2017) | 15 | 44 | 30 | Resting-state functional connectivity in tinnitus (Homer .nirs; approximately 17.6 min per recording). |
Continued on next page
| Task type | Datasets | #Subject | #Channels | Sample length (s) | Task description |
|---|---|---|---|---|---|
| Duwadi et al. (2026) | 30 | 567 | 30 | Selective auditory attention: attend left vs. attend right. | |
| Clinical and disease | Guevara et al. (2024) | 40 | 22 | 30 | Healthy control vs. Parkinson’s disease during fine motor tasks. |
| Isaev et al. (2024) | 15 | 28 | 30 | Stroke patients controlling a BCI: rest, imagined left hand, and imagined right hand. | |
| Shin et al. (2016) | 29 | 36 | 30 | Left-hand vs. right-hand motor imagery; the source also includes mental arithmetic and baseline recordings. | |
| Saini Ferrón et al. (2026) | 8 | 15–20 | 30 | General anesthesia: verbal commands, motor tasks, tetanic stimulation, and loss of consciousness. | |
| Emotion and affect | Goodrick et al. (2026) | 37 | 24 | 30 | A 30-day yoga intervention; positive, negative, and neutral affect. |
| Spapé et al. (2023) | 31 | 24 | 30 | Emotion perception and affective imagery: positive vs. negative valence. | |
| Other | Zhang et al. (2025) | 49 | 44 | 30 | Visuomotor tasks with simultaneous behaviour, eye tracking, EEG, fNIRS, and EKG; six resting and six task blocks. |
| Duncan et al. (2018) | 30 | 52 | 30 | fNIRS during real use of a cosmetic product (ETG-4000); apply, evaluate, type, and baseline epochs. | |
| Type-II: Downstream evaluation datasets (8 datasets) | |||||
| Clinical and disease | Shi et al. (2025) | 37 | 90 | 10 | Healthy control vs. intracerebral hemorrhage (ICH), 2 classes. |
| Bálint et al. (2025) | 72 | 31–39 | 12 | Cochlear-implant users vs. normal-hearing participants, 2 classes. | |
| Satish et al. (2026) | 63 | 83 | 12 | Subjective tinnitus vs. healthy control, 2 classes. | |
| Pain and sensory processing | Peng et al. (2018) | 14 | 33 | 12 | Electrical-stimulation pain intensity: VAS 3 (low) vs. VAS 7 (high), 2 classes. |
| Emotion and affect | Raible et al. (2026) | 54 | 134 | 12 | Facial emotion perception in MULPA: happy vs. sad, 2 classes. |
| Motor and action observation | Medvedeva et al. (2026) | 16 | 70 | 10 | Movement vs. no movement for intact/paretic-hand recordings, 2 classes. |
| Li et al. (2020) | 21 | 60 | 12 | Action observation vs. action execution, 2 classes. | |
| Semantic decoding | Rybár et al. (2025) | 12 | 11–14 | 12 | Imagined animal vs. imagined tool, 2 classes. |
Note: Subject counts refer to participants included in the pretraining or downstream datasets, not necessarily the full recruited cohorts. Channel counts describe native recordings before quality control and channel selection; ranges indicate variation across recordings.
Chen et al. recruited 94 participants in 47 dyads. The recordings included here cover 85 participants: 38 complete dyads and 9 dyads with recordings available for only one partner.
B IMPLEMENTATION AND EVALUATION DETAILS
B.1 SIGNAL PREPROCESSING
All datasets are first parsed using format-specific adapters for SNIRF, NIRx, CSV, BIDS, and other supported formats, and are converted into a unified recording representation. After format harmonization, both pretraining and downstream datasets follow the same signal-processing pipeline and hyperparameters, without dataset-specific preprocessing branches.
B.1.1 SIGNAL-LEVEL PREPROCESSING
Optical density conversion. For each measurement channel c, raw light intensity is converted to optical density (OD) as
where the reference baseline is defined as the median of the positive, finite intensity values of that channel within the recording.
Quality control. For each measurement channel, robust outlier detection is independently applied to its optical-density (OD) time series using the median absolute deviation (MAD). The channel-wise OD median is used as the center, and is used as the robust scale estimate. Time points with are marked as outliers, and non-finite values are likewise marked as invalid. Robust z-scores are computed only when the channel MAD is finite and greater than zero. Channels with zero or non-finite MAD are not subjected to point-wise outlier detection and are subsequently marked as invalid by the channel-level quality-control criteria.
Contiguous outlier segments are then handled according to their duration. Segments lasting no more than 2 s and not touching either boundary of the recording are linearly interpolated using valid observations from the same channel, and the interpolated time points are subsequently treated as valid. Segments lasting longer than 2 s, or extending to either boundary of the recording, are not interpolated. Their corresponding time intervals are marked as invalid for the entire recording, and the resulting temporal-validity mask is shared across all channels.
In addition, a channel is marked as invalid for the entire recording if its MAD is zero or non-finite, if its post-quality-control standard deviation is no greater than , or if its standard deviation is greater than 10 times or less than 1/10 of the median standard deviation across channels in that recording.
Modified Beer–Lambert law. Valid dual-wavelength measurements are converted to oxygenated hemoglobin (HbO) and deoxygenated hemoglobin (HbR) concentrations using the modified Beer–Lambert law (MBLL), with the corresponding source–detector distance and a fixed partial path-length factor of
The resulting concentrations are expressed in mol/L. A consistent physical channel ordering and the corresponding channel-validity mask are established during this step.
Resampling HbO and HbR signals are separately resampled to 5 Hz only over valid time segments. Validity is determined before computing the two chromophore signals: temporal validity is defined by the quality-control procedure, while channel validity is determined by the channel-level criteria. A signal position is considered valid only when both the corresponding time point and channel are valid.
Normalization. HbO and HbR are standardized separately for each recording using
For each signal stream, a single recording-level mean and standard deviation are estimated from all valid channels and valid time points. Unlike channel-wise normalization, this preserves relative amplitude differences across channels while reducing recording-level scale variation.
B.1.2 SAMPLE CONSTRUCTION
For pretraining, all samples are constructed using fixed 30 s windows, corresponding to 150 time points at a sampling rate of 5 Hz. Each window is further divided into 15 consecutive 2 s segments, with 10 time points per segment.
For downstream tasks, we preserve the temporal window length defined by each original task and do not apply additional temporal padding, cropping, or re-segmentation. Specifically, Shi et al. (2025) and Medvedeva et al. (2026) use 10 s windows, while the remaining six downstream tasks use 12 s windows.
During pretraining, a 2 s segment participates in masking and cross-modal reconstruction loss computation only when at least 80% of its time points are valid. This prevents heavily corrupted temporal segments from affecting the self-supervised learning objective.
For downstream evaluation, the channel set is fixed separately for each dataset. We retain the channels that are jointly available across all quality-controlled recordings included in that dataset, and reconstruct all samples using exactly the same channel set and channel ordering. This design is both necessary and fair: baselines with fixed input dimensionality cannot accommodate recording-specific channel counts, while using a common channel set ensures that all subjects, recordings, and compared models receive identical channel inputs. Consequently, recording-level variation in channel availability cannot serve as a potential subject- or class-specific cue. Invalid samples along the temporal dimension are zero-filled and indicated by the corresponding validity mask.
B.1.3 CHANNEL SAMPLING FOR ULTRA-HIGH-DENSITY PRETRAINING DATA
To preserve heterogeneous spatial structure while keeping the computational cost of ultra-high-density recordings tractable, we cap the number of physical channels entering the channel-wise attention module at 512 per pretraining window. In our pretraining corpus this cap is reached by five datasets: Fogarty et al. (2026a) (9,543–10,759 channels), Fogarty et al. (2026b) (3,375–3,515), Butters et al. (2026) (1,728), Dubois et al. (2024) (592–2,744), and Duwadi et al. (2026) (567 channels).
For these recordings we do not use a fixed subset of 512 channels throughout pretraining. Instead, whenever the number of valid channels in a window exceeds the cap, we sample exactly 512 channels without replacement from that window's valid channel set; windows at or below the cap keep all of their valid channels. The sampling seed is a deterministic function of the run seed, the recording identifier, the window start, and the training epoch, so the selection is reproducible given the configuration while different channel subsets are observed across epochs. For validation windows the epoch is replaced by a fixed constant, so the same subset is used at every validation pass and validation losses remain comparable across epochs.
B.2 CHANNEL GEOMETRY REPRESENTATION
Each physical channel c is represented by a six-dimensional geometry vector,
where
and and denote the coordinates of the source and detector associated with channel c, respectively. The midpoint describes the spatial location of the channel, whereas captures the source–detector separation and orientation. The resulting representation therefore jointly encodes channel position and source–detector geometry.
Coordinate harmonization and normalization. Coordinate units vary across datasets. Across the 30 datasets used in this work (22 for pretraining and 8 for downstream evaluation), the original source and detector coordinates are represented in millimeters, centimeters, or meters. We first convert all coordinates to a common physical unit and then normalize them using a fixed reference scale of 25.46 mm. The resulting geometry features are dimensionless while preserving the relative spatial organization and source–detector configuration of the original probe layout.
Table 6: Backbone configurations of GeoNIRS-base and GeoNIRS-large.
| Component | GeoNIRS-base | GeoNIRS-large |
|---|---|---|
| Backbone parameters | 6,511,214 | 30,146,414 |
| Embedding width | 192 | 384 |
| Temporal Transformer layers / heads | 4 / 8 | 6 / 12 |
| Projection dimensions | [192, 128, 96, 64] | [384, 192, 96, 128] |
| Output feature dimension F | 64 | 128 |
| Geometry encoder | 6→192 / 8 heads / 1 layer | 6→384 / 12 heads / 1 layer |
| Base representation shape | [B, 2, 16, P, 64] | [B, 2, 16, P, 128] |
Geometry coordinates are additionally centered to remove global translation differences while preserving relative channel positions and source–detector orientations. During pretraining, centering is performed independently for each recording using its valid source and detector coordinates. For downstream evaluation, a fixed dataset-level geometry representation is constructed after the common physical channel set has been determined and is shared by all samples within that dataset. Consequently, geometry does not vary across samples, subjects, or class labels within the same downstream task and provides only the fixed spatial structure of the corresponding probe layout.
Planar probe layouts. Not all datasets provide fully three-dimensional source and detector coordinates. Among the eight downstream datasets, three use planar probe layouts: Shi et al. (2025), Peng et al. (2018), and Li et al. (2020). Among the 22 pretraining datasets, six use planar layouts: Zhang et al. (2025), San Juan (2017), Spapé et al. (2023), Guevara et al. (2024), Goodrick et al. (2026), and Torres-Cuevas et al. (2025).
Together, these six planar pretraining datasets account for 161.76 h of data, corresponding to 19.6% of the full 827.04-h pretraining corpus. Depending on the original dataset, planar geometry is either provided directly as two-dimensional coordinates or stored in a three-dimensional representation with all source and detector z coordinates equal to zero, as in Shi et al. (2025).
For planar layouts, and are therefore identically zero, while the remaining four dimensions continue to encode the in-plane channel position, source–detector separation, and orientation. We retain the same six-dimensional representation without introducing synthetic depth coordinates, allowing planar and three-dimensional probe layouts to be processed by the same geometry encoder.
B.3 MODEL CONFIGURATIONS
B.4 PRETRAINING DETAILS
Both backbone scales use the same optimization framework, with scale-specific differences only in the training budget, global batch size, peak learning rate, and numerical precision. The shared and scale-specific pretraining configurations are summarized in Table 7.
B.5 DOWNSTREAM ADAPTATION
B.5.1 UNIFIED TRAINING PROTOCOL
All neural methods use identical downstream samples, fold assignments, channel ordering, labels, and the optimization protocol summarized in Table 8.
B.5.2 GEONIRS ADAPTATION
The backbone representation is flattened, standardized using training-set statistics, followed by dropout () and a single linear classification layer. No hidden layer or LayerNorm is used. Table 9 summarizes the trainable components and learning rates used for the three adaptation protocols.
For LoRA adaptation, we use rank and LoRA scaling parameter , corresponding to a scaling factor of , with no adapter dropout. LoRA adapters are applied to the linear
Table 7: Pretraining configurations for GeoNIRS-6.5M and GeoNIRS-30M. Shared settings are reported once across both model scales.
| Hyperparameter | GeoNIRS-6.5M | GeoNIRS-30M |
|---|---|---|
| Shared optimization settings | ||
| Optimizer | AdamW | |
| Weight decay | 0.05 | |
| Adam betas | (0.9, 0.95) | |
| Adam epsilon | ||
| Gradient clipping | 1.0 | |
| Learning-rate schedule | 10% warmup + cosine decay | |
| Minimum learning-rate ratio | 0.1 | |
| Distributed training | 4-GPU DDP | |
| Random seed | 810 | |
| Scale-specific settings | ||
| Peak learning rate | ||
| Training epochs | 150 | 40 |
| Global batch size | 48 (12/GPU 4) | 96 (24/GPU 4) |
Table 8: Unified downstream training protocol.
| Hyperparameter | Setting |
|---|---|
| Epochs | 30 |
| Batch size | 16 |
| Optimizer | AdamW |
| Weight decay | 0.05 |
| Gradient clipping | 1.0 |
| Warmup | 3 epochs |
| Schedule | Cosine decay to |
| Loss | Class-weighted cross-entropy |
| Early-stopping patience | 15 |
| Model selection | Validation balanced accuracy |
| Test evaluation | Once after model selection |
projections in the downstream encoder path, including the HbO/HbR temporal encoders, geometry encoder, geometry-aware channel compressor, and chromophore feature projections. All original backbone parameters remain frozen, and only the LoRA parameters and task-specific classification head are optimized. Both use a learning rate of . The LoRA down-projection is initialized with Kaiming-uniform initialization and the up-projection with zeros.
The pretrained reconstruction decoders are removed and are not used during downstream adaptation.
B.5.3 BASELINES AND CONTROLS
Baseline models receive the same frozen downstream inputs as GeoNIRS. Input adapters are restricted to tensor reshaping or permutation and do not perform model-specific normalization, interpolation, channel selection, or sample filtering. Neural baselines follow the unified protocol in Table 8; model-specific adaptation follows the corresponding pretrained or randomly initialized setting.
Parameter counts are summarized in Table 10.
Table 9: GeoNIRS downstream adaptation modes.
| Mode | Trainable part | Learning rate |
|---|---|---|
| GeoNIRS_lp | Classification head | |
| GeoNIRS_lora | Head + LoRA | |
| GeoNIRS_ft | Head + backbone | Head: ; backbone: |
Table 10: Parameter counts of the downstream models. All counts are reported at the Medvedeva et al. (2026) geometry (52 fNIRS channels, 50 time points), and include the task-level classifier head.
| Model | Parameters |
|---|---|
| fNIRS-T | 1.70M |
| fNIRS4D | 164.4K |
| fNIRSNet | 0.72K |
| 1D-CNN | 88.4K |
| EEGNet | 1.52K |
| Jung-MAE | 2.03M |
| MOMENT-base | 109.7M |
| GeoNIRS-base | 6.51M |
| GeoNIRS-large | 30.15M |
| Stat-LDA | Non-neural |
| RBF-SVM | Non-neural |
Table 11: Protocol-level control experiments.
| Control | Modification |
|---|---|
| Random initialization | Replace the pretrained checkpoint with random initialization. |
| Label efficiency | Use nested class-balanced 10%, 25%, and 50% training subsets. |
| Channel dropout | Zero and invalidate 10%, 25%, or 50% of channels at test time. |
| Geometry ablation | Zero or permute channel geometry while keeping signals unchanged. |
B.6 EVALUATION AND AGGREGATION
B.6.1 EVALUATION PROTOCOL
We use five-fold cross-validation with two random seeds (810 and 811) per fold. An evaluation cell is defined by a (dataset, fold, seed) triplet. Within each cell, all methods receive identical sample rows, data splits, labels, and channel ordering. Sample identity, split disjointness, and input consistency are verified before training.
The benchmark consists of the eight downstream tasks listed in Table 12. Channel counts correspond to the frozen common-channel tensors actually used for evaluation, rather than the native channel counts of the original recordings.
Table 12: Downstream benchmark tasks and frozen input channel counts.
| Dataset | Task | #Channels |
|---|---|---|
| DS7 | Intracerebral hemorrhage | 18 |
| DS47 | Cochlear-implant status | 10 |
| DS36 | Tinnitus | 28 |
| DS19 | Pain intensity | 23 |
| DS70E | Facial emotion | 66 |
| DS2 | Semantic category | 6 |
| DS8 | Motor recovery | 52 |
| DS42 | Action mode | 41 |
Balanced accuracy is the primary metric, with macro-F1 and AUROC reported as additional metrics. Neural checkpoints are selected by validation balanced accuracy, and the test split is evaluated once using the selected checkpoint.
B.6.2 AGGREGATION AND STATISTICS
For each method and task, scores are averaged over the ten evaluation cells (5 folds × 2 seeds). The reported Average is the unweighted mean across the eight downstream tasks, so each task contributes equally regardless of its sample size or channel count.
Ablation effects are computed within matched (dataset, fold, seed) cells before aggregation, ensuring paired comparisons under identical data partitions and random seeds.
Unless otherwise stated, “±” denotes the standard deviation across the ten cells for each method–task pair, combining fold and seed variability. For model-scaling summaries, “±” denotes variability across downstream tasks after matched comparisons between model scales.
C COMPARISON WITH EXISTING FNIRS PRETRAINING FRAMEWORKS
Table 13 compares existing fNIRS pretraining frameworks. Heterogeneous channel configurations refer to differences in channel number or probe layout across pretraining datasets. Explicit heterogeneity handling requires a dedicated mechanism for resolving cross-dataset channel correspondence, rather than merely accepting different sequence lengths. Public checkpoints refer to downloadable pretrained model weights.
Table 13: Comparison of fNIRS pretraining frameworks.
| Method | Multi-dataset pretraining | Heterogeneous channels | Explicit heterogeneity handling | Unseen-task transfer | Public code | Public checkpoint |
|---|---|---|---|---|---|---|
| Liu et al. (2021) | × | × | × | × | × | × |
| Wang et al. (2021) | × | × | × | × | ✓ | × |
| NIRS-X (Wang et al., 2024b) | × | × | × | × | ✓ | × |
| Jung et al. (2025) | ✓ | ✓ | × | ✓ | × | × |
| EFRM (Jung & An, 2025) | × | × | × | ✓ | ✓ | × |
| Subedi et al. (2026) | ✓ | × | △ | ✓ | ✓ | × |
| ASDGPrompt (Cai et al., 2026) | × | × | × | × | × | × |
| DSSER (Wang et al., 2026a) | × | × | × | × | × | × |
| GeoNIRS (Ours) | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
Notes. Datasets are used in separate experiments, not joint pretraining. The released implementation selects one dataset at a time. Different channel counts are supported without modeling physical channel coordinates or cross-layout correspondence. EFRM uses one fNIRS dataset together with EEG data. Pretraining datasets share a probe configuration; transfer to a new configuration requires a supervised adapter. denotes partial support.
D ADDITIONAL EXPERIMENTAL RESULTS
D.1 CROSS-TASK PERFORMANCE UNDER ADDITIONAL METRICS
To complement the balanced-accuracy results reported in the main text, Tables 14 and 15 present cross-task performance measured by macro F1 and AUROC, respectively. GeoNIRS achieves the strongest task-averaged performance under both additional metrics, supporting the overall conclusions of the main benchmark.
Table 14: Cross-task fNIRS decoding performance measured by macro F1 (%). Results are averaged over two random seeds, with subject-level five-fold cross-validation performed for each seed. The best and second-best results in each column are highlighted in bold and underline, respectively.
| Method | ICH | CI Status | Tinnitus | Pain Intensity | Emotion | Semantic | Motor Recovery | Action Mode | Average |
|---|---|---|---|---|---|---|---|---|---|
| RBF-SVM (2016b) | 73.89 | 63.86 | 52.74 | 51.89 | 55.52 | 48.77 | 57.63 | 59.37 | 57.96 |
| Stat-LDA (2016a) | 51.25 | 51.26 | 48.33 | 53.89 | 59.18 | 50.08 | 62.32 | 65.78 | 55.26 |
| 1D-CNN (2018) | 64.87 | 56.69 | 54.60 | 50.05 | 57.94 | 48.60 | 55.50 | 55.53 | 55.47 |
| EEGNet (2018) | 55.67 | 46.49 | 50.00 | 49.50 | 51.69 | 48.02 | 59.59 | 64.59 | 53.19 |
| fNIRS-T (2022) | 70.85 | 63.66 | 49.52 | 51.05 | 54.00 | 48.57 | 64.22 | 70.72 | 59.07 |
| fNIRSNet (2023) | 47.33 | 38.10 | 32.79 | 33.33 | 33.93 | 33.34 | 55.02 | 33.33 | 38.40 |
| fNIRS4D (2026b) | 74.62 | 51.22 | 47.38 | 50.79 | 54.85 | 49.56 | 57.67 | 68.98 | 56.88 |
| MOMENT-LP (2024) | 73.33 | 59.29 | 52.81 | 52.45 | 53.68 | 45.09 | 58.87 | 69.74 | 58.16 |
| MOMENT-LoRA (2024) | 71.70 | 61.37 | 51.75 | 52.42 | 53.71 | 47.10 | 62.37 | 70.60 | 58.88 |
| Jung-MAE-LP (2025) | 70.95 | 63.65 | 50.44 | 54.23 | 57.74 | 50.55 | 61.34 | 68.36 | 59.66 |
| Jung-MAE-LoRA (2025) | 76.96 | 63.37 | 53.09 | 53.62 | 56.83 | 49.93 | 63.38 | 70.05 | 60.90 |
| GeoNIRS-LP (ours) | 77.08 | 65.19 | 57.80 | 55.98 | 58.15 | 50.60 | 64.08 | 70.18 | 62.38 |
| GeoNIRS-LoRA (ours) | 79.57 | 68.22 | 57.87 | 54.19 | 59.04 | 51.01 | 63.76 | 70.13 | 62.97 |
| GeoNIRS-FT (ours) | 80.29 | 68.80 | 56.74 | 54.36 | 58.69 | 50.50 | 64.27 | 70.85 | 63.06 |
Table 15: Cross-task fNIRS decoding performance measured by AUROC (%). Results are averaged over two random seeds, with subject-level five-fold cross-validation performed for each seed. The best and second-best results in each column are highlighted in bold and underline, respectively.
| Method | ICH | CI Status | Tinnitus | Pain Intensity | Emotion | Semantic | Motor Recovery | Action Mode | Average |
|---|---|---|---|---|---|---|---|---|---|
| RBF-SVM (2016b) | 82.22 | 74.42 | 56.45 | 55.99 | 59.09 | 50.34 | 61.03 | 65.06 | 63.07 |
| Stat-LDA (2016a) | 53.77 | 50.45 | 52.24 | 55.82 | 61.83 | 50.83 | 67.02 | 72.38 | 58.04 |
| 1D-CNN (2018) | 74.04 | 62.42 | 60.67 | 50.76 | 59.64 | 50.97 | 57.74 | 59.67 | 59.49 |
| EEGNet (2018) | 59.31 | 49.80 | 49.92 | 50.55 | 53.06 | 50.16 | 63.43 | 70.92 | 55.89 |
| fNIRS-T (2022) | 80.76 | 70.46 | 54.34 | 56.34 | 58.45 | 52.05 | 70.33 | 77.10 | 64.98 |
| fNIRSNet (2023) | 53.29 | 48.43 | 48.72 | 51.54 | 49.04 | 50.12 | 57.36 | 50.71 | 51.15 |
| fNIRS4D (2026b) | 85.42 | 51.82 | 51.14 | 52.07 | 56.35 | 50.50 | 61.03 | 75.91 | 60.53 |
| MOMENT-LP (2024) | 80.56 | 65.26 | 55.12 | 57.02 | 59.07 | 50.09 | 71.26 | 77.91 | 64.53 |
| MOMENT-LoRA (2024) | 78.19 | 68.01 | 55.42 | 56.37 | 57.36 | 51.53 | 70.08 | 80.28 | 64.66 |
| Jung-MAE-LP (2025) | 85.04 | 72.60 | 52.01 | 58.39 | 63.13 | 50.69 | 67.27 | 76.78 | 65.74 |
| Jung-MAE-LoRA (2025) | 89.32 | 71.13 | 54.46 | 56.74 | 61.86 | 50.41 | 69.96 | 77.32 | 66.40 |
| GeoNIRS-LP (ours) | 86.96 | 75.73 | 62.56 | 56.83 | 62.37 | 51.37 | 69.38 | 78.40 | 67.95 |
| GeoNIRS-LoRA (ours) | 88.19 | 76.20 | 62.26 | 55.94 | 62.08 | 51.00 | 68.89 | 78.82 | 67.92 |
| GeoNIRS-FT (ours) | 89.63 | 76.40 | 60.86 | 55.47 | 62.68 | 50.79 | 71.29 | 79.04 | 68.27 |
To provide a more direct comparison with existing pretrained models, Figure 4 visualizes the task-wise balanced-accuracy differences between GeoNIRS and the matched MOMENT and Jung-MAE baselines under linear probing and LoRA. GeoNIRS achieves positive average margins over both baselines under both adaptation protocols, with most task-level comparisons also favoring GeoNIRS. In particular, the average gains are 3.07 and 2.38 percentage points over MOMENT and Jung-MAE under linear probing, and 3.25 and 1.69 points under LoRA, respectively.

Negative values favor the baseline; positive values favor GeoNIRS.
Figure 4: Task-wise comparison with pretrained baselines under (a) linear probing and (b) LoRA. Gains are calculated as the balanced accuracy of GeoNIRS minus that of MOMENT or Jung-MAE in percentage points. Orange circles and teal diamonds denote the two baseline comparisons, respectively, while gray lines connect results for the same downstream task. Positive values favor GeoNIRS.
D.2 LABEL-EFFICIENT ADAPTATION
Table 16 compares pretrained GeoNIRS-FT with its randomly initialized counterpart and the strongest non-GeoNIRS model at each label ratio, selected according to its mean balanced accuracy across the eight tasks. The 10%, 25%, and 50% training subsets are class-balanced and nested, with the validation and test sets unchanged.
Table 16: Label-efficient downstream adaptation measured by balanced accuracy (%), averaged equally across eight tasks. Results at 100% labels are taken from the main benchmark.
| Method | 10% | 25% | 50% | 100% |
|---|---|---|---|---|
| GeoNIRS-FT | 60.70 | 61.77 | 62.69 | 63.54 |
| GeoNIRS-LoRA | 60.50 | 61.44 | 62.06 | 63.42 |
| GeoNIRS-LP | 60.19 | 60.91 | 61.87 | 63.06 |
| GeoNIRS-FT (Random Init) | 55.98 | 57.73 | 58.35 | 60.25 |
| GeoNIRS-LP (Random Init) | 56.12 | 57.42 | 58.07 | 58.94 |
| RBF-SVM | 56.05 | 57.21 | 58.06 | 58.91 |
| Stat-LDA | 54.28 | 55.60 | 56.03 | 56.14 |
| 1D-CNN | 52.23 | 53.51 | 55.12 | 56.51 |
| EEGNet | 50.41 | 50.94 | 52.77 | 54.29 |
| fNIRS-T | 55.84 | 57.24 | 59.04 | 60.36 |
| fNIRSNet | 50.00 | 50.19 | 50.45 | 50.75 |
| fNIRS4D | 52.29 | 54.22 | 55.71 | 57.67 |
| MOMENT-LP | 56.99 | 58.30 | 59.25 | 59.99 |
| MOMENT-LoRA | 56.75 | 58.57 | 59.47 | 60.17 |
| Jung-MAE-LP | 57.25 | 58.55 | 60.07 | 60.68 |
| Jung-MAE-LoRA | 57.68 | 58.54 | 60.91 | 61.73 |
| GeoNIRS-FT vs. Random Init | +4.72 | +4.04 | +4.34 | +3.30 |
| GeoNIRS-FT vs. Best Non-GeoNIRS Baseline | +3.02 | +3.20 | +1.78 | +1.81 |
D.3 CHANNEL-LOSS ROBUSTNESS
Table 17 reports balanced accuracy averaged equally across eight downstream tasks under fixed and random channel loss at rates of , , and . All models are trained with complete channel inputs; channel loss is applied only during inference.
Table 17: Channel-loss robustness (balanced accuracy, %).
| Method | Clean | Fixed Channel Loss | Random Channel Loss | ||||
|---|---|---|---|---|---|---|---|
| 10% BA (Δ) | 25% BA (Δ) | 50% BA (Δ) | 10% BA (Δ) | 25% BA (Δ) | 50% BA (Δ) | ||
| GeoNIRS-FT | 63.54 | 63.21 (0.33) | 62.95 (0.59) | 62.32 (1.22) | 63.19 (0.35) | 62.74 (0.80) | 61.84 (1.70) |
| GeoNIRS-LoRA | 63.42 | 63.10 (0.32) | 62.94 (0.48) | 62.07 (1.35) | 63.08 (0.34) | 62.69 (0.73) | 61.65 (1.77) |
| GeoNIRS-LP | 63.06 | 63.09 (-0.03) | 62.80 (0.26) | 62.06 (1.00) | 62.86 (0.20) | 62.76 (0.30) | 61.62 (1.44) |
| RBF-SVM | 58.91 | 59.26 (-0.35) | 57.45 (1.46) | 54.35 (4.56) | 58.25 (0.66) | 57.50 (1.41) | 55.24 (3.67) |
| Stat-LDA | 56.14 | 55.63 (0.51) | 54.90 (1.24) | 53.88 (2.26) | 55.78 (0.36) | 54.63 (1.51) | 54.01 (2.13) |
| 1D-CNN | 56.51 | 56.59 (-0.08) | 55.40 (1.11) | 54.19 (2.32) | 56.29 (0.22) | 55.64 (0.87) | 54.78 (1.73) |
| EEGNet | 54.29 | 53.94 (0.35) | 53.28 (1.01) | 53.29 (1.00) | 54.04 (0.25) | 53.38 (0.91) | 53.39 (0.90) |
| fNIRS-T | 60.36 | 59.58 (0.78) | 58.62 (1.74) | 56.70 (3.66) | 59.73 (0.63) | 58.68 (1.68) | 56.85 (3.51) |
| fNIRSNet | 50.76 | 50.89 (-0.13) | 50.70 (0.06) | 50.78 (-0.02) | 50.75 (0.00) | 50.72 (0.04) | 50.65 (0.11) |
| fNIRS4D | 57.67 | 57.87 (-0.20) | 56.74 (0.93) | 56.50 (1.17) | 57.73 (-0.06) | 57.09 (0.58) | 55.92 (1.75) |
| MOMENT-LoRA | 60.17 | 59.32 (0.85) | 58.04 (2.13) | 54.18 (5.99) | 59.14 (1.03) | 58.05 (2.12) | 54.52 (5.65) |
| Jung-MAE-LP | 60.68 | 58.62 (2.06) | 56.15 (4.53) | 53.66 (7.02) | 58.58 (2.10) | 56.19 (4.49) | 53.89 (6.79) |
| Jung-MAE-LoRA | 61.73 | 59.93 (1.80) | 58.00 (3.73) | 55.23 (6.50) | 59.33 (2.40) | 57.48 (4.25) | 54.81 (6.92) |
| GeoNIRS-FT vs. Best Non-GeoNIRS | +1.81 | +3.28 | +4.33 | +5.62 | +3.46 | +4.06 | +4.99 |
Note: Parentheses show in percentage points. The final row subtracts the highest non-GeoNIRS eight-task mean BA in each column from GeoNIRS-FT.
E SCALING ANALYSIS
E.1 SCALING THE PRETRAINING CORPUS
We conduct a preliminary analysis of how downstream adaptation changes as the pretraining corpus is progressively expanded. Three nested configurations contain one, four, and five datasets, corresponding to 16.71, 26.21, and 51.96 hours of recordings, respectively. The one-dataset configuration contains Medvedeva et al. (2026); the four-dataset configuration additionally includes Lee et al. (2026), Rybär et al. (2025), and Saini Ferrón et al. (2026); and the five-dataset configuration further adds Ajra et al. (2026). All models are evaluated on the same motor-response decoding task using linear probing and full-coverage LoRA.
As shown in Figure 5, performance improves consistently as the pretraining corpus expands. Linear-probing balanced accuracy increases from 63.2% with one dataset to 73.2% with four datasets and 76.0% with five datasets, eventually exceeding the randomly initialized linear-probing baseline. Full-coverage LoRA similarly improves from 75.0% to 77.8% and 79.9%. These results suggest that increasing the scale and diversity of the pretraining corpus improves the learned representations and their downstream adaptability. Because this pilot analysis evaluates a single downstream task and changes both corpus size and composition, it provides preliminary scaling evidence rather than a controlled scaling-law analysis.
Motor Response Decoding vs. Pretraining Corpus Scale

Figure 5: Preliminary analysis of downstream performance with increasing pretraining-corpus scale.
E.2 SCALING TO GEONIRS-LARGE
We further examine whether GeoNIRS benefits from an expanded model and pretraining corpus. GeoNIRS-base contains 6.5M parameters and is pretrained on the eight-dataset core corpus, whereas GeoNIRS-large contains 30.1M parameters and uses the complete 22-dataset corpus. Both variants are evaluated using the same full fine-tuning protocol. As shown in Table 18, GeoNIRS-large improves balanced accuracy on six of the eight downstream tasks, including gains of 2.03 points on Action Mode, 1.20 points on Tinnitus, and 1.04 points on Semantic. Its task-averaged performance increases from 63.54% to 63.84%. The modest average improvement is primarily limited by a 2.79-point decrease on ICH, indicating that the expanded configuration benefits most tasks but does not yield uniform improvements across all downstream settings. Since model capacity and pretraining-corpus coverage are increased together, this experiment evaluates the overall GeoNIRS-large configuration rather than isolating a parameter-only scaling effect.
Table 18: Full fine-tuning performance of GeoNIRS-base and GeoNIRS-large across eight downstream tasks. Results are balanced accuracy (%), averaged over two random seeds with five-fold cross-validation. denotes Large minus Base.
| Downstream Task | GeoNIRS-base (6.5M) | GeoNIRS-large (30.1M) | Δ (pp) | Improved? |
|---|---|---|---|---|
| ICH | 80.86 ± 8.01 | 78.07 ± 11.32 | -2.79 | No |
| CI Status | 69.19 ± 10.06 | 68.80 ± 11.66 | -0.39 | No |
| Tinnitus | 57.70 ± 8.71 | 58.90 ± 3.68 | +1.20 | Yes |
| Pain Intensity | 54.70 ± 2.95 | 54.78 ± 2.79 | +0.08 | Yes |
| Emotion | 59.13 ± 5.71 | 59.38 ± 4.68 | +0.25 | Yes |
| Semantic | 51.03 ± 1.46 | 52.07 ± 2.28 | +1.04 | Yes |
| Motor Recovery | 64.75 ± 2.27 | 65.68 ± 1.86 | +0.93 | Yes |
| Action Mode | 70.99 ± 4.36 | 73.02 ± 5.96 | +2.03 | Yes |
| Average | 63.54 | 63.84 | +0.30 | 6/8 tasks |
F DETAILED ABLATION RESULTS
F.1 GEOMETRY PERTURBATION AFTER PRETRAINING
We first examine whether the pretrained model relies on channel geometry by perturbing its coordinate inputs after pretraining. Table 19 reports task-level results when channel coordinates are either replaced with zeros or shuffled across channels under full fine-tuning, LoRA, and linear probing. The pretrained checkpoint, fNIRS signals, and downstream protocols remain unchanged. Results are averaged over two random seeds, with five-fold cross-validation performed for each seed.
Table 19: Task-level geometry perturbation during downstream inference, measured by balanced accuracy (%). Zeros replaces channel coordinates with zero vectors, whereas Shuffle permutes them across channels. Parenthesized values denote changes from Normal in percentage points.
| Task | Full Fine-Tuning | LoRA | Linear Probing | Mean Δ (pp) | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Ch. | Normal | Zeros BA (Δ) | Shuffle BA (Δ) | Normal | Zeros BA (Δ) | Shuffle BA (Δ) | Normal | Zeros BA (Δ) | Shuffle BA (Δ) | Zeros | Shuffle | |
| ICH | 18 | 80.86 | 73.89 (-6.97) | 74.90 (-5.96) | 80.10 | 66.15 (-13.95) | 65.62 (-14.48) | 77.82 | 69.11 (-8.71) | 63.91 (-13.91) | -9.88 | -11.45 |
| CI Status | 10 | 69.19 | 73.06 (+3.87) | 71.36 (+2.17) | 69.53 | 72.59 (+3.06) | 70.69 (+1.16) | 68.06 | 71.18 (+3.12) | 70.70 (+2.64) | +3.35 | +1.99 |
| Tinnitus | 28 | 57.70 | 55.94 (-1.76) | 58.82 (+1.12) | 58.72 | 57.61 (-1.11) | 57.35 (-1.37) | 58.70 | 58.27 (-0.43) | 59.51 (+0.81) | -1.10 | +0.19 |
| Pain Intensity | 23 | 54.70 | 52.61 (-2.09) | 52.32 (-2.38) | 54.36 | 51.60 (-2.76) | 52.28 (-2.08) | 56.19 | 52.64 (-3.55) | 51.63 (-4.56) | -2.80 | -3.01 |
| Emotion | 66 | 59.13 | 54.99 (-4.14) | 52.18 (-6.95) | 59.15 | 55.37 (-3.78) | 52.41 (-6.74) | 58.23 | 55.26 (-2.97) | 53.67 (-4.56) | -3.63 | -6.08 |
| Semantic | 6 | 51.03 | 50.84 (-0.19) | 50.77 (-0.26) | 51.22 | 50.87 (-0.35) | 51.11 (-0.11) | 50.93 | 51.83 (+0.90) | 50.46 (-0.47) | +0.12 | -0.28 |
| Motor Recovery | 52 | 64.75 | 63.22 (-1.53) | 61.53 (-3.22) | 63.92 | 60.20 (-3.72) | 60.40 (-3.52) | 64.27 | 61.99 (-2.28) | 60.48 (-3.79) | -2.51 | -3.51 |
| Action Mode | 41 | 70.99 | 69.66 (-1.33) | 67.69 (-3.30) | 70.34 | 67.98 (-2.36) | 66.73 (-3.61) | 70.29 | 67.14 (-3.15) | 65.97 (-4.32) | -2.28 | -3.74 |
| Average | - | 63.54 | 61.78 (-1.76) | 61.20 (-2.34) | 63.42 | 60.30 (-3.12) | 59.57 (-3.85) | 63.06 | 60.93 (-2.13) | 59.54 (-3.52) | -2.34 | -3.24 |
F.2 PRETRAINING COMPONENT ABLATIONS
Table 20 reports task-level geometry ablation results under full fine-tuning, LoRA, and linear probing. The ablated variant removes channel coordinates from both the channel-compression attention keys and decoder channel queries throughout pretraining, while all other components and downstream adaptation protocols remain unchanged. Results are averaged over two random seeds, with five-fold cross-validation performed for each seed.
Table 20: Task-level ablation of channel geometry during pretraining, measured by balanced accuracy (%). The geometry-ablated variant removes channel coordinates from both the channel-compression attention keys and decoder channel queries. denotes the change from GeoNIRS in percentage points.
| Task | Full Fine-Tuning | LoRA | Linear Probing | Mean (pp) | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Ch. | GeoNIRS | w/o Geometry | GeoNIRS | w/o Geometry | GeoNIRS | w/o Geometry | |||||
| ICH | 18 | 80.86 | 72.44 | -8.42 | 80.10 | 68.09 | -12.01 | 77.82 | 69.26 | -8.56 | -9.66 |
| CI Status | 10 | 69.19 | 69.31 | +0.12 | 69.53 | 68.84 | -0.69 | 68.06 | 68.66 | +0.60 | +0.01 |
| Tinnitus | 28 | 57.70 | 57.25 | -0.45 | 58.72 | 57.21 | -1.51 | 58.70 | 56.10 | -2.60 | -1.52 |
| Pain Intensity | 23 | 54.70 | 52.37 | -2.33 | 54.36 | 53.13 | -1.23 | 56.19 | 51.94 | -4.25 | -2.60 |
| Emotion | 66 | 59.13 | 55.69 | -3.44 | 59.15 | 54.50 | -4.65 | 58.23 | 53.92 | -4.31 | -4.13 |
| Semantic | 6 | 51.03 | 50.94 | -0.09 | 51.22 | 51.31 | +0.09 | 50.93 | 51.33 | +0.40 | +0.13 |
| Motor Recovery | 52 | 64.75 | 62.00 | -2.75 | 63.92 | 61.22 | -2.70 | 64.27 | 62.00 | -2.27 | -2.57 |
| Action Mode | 41 | 70.99 | 67.44 | -3.55 | 70.34 | 67.24 | -3.10 | 70.29 | 66.56 | -3.73 | -3.46 |
| Average | - | 63.54 | 60.93 | -2.61 | 63.42 | 60.19 | -3.23 | 63.06 | 59.97 | -3.09 | -2.98 |
Table 21 reports the task-level changes under each adaptation protocol when cross-chromophore reconstruction is replaced with self-reconstruction. Cross-reconstruction improves task-averaged balanced accuracy under all three protocols, with the largest gains on ICH and Tinnitus. The effects vary across tasks, however, and self-reconstruction performs better on Action Mode. Thus, the average benefit does not imply a uniform improvement on every task.
Table 21: Task-level effect of replacing cross-chromophore reconstruction with self-reconstruction. Values are changes in balanced accuracy (Self-Reconstruction minus GeoNIRS, percentage points); negative values favor cross-chromophore reconstruction. Results are averaged over two seeds and five subject-level folds per seed.
| Downstream task | Full Fine-Tuning | LoRA | Linear Probing |
|---|---|---|---|
| ICH | -8.56 | -8.01 | -7.91 |
| CI Status | +1.00 | -1.72 | +0.62 |
| Tinnitus | -4.28 | -4.37 | -4.11 |
| Pain Intensity | +0.18 | -0.42 | -0.90 |
| Emotion | -0.39 | -1.63 | -2.24 |
| Semantic | +0.84 | -1.16 | +0.37 |
| Motor Recovery | +0.04 | +0.01 | +0.05 |
| Action Mode | +1.17 | +1.65 | +1.87 |
| Average | -1.25 | -1.96 | -1.53 |
G DISCUSSION
Why GeoNIRS works. The transferability of GeoNIRS may arise from three complementary factors: multi-dataset pretraining, geometry-aware channel unification, and cross-chromophore reconstruction. First, joint pretraining across datasets with different participant populations, acquisition systems, probe layouts, and experimental paradigms exposes the model to substantially broader signal variability than any individual dataset, providing a basis for learning more general fNIRS representations. The overall improvements observed when expanding the pretraining corpus are also consistent with this interpretation. Second, the geometry-aware channel compressor does more than accommodate a variable number of input channels: it uses source–detector geometry as a shared spatial reference and maps heterogeneous probe layouts into a fixed number of latent-channel tokens. Replacing channel coordinates with zeros or shuffled coordinates reduces average balanced accuracy by 2.34 and 3.24 percentage points, respectively, while removing geometry during pretraining causes a 2.98-point reduction. These results indicate that GeoNIRS meaningfully uses the correspondence between channels and their physical locations. Finally, replacing cross-chromophore reconstruction with self-reconstruction reduces average performance by 1.58 points, consistent with the motivation that the complete HbO or HbR signal provides complementary information for reconstructing its masked counterpart. GeoNIRS also outperforms the strongest non-GeoNIRS method selected separately at each label ratio and under each channel-loss condition, suggesting that the learned representations remain transferable under limited supervision and missing-channel settings rather than benefiting from comparison with a single weaker baseline.
Limitations. This study has several limitations. First, although we screened nearly 100 publicly available fNIRS datasets, only 30 provided usable signals, the required metadata, and sufficient information to recover channel geometry. The remaining datasets may still contain physiologically informative signals despite lacking reliable source–detector coordinates. Because GeoNIRS currently relies on channel geometry to establish correspondence across probe layouts, incorporating such datasets without compromising the shared spatial representation remains an important challenge for expanding the pretraining corpus. Second, several existing fNIRS pretraining methods do not provide complete implementations or downloadable pretrained weights, preventing their direct evaluation under a unified setting. Jung-inspired MAE is therefore a paper-guided implementation rather than an exact reproduction of the original method. Finally, GeoNIRS-large increases both model capacity and pretraining data, but its average improvement is modest and not consistent across all downstream tasks. The current results therefore demonstrate the potential of scaling the overall configuration but do not isolate the individual effects of model size, data volume, and corpus composition, nor do they establish a reliable scaling law for fNIRS pretraining.
Outlook. An important direction is to enable geometry-aware pretraining to benefit from both coordinate-complete and coordinate-missing fNIRS datasets. Possible approaches include geometry-optional modeling branches, estimating spatial relationships from available probe metadata, or using datasets with reliable geometry to guide representation learning on datasets without coordinates. These approaches could substantially expand the amount of data available for pretraining. Another promising direction is to integrate fNIRS with complementary modalities. EEG captures neural electrical activity at a higher temporal resolution, whereas fNIRS measures comparatively slow hemodynamic responses; joint pretraining on synchronized EEG–fNIRS recordings may therefore help model the relationship between neural activity and its vascular response. Short-separation channels and peripheral measurements such as heart rate and respiration may further help distinguish cortical hemodynamic responses from systemic physiological interference. In addition, aligning fNIRS representations with experimental stimuli, behavioral records, or textual task descriptions may support transfer across paradigms and enable few-shot or potentially zero-shot downstream applications. Future studies should also vary model capacity, data volume, and corpus composition independently to characterize how heterogeneous fNIRS pretraining scales.