Maintenance Notice

Due to necessary scheduled maintenance, the JMIR Publications website will be unavailable from Wednesday, July 01, 2020 at 8:00 PM to 10:00 PM EST. We apologize in advance for any inconvenience this may cause you.

Who will be affected?

Accepted for/Published in: JMIR AI

Date Submitted: Mar 26, 2026
Open Peer Review Period: Mar 23, 2026 - May 18, 2026
Date Accepted: Jul 22, 2026
(closed for review but you can still tweet)

The final, peer-reviewed published version of this preprint can be found here:

Automating Motivational Interviewing Coding in Adolescent Substance Use Prevention: Human-AI Agreement Study

Cardozo F, Brown EC, Mejía-Trujillo J, Balise R, Cañizares C, Pérez-Gómez A, St. George SM, Gabbay V

Automating Motivational Interviewing Coding in Adolescent Substance Use Prevention: Human-AI Agreement Study

JMIR AI 2026;5:e95964

DOI: 10.2196/95964

PMID: 42640265

Automating Motivational Interviewing Coding in Adolescent Substance Use Prevention: A Human-AI Agreement Study

  • Francisco Cardozo; 
  • Eric C. Brown; 
  • Juliana Mejía-Trujillo; 
  • Raymond Balise; 
  • Catalina Cañizares; 
  • Augusto Pérez-Gómez; 
  • Sara M St. George; 
  • Vilma Gabbay

ABSTRACT

Background:

Motivational Interviewing (MI) is widely used in preventive interventions, yet coding MI techniques and monitoring intervention adherence remain resource-intensive due to the reliance on manual transcription and expert review. Large language models (LLMs) offer a promising approach to automate these tasks, but their agreement with human coders in the context of prevention interventions has not been established.

Objective:

This study evaluated the agreement between an Artificial Intelligence (AI)-based coder (OpenAI's gpt-4.1) and trained human coders on two tasks: (a) identification of MI techniques (e.g., open questions, affirmations, giving of information) at the facilitator-message level, and (b) completing a 21-item checklist of implementation adherence for a brief MI-based preventive intervention for adolescent substance use.

Methods:

Two certified MI facilitators independently coded 72 facilitator messages from two MI session of MI techniques and completed a 21-item MI implementation adherence checklist. The AI-based coder classified the same facilitator messages and adherence checklist using a structured prompt derived from the MI facilitator coding manual. Intercoder agreement in use of MI techniques and implementation adherence was assessed using Cohen's kappa, Fleiss' kappa, and Cochran's Q tests.

Results:

For use of MI techniques, the AI coder demonstrated moderate to substantial agreement with human coders across most techniques, including open questions (k = .66-.69), affirmations (k = .66-.77), and giving of information (k = .91). No statistically significant differences in percentages of MI technique use were observed among the three coders. For MI implementation adherence, overall agreement was moderate (Fleiss' k = .487).

Conclusions:

These findings provide support for the feasibility of using LLMs to recognize MI techniques and assess implementation adherence. Results support a human-AI collaborative model in which the AI coder “pre-codes” facilitator messages and flags sessions for expert review, while human coders retain responsibility for higher-inference judgments. Future research should compare different LLMs and evaluate whether AI-assisted coding improves the scalability of routine implementation monitoring.


 Citation

Please cite as:

Cardozo F, Brown EC, Mejía-Trujillo J, Balise R, Cañizares C, Pérez-Gómez A, St. George SM, Gabbay V

Automating Motivational Interviewing Coding in Adolescent Substance Use Prevention: Human-AI Agreement Study

JMIR AI 2026;5:e95964

DOI: 10.2196/95964

PMID: 42640265

Download PDF


Request queued. Please wait while the file is being generated. It may take some time.

© 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.