mlsanityData to 7 Oct 2026

Fully-attentive and interpretable: vision and video vision transformers for pain detection

arXiv 2210.15769 ↗First posted 27 Oct 2022cs.CVcited by 2

Not on the map. Why?

Abstract (arXiv)

Pain is a serious and costly issue globally, but to be treated, it must first be detected. Vision transformers are a top-performing architecture in computer vision, with little research on their use for pain detection. In this paper, we propose the first fully-attentive automated pain detection pipeline that achieves state-of-the-art performance on binary pain detection from facial expressions. The model is trained on the UNBC-McMaster dataset, after faces are 3D-registered and rotated to the canonical frontal view. In our experiments we identify important areas of the hyperparameter space and their interaction with vision and video vision transformers, obtaining 3 noteworthy models. We analyse the attention maps of one of our models, finding reasonable interpretations for its predictions. We also evaluate Mixup, an augmentation technique, and Sharpness-Aware Minimization, an optimizer, with no success. Our presented models, ViT-1 (F1 score 0.55 +- 0.15), ViViT-1 (F1 score 0.55 +- 0.13), and ViViT-2 (F1 score 0.49 +- 0.04), all outperform earlier works, showing the potential of vision transformers for pain detection. Code is available at https://github.com/IPDTFE/ViT-McMaster

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 21 of its 46 references that are in the map. First posted on arXiv 27 Oct 2022.

Builds on

21 of 46 references.

References · 21

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  3. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  4. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
  5. 2021ViViT: A Video Vision Transformercited by 1,610
  6. 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,404
  7. 2020Pre-Trained Image Processing Transformercited by 891
  8. 2021Segmenter: Transformer for Semantic Segmentationcited by 855
  9. 2020Quantifying Attention Flow in Transformerscited by 759
  10. 2021Transformer in Transformercited by 632
  11. 2021ImageNet-21K Pretraining for the Massescited by 607
  12. 2021When Vision Transformers Outperform ResNets without Pre-training or Strong Data Augmentationscited by 259
9 more
  1. 2018Joint 3D Face Reconstruction and Dense Alignment with Position Map Regression Networkcited by 195
  2. 2019STM: SpatioTemporal and Motion Encoding for Action Recognitioncited by 142
  3. 2019What Clinicians Want: Contextualizing Explainable Machine Learning for Clinical End Usecited by 134
  4. 2019What Would Elsa Do? Freezing Layers During Transformer Fine-Tuningcited by 87
  5. 2019More Is Less: Learning Efficient Video Representations by Big-Little Network and Depthwise Temporal Aggregationcited by 64
  6. 2021Facial Expression Recognition with Visual Transformers and Attentional Selective Fusioncited by 49
  7. 2016Recurrent Convolutional Neural Network Regression for Continuous Pain Intensity Estimation in Videocited by 12
  8. 2021Personalized Federated Deep Learning for Pain Estimation From Face Imagescited by 8
  9. 2021Unobtrusive Pain Monitoring in Older Adults with Dementia using Pairwise and Contrastive Trainingcited by 6

Built on by

Cited by year

Citing papers per year: 2025: 2.

2 papers.