Abstract
The "working alliance"—the collaborative relationship between a therapist and patient—is a primary predictor of psychotherapy success. Traditionally measured via manual psychometric scales, this paper introduces COMPASS (COmputational Mapping of Patient-Therapist Alliance StrategieS), a framework that leverages Large Language Models (LLMs) to quantify alliance directly from session transcripts. By analyzing over 950 sessions, COMPASS demonstrates the ability to predict patient diagnoses and reveal condition-specific patterns in therapeutic bonds.
Introduction
In clinical psychology, the working alliance encompasses the emotional bond and the agreement on therapeutic tasks and goals. The standard assessment tool, the Working Alliance Inventory (WAI), is often limited by low granularity (providing only post-session summaries), high clinician burden, and significant subjective discrepancies between therapist and patient perceptions. COMPASS addresses these challenges by automating the "scoring" of therapy sessions turn-by-turn, offering a scalable, real-time monitor of the therapeutic relationship.
The COMPASS Framework
The COMPASS pipeline integrates several advanced natural language processing techniques to map dialogue to clinical scales.
The framework operates through several key stages:
- Embedding and Semantic Mapping: Dialogue turns are converted into high-dimensional vectors using Doc2Vec and SentenceBERT. These are then compared via cosine similarity to the 36 items of the WAI to infer alliance scores for each turn.
- Sequence Modeling: Specialized architectures, the Working Alliance Transformer (WAT) and WA-LSTM, process these embeddings and scores to classify psychiatric conditions.
- Interpretability Layer: Neural topic modeling identifies core therapeutic themes, while LLMs like GPT-3.5 act as "clinical interpreters" to provide actionable insights into therapist strategies.
Dataset and Experimental Setup
The study utilized the Alexander Street Counseling and Psychotherapy Transcripts dataset, comprising over 950 sessions (200,000+ turns) from 1970 to 2012. The cohort included patients diagnosed with Anxiety (N=498), Depression (N=377), Schizophrenia (N=71), and Suicidal tendencies (N=12).
Key Insights and Results
The application of COMPASS revealed several critical findings regarding the dynamics of the therapeutic alliance:
- Perception Incongruence: Data confirms that therapists consistently overestimate bond strength and task agreement compared to patient self-reports.
- Diagnosis-Specific Trajectories: Alliance patterns vary by condition. Schizophrenia sessions showed a progressive rapport build, whereas suicidal patients often exhibited a disconnect in emotional bonds despite goal agreement.
- Diagnostic Predictive Power: Incorporating inferred alliance scores significantly improved diagnostic classification. The WA-LSTM model achieved 46% accuracy across four conditions (where chance is 25%), suggesting that interaction style is a potent clinical biomarker.
The system identified 10 distinct therapeutic topics, such as "Coping Mechanisms" and "Ethical Boundaries." Mapping these to alliance scores showed that discussing "self-injury" positively impacted the "Task" scale for depression patients but had varying effects in other groups.
Limitations and Future Outlook
While promising, the study notes limitations including data imbalance (small sample for suicidal tendencies) and the nuances of semantic directionality in cosine similarity. Future work aims to validate these automated scores against real-time expert human annotations and develop "human-in-the-loop" systems to provide real-time feedback to clinicians, potentially preventing the fraying of therapeutic alliances in mid-session.
Summary updated