Pain Reassessment from Pulse Waveforms with Language Model Explanations
Organizations: College of Artificial Intelligence, Nanjing University of Aeronautics and Astronautics, Nanjing, China · Jinling Clinical Medical College, Nanjing University of Aeronautics and Astronautics, Nanjing, China
Abstract
Routine photoplethysmography (PPG) offers a continuous physiological signal for pain reassessment between self-reports. Whether prior recordings provide an individualized physiological reference beyond care-process timing remains unresolved. Across 52,082 report-linked assessments from 21,514 patients in MIMIC-III critical care and MC-MED emergency care, we evaluate a workflow that pairs longitudinal PPG representations with local evidence-linked language interpretation. Among 27 methods, source-selected full-history models achieved average precision of 0.824 from critical to emergency care and 0.822 in reverse. Removing historical pulse-run representations while retaining reassessment availability and elapsed time lowered critical-to-emergency four-hour within-patient concordance from 0.718 to 0.534. This comparison supports the contribution of prior pulse-run representations to within-patient ordering beyond timing cues. Across 2,905 test patients, a local Qwen model interpreting frozen predictions achieved a 94.7% patient-equal pass rate on automated evidence checks after at most one revision. Longitudinal pulse context and evidence-linked language interpretation support a patient-centred workflow for pain reassessment.
Figures & tables
| MIMIC-III v1.4 | MC-MED v1.0.0 | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Role | People | Encounters | Assessments | Reference 0 | Reference 1 | People | Encounters | Assessments | Reference 0 | Reference 1 |
| All | 3,353 | 3,627 | 19,147 | 5,698 | 13,449 | 18,161 | 21,866 | 32,935 | 11,847 | 21,088 |
| Train | 2,351 | 2,532 | 13,374 | 3,933 | 9,441 | 13,545 | 16,803 | 25,372 | 9,226 | 16,146 |
| Validation | 518 | 563 | 3,114 | 931 | 2,183 | 2,195 | 2,423 | 3,546 | 1,224 | 2,322 |
| Test | 484 | 532 | 2,659 | 834 | 1,825 | 2,421 | 2,640 | 4,017 | 1,397 | 2,620 |
| Family | Method | MC MC | MC MI | MI MC | MI MI |
|---|---|---|---|---|---|
| Current | LR | 0.704 (0.681–0.728) | 0.658 (0.612–0.705) | 0.686 (0.663–0.710) | 0.692 (0.645–0.738) |
| CatBoost | 0.718 (0.695–0.742) | 0.679 (0.633–0.725) | 0.702 (0.679–0.726) | 0.704 (0.658–0.749) | |
| TabM | 0.724 (0.701–0.747) | 0.691 (0.646–0.736) | 0.696 (0.673–0.720) | 0.698 (0.652–0.744) | |
| MeanMIL | 0.731 (0.708–0.754) | 0.682 (0.637–0.728) | 0.701 (0.678–0.725) | 0.695 (0.649–0.741) | |
| AttentionMIL | 0.726 (0.703–0.749) | 0.685 (0.640–0.730) | 0.699 (0.676–0.723) | 0.701 (0.655–0.747) | |
| PairRankingMIL | 0.722 (0.699–0.745) | 0.680 (0.634–0.726) | 0.705 (0.682–0.729) | 0.706 (0.660–0.751) |
| MC-MED source | MIMIC source | |||
|---|---|---|---|---|
| Test cohort | MC | MI | MC | MI |
| Macro F1 | 0.677 | 0.677 | 0.671 | 0.719 |
| Sensitivity | 0.731 | 0.667 | 0.713 | 0.725 |
| Specificity | 0.630 | 0.706 | 0.641 | 0.727 |
| Positive predictive value | 0.775 | 0.780 | 0.775 | 0.806 |
| Pain-class F1 | 0.753 | 0.719 | 0.743 | 0.763 |
| 1 h | 4 h | ||||||
| Setting | Frozen model | Endpoint AP | Reference | Concordance | Endpoint AP | Reference | Concordance |
| MC MC | RunTabM | 0.768 (0.714–0.821) | 0.530 | 0.715 (0.618–0.806) | 0.774 (0.736–0.812) | 0.549 | 0.708 (0.635–0.778) |
| MC MI | RunTabM | 0.781 (0.688–0.882) | 0.522 | 0.733 (0.533–0.900) | 0.769 (0.722–0.816) | 0.538 | 0.722 (0.625–0.812) |
| MI MC | RunCatBoost | 0.772 (0.719–0.824) | 0.530 | 0.724 (0.627–0.816) | 0.779 (0.742–0.816) | 0.549 | 0.718 (0.646–0.786) |
| MI MI | RunCatBoost | 0.794 (0.704–0.892) | 0.522 | 0.750 (0.550–0.917) | 0.806 (0.758–0.852) | 0.538 | 0.742 (0.646–0.829) |
| Setting | Input | AP (95% interval) | 1 h (95% interval) | 4 h (95% interval) |
|---|---|---|---|---|
| MC MC | Full history | 0.827 (0.808–0.846) | 0.715 (0.618–0.806) | 0.708 (0.635–0.778) |
| MC MC | Current with indicators | 0.742 (0.719–0.765) | 0.612 (0.509–0.710) | 0.624 (0.548–0.698) |
| MC MC | Current only | 0.736 (0.713–0.759) | 0.605 (0.502–0.703) | 0.618 (0.542–0.691) |
| MC MI | Full history | 0.822 (0.784–0.858) | 0.733 (0.533–0.900) | 0.722 (0.625–0.812) |
| MC MI | Current with indicators | 0.718 (0.674–0.762) | 0.600 (0.367–0.833) | 0.591 (0.488–0.692) |
| MC MI | Current only | 0.711 (0.667–0.755) | 0.633 (0.400–0.850) | 0.608 (0.505–0.708) |
| a Full-roster reassessment briefs | ||||||
| Application | Test roster | Patient-equal rule pass (%) | ||||
| Patients | Records | Initial | One revision | |||
| MC MC | 2,421 | 4,017 | 69.5 (67.9–71.2) | 95.7 (95.1–96.2) | ||
| MC MI | 484 | 2,659 | 36.3 (33.6–39.1) | 84.9 (83.3–86.5) | ||
| MI MC | 2,421 | 4,017 | 90.9 (90.0–91.7) | 95.9 (95.4–96.4) | ||
| MI MI | 484 | 2,659 | 84.2 (82.4–86.0) | 94.2 (93.2–95.2) | ||
Photoplethysmography
Photoplethysmography (PPG) uses changes in light absorption to measure blood-volume pulses for wearable and camera-based health monitoring.
See all 69 papers