MAPPE · Prolonged Exposure Session Analytics
Interactive demo · synthetic session

Multimodal process measurement for Prolonged Exposure

MAP+PE (Multimodal Affective Psychophysiology for Prolonged Exposure) is a research prototype for quantifying session-level process in Prolonged Exposure (PE) for PTSD. A recorded session is transcribed and speaker-diarized on the clinician's own computer, parsed into the PE session structure, and aligned on a single clock with clinician-logged SUDS and ECG/EDA from an open-source acquisition rig.

From these streams it derives the process indices emphasized in emotional processing theory and the PE literature: peak and end-of-exposure SUDS, within- and between-session change, autonomic reactivity during imaginal exposure, narrative tense and avoidance markers, and candidate hotspots (Foa & Kozak, 1986; Jaycox et al., 1998; Nijdam et al., 2013; Sripada & Rauch, 2015; Wangelin & Tuerk, 2015). Output is evidence-linked, rule-based guidance for the next session, automated fidelity indicators for clinician confirmation, and a longitudinal record that includes the PCL-5.

Speech and language
Local ASR with word-level timestamps (WhisperX) and diarization (pyannote); therapist/patient role assignment; segmentation into check-in, homework review, imaginal exposure, processing and assignment; present-tense proportion, avoidance (skipping, vague) language per 100 words, recount estimates and processing themes.
Vocal prosody
Per-utterance median f0, intensity and speech rate, z-scored within speaker and combined into a smoothed vocal arousal index. The index reflects activation, not discrete emotion.
Self-report
Time-stamped SUDS (0–100) from a clinician keypad, supplemented by ratings parsed from the transcript (clinician entries take precedence), and the PCL-5 total (0–80) per session.
Psychophysiology
ECG R-peak timing for heart rate and RMSSD (windows of at least 60 s); EDA in µS, split into tonic SCL (8 s running median) and SCRs (rise of at least 0.02 µS within 0.5 to 5 s). Rig time is mapped to the session clock with a fitted drift correction.
01

Replay the session

Hover to inspect · click to jump
Segment
SUDS keypad
Elapsed
–
Segment
–
Last SUDS
–
Heart rate (bpm)
–
Skin conductance (µS)
–
Press play to watch the session unfold, or hover over the timeline.

Each panel has its own scale. SUDS: filled circles were entered by the clinician, hollow circles were found in the transcript. Triangles above the segment ribbon mark the three highest-arousal moments of the narrative. Vocal arousal indexes activation, not a specific emotion. The live readouts above show sparklines of the last three minutes.

02

Feedback for the next session

Each card links to the moments behind it. Click a quote to move the cursor there and open the transcript.

03

Imaginal exposure

High-arousal moments

Patient narrative language (per 100 words)

Keyword proxies, not validated codes. PE asks for first-person, present-tense narration with sensory detail, thoughts and feelings; skipping and vague phrases can mark avoided content.

04

Processing and fidelity

Fidelity checklist (automated indicator and rater's record)

Each item has one definition, shown under its name, that both the automated indicator and the rater use, on the same scale. The automated column is a first pass from the recording; the rating is the fidelity record. Ratings that differ from the automated indicator are flagged and agreement is reported; the automated column can be hidden to rate blind. Try it: choose ratings, enter any ID (for example DEMO-1) and save; nothing leaves your browser. The default items are adapted from the PE session outline and can be replaced with a site's PE fidelity checklist.

Themes in the patient's processing talk

05

Homework review

06

Physiology

SUDS and heart rate at each rating

07

Across sessions

Between-session change

08

Transcript

Synthetic
09

Reports

The app produces a printable clinician report and a plain-language progress sheet for the patient, which leaves out clinical tallies and quotes. Download the versions generated from this example:

10

How it works

In session Audio recording Segment marks, SUDS keypad Acquisition rig ECG + EDA at 250 Hz Open-source, Arduino-based Local analysis Transcription + speaker roles Segments, SUDS, language markers Heart rate, HRV, skin conductance All aligned on one clock Feedback for the next session Engagement, avoidance, hotspots Each point linked to its moment Encrypted record across sessions Between-session change in distress and physiological reactivity

During the session the clinician marks segments (check-in, homework review, imaginal exposure, processing) and logs SUDS with a keypad, while the app controls the physiological recording. Afterward, everything runs on the clinician's own computer: raw audio and raw signals are deleted once analyzed, and the saved record is encrypted.

The feedback draws on the exposure-therapy literature on emotional engagement, between-session change in distress, hotspots in trauma memories and physiological reactivity to trauma imagery. The rules are transparent and every flag shows its evidence.

Limitations
  • Speaker roles, segment boundaries and SUDS found in the conversation are automated and can be wrong; clinician-entered values take precedence.
  • Language measures are keyword proxies, not validated clinical codes, and the automated fidelity indicators are a first pass; the clinician or supervisor rating is the fidelity record.
  • Feedback thresholds are provisional and are being calibrated against expert-coded sessions.
  • Physiological measures depend on electrode contact, posture and medication; ECG is used for timing only.
  • Research prototype for trained PE clinicians. It does not diagnose; its guidance and fidelity indicators inform, and clinical judgment governs.
References
  • Foa, E. B., & Kozak, M. J. (1986). Emotional processing of fear: Exposure to corrective information. Psychological Bulletin, 99(1), 20–35.
  • Foa, E. B., Hembree, E. A., Rothbaum, B. O., & Rauch, S. A. M. (2019). Prolonged exposure therapy for PTSD: Emotional processing of traumatic experiences. Therapist guide (2nd ed.). Oxford University Press.
  • Jaycox, L. H., Foa, E. B., & Morral, A. R. (1998). Influence of emotional engagement and habituation on exposure therapy for PTSD. Journal of Consulting and Clinical Psychology, 66(1), 185–192. doi:10.1037/0022-006X.66.1.185
  • Nijdam, M. J., Baas, M. A. M., Olff, M., & Gersons, B. P. R. (2013). Hotspots in trauma memories and their relationship to successful trauma-focused psychotherapy: A pilot study. Journal of Traumatic Stress, 26(1), 38–44. doi:10.1002/jts.21771
  • Sripada, R. K., & Rauch, S. A. M. (2015). Between-session and within-session habituation in Prolonged Exposure Therapy for posttraumatic stress disorder: A hierarchical linear modeling approach. Journal of Anxiety Disorders, 30, 81–87. doi:10.1016/j.janxdis.2015.01.002
  • Wangelin, B. C., & Tuerk, P. W. (2015). Taking the pulse of prolonged exposure therapy: Physiological reactivity to trauma imagery as an objective measure of treatment response. Depression and Anxiety, 32(12), 927–934. doi:10.1002/da.22449