Pain Reassessment from Pulse Waveforms with Language Model Explanations

Cheng Ding, Jiaming Liu, Daoqiang ZhangarXiv 2026

It’s late, you’re tired, and perhaps you’ve got a nagging headache. If you were in a hospital bed right now, a nurse would eventually come by and ask the standard question: "On a scale of 1 to 10, how much does it hurt?"

The problem is that pain is a moving target. It’s subjective, it’s emotional, and it changes between the times someone actually asks you about it. What if the routine pulse oximeter clipped to your finger—the one generating those green zig-zag lines called photoplethysmography (PPG)—could do the talking for you?

TL;DR

This paper explores using a patient’s own pulse history to track changes in their pain levels. By comparing current pulse waveforms to previous ones from the same person, the researchers built a system that recognizes pain shifts more accurately than looking at a single snapshot. To top it off, they used a Large Language Model (LLM) to turn these complex "black box" predictions into clear, evidence-backed explanations for clinicians.

What Problem Does This Paper Address?

We know that pain affects the autonomic nervous system, which in turn changes how blood flows through your vessels. PPG sensors detect these tiny changes in blood volume. However, using these signals to "read" pain is notoriously hard because everyone’s baseline is different. My "relaxed" pulse might look like your "in pain" pulse.

The authors tackle two main gaps:

  1. The Reference Problem: Does having a "historical" recording of a patient actually help the AI understand their current state, or is the model just cheating by looking at how much time has passed?
  2. The Interpretability Problem: A doctor isn't going to trust a random "Pain Score: 0.82" without knowing why the AI thinks that. We need the AI to explain itself using the patient's actual data.

Methods

The researchers evaluated a staggering 27 different methods to find the best way to represent pulse data. They used a combination of:

  • Hand-crafted biomarkers: Using a tool called pyPPG to extract specific features like pulse rate and waveform morphology.
  • Deep Learning: Using Pulse-PPG to learn raw waveform representations directly from the signal.
  • Longitudinal Pairing: Instead of just classifying "Pain vs. No Pain," they looked at within-patient pairs. They asked the model: "Given these two recordings from the same person, which one represents the higher pain state?"

The "secret sauce" is the Qwen-3-4B LLM interface. Instead of letting the LLM hallucinate freely, they fed it "evidence cards"—fixed data points like the model's score, signal quality, and pulse rate. The LLM then synthesized this into a three-sentence "Pain Reassessment Brief."

Fig. 1. Pain reassessment and evidence-grounded interpretation. a, Database-specific patient splits. b, Fixed current and eligible earlier scores, qi and qj, from selected run-based predictors. c, Clinical evaluation and Qwen interpretation. Traces are training excerpts; j denotes the earlier assessment.

Datasets

The study leveraged two massive, real-world clinical datasets:

  • MIMIC-III: Data from critical care (ICU) patients.
  • MC-MED: Data from emergency department (ER) patients.

In total, they analyzed 52,082 assessments from over 21,514 patients. This allowed them to test "cross-setting transfer"—training a model in the ICU and seeing if it still works in the chaotic environment of the ER.

Key Insights and Ideas

  • History is the Key: The most successful models were those that had access to the "full history" of the patient. When the researchers stripped away the historical pulse data and only left the "time elapsed," the model’s ability to correctly order pain events plummeted. This proves the content of the pulse wave carries vital information, not just the timing of the care process.
  • The "Aha!" of Patient-Specific Baselines: The model isn't just learning what "pain" looks like; it's learning what "pain for you" looks like. By comparing you to yourself, the system bypasses the massive physiological noise that exists between different people.
  • Constrained Creativity: By forcing the LLM to justify its sentences with specific "evidence links," the researchers achieved a 94.7% pass rate on automated fact-checks. This suggests that LLMs can be reliable clinical assistants if they are tethered tightly to the underlying data.

Key Results

  • High Precision: The models achieved an Average Precision (AP) of 0.824 when transferring from critical care to emergency care data.
  • Concordance: Within a 4-hour window, the model correctly identified which of two states was more painful with a concordance of 0.718. Without the historical pulse data, this dropped to 0.534 (barely better than a coin flip).
  • Explainability: The Qwen model was able to accurately describe score changes and signal quality issues, providing a "patient-centered" narrative that is much more useful to a nurse than a raw number.

Limitations and Future Work

The authors are transparent about a few hurdles:

  • Retrospective Nature: This was done on recorded data. A real-world, prospective trial is needed to see how this affects actual patient outcomes.
  • The "Medication Gap": The current model doesn't explicitly factor in when pain meds were given. Future versions could integrate treatment timestamps to see if the pulse "responds" to the morphine as expected.
  • Self-Report Dependency: The system still relies on the patient's initial reports to "ground" the physiological signals. It’s a tool for reassessment, not a replacement for the patient's voice.

In short, the next time you're in a hospital, the "beep-beep" of the monitor might be doing more than just checking your heart rate—it might be telling the staff exactly how you're feeling, in plain English.

Summary updated

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.
BibTeX
@misc{ding2026pain,
  author = {Cheng Ding and Jiaming Liu and Daoqiang Zhang},
  title = {{Pain Reassessment from Pulse Waveforms with Language Model Explanations}},
  year = {2026},
  eprint = {2611.29128},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.29128},
}
Figure