Using LLMs as a clinician support for detecting defense mechanisms from psychotherapy transcripts
A proof-of-concept study
Bibliographic Data
| ID | 21621646 |
|---|---|
| Authors | Lorenzo Antichi (0000-0002-2479-033X, University of the Sacred Heart, corresponding author), Elena Sajno (0000-0002-9621-8981, University of Milan), Chiara Rossi (0000-0002-3570-2710, Marconi University), Fabio Frisone (0000-0002-1766-831X, University Niccolò Cusano), Francesca De Salve (0000-0001-9784-2914, Università Cattolica del Sacro Cuore), Osmano Oasi (0000-0003-2134-397X, Università Cattolica del Sacro Cuore), Giuseppe Riva (0000-0003-3657-106X, IRCCS Istituto Auxologico Italiano) |
| Year | 2026 |
| Volume | 45 |
| Issue | 12 |
| Publication date | 2026-06-01 |
| Open Access | Yes |
| Type | ARTICLE |
| Venue | Current Psychology (JOURNAL) |
| Journal identifiers | ISSN: 1046-1310 • E-ISSN: 1936-4733 |
| Publisher | Springer Science and Business Media LLC (PUBLISHER) |
| DOI | 10.1007/s12144-026-09685-3 |
| OpenAlex | W7165910584 |
| Language | EN |
| References cited | 37 |
This proof-of-concept study evaluated the feasibility of using large language models (LLMs) to support clinicians in identifying defense mechanisms in psychodynamic psychotherapy transcripts, comparing LLM assessments with those of psychodynamic therapists in both solo and supervision group settings. The first two sessions of a psychoanalytic case were analyzed. The transcribed sessions were segmented into excerpts and coded by two psychodynamic clinicians and two LLMs (ChatGPT and Gemini) guided with a structured prompt. Coding followed an adapted version of DMRS comprising 12 defenses organized into three maturity levels. For each excerpt, defense mechanisms were identified, and an overall defensive functioning index (ODF) was calculated. Inter-rater agreement was estimated using the Intraclass Correlation Coefficient (ICC), considering human-human, LLM-LLM, human-LLM, and integrated versions (clinical supervision vs. LLM integration) pairs. LLMs tended to assign a higher number of defenses, including more immature ones, producing profiles with lower average ODFs than clinicians, who instead provided more selective and, overall, more mature ratings. However, some of the defenses reported only by LLMs were subsequently recognized by supervised clinicians as clinically relevant and worthy of inclusion. Clinicians showed good to excellent inter-rater reliability, while ChatGPT and Gemini showed low inter-rater reliability, suggesting that the two models are not interchangeable. Agreement between clinicians and LLMs was low across the sessions. Therefore, the combined use of LLMs among clinicians is technically feasible and could potentially enhance understanding of patients’ defensive functioning, especially as a support for case formulation and supervision. Currently, LLMs cannot replace clinical judgment or the therapeutic relationship, but they might be considered as a support tool for clinical practice under human professional guidance
Intraclass correlation · Psychoanalytic theory · Psychodynamic psychotherapy · Psychodynamics · Mental Health via Writing · Personality Disorders and Psychopathology · Psychopathy, Forensic Psychiatry, Sexual Offending
Diagnostic and Statistical Manual of Mental Disorders
Relational Concepts in Psychoanalysis
Adult Attachment Interview
The Defense Style Questionnaire
An objective instrument for measuring defense mechanisms.
A Guideline of Selecting and Reporting Intraclass Correlation Coefficients for Reliability Research
Measurement and Control of Response Bias
The usefulness of ChatGPT for psychotherapists and patients
Coping and Defense Mechanisms
Preliminary Reliability and Validity of the DMRS-SR-30, a Novel Self-Report Measure Based on the Defense Mechanisms Rating Scales
The capacity for understanding mental states
A Preliminary Report on Defenses and Conflicts Associated with Borderline Personality Disorder
| Highly cited | No |
|---|