Saved in:
Bibliographic Details
Main Authors: Gkikas, Stefanos, Rojas, Raul Fernandez, Tsiknakis, Manolis
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2505.01571
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909831942635520
author Gkikas, Stefanos
Rojas, Raul Fernandez
Tsiknakis, Manolis
author_facet Gkikas, Stefanos
Rojas, Raul Fernandez
Tsiknakis, Manolis
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2505_01571
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle PainFormer: a Vision Foundation Model for Automatic Pain Assessment
Gkikas, Stefanos
Rojas, Raul Fernandez
Tsiknakis, Manolis
Computer Vision and Pattern Recognition
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.
title PainFormer: a Vision Foundation Model for Automatic Pain Assessment
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2505.01571