cs.CVApr 13, 2026

A Lightweight Transformer for Pain Recognition from Brain Activity

Authors: Stefanos Gkikas, Christian Arzate Cruz, Yu Fang, Lu Cao, Muhammad Umar Khan, Thomas Kassiotis, Giorgos Giannakakis, Raul Fernandez Rojas, 

Organizations: Honda Research Institute Japan, Wako City, Japan · BioSIS (Biosensing & Intelligent Systems) Lab, Centre for Intelligent Computing and Systems, University of Canberra, Canberra, Australia · Department of Electronic Engineering, Hellenic Mediterranean University, Chania, Greece

Abstract

Pain is a multifaceted and widespread phenomenon with substantial clinical and societal burden, making reliable automated assessment a critical objective. This paper presents a lightweight transformer architecture that fuses multiple fNIRS representations through a unified tokenization mechanism, enabling joint modeling of complementary signal views without requiring modality-specific adaptations or increasing architectural complexity. The proposed token-mixing strategy preserves spatial, temporal, and time-frequency characteristics by projecting heterogeneous inputs onto a shared latent representation, using a structured segmentation scheme to control the granularity of local aggregation and global interaction. The model is evaluated on the AI4Pain dataset using stacked raw waveform and power spectral density representations of fNIRS inputs. Experimental results demonstrate competitive pain recognition performance while remaining computationally compact, making the approach suitable for real-time inference on both GPU and CPU hardware.

Figures & tables

Explore similar work

CardsList
  1. A Unified Tokenization Framework for Pain Recognition using Heterogeneous 3D Modalities

    Jul 22, 2026Stefanos Gkikas, Christian Arzate Cruz, Valentina Becchetti +3Multimodal Learning

  2. An Exploratory Analysis of Pain Localization via Explainable Computational Modeling

    Jul 22, 2026Ioannis Kyprakis, Stefanos Gkikas, Eric Nichols +2Multimodal Classification

  3. ReFace: Reorganizing Facial Spatiotemporal Representations for Improved Pain Assessment

    Jul 22, 2026Stefanos Gkikas, Yu Fang, Christian Arzate Cruz +2Visual Tokenization