Currently submitted to: JMIR Research Protocols
Date Submitted: Jul 15, 2026
Open Peer Review Period: Jul 31, 2026 - Sep 25, 2026
(currently open for review)
Warning: This is an author submission that is not peer-reviewed or edited. Preprints - unless they show as "accepted" - should not be relied on to guide clinical practice or health-related behavior and should not be reported in news media as established information.
Automating Observational Coding of Psychotherapy Quality with Natural Language Processing
ABSTRACT
Quality monitoring is essential in psychotherapy clinical trials and for supporting evidence-based interventions in mental health service settings. Observational, moment-to-moment coding is ideally suited for capturing information about the quality of behavioral treatments but is too burdensome in most settings. Natural Language Processing (NLP) has the potential to reduce burden by automating quality coding. Recent work has demonstrated the viability of this approach, but studies have yet to test whether it can be used to capture interactions in traditional, conversation-based therapy or with underrepresented subgroups. To fill these gaps, we describe methods and work to date for testing NLP-based quality coding using audio session recordings from six clinical trials of exposure-based CBT for youth and/or adults with anxiety and related disorders (ARDs), across research and community settings. We describe methods for (1) human coders using a validated, moment-to-moment observational quality measure, (2) the NLP pipeline including training, validation, and testing, (3) mitigating against bias, and (4) data analysis. We also detail plans for engaging a variety of partners (e.g., providers, agency administrators, payers, technology developers) from multiple settings (e.g., community clinic, hospital, industry) to guide the project and enhance future utility. In addition to implications for measuring quality in exposure-based CBT, methods may serve as a framework for automating other quality measures and for early engagement of partners/end-users during AI development. Not applicable
Citation
Request queued. Please wait while the file is being generated. It may take some time.
Copyright
© The authors. All rights reserved. This is a privileged document currently under peer-review/community review (or an accepted/rejected manuscript). Authors have provided JMIR Publications with an exclusive license to publish this preprint on it's website for review and ahead-of-print citation purposes only. While the final peer-reviewed paper may be licensed under a cc-by license on publication, at this stage authors and publisher expressively prohibit redistribution of this draft paper other than for review purposes.