Pain in 3D: Generating Controllable Synthetic Faces for Automated Pain Assessment

Xin Lei Lin, Soroush Mehraban, Abhishek Moturu, Babak Taati
9/20/2025
cs.CVcs.LG

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Automated pain assessment from facial expressions is crucial for non-communicative patients, such as those with dementia. Progress has been limited by two challenges: (i) existing datasets exhibit severe demographic and label imbalance due to ethical constraints, and (ii) current generative models cannot precisely control facial action units (AUs), facial structure, or clinically validated pain levels. We present 3DPain, a large-scale synthetic dataset specifically designed for automated pain assessment, featuring unprecedented annotation richness and demographic diversity. Our three-stage framework generates diverse 3D meshes, textures them with diffusion models, and applies AU-driven face rigging to synthesize multi-view faces with paired neutral and pain images, AU configurations, PSPI scores, and the first dataset-level annotations of pain-region heatmaps. The dataset comprises 82,500 samples across 25,000 pain expression heatmaps and 2,500 synthetic identities balanced by age, gender, and ethnicity. We further introduce ViTPain, a Vision Transformer based cross-modal distillation framework in which a heatmap-trained teacher guides a student trained on RGB images, enhancing accuracy, interpretability, and clinical reliability. Together, 3DPain and ViTPain establish a controllable, diverse, and clinically grounded foundation for generalizable automated pain assessment.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{lin2025pain,
  title  = {Pain in 3D: Generating Controllable Synthetic Faces for Automated Pain Assessment},
  author = {Xin Lei Lin and Soroush Mehraban and Abhishek Moturu and Babak Taati},
  year   = {2025},
  eprint = {2509.16727},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.16727v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.16727.svg)](https://codeofpaper.com/paper/2509.16727)

Discussion