Block-As-Domain Adaptation for Workload Prediction from fNIRS Data
Jiyang Wang, Ayse Altay, Senem Velipasalar
TL;DR
The paper tackles the challenge of predicting cognitive workload from fNIRS data in settings with unseen subjects and sessions. It introduces Class-Aware Block-Aware Domain Adaptation (CABA-DA), combining a block-level discrepancy term and a contrastive domain discrepancy to align intra-class distributions across blocks and sessions, alongside a modified MLPMixer backbone tailored for fNIRS signals. The overall objective, $l = l^{ce} + \alpha(D^{cdd} + D^{caba})$, balances supervised learning with domain alignment, with $\alpha$ tuned by grid search. Across TUberlin, Tufts, and FFT datasets, CABA-DA yields consistent improvements over baseline models and demonstrates that block-wise domain shifts are a crucial source of variance; the approach remains computationally efficient at inference and provides practical benefits for real-world CWL monitoring and HCI systems.
Abstract
Functional near-infrared spectroscopy (fNIRS) is a non-intrusive way to measure cortical hemodynamic activity. Predicting cognitive workload from fNIRS data has taken on a diffuse set of methods. To be applicable in real-world settings, models are needed, which can perform well across different sessions as well as different subjects. However, most existing works assume that training and testing data come from the same subjects and/or cannot generalize well across never-before-seen subjects. Additional challenges imposed by fNIRS data include the high variations in inter-subject fNIRS data and also in intra-subject data collected across different blocks of sessions. To address these issues, we propose an effective method, referred to as the class-aware-block-aware domain adaptation (CABA-DA) which explicitly minimize intra-session variance by viewing different blocks from the same subject same session as different domains. We minimize the intra-class domain discrepancy and maximize the inter-class domain discrepancy accordingly. In addition, we propose an MLPMixer-based model for cognitive load classification. Experimental results demonstrate the proposed model has better performance compared with three different baseline models on three public-available datasets of cognitive workload. Two of them are collected from n-back tasks and one of them is from finger tapping. From our experiments, we also show the proposed contrastive learning method can also improve baseline models we compared with.
