PainFormer: a Vision Foundation Model for Automatic Pain Assessment
Not on the map. Why?
Abstract (arXiv)
Pain is a manifold condition that impacts a significant percentage of the population. Accurate and reliable pain evaluation for the people suffering is crucial to developing effective and advanced pain management protocols. Automatic pain assessment systems provide continuous monitoring and support decision-making processes, ultimately aiming to alleviate distress and prevent functionality decline. This study introduces PainFormer, a vision foundation model based on multi-task learning principles trained simultaneously on 14 tasks/datasets with a total of 10.9 million samples. Functioning as an embedding extractor for various input modalities, the foundation model provides feature representations to the Embedding-Mixer, a transformer-based module that performs the final pain assessment. Extensive experiments employing behavioral modalities - including RGB, synthetic thermal, and estimated depth videos - and physiological modalities such as ECG, EMG, GSR, and fNIRS revealed that PainFormer effectively extracts high-quality embeddings from diverse input modalities. The proposed framework is evaluated on two pain datasets, BioVid and AI4Pain, and directly compared to 75 different methodologies documented in the literature. Experiments conducted in unimodal and multimodal settings demonstrate state-of-the-art performances across modalities and pave the way toward general-purpose models for automatic pain assessment. The foundation model's architecture (code) and weights are available at: https://github.com/GkikasStefanos/PainFormer.
Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Builds on 30 of its 124 references that are in the map. First posted on arXiv 2 May 2025.
Builds on
30 of 124 references.
References · 30
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2023Segment Anythingcited by 8,234
- 2015Rethinking the Inception Architecture for Computer Visioncited by 5,475
- 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
- 2024Depth Anything: Unleashing the Power of Large-Scale Unlabeled Datacited by 1,360
- 2021Perceiver: General Perception with Iterative Attentioncited by 1,104
- 2017VGGFace2: A dataset for recognising faces across pose and agecited by 914
- 2019AugMix: A Simple Data Processing Method to Improve Robustness and Uncertaintycited by 901
- 2022A Generalist Agentcited by 808
- 2021Transformer in Transformercited by 633
- 2017AffectNet: A Database for Facial Expression, Valence, and Arousal Computing in the Wildcited by 492
- 2023Medical SAM Adapter: Adapting Segment Anything Model for Medical Image Segmentationcited by 490
18 more
- 2014Learning Face Representation from Scratchcited by 453
- 2021TrivialAugment: Tuning-free Yet State-of-the-Art Data Augmentationcited by 227
- 2016FractalNet: Ultra-Deep Neural Networks without Residualscited by 216
- 2023Foundational Models Defining a New Era in Vision: A Survey and Outlookcited by 110
- 2022DigiFace-1M: 1 Million Digital Face Images for Face Recognitioncited by 92
- 2018ECG Heartbeat Classification: A Deep Transferable Representationcited by 76
- 2022SFace: Privacy-friendly and Accurate Face Recognition using Synthetic Datacited by 63
- 2021An Image Patch is a Wave: Phase-Aware Vision MLPcited by 61
- 2020Digital Voicing of Silent Speechcited by 24
- 2020SpeakingFaces: A Large-Scale Multimodal Dataset of Voice Commands with Visual and Thermal Video Streamscited by 21
- 2023Transformer Encoder with Multiscale Deep Learning for Pain Classification Using Physiological Signalscited by 14
- 2024Twins-PainViT: Towards a Modality-Agnostic Vision Transformer Framework for Multimodal Automatic Pain Assessment using Facial Videos and fNIRScited by 14
- 2024Synthetic Thermal and RGB Videos for Automatic Pain Assessment utilizing a Vision-MLP Architecturecited by 12
- 2024A Full Transformer-based Framework for Automatic Pain Estimation using Videoscited by 11
- 2024Faces of Experimental Pain: Transferability of Deep Learned Heat Pain Features to Electrical Paincited by 9
- 2024Multi-task Neural Networks for Pain Intensity Estimation using Electrocardiogram and Demographic Factorscited by 7
- 2024Transformer with Leveraged Masked Autoencoder for video-based Pain Assessmentcited by 7
- 2021Non-contact Pain Recognition from Video Sequences with Remote Physiological Measurements Predictioncited by 6
Built on by
Citing papers per year: 2025: 3; 2026: 7.
10 papers.
- 2025Efficient Pain Recognition via Respiration Signals: A Single Cross-Attention Transformer Multi-Window Fusion Pipelinecited by 11
- 2025Multi-Representation Diagrams for Pain Recognition: Integrating Various Electrodermal Activity Signals into a Single Imagecited by 9
- 2025Tiny-BioMoE: a Lightweight Embedding Model for Biosignal Analysiscited by 8
- 2026A Lightweight Transformer for Pain Recognition from Brain Activitycited by 7
- 2026A Unified Tokenization Framework for Pain Recognition using Heterogeneous 3D Modalitiescited by 7
- 2026ReFace: Reorganizing Facial Spatiotemporal Representations for Improved Pain Assessmentcited by 7
- 2026Towards a Unified Modality-Agnostic Multimodal Framework for Cognitive Workload Assessmentcited by 5
- 2026Beyond the Raw Waveform: Fusing Visual Representations of EDA for Stress Detectioncited by 3
- 2026One-Block Transformer (1BT) for EEG-Based Cognitive Workload Assessmentcited by 1
- 2026FUSE: Frame-Unified Stress Estimation from Facial Videocited by 0
- 2026FUSE: Frame-Unified Stress Estimation from Facial Video11 Aug 2026
- 2026Beyond the Raw Waveform: Fusing Visual Representations of EDA for Stress Detection10 Aug 2026
- 2026Towards a Unified Modality-Agnostic Multimodal Framework for Cognitive Workload Assessment25 Jul 2026
- 2026ReFace: Reorganizing Facial Spatiotemporal Representations for Improved Pain Assessment22 Jul 2026
- 2026A Unified Tokenization Framework for Pain Recognition using Heterogeneous 3D Modalities22 Jul 2026
- 2026One-Block Transformer (1BT) for EEG-Based Cognitive Workload Assessment21 Apr 2026
- 2026A Lightweight Transformer for Pain Recognition from Brain Activity13 Apr 2026
- 2025Efficient Pain Recognition via Respiration Signals: A Single Cross-Attention Transformer Multi-Window Fusion Pipeline29 Jul 2025
- 2025Multi-Representation Diagrams for Pain Recognition: Integrating Various Electrodermal Activity Signals into a Single Image29 Jul 2025
- 2025Tiny-BioMoE: a Lightweight Embedding Model for Biosignal Analysis29 Jul 2025