Automated systems for coding psychotherapeutic discourse

 
Audio is AI-generated
1

Abstract

Context and relevance. Currently, the development of machine learning and natural language processing technologies has made significant progress in terms of analyzing the intentional, psychological structure of texts. It is important to assess the capabilities and limitations of these technologies in solving such problems. We consider the achievements in this scientific field using the example of automated coding systems for psychotherapeutic discourse. Objective. To analyze modern international articles concerning the development and application of automated coding systems for psychotherapeutic discourse, to identify the main approaches to coding automation, and to characterize the range of tasks solved using machine learning technologies Hypothesis. Automated coding systems for psychotherapeutic discourse are used to solve a wide range of research and applied tasks. Methods and materials. Systems were used to search for articles arxiv.org, APA PsycNet, frontiers, ResearchGate, ACL Anthology, Taylor & Francis online, Nature, Semantic Scholar, Science Direct, Wiley Online Library. The search was carried out by keywords: «psychotherapy», «discourse», «conversationalism», «behavioral coding», «deep learning», «large language models». The main focus was on publications for 2020/23-2025. Results. Currently, three main approaches are being implemented to automate coding systems for psychotherapeutic discourse: traditional (with expert selection of features for discourse categories), LLM-prompting (using large language models through special instructions —promptov), finetuning (further training models on specialized data). Automated coding systems are used to solve a wide range of tasks: studying the structure and dynamics of the psychotherapeutic process, assessing qualifications, training and supporting psychotherapists, analyzing the impact of discourse features on the therapeutic alliance and the outcome of therapy. Conclusions. The analysis of publications has shown that modern artificial intelligence technologies are capable of encoding psychotherapeutic discourse at a level comparable to humans. This significantly expands the possibilities of using automated systems in solving research and applied (training and support of psychotherapists) tasks.

General Information

Keywords: psychotherapeutic discourse, speech interaction, discourse coding systems, large language models, machine learning, automated text analysis systems

Journal rubric: Medical Psychology

Article type: review article

DOI: https://doi.org/10.17759/jmfp.2026150204

Received 13.08.2025

Revised 18.03.2026

Accepted

Published

For citation: Latynov, V.V., Vlasova, A.S. (2026). Automated systems for coding psychotherapeutic discourse. Journal of Modern Foreign Psychology, 15(2), 37–46. (In Russ.). https://doi.org/10.17759/jmfp.2026150204

© Latynov V.V., Vlasova A.S., 2026

License: CC BY-NC 4.0

