Skip to main content

ETHNOS_APP

Home • Search • Journals • List 0

Using LLMs as a clinician support for detecting defense mechanisms from psychotherapy transcripts

A proof-of-concept study

Bibliographic Data

ID21621646
AuthorsLorenzo 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)
Year2026
Volume45
Issue12
Publication date2026-06-01
Open AccessYes
TypeARTICLE
VenueCurrent Psychology (JOURNAL)
Journal identifiersISSN: 1046-1310 • E-ISSN: 1936-4733
PublisherSpringer Science and Business Media LLC (PUBLISHER)
DOI10.1007/s12144-026-09685-3
OpenAlexW7165910584
LanguageEN
References cited37

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

    American Psychiatric Association American Psychiatric Association, Ewer Ewer•Diagnostic And Statistical Manual…•2013

  • Relational Concepts in Psychoanalysis

    Stephen Α Mitchell, Stephen A Mitchell•Relational Concepts in…•1988

  • Adult Attachment Interview

    Carol George, Mary Main et al.•PsycTESTS Dataset•2018

  • The Defense Style Questionnaire

    Gavin Andrews, Michelle Singh et al.•The Journal of Nervous and Mental…•1993

  • An objective instrument for measuring defense mechanisms.

    Goldine C Gleser, David Ihilevich•Journal of Consulting and…•1969

  • A Guideline of Selecting and Reporting Intraclass Correlation Coefficients for Reliability Research

    Open Access•Terry K Koo, Mae Y Li•Journal of Chiropractic Medicine•2016

  • Measurement and Control of Response Bias

    Delroy L Paulhus•Measures of personality and…•1991

  • The usefulness of ChatGPT for psychotherapists and patients

    Open Access•Paolo Raile•Humanities and Social Sciences…•2024

  • Coping and Defense Mechanisms

    Open Access•Phebe Cramer•Journal of Personality•1998

  • Preliminary Reliability and Validity of the DMRS-SR-30, a Novel Self-Report Measure Based on the Defense Mechanisms Rating Scales

    Open Access•Mariagrazia Di Giuseppe, J Christopher Perry et al.•Frontiers in Psychiatry•2020

  • The capacity for understanding mental states

    Open Access•P Fonagy, M Steele et al.•Infant Mental Health Journal•1991

  • A Preliminary Report on Defenses and Conflicts Associated with Borderline Personality Disorder

    Open Access•J Christopher Perry, Steven H Cooper•Journal of the American…•1986

Highly citedNo

Tools

Open DOIOpen Access
Ethnos_APP • Open Source Project • MIT License • Frontend v2.0.0 • Privacy and Cookies • API Documentation: api.ethnos.app/docs • API Source Code: GitHub • DOI: 10.5281/zenodo.17049435 • Frontend Source Code: GitHub • DOI: 10.5281/zenodo.17050053 • cruz.rio.br • Expectantes Misericordiae