<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Clinical LLMs | Soroush Dianaty, M.D.</title><link>https://soroushdianaty.com/tags/clinical-llms/</link><atom:link href="https://soroushdianaty.com/tags/clinical-llms/index.xml" rel="self" type="application/rss+xml"/><description>Clinical LLMs</description><generator>HugoBlox Kit (https://hugoblox.com)</generator><language>en-us</language><lastBuildDate>Sun, 26 Jul 2026 00:00:00 +0000</lastBuildDate><image><url>https://soroushdianaty.com/media/icon_hu_a589f346fc4c3e9d.png</url><title>Clinical LLMs</title><link>https://soroushdianaty.com/tags/clinical-llms/</link></image><item><title>What 'Hallucination' Actually Means in Clinical LLMs (And How to Measure It)</title><link>https://soroushdianaty.com/blog/what-clinical-hallucination-means/</link><pubDate>Sun, 26 Jul 2026 00:00:00 +0000</pubDate><guid>https://soroushdianaty.com/blog/what-clinical-hallucination-means/</guid><description>&lt;p&gt;In general NLP, a &amp;ldquo;hallucination&amp;rdquo; is typically defined as any model output that is unfaithful to the source prompt or factually inaccurate according to a reference corpus. When evaluating Large Language Models (LLMs) for general chat or creative writing, benchmark evaluation suites measure hallucination rates using string overlap, ROUGE scores, or LLM-as-a-judge sentiment.&lt;/p&gt;
&lt;p&gt;However, when applied to &lt;strong&gt;clinical medicine&lt;/strong&gt;, this standard definition is dangerously incomplete.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="why-standard-nlp-hallucination-benchmarks-fail-in-healthcare"&gt;Why Standard NLP Hallucination Benchmarks Fail in Healthcare&lt;/h2&gt;
&lt;p&gt;A model scoring 90% on a general benchmark (such as MedQA or USMLE multiple-choice datasets) sounds reassuring to AI product managers. But in a clinical workflow, &lt;strong&gt;not all errors carry equal weight&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Consider two hypothetical model outputs generated for an emergency department attending physician:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Error A (Stylistic / Paraphrasing Error):&lt;/strong&gt; The model summarizes a lab result as &lt;em&gt;&amp;ldquo;Mildly elevated blood urea nitrogen observed&amp;rdquo;&lt;/em&gt; when the chart stated &lt;em&gt;&amp;ldquo;BUN slightly above upper limit of normal.&amp;rdquo;&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Error B (Asymmetrical Clinical Risk Error):&lt;/strong&gt; The model omits a single line in a medication reconciliation summary: &lt;em&gt;&amp;ldquo;No known penicillin allergy&amp;rdquo;&lt;/em&gt; when the chart listed a documented history of severe anaphylaxis to amoxicillin.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;On standard NLP metrics (ROUGE-L, BLEU, or token similarity), Error A receives a penalty due to word choice mismatch, while Error B receives a near-perfect score because 98% of the words matched the chart correctly.&lt;/p&gt;
&lt;p&gt;To a clinician, however, Error A is harmless stylistic variation, whereas Error B is potentially fatal.&lt;/p&gt;
&lt;div class="mermaid"&gt;
flowchart TD
A["Model Output Received"] --&gt; B{"Evaluated By Benchmark"}
B --&gt;|Standard NLP Metric| C["Token Overlap / BLEU / ROUGE"]
C --&gt;|Treats All Tokens Equally| D["Misleading Safety Score"]
B --&gt;|Clinical AI Safety Taxonomy| E["1. Contradiction Risk"]
B --&gt;|Clinical AI Safety Taxonomy| F["2. Unsubstantiated Omission"]
B --&gt;|Clinical AI Safety Taxonomy| G["3. Provenance Loss"]
E &amp; F &amp; G --&gt; H["Bedside Safety Clearance"]
&lt;/div&gt;
&lt;hr&gt;
&lt;h2 id="a-3-tier-taxonomy-of-clinical-hallucinations"&gt;A 3-Tier Taxonomy of Clinical Hallucinations&lt;/h2&gt;
&lt;p&gt;To evaluate LLMs effectively for hospital and digital health deployment, we propose partitioning model hallucinations into three clinically distinct categories:&lt;/p&gt;
&lt;h3 id="1-direct-clinical-contradictions-highest-risk"&gt;1. Direct Clinical Contradictions (Highest Risk)&lt;/h3&gt;
&lt;p&gt;An output that explicitly contradicts verifiable facts in the patient chart or established clinical guidelines.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;em&gt;Example:&lt;/em&gt; Recommending Beta-blockers for a patient presenting with active severe bradycardia.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="2-unsubstantiated-inferences-medium-risk"&gt;2. Unsubstantiated Inferences (Medium Risk)&lt;/h3&gt;
&lt;p&gt;An output that asserts a diagnosis, lab trend, or past medical history item that is neither stated in nor logically inferable from the available record, even if the statement happens to be plausible.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;em&gt;Example:&lt;/em&gt; Stating a patient has &amp;ldquo;Type 2 Diabetes&amp;rdquo; based solely on a high BMI without a documented HbA1c or diagnostic code.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="3-provenance-loss--omission-high-operational-risk"&gt;3. Provenance Loss &amp;amp; Omission (High Operational Risk)&lt;/h3&gt;
&lt;p&gt;An output that makes a correct clinical assertion but loses the verifiable audit trail (e.g., citing the wrong date, attributing a specialist note to the wrong provider, or omitting critical allergy/contraindication flags).&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="measuring-clinical-hallucinations-with-evidence-grounding"&gt;Measuring Clinical Hallucinations with Evidence Grounding&lt;/h2&gt;
&lt;p&gt;At Arizona State University, our research focuses on moving beyond static multiple-choice benchmarks toward &lt;strong&gt;evidence-grounded evaluation pipelines&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;In tools like &lt;strong&gt;
&lt;/strong&gt;, we enforce character-level bounding-box provenance and 4-stage quality control loops (&lt;em&gt;Rater $\rightarrow$ IAA $\rightarrow$ Adjudication $\rightarrow$ Reconciliation&lt;/em&gt;). By measuring the exact alignment between generated claims and W3C JSON-LD source metadata, we can calculate true &lt;strong&gt;Clinical Grounding Precision (CGP)&lt;/strong&gt; rather than relying on uncalibrated text similarity.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="conclusion--actionable-takeaways-for-health-tech-teams"&gt;Conclusion &amp;amp; Actionable Takeaways for Health-Tech Teams&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Stop relying on USMLE exam scores as safety proof.&lt;/strong&gt; Exam passing scores measure static knowledge recall, not real-time clinical safety.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Adopt asymmetric risk weighting.&lt;/strong&gt; Weight allergy omissions, dosage miscalculations, and temporal ordering errors heavily over stylistic differences.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Require mandatory evidence provenance.&lt;/strong&gt; Every generated clinical recommendation must cite specific, verifiable source note offsets before being displayed to care providers.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;em&gt;Read more about our ongoing research on
or explore our
.&lt;/em&gt;&lt;/p&gt;</description></item><item><title>Evaluating Clinical LLMs: Beyond Standard NLP Benchmarks</title><link>https://soroushdianaty.com/blog/evaluating-clinical-llms/</link><pubDate>Sat, 25 Jul 2026 00:00:00 +0000</pubDate><guid>https://soroushdianaty.com/blog/evaluating-clinical-llms/</guid><description>&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="Clinical LLM Evaluation &amp;amp; Evidence Grounding Framework"
srcset="https://soroushdianaty.com/blog/evaluating-clinical-llms/featured_hu_463dba9e27e6f1e5.webp 320w, https://soroushdianaty.com/blog/evaluating-clinical-llms/featured_hu_4fda1aec35148172.webp 480w, https://soroushdianaty.com/blog/evaluating-clinical-llms/featured_hu_92434ded838c227c.webp 760w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://soroushdianaty.com/blog/evaluating-clinical-llms/featured_hu_463dba9e27e6f1e5.webp"
width="760"
height="428"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;General-purpose Large Language Models (LLMs) continue to show impressive performance on standardized medical exams (such as USMLE question sets). However, achieving a high score on a multiple-choice exam is fundamentally different from providing &lt;strong&gt;clinically safe, evidence-grounded, and context-aware guidance&lt;/strong&gt; in real-world patient care settings.&lt;/p&gt;
&lt;p&gt;When an LLM is deployed in a hospital or clinic, a single plausible-sounding hallucination can lead to inappropriate treatment, delayed diagnoses, or compromised patient privacy.&lt;/p&gt;
&lt;h2 id="the-limits-of-standard-nlp-benchmarks-in-healthcare"&gt;The Limits of Standard NLP Benchmarks in Healthcare&lt;/h2&gt;
&lt;p&gt;Standard benchmarks like MMLU, MedQA, or GSM8K evaluate static knowledge retrieval and multi-choice reasoning. However, clinical environments present distinct challenges that these benchmarks miss:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Unstructured &amp;amp; Dynamic Context:&lt;/strong&gt; Real patient charts contain fragmented clinical notes, lab trajectories, and temporal dependencies.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Asymmetrical Risk:&lt;/strong&gt; In medicine, false positives and false negatives carry drastically unequal risks. A missing allergy alert is far more catastrophic than a redundant warning.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Auditable Evidence Grounding:&lt;/strong&gt; Clinicians cannot rely on black-box predictions. Every clinical recommendation must cite specific, verifiable evidence from authoritative guidelines or patient EHR records.&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="mermaid"&gt;
flowchart TD
A["General NLP Benchmarks (MMLU / MedQA)"] --&gt;|Multiple Choice Tests| B["High Exam Accuracy"]
B --&gt;|Lacks Context &amp; Provenance| C["Risk of Clinical Hallucination"]
D["Rigorous Clinical AI Evaluation"] --&gt; E["1. Multi-Stage Evidence Grounding (EviTrace)"]
D --&gt; F["2. Granular Data Access Controls (FHIR)"]
D --&gt; G["3. Context-Aware Privacy Classification"]
E &amp; F &amp; G --&gt; H["Deployable &amp; Trustworthy Clinical AI"]
&lt;/div&gt;
&lt;h2 id="three-pillars-of-trustworthy-clinical-ai"&gt;Three Pillars of Trustworthy Clinical AI&lt;/h2&gt;
&lt;h3 id="1-multi-stage-evidence-grounding"&gt;1. Multi-Stage Evidence Grounding&lt;/h3&gt;
&lt;p&gt;Rather than relying on single-pass generation, clinical AI pipelines must extract structured attributes from scientific literature and EHR data with auditable provenance. In our open-source project &lt;strong&gt;EviTrace&lt;/strong&gt;, we implement a 4-stage quality control loop (&lt;em&gt;Rater $\rightarrow$ Inter-Annotator Agreement $\rightarrow$ Adjudication $\rightarrow$ Reconciliation&lt;/em&gt;) to ensure that every output field is anchored in W3C JSON-LD metadata.&lt;/p&gt;
&lt;h3 id="2-context-aware-sensitive-data-classification"&gt;2. Context-Aware Sensitive Data Classification&lt;/h3&gt;
&lt;p&gt;Privacy is paramount. In our recent work presented at the &lt;em&gt;AcademyHealth Annual Research Meeting 2026&lt;/em&gt;, we demonstrate how context-aware LLM architectures can accurately classify sensitive health records (such as substance use disorders or mental health records) under granular data segmentation rules.&lt;/p&gt;
&lt;h3 id="3-interoperability--standards-compliance"&gt;3. Interoperability &amp;amp; Standards Compliance&lt;/h3&gt;
&lt;p&gt;AI tools must integrate directly with existing hospital EHR systems using open standards like &lt;strong&gt;HL7 FHIR&lt;/strong&gt; and clinical terminologies (&lt;strong&gt;SNOMED-CT&lt;/strong&gt;, &lt;strong&gt;LOINC&lt;/strong&gt;, &lt;strong&gt;ICD-10&lt;/strong&gt;). As shown in our research published in &lt;em&gt;Applied Clinical Informatics&lt;/em&gt;, granular data segmentation in FHIR servers is critical for preserving patient consent while maintaining clinical utility.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="conclusion--future-directions"&gt;Conclusion &amp;amp; Future Directions&lt;/h2&gt;
&lt;p&gt;Building trustworthy clinical AI requires bridging the gap between computational data science and frontline medical practice. Moving forward, the focus must shift from chasing raw model scale to developing rigorous, domain-specific evaluation frameworks that guarantee safety, transparency, and evidence grounding.&lt;/p&gt;</description></item><item><title>Early Evidence for Context-Aware Large Language Models (LLMs) in Sensitive Health Data Classification</title><link>https://soroushdianaty.com/events/academyhealth-arm-2026/</link><pubDate>Sat, 30 May 2026 00:00:00 +0000</pubDate><guid>https://soroushdianaty.com/events/academyhealth-arm-2026/</guid><description/></item><item><title>Early Evidence for Context-Aware Large Language Models (LLMs) in Sensitive Health Data Classification</title><link>https://soroushdianaty.com/publications/context-aware-llm-sensitive-health-data/</link><pubDate>Sat, 30 May 2026 00:00:00 +0000</pubDate><guid>https://soroushdianaty.com/publications/context-aware-llm-sensitive-health-data/</guid><description/></item></channel></rss>