References

  1. Aghakhani, E., Wang, L., Washington, K.T., Demiris, G., Huh-Yoo, J., Rezapour, R. (2025). From conversation to automation: Leveraging LLMs for problem-solving therapy analysis. In: Findings of the Association for Computational Linguistics: ACL 2025 (pp. 25189—25207). Kerrville: Association for Computational Linguistics. https://doi.org/10.18653/v1/2025.findings-acl.1292
  2. Ahmadi, A., Noetel, M., Schellekens, M., Parker, P., Antczak, D., Beauchamp, M., Dicke, Th., Diezmann, C., Maeder, A., Ntoumanis, N., Yeung, A., Lonsdale, C. (2021). A systematic review of machine learning for assessment and feedback of treatment fidelity. Psychosocial Intervention, 30(3), 139—153. https://doi.org/10.5093/pi2021a4
  3. Alonso-Vega, J., Pereira, G.-L., Froxán-Parga, M.X. (2022). Functional coding system for verbal interaction in clinical contexts. arXiv, Preprint ytpq5_v1. https://doi.org/10.31234/osf.io/ytpq5
  4. Bar, M., Saad, A., Slonim-Atzil, D., Tuval-Mashiach, R., Gour, T., Baron, N., Mendlovic, S. (2021). Patient—therapist congruent exchanges engaged with the potential-to-experience is associated with better outcome of psychotherapy. Psychology and Psychotherapy: Theory, Research and Practice, 94(S2), 304—320. https://doi.org/10.1111/papt.12274
  5. Bar, M., Saad, A., Weiss, N., Mendlovic, S. (2026). Maintaining relevance in psychodynamic psychotherapy: A novel approach to discerning between effective vs. ineffective discourse correlated with better session outcomes. Psychotherapy Research, 36(1), 177—191. https://doi.org/10.1080/10503307.2025.2455466
  6. Cao, J., Tanana, M., Imel, Z.E., Poitras, E., Atkins, D.C., Srikumar, V. (2019). Observing dialogue in therapy: Categorizing and forecasting behavioral codes. In: Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics (pp. 5599—5611). Kerrville: Association for Computational Linguistics. https://doi.org/10.18653/v1/P19-1563
  7. Chiu, Y.Y., Sharma, A., Lin, I.W., Althoff, T. (2024). A computational framework for behavioral assessment of LLM therapists. arXiv, Preprint arXiv:2401.00820. https://doi.org/10.48550/arXiv.2401.00820
  8. Cohen, B., Zisquit, M., Yosef, S., Friedman, D., Bar, K. (2024). Motivational interviewing transcripts annotated with global scores. In: Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024) (pp. 11642—11657). Torino: ELRA and ICCL. URL: https://aclanthology.org/2024.lrec-main.1017 (viewed: 22.05.2025).
  9. Dauphin, B., Siefert, C. (2025). From Llama to language: Prompt engineering allows general purpose artificial intelligence to rate narratives like expert psychologists. Frontiers in Artificial Intelligence, 8, Article 1398885. https://doi.org/10.3389/frai.2025.1398885
  10. De Jonge, J.M., Schippers, G.M., Schaap, C.P.D.R. (2005). The motivational interviewing skill code: Reliability and a critical appraisal. Behavioural and Cognitive Psychotherapy, 33(3), 285—298. https://doi.org/10.1017/S1352465804001948
  11. Ewbank, M.P., Cummins, R., Tablan, V., Bateup, S., Catarino, A., Martin, A.J., Blackwell, A.D. (2020). Quantifying the association between psychotherapy content and clinical outcomes using deep learning. JAMA psychiatry, 77(1), 35—43. https://doi.org/10.1001/jamapsychiatry.2019.2664
  12. Ewbank, M.P., Cummins, R., Tablan, V., Catarino, A., Buchholz, S., Blackwell, A.D. (2021). Understanding the relationship between patient language and outcomes in internet-enabled cognitive behavioural therapy: A deep learning approach to automatic coding of session transcripts. Psychotherapy Research, 31(3), 300—312. https://doi.org/10.1080/10503307.2020.1788740
  13. Flemotomos, N., Martinez, V.R., Chen, Z., Singla, K., Ardulov, V., Peri, R., Caperton, D.D., Gibson, J., Tanana, M.J., Georgiou, P., Van Epps, J., Lord, S.P., Hirsch, T., Imel, Z.E., Atkins, D.C., Narayanan, S. (2022). Automated evaluation of psychotherapy skills using speech and language technologies. Behavior Research Methods, 54(2), 690—711. https://doi.org/10.3758/s13428-021-01623-4
  14. Gabriel, S., Puri, I., Xu, X., Malgaroli, M., Ghassemi, M. (2024). Can Al relate: Testing large language model response for mental health support. In: Findings of the Association for Computational Linguistics: EMNLP 2024 (pp. 2206—2221). Kerrville: Association for Computational Linguistics. https://doi.org/10.18653/v1/2024.findings-emnlp.120
  15. Gumz, A., Treese, B., Marx, C., Strauss, B., Wendt, H. (2015). Measuring verbal psychotherapeutic techniques — a systematic review of intervention characteristics and measures. Frontiers in Psychology, 6, Article 1705. https://doi.org/10.3389/fpsyg.2015.01705
  16. Gunal, A., Yi, B., Piette, J., Mihalcea, R., Pérez-Rosas, V. (2025). Examining Spanish counseling with MIDAS: A motivational interviewing dataset in Spanish. In: Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (pp. 866—872). Kerrville: Association for Computational Linguistics. https://doi.org/10.18653/v1/2025.naacl-short.73
  17. Han, G., Liu, W., Huang, X., Borsari, B. (2024). Chain of interaction: Enhancing large language models for psychiatric behavior understanding by dyadic contexts. In: 2024 IEEE 12th International Conference on Healthcare Informatics (ICHI) (pp. 392—401). Piscataway: IEEE. https://doi.org/10.1109/ICHI61247.2024.00057
  18. Hasan, M., Carcone, A.I., Naar, S., Eggly, S., Alexander, G.L., Hartlieb, K.E.B., Kotov, A. (2019). Identifying effective motivational interviewing communication sequences using automated pattern analysis. Journal of healthcare informatics research, 3, 86—106. https://doi.org/10.1007/s41666-018-0037-6
  19. Herrero, O., Aulet, A., Alves, D., Rosa, C., Botella, L. (2019). Psychotherapist Interventions Coding System (PICS): A systematic analysis of rhetoric mechanisms in psychotherapy. Narrative Inquiry, 29(1), 157—184. https://doi.org/10.1075/ni.18035.her
  20. Hoang, E., Rogers, E., Ross, R. (2024). How can client motivational language inform psychotherapy agents? In: Proceedings of the 9th Workshop on Computational Linguistics and Clinical Psychology (pp. 23—40). Kerrville: Association for Computational Linguistics. https://doi.org/10.18653/v1/2024.clpsych-1.3
  21. Hsu, S.L., Shah, R.S., Senthil, P., Ashktorab, Z., Dugan, C., Geyer, W., Yang, D. (2025). Helping the helper: Supporting peer counselors via ai-empowered practice and feedback. In: Proceedings of the ACM on Human-Computer Interaction, 9(2), (pp. 1—45). New York: Association for Computing Machinery. https://doi.org/10.1145/3710993
  22. Imel, Z.E., Pace, B.T., Soma, C.S., Tanana, M., Hirsch, T., Gibson, J., Georgiou, P., Narayanan, S.S., Atkins, D.C. (2019). Design feasibility of an automated, machine-learning based feedback system for motivational interviewing. Psychotherapy, 56(2), 318—328. https://doi.org/10.1037/pst0000221
  23. Jiang, M., Zhao, Q., Li, J., Wang, F., He, T., Cheng, X., Yang, B.X., Ho, G.W.K., Fu, G. (2024). A generic review of integrating artificial intelligence in cognitive behavioral therapy. arXiv, Preprint arXiv:2407.19422. https://doi.org/10.48550/arXiv.2407.19422
  24. Kadur, J., Lüdemann, J., Andreas, S. (2020). Effects of the therapist's statements on the patient's outcome and the therapeutic alliance: A systematic review. Clinical Psychology & Psychotherapy, 27(2), 168—178. https://doi.org/10.1002/cpp.2416
  25. Kuhail, M.A., Alturki, N., Thomas, J., Alkhalifa, A.K., Alshardan, A. (2025). Human-human vs human-al therapy: An empirical study. International Journal of Human-Computer Interaction, 41(11), 6841—6852. https://doi.org/10.1080/10447318.2024.2385001
  26. Laricheva, M., Liu, Y., Shi, E., Wu, A. (2026). Scoping review on natural language processing applications in counselling and psychotherapy. British Journal of Psychology, 117(2), 677—701. https://doi.org/10.1111/bjop.12721
  27. Lee, D., Goldwasser, D., Schwab Reese, L. (2024). Towards understanding counseling conversations: Domain knowledge and large language models. In: Findings of the Association for Computational Linguistics: EACL 2024 (pp. 2032—2047). Kerrville: Association for Computational Linguistics. https://doi.org/10.18653/v1/2024.findings-eacl.137
  28. Li, A., Ma, L., Mei, Y., He, H., Zhang, S., Qiu, H., Lan, Z. (2023). Understanding Client Reactions in Online Mental Health Counseling. In: Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (pp. 10358—10376). Kerrville: Association for Computational Linguistics. https://doi.org/10.18653/v1/2023.acl-long.577
  29. Mahmood, Z., Ali, S., Zhu, J., Abdelwahab, M., Collins, M.Y., Chen, S., Zhao, Y.C., Wolff, J., Melamed, O.C., Minian, N., Maslej, M., Cooper, C., Ratto, M., Selby, P., Rose, J. (2025). A Fully Generative Motivational Interviewing Counsellor Chatbot for Moving Smokers Towards the Decision to Quit. In: Findings of the Association for Computational Linguistics: ACL 2025 (pp. 25008—25043). Kerrville: Association for Computational Linguistics. https://doi.org/10.18653/v1/2025.findings-acl.1283
  30. Malgaroli, M., Hull, T.D., Zech, J.M., Althoff, T. (2023). Natural language processing for mental health interventions: A systematic review and research framework. Translational Psychiatry, 13(1), Article 309. https://doi.org/10.1038/s41398-023-02592-2
  31. Mayer, T., Warikoo, N., Eliassaf, A., Atzil-Slonim, D., Gurevych, I. (2024). Predicting client emotions and therapist interventions in psychotherapy dialogues. In: Proceedings of the 18th Conference of the European Chapter of the Association for Computational Linguistics (pp. 1463—1477). Kerrville: Association for Computational Linguistics. https://doi.org/10.18653/v1/2024.eacl-long.88
  32. Meyer, S., Elsweiler, D. (2022). GLoHBCD: A naturalistic German dataset for language of health behaviour change on online support forums. In: Proceedings of the Thirteenth Language Resources and Evaluation Conference (pp. 2226—2235). Paris: European Language Resources Association. URL: https://aclanthology.org/2022.lrec-1.239/ (viewed: 22.05.2026).
  33. Na, H., Hua, Y., Wang, Z., Shen, T., Yu, B., Wang, L., Torous, J., Chen, L. (2025). A survey of large language models in psychotherapy: Current landscape and future directions. In: Findings of the Association for Computational Linguistics: ACL 2025 (pp. 7362—7376). Kerrville: Association for Computational Linguistics. https://doi.org/10.18653/v1/2025.findings-acl.385
  34. Nguyen, V., Jung, S.M., Lee, L., Hull, T.D., Danescu-Niculescu-Mizil, C. (2024). Taking a turn for the better: Conversation redirection throughout the course of mental-health therapy. In: Findings of the Association for Computational Linguistics: EMNLP 2024 (pp. 9507—9521). Kerrville: Association for Computational Linguistics. https://doi.org/10.18653/v1/2024.findings-emnlp.555
  35. Nguyen, V.C., Taher, M., Hong, D., Possobom, V.K., Gopalakrishnan, V.T., Raj, E., Li, Z., Soled, H.J., Birnbaum, M.L., Kumar, S., De Choudhury, M. (2025). Do large language models align with core mental health counseling competencies? In: Findings of the Association for Computational Linguistics: NAACL 2025 (pp. 7503—7526). Kerrville: Association for Computational Linguistics. https://doi.org/10.18653/v1/2025.findings-naacl.418
  36. Pellemans, M., Salmi, S., Mérelle, S., Janssen, W., van der Mei, R. (2024). Automated behavioral coding to enhance the effectiveness of motivational interviewing in a chat-based suicide prevention helpline: Secondary analysis of a clinical trial. Journal of medical internet research, 26, Article e53562. https://doi.org/10.2196/53562
  37. Peretz, G., Taylor, C.B., Ruzek, J.I., Jefroykin, S., Sadeh-Sharvit, S. (2023). Machine learning model to predict assignment of therapy homework in behavioral treatments: Algorithm development and validation. JMIR Formative Research, 7, Article e45156. https://doi.org/10.2196/45156
  38. Rodríguez-Morejón, A., Zamanillo, A., Iglesias, G., Moreno-Gámez, A., Navas-Campaña, D., Moreno-Peral, P., Rodríguez-Arias, J.L. (2018). Development of the therapeutic language coding system (SICOLENTE): Reliability and construct validity. Plos One, 13(12), Article e0209751. https://doi.org/10.1371/journal.pone.0209751
  39. Saiyed, A., Layton, J., Borsari, B., Cheng, J., Kanzaveli, T., Tsvetovat, M., Satterfield, J. (2022). Technology-assisted motivational interviewing: Developing a scalable framework for promoting engagement with tobacco cessation using NLP and machine learning. Procedia Computer Science, 206, 121—131. https://doi.org/10.1016/j.procs.2022.09.091
  40. Sun, X., Pei, J., de Wit, J., Aliannejadi, M., Krahmer, E., Dobber, J.T., Bosch, J.A. (2024). Eliciting motivational interviewing skill codes in psychotherapy with LLMs: A bilingual dataset and analytical study. In: Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (pp. 5609—5621). Paris: ELRA and ICCL. URL: https://aclanthology.org/2024.lrec-main.498/ (viewed: 22.05.2026).
  41. Talia, A., Miller-Bottome, M., Daniel, S.I.F. (2017). Assessing attachment in psychotherapy: Validation of the Patient Attachment Coding System (PACS). Clinical Psychology & Psychotherapy, 24(1), 149—161. https://doi.org/10.1002/cpp.1990
  42. Tanana, M., Hallgren, K.A., Imel, Z.E., Atkins, D.C., Srikumar, V. (2016). A comparison of natural language processing methods for automated coding of motivational interviewing. Journal of Substance Abuse Treatment, 65, 43—50. https://doi.org/10.1016/j.jsat.2016.01.006
  43. Velasco, E.R., Pedersen, H.S., Laursen, D.H., Skinner, T. (2023). A meta-narrative review of coding tools for healthcare interactions and their applicability to written communication. PEC Innovation, 3, Article 100211. https://doi.org/10.1016/j.pecinn.2023.100211
  44. Welivita, A., Pu, P. (2023). Boosting distress support dialogue responses with motivational interviewing strategy. In: Findings of the Association for Computational Linguistics: ACL 2023 (pp. 5411—5432). Kerrville: Association for Computational Linguistics. https://doi.org/10.18653/v1/2023.findings-acl.334
  45. Zainal, N.H., Eckhardt, R., Rackoff, G.N., Fitzsimmons-Craft, E.E., Rojas-Ashe, E., Taylor, C.B., Funk, C., Eisenberg, B., Wilfley, D., Newman, M.G. (2025). Capitalizing on natural language processing (NLP) to automate the evaluation of coach implementation fidelity in guided digital cognitive-behavioral therapy (GdCBT). Psychological Medicine, 55, Article e106. https://doi.org/10.1017/S0033291725000340
  46. Zhang, X., Tanana, M., Weitzman, L., Narayanan, S., Atkins, D., Imel, Z. (2023). You never know what you are going to get: Large-scale assessment of therapists' supportive counseling skill use. Psychotherapy, 60(2), 149—158. https://doi.org/10.1037/pst0000460

Information About the Authors

Vladislav V. Latynov, Candidate of Science (Psychology), Leading Researcher, Laboratory of Artificial Intelligence Technologies in Psychology, Laboratory of Speech Psychology and Psycholinguistics, Institute of Psychology of the Russian Academy of Sciences, Moscow, Russian Federation, ORCID: https://orcid.org/0000-0002-9584-2950, e-mail: latynovvv@ipran.ru

Arina S. Vlasova, Junior Researcher, Laboratory of Artificial Intelligence Technologies in Psychology, Institute of Psychology of the Russian Academy of Sciences, Student, Department of General Psychology, Lomonosov Moscow State University (MSU), Moscow, Russian Federation, ORCID: https://orcid.org/0009-0007-5523-8592, e-mail: arina.vlasova@student.msu.ru

Conflict of interest

The authors declare no conflict of interest.

Ethics statement

This study is a theoretical analysis and did not require ethical approval.

Metrics

 Web Views

Whole time: 2
Previous month: 0
Current month: 2

 PDF Downloads

Whole time: 1
Previous month: 0
Current month: 1

 Total

Whole time: 3
Previous month: 0
Current month: 3