Temporal validation of a locally deployed Qwen2.5-7B workflow for text-based psychological screening support in disorders of gut–brain interaction
Yuanchun Chen, Yushen Zhou, Shiyun Lu, Zida Huang
Key points
From the paper's conclusion- These results do not establish predictive validity for independent psychiatric outcomes, contextual superiority over reproducible lexical baselines, or the effectiveness of human–LLM interaction.
Abstract
Background Disorders of gut–brain interaction (DGBIs) are accompanied by psychological distress, sleep disturbance, and somatic symptom burden, but relevant cues in gastroenterology records may be brief. Objective This study aims to evaluate whether a fixed local large language model (LLM) workflow can identify DGBI outpatients who warrant further psychological screening or clinician review from short, pre-questionnaire electronic medical record text extracts. Methods This single-center retrospective study used a temporally separated development-and-test design. Among 660 candidate encounters, 460 met prespecified eligibility criteria; 160 earlier encounters were used to develop and lock the workflow, and 300 later encounters formed the temporal test cohort. Two blinded physicians independently reviewed the same de-identified narratives, with adjudication by a third physician. Physician text judgment was the primary reference; Patient Health Questionnaire-9, Generalized Anxiety Disorder-7, and Patient Health Questionnaire-15 were separate exploratory symptom-burden measures. Sensitivity of risk_signal was the principal performance measure. Results All 300 test encounters generated valid structured outputs. Physician adjudication identified 114 positive, 173 negative, and 13 insufficient cases; the principal analysis included 287 definitive yes/no cases. risk_signal achieved 98.2% sensitivity [95% confidence interval (CI), 93.8%–99.5%], 91.3% specificity (86.2%–94.7%), and 94.1% accuracy (90.7%–96.3%). Across all 300 encounters, final_action routed 142 records (47.3%) compared with 128 (42.7%) for risk_signal, adding 14 reviews. In a fixed-seed 30-encounter sample rerun three times under Ollama v0.30.7, all 90 outputs were valid and all case-level outputs were identical across runs (30/30; 100%, 95% CI, 88.6%–100.0%). No self_harm_review_required flag was triggered (0/300). Conclusions The fixed local workflow showed high agreement with physician judgments derived from the same short narratives and repeatable outputs in a single tested runtime configuration. These results do not establish predictive validity for independent psychiatric outcomes, contextual superiority over reproducible lexical baselines, or the effectiveness of human–LLM interaction. External and prospective workflow validation is required before clinical implementation.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Reliability and readability of five large language models in answering patient-oriented questions about irritable bowel syndrome: a comparative study.Frontiers in medicine · 2026
- AI-assisted development of a rule-based pipeline for pre-examination screening in clinical neuropsychology: An exploratory method-development study.Journal of the International Neuropsychological Society : JINS · 2026
- Evaluating Frontier Large Language Models for AI-Assisted Differential Diagnosis in Gastroenterology: A Comparative Study of Diagnostic Performance and Repeated-Run Consistency.Bioengineering (Basel, Switzerland) · 2026
- AI-driven analysis of patient safety reports using large language models: an exploratory multiple methods studyBMJ Quality & Safety · 2026
- SDS screen-positive prediction from structured questionnaires in university students: a comparative evaluation of large language model prompting strategies.Frontiers in psychiatry · 2026
- Benchmarking public large language model responses to patient-facing inflammatory bowel disease questions: informational quality, transparency proxies, and readabilityFrontiers in Public Health · 2026