Q-MeLoNet: A Quantum-Enhanced Transformer Framework for Adolescent Mental Dysfunction Detection from fNIRS Signals
DOI:
https://doi.org/10.54938/ijemdcsai.2025.04.2.548Keywords:
adolescent neurocognition, cognitive state classification, deep learning, fNIRS, mental workload, quantum-enhanced transformerAbstract
Abstract
Timely intervention of affective and cognitive dysfunctions in teenagers necessitates early and accurate identification of mental workload states. However, this has remained a perennial issue owing to subjective diagnostic approaches and limited availability of neuroimaging suites. In this paper, Q-MeLoNet, an advanced quantum-enhanced transformer model, is introduced for multi-class teenage mental workload classification from functional near-infrared spectroscopy (fNIRS) signals. Using the publicly available Tufts fNIRS2MW dataset, which captures prefrontal hemodynamics during a four-level n-back working memory task, our approach uses quantum encoding layers along with transformer-based self-attention to capture nuanced temporal relations in multichannel fNIRS time series. Model performance was strictly evaluated using 10-fold cross-validation. Q-MeLoNet achieved a mean accuracy of 91.2%, well above traditional baselines such as CNNs and BiLSTMs, as well as ablated variants of itself. An extensive ablation study revealed that the transformer and quantum components both significantly affected classification performance. Statistical testing confirmed these gains were significant (p < 0.01). Visualization via confusion matrices highlighted the model's ability to distinguish between fine-grained workload states, particularly towards the extremes (0-back and 3-back). Compared to previous work with limited binary classification, Q-MeLoNet presents a data-driven and scalable approach for multi-class cognitive classification across adolescent groups, advancing non-invasive neurophysiological investigation.
References
World Health Organization, Adolescent mental health. World Health Organization, 2021. [Online]. Available: https://www.who.int/news-room/fact-sheets/detail/adolescent-mental-health
P. Pinti, C. Aichelburg, F. Lind, S. D. Power, E. Swingler, A. Merla, and A. F. de C. Hamilton, “Using functional near-infrared spectroscopy to study cognitive development: State of the art and future directions,” Wiley Interdisciplinary Reviews: Cognitive Science, vol. 11, no. 3, e1523, 2020, doi: 10.1002/wcs.1523.
C. Eastmond, S. Huang, and R. Almajidy, “Deep learning applications in functional near-infrared spectroscopy: A review,” Frontiers in Neuroscience, vol. 16, 887194, 2022, doi: 10.3389/fnins.2022.887194.
S. Anwar, J. Lu, Y. Wang, and G. Wang, “Deep transformer models for time-series physiological signal classification: A survey and benchmarking study,” IEEE Transactions on Neural Networks and Learning Systems, early access, 2024, doi: 10.1109/TNNLS.2024.3379123.
Y. Moriguchi and K. Hiraki, “Neural correlates of inhibitory control in young children: A longitudinal fNIRS study,” Neuropsychologia, vol. 124, pp. 54–62, 2019, doi: 10.1016/j.neuropsychologia.2018.11.025.
T. Inoue, T. Yamada, Y. Shimizu, and M. Kuraoka, “Prefrontal cortex activity during emotional task performance in adolescents with depressive symptoms: An fNIRS study,” NeuroImage: Clinical, vol. 30, 102624, 2021, doi: 10.1016/j.nicl.2021.102624.
Y. Li, H. Shen, H. Zhang, and X. Yu, “Emotion classification from multichannel EEG using hierarchical transformer networks,” Biomedical Signal Processing and Control, vol. 81, 104327, 2023, doi: 10.1016/j.bspc.2023.104327.
R. Zhang, Y. Chen, and F. Wang, “Transformer-based stress detection using functional near-infrared spectroscopy,” Sensors, vol. 22, no. 9, 3456, 2022, doi: 10.3390/s22093456.
M. Tomal, S. Biswas, and Z. Xu, “Quantum-inspired attention mechanisms in natural language processing: A comparative study,” Journal of Artificial Intelligence Research, vol. 78, pp. 1–23, 2025, doi: 10.1613/jair.1.13991.
Y. Quan, R. Shah, and M. Abdelrahman, “Quantum-enhanced transformers for edge-level acoustic scene classification,” ACM Transactions on Sensor Networks, 2025.
Tufts Human-Computer Interaction Lab, “fNIRS2 Mental Workload (fNIRS2MW) dataset [Data set],” Tufts University, 2022. [Online]. Available: https://tufts-hci-lab.github.io/code_and_datasets/fNIRS2MW.html.
Downloads
Published
How to Cite
License
Copyright (c) 2025 International Journal of Emerging Multidisciplinaries: Computer Science & Artificial Intelligence

This work is licensed under a Creative Commons Attribution 4.0 International License.






