Preliminary evaluation of a typed decision model for counselling dialogue coding using motivational interviewing
This preliminary study evaluates a typed decision model (Jev 1.13) against expert coders and large language models for motivational interviewing dialogue coding, finding that while LLMs achieved higher point estimates, Jev demonstrated superior calibration against expert consensus and significantly lower costs and latency, motivating further evaluation in independent clinical workflows.
Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Technical Summary: Preliminary Evaluation of a Typed Decision Model for Counselling Dialogue Coding
Problem Statement
Automating the coding of psychotherapy sessions remains a significant challenge. Traditional manual coding by trained raters is slow (up to two hours for a 20-minute session) and costly, leaving most recordings unanalyzed. While Large Language Models (LLMs) have shown promise, they face specific limitations in high-stakes clinical domains:
- Hallucination: LLMs may generate plausible but false answers outside predefined categories.
- Sycophancy: RLHF-tuned models may align with user views rather than objective truth, risking inappropriate responses in crisis situations.
- Unreliable Confidence: LLMs often exhibit poor calibration, where stated confidence probabilities do not match actual accuracy, making it difficult to determine which decisions require human review.
- Cost and Latency: Frontier LLMs with adaptive reasoning capabilities incur high token costs and significant response times (minutes), rendering them impractical for real-time, utterance-by-utterance coding.
The study investigates whether typed decision models—a new class of models that output probability distributions over a closed, predefined list of options rather than free text—can overcome these limitations to serve as the decision layer for automated coding systems.
Methodology
The study evaluated Jev 1.13 (TypeSafe AI), the first released "System One" typed decision model, using the AnnoMI dataset. This dataset contains 133 motivational interviewing (MI) demonstration sessions with 9,699 utterances.
- Comparison Groups: Jev 1.13 was compared against:
- A panel of 10 human experts who independently coded the sessions.
- Two frontier LLMs: Claude Opus 5.5 and GPT-6 sol.
- Tasks: The models performed two coding tasks on 428 utterances (subset coded by all 10 experts):
- Therapist Behavior: Classifying utterances as question, input, reflection, or other.
- Client Talk Type: Classifying utterances as change, sustain, or neutral.
- Metrics:
- Agreement: Cohen's calculated against the plurality code of the other nine experts (leave-one-out).
- Calibration: Expected Calibration Error (ECE) measuring the alignment between stated probabilities and accuracy.
- Memorization Checks: Agreement against published codes on single-coder transcripts and a "rewording" experiment where utterances were paraphrased by Claude agents to test if high agreement was due to data contamination.
- Efficiency: Cost per 1,000 utterances and median response latency, measured via a single provider (OpenRouter) on a single day.
Key Results
Agreement with Experts:
- Jev 1.13 demonstrated high agreement with the expert panel. For therapist behavior, (95% CI [0.791, 0.900]), falling within the range of inter-expert agreement. For client talk type, [0.666, 0.824], which was higher than the mean expert agreement (0.595).
- Against the LLMs, Jev showed comparable or superior agreement. While differences with Claude Opus 5.5 included zero in bootstrap intervals, Jev showed higher point estimates than GPT-6 sol on client talk type, though the difference interval included zero, meaning no statistically significant difference was detected.
Calibration:
- Against the ten-expert plurality, Jev showed superior calibration. Its ECE was 0.017 (therapist) and 0.038 (client).
- In contrast, Claude Opus 5.5 was under-confident (ECE 0.103/0.139), and GPT-6 sol was over-confident (ECE 0.051/0.123). Jev's calibration was significantly better than Claude's on both tasks.
- However, when scored against single coders, Jev's ECE exceeded the pre-specified target of 0.05 (0.054 and 0.103), indicating that calibration is sensitive to the reference standard, especially when experts disagree.
Memorization and Stability:
- Agreement on single-coder transcripts ( for therapist, $0.51$ for client) fell within prespecified ranges and below the 0.90 threshold predicted for memorization, suggesting the model was not simply retrieving published codes.
- In the rewording experiment, Jev's agreement decreased slightly on paraphrased utterances (0.025 for therapist, 0.040 for client), but these drops were generally within the 0.05 threshold, though confidence intervals were wide.
Cost and Latency:
- Cost: Jev was significantly cheaper. At US$0.000027 per code, it was 64 times cheaper than GPT-6 sol and 175 times cheaper than Claude Opus 5.5.
- Latency: Jev had a median response time of 475 ms, which was 7.2 to 7.8 times faster than the LLMs (approx. 3.4–3.7 seconds).
Significance and Claims
The paper presents these findings as preliminary, noting that the evaluation was limited to a single public corpus of demonstration sessions and one specific coding scheme. The authors do not claim Jev 1.13 is a definitive solution for clinical deployment but argue it motivates further evaluation.
- Feasibility for Automated Workflows: The results suggest typed decision models can serve as a viable decision layer for automated coding systems. Their ability to output calibrated probabilities over a closed list allows for "selective review" workflows, where the system flags low-confidence codes for human review while processing high-confidence codes automatically.
- Operational Advantages: The model's low latency and cost make it theoretically suitable for real-time monitoring and large-scale retrospective analysis, addressing the scalability issues of both manual coding and current frontier LLMs.
- Clinical Utility: If validated on independent clinical sessions, such tools could enable routine feedback on therapist skills, targeted supervision, and fidelity monitoring across thousands of sessions, rather than relying on small samples.
- Limitations: The study acknowledges that the model's performance on "sustain talk" (associated with poor outcomes) was weaker, and its behavior on real-time, speech-to-text inputs with preceding context remains untested. The closed nature of the model also means it cannot explain its reasoning, potentially complicating error auditing.
In conclusion, the study posits that typed decision models offer a distinct architectural advantage for structured decision-making in mental health by combining the language understanding of large models with the reliability, calibration, and efficiency required for automated coding, provided their limitations are managed through human-in-the-loop verification.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.