<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Aleksei Zakharov on Medium]]></title>
        <description><![CDATA[Stories by Aleksei Zakharov on Medium]]></description>
        <link>https://medium.com/@aleksei.zakharov?source=rss-bf65a6b32480------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*RLiJeY9xRTrUe64lqvcPXw.png</url>
            <title>Stories by Aleksei Zakharov on Medium</title>
            <link>https://medium.com/@aleksei.zakharov?source=rss-bf65a6b32480------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 02:00:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@aleksei.zakharov/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Blind LLM comparison keeps brand names out of healthcare LLM scores]]></title>
            <link>https://medium.com/@aleksei.zakharov/blind-llm-comparison-keeps-brand-names-out-of-healthcare-llm-scores-8b3e970cbf39?source=rss-bf65a6b32480------2</link>
            <guid isPermaLink="false">https://medium.com/p/8b3e970cbf39</guid>
            <category><![CDATA[healthcare-ai]]></category>
            <category><![CDATA[llm-evaluation]]></category>
            <category><![CDATA[ai-governance]]></category>
            <category><![CDATA[clinical-nlp]]></category>
            <category><![CDATA[healthtech]]></category>
            <dc:creator><![CDATA[Aleksei Zakharov]]></dc:creator>
            <pubDate>Mon, 02 Nov 2026 15:01:03 GMT</pubDate>
            <atom:updated>2026-11-17T09:49:06.159Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*sHNXAS27lVb5QRC6.jpg" /></figure><p>Blind <a href="https://www.johnsnowlabs.com/introduction-to-large-language-models-llms-an-overview-of-bert-gpt-and-other-popular-models/">LLM</a> evaluation compares model outputs without revealing which provider produced each response, reducing brand-name bias in human review. Healthcare teams use it when clinicians score candidate models on clinical accuracy, safety, guideline adherence and completeness.</p><p>A 2023 <a href="https://pubmed.ncbi.nlm.nih.gov/37115527/">study</a> in JAMA Internal Medicine used this design. Ayers and colleagues drew 195 patient questions from Reddit’s r/AskDocs, each answered by a verified physician, and generated a ChatGPT answer to each. Licensed health care professionals rated every pair in triplicate. The responses were anonymized, randomly ordered and labeled response 1 or response 2. Evaluators preferred the chatbot response in 78.6% of 585 evaluations (95% CI, 75.0%-81.8%).</p><p>Blinding removed author identity from the scores. Response length remained visible: chatbot answers averaged 211 words and physician answers 52, and the study design does not separate the effect of length from the effect of quality.</p><h3>Brand, order and length skew reviewer scores</h3><p>A key challenge in human evaluation is that people do not score text in a vacuum. They score it against expectations, and those expectations are influenced by things that have nothing to do with clinical quality.</p><p>A familiar brand name has an inherent advantage. Reviewers who expect a well-known model to perform well tend to read its outputs more generously, a pattern that shows up long before anyone measures accuracy. Order affects judgment too: the first response a reviewer sees often becomes the reference point everything else is compared against. Formatting sways scores, with cleanly structured answers appearing more authoritative than dense ones that may be more correct. Length sways scores, with longer responses feeling more thorough even when the extra text adds nothing. And once a reviewer forms an early impression, confirmation bias quietly pulls later judgments in the same direction.</p><p>None of these effects mean reviewers are careless. They mean human judgment is sensitive to context, and evaluation designs that ignore that sensitivity end up measuring the context instead of the model.</p><h3>Why blind evaluation matters</h3><p>In a blind comparison, reviewers see responses labeled Response A, Response B and so on, with provider names removed. A private fine-tuned model and a commercial foundation model are scored against the same criteria with no identifying label.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*lEY81efVMkCazBqz.png" /></figure><p>Blind comparison removes provider identity from the review, but teams should also control response order, use the same formatting, define scoring criteria in advance, and monitor reviewer agreement. It also changes the conversation afterward. When a lesser-known model wins a blind evaluation, the result is harder to wave away, because no one can attribute it to brand preference.</p><h3>Comparing models requires more than picking a winner</h3><p>Even with names removed, “which model is best” is rarely the right question. Best at what?</p><p>Healthcare teams evaluate outputs along several dimensions at once: factual accuracy, completeness, safety, adherence to clinical guidelines, quality of citations, soundness of reasoning, and clinical appropriateness for the specific task. A single response can be strong on some of these and weak on others.</p><p>One model may produce the most accurate clinical content while occasionally omitting a required disclaimer. Another may be consistently safe and conservative while missing nuance. A third may cite sources reliably but reason less carefully about edge cases. Ranking these models on a single scale collapses distinctions that matter. A model well suited to drafting patient-facing summaries may be the wrong choice for extracting structured data from clinical notes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1U6zccEhxaeIYYhC.png" /></figure><p>Different tasks require different evaluation criteria, and a robust evaluation captures that instead of forcing every judgment into one number.</p><h3>Evaluation needs structure</h3><p>Healthcare organizations increasingly need evaluation workflows that hold up to scrutiny rather than one-off comparisons run in a spreadsheet. In practice, that means the ability to generate responses from multiple providers, compare them blindly, collect structured human judgments, score quality consistently against defined criteria, measure how much evaluators agree, and track how providers perform over time.</p><p><a href="https://www.johnsnowlabs.com/generative-ai-lab/">Generative AI Lab</a> keeps model generation, blind comparison, structured clinical review, and evaluation analytics in one platform rather than splitting evaluation across provider consoles, spreadsheets, and separate review tools.</p><p>Because reviews are collected as structured data, evaluator agreement becomes measurable. Inter-annotator agreement metrics show where reviewers converge and where they diverge. Low agreement can prompt teams to inspect whether a guideline is ambiguous, a criterion is interpreted inconsistently, or the task itself requires more clinical context.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FhFC5mA4o57KBhqC.png" /></figure><h3>Evaluation does not end after one benchmark</h3><p>Most teams compare models once, choose one, and move on. Healthcare organizations that depend on these systems cannot.</p><p>A new model version ships every few months. Prompts get revised as teams learn what works. Clinical guidelines change. New datasets bring new edge cases. Each of these can change which model performs best, and a comparison run six months ago may no longer describe the models in production today.</p><p>Evaluation therefore becomes an operational workflow rather than a one-time event. The same blind comparison, the same criteria, and the same reviewer pool can be run again whenever something material changes, and the results can be tracked over time rather than rediscovered from scratch. Analytics that record how providers score across rounds provide an ongoing view of model performance, showing whether a model genuinely improved after an update or simply produced a different kind of output. Over many rounds, that history becomes a valuable record of how the organization’s models have performed against its own standards, on its own tasks.</p><h3>The hardest decision is rarely the model</h3><p>The hardest decision in applied <a href="https://www.johnsnowlabs.com/generative-ai-healthcare/">healthcare AI</a> is rarely choosing an LLM. It is building an evaluation process that produces results people trust.</p><p>Healthcare organizations increasingly run multiple models at once. Foundation models evolve every few months, and internal models improve continuously. Evaluation becomes an ongoing part of the AI lifecycle rather than a benchmark run once and filed away.</p><p>The organizations that gain the most value from LLMs are often not the ones using the newest model. They are the ones with the most reliable process for measuring quality, involving clinicians in review, and repeating that process every time the models or the requirements change. To see structured LLM evaluation in action, watch the Generative AI Lab demo or start a free trial.</p><h3>Frequently Asked Questions</h3><p>Q: How do you reduce bias when clinicians compare LLM outputs?</p><p>Reviewers see responses labeled neutrally, such as Response A, Response B, and Response C, without knowing which model produced each one. Scores then reflect the quality of the output rather than the reputation of the provider behind it.</p><p>Q: Can we evaluate models from different providers in the same comparison?</p><p>Yes. With custom LLM integration, teams connect hosted, private, and self-hosted models and generate responses from each within the same evaluation, so outputs from different providers can be compared side by side.</p><p>Q: What criteria can reviewers score against?</p><p>Teams define criteria that fit the task, such as factual accuracy, completeness, safety, guideline adherence, citation quality, and reasoning. Different tasks warrant different rubrics, and the evaluation is structured around the criteria that matter for the work at hand.</p><p>Q: How do we know whether reviewers actually agree?</p><p>Reviews are collected as structured data, so inter-annotator agreement can be measured directly. Agreement metrics show where reviewers converge and where they diverge, which often reveals ambiguous criteria or gaps in the guidelines.</p><p>Q: Is model evaluation a one-time step?</p><p>No. Model versions, prompts, datasets, and clinical guidelines all change over time, so evaluation is set up as a repeatable workflow. Running the same comparison again when something material changes, and tracking results over time, keeps the assessment current instead of frozen at a single benchmark.</p><h3>Learn more</h3><p>Full technical details on LLM Evaluation &amp; Response Comparison are in the <a href="https://nlp.johnsnowlabs.com/docs/en/alab/llm_eval">Generative AI Lab documentation</a>.</p><p><em>Originally published at </em><a href="https://www.johnsnowlabs.com/blind-llm-comparison-keeps-brand-names-out-of-healthcare-llm-scores/"><em>https://www.johnsnowlabs.com</em></a><em> on November 2, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8b3e970cbf39" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Reuse Clinical Annotations Across Projects When Label Schemas Diverge]]></title>
            <link>https://medium.com/john-snow-labs/how-to-reuse-clinical-annotations-across-projects-when-label-schemas-diverge-27503cabe6da?source=rss-bf65a6b32480------2</link>
            <guid isPermaLink="false">https://medium.com/p/27503cabe6da</guid>
            <category><![CDATA[healthcare-ai-challenges]]></category>
            <category><![CDATA[data-annotation-tools]]></category>
            <category><![CDATA[workflow-optimization]]></category>
            <category><![CDATA[clinical-nlp]]></category>
            <category><![CDATA[human-in-the-loop]]></category>
            <dc:creator><![CDATA[Aleksei Zakharov]]></dc:creator>
            <pubDate>Fri, 17 Jul 2026 14:00:49 GMT</pubDate>
            <atom:updated>2026-07-23T07:00:24.440Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*5e00flLas_aaou5g.png" /></figure><p>Reusing clinical annotations across projects means importing existing labeled datasets into a new project even when the label schemas differ. The usual blocker is label schema drift: the same clinical concept appears as “diagnosis,” “Diagnosis,” or “ Primary_Diagnosis” across projects, so imports fail on naming alone. Generative AI Lab resolves this with no-code, import-time label mapping, letting teams reuse annotated data without rewriting schemas or hand-editing JSON.</p><p>Import fails. Not because the data is wrong. Not because the annotations lack quality. But because: diagnosis ≠ Diagnosis</p><p>A healthcare organization has <strong>5,000 annotated clinical notes </strong>from previous projects. The entity boundaries are accurate. The labels are semantically correct. One team’s work can bootstrap another team’s model.</p><p>Except the label naming conventions differ. One project used lowercase. Another used title case. A third used underscores and abbreviations. The clinical meaning is identical. The technical mismatch is absolute.</p><p>So someone spends days writing scripts to rename labels. Days to transform data that was already annotated, already validated, already sitting in the system. The friction is not in creating annotations. The friction is in reusing them.</p><p>This is the hidden cost of annotation schema drift.</p><h3>Why annotated datasets lose value when schemas change</h3><p>Healthcare teams understand that annotated clinical datasets are long-term assets. A health system invests years building diagnosis extraction data, de-identification masks, medication entity annotations, and adverse event labels across multiple projects. These datasets represent substantial organizational knowledge: annotator expertise, guideline development, quality validation.</p><p>Yet that knowledge becomes difficult to reuse the moment label schemas change. And schema evolution is inevitable. Teams evolve. Requirements shift. New vendors bring different conventions. A project that used “Diagnosis” in 2019 uses “Primary_Diagnosis” in 2023. Neither is wrong. Both create integration friction when teams try to combine data across projects.</p><h3>Why label schemas drift as annotation programs mature</h3><p>Label schema evolution is not a sign of poor planning. It is a natural consequence of how annotation programs mature.</p><p>A healthcare organization launches its first NER project. The schema is simple:</p><p>The project succeeds. The team learns. Guidelines improve. New use cases emerge. A second project starts, and the schema reflects accumulated learning:</p><p>Two years later, a third project accounts for clinical complexity that earlier schemas did not capture:</p><p>This evolution happens because teams learn, external vendors participate in different projects, clinical requirements become more specific, and annotation guidelines improve. It is not a failure of schema design. It is normal organizational development.</p><p>The clinical knowledge encoded in all three datasets is sound. The annotations in each project are valid. The underlying entities are correctly identified. But the label names have drifted incrementally over time.</p><h3>Why constant data movement makes annotation reuse essential</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*PviBxZSsupmDZN0s.png" /></figure><p>Five years ago, annotation projects were largely isolated. A team built a dataset, trained a model, deployed it, and moved on. Data rarely moved between projects.</p><p>Today, healthcare AI programs operate differently. Organizations maintain:</p><p>Data moves constantly. Annotations flow between projects, teams, vendors, and systems. Reusing annotated datasets is no longer convenient optimization. It is an operational necessity.</p><p>When data moves this frequently, schema flexibility becomes a requirement. Teams cannot afford to spend days preprocessing JSON files to rename labels. They cannot maintain perfect schema consistency across every project and every external partner. Generative AI Lab gives them exactly that: import-time label mapping that tolerates the schema evolution mature healthcare AI programs produce.</p><h3>How Generative AI Lab maps divergent labels at import</h3><p>Generative AI Lab reconciles these schema differences at import while keeping governance over label definitions intact. Instead of hand-editing JSON files, teams work in a no-code review: Generative AI Lab identifies likely matches, presents them for review, and applies the approved mappings as data is imported.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JkTV9dTuhv0pv7YY.gif" /></figure><p>Generative AI Lab maps a label such as “diagnosis” directly to “Diagnosis” through case-insensitive matching, and surfaces more complex variations such as “Medication_Name” and “Medication” as suggested mappings for human review. Project administrators retain control over the final mapping decisions, ensuring that schema normalization remains both auditable and predictable.</p><p>Once mappings are approved, annotations can be ingested using the project’s standardized schema without modifying the source data.</p><p>The key principle is human oversight. Generative AI Lab proposes, you approve, it executes — keeping the human-in-the-loop control healthcare requires and every mapping auditable.</p><h3>Why reusable annotations are your most valuable clinical datasets</h3><p>The most valuable clinical datasets are rarely the ones created for a single project. They are the datasets that continue generating value across multiple initiatives, teams, and generations of models.</p><p>Reusing those assets requires more than preserving the annotations themselves. It requires workflows that can accommodate the inevitable evolution of labeling standards over time. When schema drift happens (and it will), teams need mechanisms to integrate existing data without prohibitive preprocessing costs.</p><p>As healthcare AI programs mature, the ability to carry annotation investments forward may become just as important as creating them in the first place. Organizations that build this capability into their annotation infrastructure unlock the full value of years of accumulated clinical knowledge. Those that do not face the same friction repeatedly: spending days renaming labels that mean the same clinical thing, redoing work that was already done, and failing to leverage annotation assets that could accelerate new projects.</p><p>The future of healthcare AI is not building isolated datasets for isolated projects. It is building annotation workflows that make data portable, schemas flexible, and existing work reusable across the full lifecycle of clinical AI programs.</p><p>See label mapping in action: schedule a Generative AI Lab walkthrough or open the demo notebook. [Insert the link before publishing.]</p><h3>Frequently Asked Questions</h3><p><strong>Does flexible label matching apply to all label types?</strong></p><p>Yes. In Generative AI Lab, the matching layer works across NER labels, assertion labels, classification labels, and relation labels. Any label type that undergoes schema evolution can be mapped during upload.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*PdziOcdMu02kiun4.gif" /></figure><p><strong>What happens if a label in the uploaded file has no plausible match in the project schema?</strong></p><p>If no suggestion meets the similarity threshold and the user does not define a custom mapping, the import can proceed with that label unmapped (if configured to allow unmapped labels) or rejected (if strict matching is required). The system provides clear feedback about which labels could not be mapped.</p><p><strong>Are mappings permanent, or can they change between uploads?</strong></p><p>Mappings are configurable per upload. Users can define different mappings for different imports of the same data source, though most teams maintain consistent mappings across repeated uploads from the same source.</p><p><strong>Does this feature handle semantic differences, or only syntactic ones?</strong></p><p>This phase focuses on syntactic matching: case differences, minor naming variations, underscore conventions. Complex semantic mapping (e.g., mapping “Primary_Condition” to “Diagnosis” based on clinical meaning) requires human judgment and is handled through manual mapping during the review step.</p><p><strong>Does label mapping change my original annotation files?</strong></p><p>No. Once mappings are approved, Generative AI Lab ingests annotations using the project’s standardized schema without modifying the source data.</p><p><strong>Does label mapping change my original annotation files?</strong></p><p>Schema drift is normal as annotation programs mature: teams learn, guidelines improve, external vendors bring different conventions, and clinical requirements become more specific. The same concept ends up labeled “diagnosis,” “Diagnosis,” or “Primary_Diagnosis” across projects.</p><p><strong>What causes label schemas to drift between annotation projects?</strong></p><p>Schema drift is normal as annotation programs mature: teams learn, guidelines improve, external vendors bring different conventions, and clinical requirements become more specific. The same concept ends up labeled “diagnosis,” “Diagnosis,” or “Primary_Diagnosis” across projects.</p><p><em>Originally published at </em><a href="https://www.johnsnowlabs.com/how-to-reuse-clinical-annotations-across-projects-when-label-schemas-diverge/"><em>https://www.johnsnowlabs.com</em></a><em> on July 17, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=27503cabe6da" width="1" height="1" alt=""><hr><p><a href="https://medium.com/john-snow-labs/how-to-reuse-clinical-annotations-across-projects-when-label-schemas-diverge-27503cabe6da">How to Reuse Clinical Annotations Across Projects When Label Schemas Diverge</a> was originally published in <a href="https://medium.com/john-snow-labs">John Snow Labs</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Medical Image Annotation Should Start with DICOM, Not File Conversion]]></title>
            <link>https://medium.com/@aleksei.zakharov/why-medical-image-annotation-should-start-with-dicom-not-file-conversion-c04f96cda8a1?source=rss-bf65a6b32480------2</link>
            <guid isPermaLink="false">https://medium.com/p/c04f96cda8a1</guid>
            <category><![CDATA[image-annotation]]></category>
            <category><![CDATA[healthcare-ai]]></category>
            <category><![CDATA[image-annotation-tools]]></category>
            <category><![CDATA[workflow-optimization]]></category>
            <dc:creator><![CDATA[Aleksei Zakharov]]></dc:creator>
            <pubDate>Thu, 16 Jul 2026 14:00:47 GMT</pubDate>
            <atom:updated>2026-07-27T08:56:01.550Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zJIQihMlBHsTPUrQ.png" /></figure><p>A radiology AI team has 4,000 chest X-rays ready to annotate. The images sit in the hospital’s imaging archive, stored the way every radiology department stores them: as DICOM files.</p><p>The conversion is not hard. That is what makes it easy to overlook. But it sits between the data and the work, and it has to happen every time new images arrive. A workflow that should start with image review starts with file preparation instead.</p><p>As healthcare organizations expand multimodal AI initiatives, that detour becomes harder to justify.</p><h3>Why DICOM is the standard format for medical imaging</h3><p>DICOM is the standard through which medical images are stored, exchanged, and managed across healthcare. Radiologists review DICOM. PACS systems store DICOM. Imaging devices generate DICOM.</p><p>For healthcare teams, receiving a medical image in DICOM is the expected starting point.</p><p>Clinical imaging workflows speak DICOM natively. Many annotation workflows historically have not. So annotation teams translate data out of the format healthcare uses and into the formats annotation tools prefer, before the annotation work has even started.</p><h3>The operational cost of converting DICOM before annotation</h3><p>A single conversion looks harmless. Export the files, run a script, upload the converted images, move on. At scale, those steps compound into standing operational work.</p><p>Projects acquire preprocessing pipelines that have to be maintained. New team members need documentation explaining how to prepare data before upload. Every time an external collaborator sends a fresh imaging dataset, the conversion runs again. None of this work improves a single annotation. It exists only to make annotation possible.</p><p>Your team already invests heavily in reviewing images, validating labels, and maintaining quality. The platform should not ask for additional setup work before any of that can begin.</p><p>The challenge becomes even more pronounced when imaging data contains multi-frame DICOM objects. Teams may need to split, organize, or otherwise prepare the data before annotation can begin, creating additional preprocessing steps that have little to do with the annotation task itself.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*KJjWShXf4FRxdwMg.gif" /></figure><h3>How Generative AI Lab annotates and de-identifies DICOM files</h3><p>Healthcare annotation workflows have grown more sophisticated. Teams review clinical text, validate de-identification results, compare model outputs, and manage multi-stage approval processes within a single environment. Medical imaging workflows should not require a separate preparation pipeline before annotation can even begin.</p><h3>Annotate DICOM files without conversion</h3><p>Rather than requiring external conversion, the Generative AI Lab platform accepts .dcm files directly, through the UI or supported APIs, and renders them automatically in the annotation interface while preserving the original image quality. From the user’s perspective, annotation begins immediately. Upload DICOM and start annotating/reviewing. The format handling happens internally, and the annotation experience matches the one teams already use for standard image formats.</p><p>Relevant DICOM metadata is retained throughout the workflow rather than requiring teams to manage image files and metadata separately.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*I6UmrYmCWMbQONrs.gif" /></figure><p>The result is a shorter workflow with fewer manual steps and fewer places for preprocessing errors to creep in.</p><h3>De-identify images and metadata with configurable masking</h3><p>The same native support extends to de-identification. DICOM De-Identification projects de- identify both the image content and the DICOM metadata. A dedicated De-identification Settings UI lets you configure a de-identification strategy for every label and metadata field independently, choosing between Masked with Characters, Masked with Fixed-Length Characters, Obfuscation, or None (which leaves the de-identified value empty).</p><h3>Why native DICOM support matters for multimodal healthcare AI</h3><p>Healthcare AI is becoming increasingly multimodal. Organizations combine clinical notes, pathology reports, laboratory results, and medical images within the same initiatives, and annotation workflows are expanding well beyond text.</p><p>As that happens, the distance between source data and annotation matters more. Every preprocessing step adds operational complexity, and every format conversion adds a dependency to maintain. Manual handoffs add points where the workflow can slow down. The most scalable annotation workflows are the simplest ones: they let teams start with the data they already have and move directly into review, validation, and model development.</p><p>Healthcare organizations already work in DICOM. Requiring annotation teams to leave that ecosystem before meaningful work can begin adds friction to workflows that are complicated enough. Supporting DICOM eliminates a manual step that adds operational complexity without adding clinical value.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*SctQN-bisLxEGktW.gif" /></figure><p>The best annotation workflows allow teams to start with the data they already have and move directly into creating training data. As multimodal healthcare AI expands, direct DICOM support will become the norm rather than the exception. To see it in action, watch the Generative AI Lab demo or start a free trial</p><h3>Frequently Asked Questions</h3><p><strong>If the platform converts DICOM internally, what format does it use for rendering?</strong><br>The platform accepts DICOM files and renders them in the annotation interface using standard image formats for display. The conversion happens automatically and requires no user action.</p><p><strong>If the platform converts DICOM internally, what format does it use for rendering?</strong></p><p>Yes. Both single-frame and multi-frame DICOM files can be imported. When a DICOM file contains multiple frames, the platform creates a single annotation task and presents each frame as a separate page within that task. This allows annotators to review and annotate imaging data without first converting or splitting the DICOM file into separate image files.</p><p><strong>Does this support CT and MRI scans?</strong></p><p>No. Annotators use the same interface, the same marking tools, and the same workflow they use with standard image formats. DICOM files upload the same way JPEG or PNG files do.</p><p><strong>Do annotation tools work differently with DICOM?</strong></p><p>No. DICOM support in annotation is a feature for creating training data and annotations. It is not a replacement for PACS viewers, which are built for clinical image review and clinical decision-making. The two serve different purposes.</p><p><strong>Does this replace PACS viewers?</strong></p><p>No. DICOM support in annotation is a feature for creating training data and annotations. It is not a replacement for PACS viewers, which are built for clinical image review and clinical decision-making. The two serve different purposes.</p><p><strong>Can Generative AI Lab de-identify DICOM files?</strong></p><p>Yes. DICOM De-Identification projects de-identify both the image content and the DICOM metadata. Every label and metadata field can be configured with its own masking method, and a comparison view shows the original and de-identified images and metadata side by side before you export.</p><p><em>Originally published at </em><a href="https://www.johnsnowlabs.com/why-medical-image-annotation-should-start-with-dicom-not-file-conversion/"><em>https://www.johnsnowlabs.com</em></a><em> on July 16, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c04f96cda8a1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Custom LLM Integration: Model Flexibility Without Sacrificing Governance]]></title>
            <link>https://medium.com/john-snow-labs/custom-llm-integration-model-flexibility-without-sacrificing-governance-3442bf042298?source=rss-bf65a6b32480------2</link>
            <guid isPermaLink="false">https://medium.com/p/3442bf042298</guid>
            <category><![CDATA[custom-llm]]></category>
            <category><![CDATA[healthcare-ai]]></category>
            <category><![CDATA[data-annotation-tools]]></category>
            <category><![CDATA[hipaa]]></category>
            <category><![CDATA[ai-governance]]></category>
            <dc:creator><![CDATA[Aleksei Zakharov]]></dc:creator>
            <pubDate>Tue, 23 Jun 2026 14:01:13 GMT</pubDate>
            <atom:updated>2026-06-24T09:15:02.314Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3YWjaMtvKixOh8NQ.png" /></figure><p>Most annotation platforms restrict teams to a single <a href="https://www.johnsnowlabs.com/healthcare-llm/">LLM provider</a>. For healthcare and life sciences organizations, this creates compliance risk, cost inefficiency, and limits the use of domain-specific models required for regulatory-grade workflows. Teams cannot deploy fine-tuned biomedical models, cannot guarantee data sovereignty for PHI-containing prompts, and cannot optimize costs by routing simple tasks to smaller models while reserving premium models for complex medical reasoning.</p><p><a href="https://www.johnsnowlabs.com/generative-ai-lab/">Generative AI Lab</a> enables teams to connect any <a href="https://www.johnsnowlabs.com/introduction-to-large-language-models-llms-an-overview-of-bert-gpt-and-other-popular-models/">LLM</a> endpoint (OpenAI, Anthropic Claude, organization-specific fine-tuned models, or locally hosted open-source models) through a secure proxy that handles authentication, routing, and rate limiting. The platform provides model flexibility while maintaining centralized governance. All LLM calls route through infrastructure the organization controls, where data never leaves the compliance boundary, and all LLM activity is fully auditable.</p><p>Teams choose the right model for each annotation task based on cost, performance, and compliance requirements, while administrators maintain centralized control over API credentials, usage monitoring, and data flow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Ds1Vah97N1auD2dW.gif" /></figure><h3>The model lock-in problem in annotation workflows</h3><p>Annotation platforms that support LLM-powered pre-annotation typically integrate with one or two major providers. For standard use cases, this works. But enterprise requirements diverge from standard configurations in predictable ways.</p><p>A pharmaceutical company running pre-annotation on 50,000 clinical trial documents does not need GPT-4 for every task. Entity extraction on structured sections might perform adequately with a smaller, cheaper model. Complex medical reasoning in unstructured narratives justifies premium models. Forcing all tasks through the same model means either overpaying for simple extractions or accepting lower quality on complex ones. Organizations processing <strong>100,000+ documents monthly</strong> report cost reductions of <strong>40–60%</strong> when they can route simple extraction tasks to optimized models while reserving premium models for complex medical reasoning.</p><p>Healthcare organizations operating under HIPAA, GDPR, or jurisdiction-specific data protection regulations need guarantees about where prompts and responses are processed. When the annotation platform routes all LLM calls through a third-party API, the organization loses control over data flow. Audit logs show “LLM call made” but cannot prove which infrastructure processed the PHI-containing prompt or where temporary copies exist. Unlike platforms that hardcode a single provider or require separate pipelines for custom models, regulatory-grade annotation requires centralized LLM routing where all prompts and responses flow through infrastructure the organization controls.</p><p>Domain-specific model performance creates another constraint. A life sciences company annotating adverse event reports from clinical trials might have fine-tuned a biomedical language model on its proprietary data. That model outperforms general-purpose LLMs on their specific entity types and medical terminology. But if the annotation platform only supports general models, the team cannot leverage their custom work.</p><p>When annotation workflows depend on a single LLM provider, pricing changes, API deprecations, or service interruptions directly impact production timelines. The common workaround is running separate annotation pipelines: one using the platform’s integrated LLM, another using custom tooling for organization-specific models. This creates operational overhead, quality control gaps, and makes it harder to maintain consistent annotation guidelines across workflows.</p><h3>Custom LLM integration: how it works</h3><p>Generative AI Lab’s custom LLM integration enables teams to connect <strong>any LLM endpoint</strong> to their annotation projects while maintaining centralized control over authentication, routing, and compliance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9pmKVljaPDBJsT5J.png" /></figure><p><strong>Configure any LLM provider.</strong> Project administrators add custom LLM endpoints through the Integrations interface, providing the base URL, authentication credentials, and model-specific parameters (temperature, max tokens, model type). The platform supports OpenAI-compatible APIs, Anthropic’s Claude API, Azure OpenAI, and any custom endpoint that implements a standard request/response format.</p><p>Teams can use organization-specific fine-tuned models hosted internally, route certain annotation tasks to cost-optimized open-source models, leverage domain-specific commercial models from specialized providers, or maintain local model deployments for <strong>HIPAA</strong> and <strong>GDPR</strong> compliance requirements.</p><p><strong>Route all LLM calls through a secure proxy.</strong> The <strong>proxy-based architecture</strong> acts as the control plane for all LLM traffic. Every request from an annotation workflow passes through this layer, which handles authentication and credential management (API keys and tokens stored encrypted, never exposed to end users), request routing (determines which LLM endpoint receives each request based on project configuration), rate limiting (per-model quotas prevent runaway costs), and audit logging (every LLM call logged with request metadata, response status, and token consumption for regulatory review).</p><p>The proxy architecture solves the data sovereignty problem for PHI-containing workflows. Organizations can deploy the proxy within their own infrastructure, ensuring all prompts containing protected health information remain inside their compliance boundary even when using external LLM providers. The proxy can enforce policies like “only route to on-premises models for clinical data” or “sanitize PHI from prompts before sending to external APIs.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*GKPLGGTW2wdAg35H.gif" /></figure><p><strong>Project-level model selection.</strong> Each annotation project can reference multiple LLMs: default platform-integrated models plus any custom endpoints the team has configured. When setting up pre-annotation or evaluation workflows, users select which model to use for each task type.</p><p>High-value complex annotations use premium models, high-volume simple extractions use cost-optimized models, sensitive clinical data projects route only to on-premises endpoints, and model performance can be compared across providers within the same annotation workflow.</p><p><strong>Role-based access control.</strong> Only users with Project Admin or Owner roles can add, edit, or delete custom LLM configurations. This prevents unauthorized model usage, accidental exposure of API credentials, or circumvention of cost controls. Regular annotators can select from available models but cannot modify configurations or add new endpoints.</p><h3>Technical architecture: proxy-based routing for security and compliance</h3><p>The custom LLM integration uses a proxy-based architecture rather than direct API calls from the annotation platform. This design choice addresses security, compliance, and operational requirements that direct integration cannot satisfy.</p><p><strong>Credential isolation.</strong> API keys and authentication tokens for custom LLMs are stored encrypted in the platform’s credential vault. The proxy retrieves these credentials at request time, authenticates with the target LLM endpoint, and proxies the response back to the annotation workflow. Annotation users never see credentials and cannot extract them from the platform.</p><p><strong>Standardized request/response format.</strong> Different LLM providers use different API schemas. The proxy normalizes requests and responses into a common format, allowing the annotation platform to work with any provider without custom integration code for each one. When a team adds a new LLM endpoint, they specify the model type (completion, chat, embedding), and the proxy handles format translation.</p><p><strong>Rate limiting and cost control.</strong> The proxy enforces per-model rate limits configured by administrators. If an annotation workflow exceeds its quota, the proxy returns a rate limit error rather than making unbounded API calls that could consume budget unexpectedly. Usage metrics flow into the platform’s analytics dashboard, giving administrators visibility into which projects, users, and annotation tasks consume the most LLM capacity.</p><p><strong>Compliance and audit trails.</strong> Every LLM request passes through the proxy, which logs the request timestamp and originating user, project, and annotation task context, model endpoint and parameters used, response status and token consumption, and any errors or policy violations.</p><p>For healthcare organizations where annotation involves <strong>protected health information (PHI)</strong>, these audit logs provide the defensibility that regulatory review requires. When compliance officers ask “where did this patient data go during annotation,” the logs show which LLM endpoints processed which prompts, whether clinical data stayed on-premises, and who authorized the model usage. This level of provenance is non-negotiable for organizations operating under <strong>HIPAA</strong> regulations or preparing annotated datasets for FDA submissions.</p><p><strong>Infrastructure deployment flexibility.</strong> Organizations can deploy the proxy in their own cloud environment, on-premises infrastructure, or use the hosted proxy service included with Generative AI Lab. For teams with strict data residency requirements, self-hosted proxy deployment ensures all LLM traffic remains within their compliance boundary. The proxy can enforce policies like “block all requests to external APIs” or “sanitize PHI from prompts before external routing.”</p><h3>Use cases: when custom LLM integration delivers value</h3><p><strong>Domain-specific model deployment.</strong> A pharmaceutical company fine-tuned a biomedical language model on its clinical trial data and adverse event terminology. The model outperforms general-purpose LLMs on drug-drug interaction extraction and adverse event classification by <strong>15–20 percentage points</strong> in F1 score. With custom LLM integration, they deploy this model alongside general models, using it for domain-specific annotation tasks while falling back to general models for common entity types.</p><p><strong>Cost-optimized annotation at scale.</strong> A healthcare analytics company processes <strong>100,000 clinical documents monthly</strong> for <a href="https://www.johnsnowlabs.com/an-overview-of-named-entity-recognition-in-natural-language-processing/">NER</a> annotation. They use GPT-4 for complex medical reasoning tasks ( <a href="https://www.johnsnowlabs.com/the-impact-of-medical-llms-on-disease-diagnosis-and-treatment/">diagnosis</a> extraction from unstructured narratives) and a smaller open-source model for structured data extraction (medications from formatted lists). This hybrid approach reduces annotation costs by <strong>60%</strong> while maintaining quality where it matters.</p><p><strong>Data sovereignty for PHI-containing workflows.</strong> A European health system must comply with <strong>GDPR</strong> requirements that prohibit sending patient data to US-based cloud services. They deploy a locally hosted LLM within their on-premises infrastructure and configure the proxy to route all annotation traffic to this endpoint. The annotation platform operates as usual, but all prompts containing protected health information stay within their compliance boundary.</p><p><strong>Multi-provider redundancy for production workflows.</strong> A clinical research organization runs time-sensitive annotation workflows for regulatory submissions. They configure <strong>multiple LLM providers</strong> (primary and fallback) and implement automatic failover in the proxy. When the primary provider experiences an outage or rate limiting, the proxy routes requests to the backup provider without workflow interruption.</p><p><strong>Model performance comparison in annotation evaluation.</strong> A data science team evaluating pre-annotation quality needs to compare GPT-4, Claude Sonnet, and their fine-tuned biomedical model on the same annotation tasks. With custom LLM integration, they run parallel annotation workflows using different models and compare inter-annotator agreement, entity coverage, and annotation speed across providers within the same project.</p><h3>Operational impact: governance without sacrificing flexibility</h3><p>Custom LLM integration changes how teams think about model selection in annotation workflows. Instead of “which annotation platform supports the model we need,” the question becomes “which annotation platform gives us control over model routing and governance.”</p><p><strong>Administrators gain centralized visibility.</strong> The platform’s audit dashboard shows LLM usage across all projects: which models are consuming the most capacity, which annotation tasks drive costs, which users are making the most requests. This visibility enables informed decisions about model procurement, capacity planning, and cost allocation.</p><p><strong>Teams optimize for task requirements.</strong> Annotation workflows can mix model selection based on task complexity, data sensitivity, and budget constraints. High-value annotations justify premium models. High-volume routine extractions use cost-optimized endpoints. Sensitive data routes to on-premises models. This granularity was not possible when the platform enforced a single provider.</p><p><strong>Compliance posture improves.</strong> When LLM calls route through a proxy the organization controls, compliance officers can audit exactly where prompts and responses flow. For healthcare organizations, this means defensible answers to regulatory questions about PHI handling. For enterprises with data residency requirements, this means provable control over cross-border data movement.</p><p><strong>Vendor lock-in risk decreases.</strong> Organizations are not dependent on a single LLM provider’s pricing, availability, or API stability. If one provider becomes too expensive or unreliable, administrators can add an alternative endpoint and migrate annotation workflows without platform changes.</p><h3>Frequently asked questions</h3><p>Custom LLMs can be used anywhere the platform supports LLM-powered functionality: pre-annotation, zero-shot prompting, evaluation workflows, and annotation assistance. Teams select which model to use at the project level.</p><p>The proxy supports multiple authentication schemes: API keys in headers, bearer tokens, OAuth flows, and custom authentication methods. When configuring a custom LLM, administrators specify the authentication type, and the proxy handles credential injection at request time.</p><p><strong>Can custom LLMs be used for all annotation tasks, or only specific workflows?</strong></p><p>Custom LLMs are configured at the organization or workspace level and can be shared across projects. Administrators control which projects have access to which models through role-based permissions.</p><p><strong>How does the proxy handle authentication for models that require different credential types?</strong></p><p>The proxy adds minimal overhead (typically under 50ms) for credential injection, logging, and request forwarding. For annotation workflows where LLM response time dominates (1–5 seconds), this overhead is negligible.</p><p><strong>Can the same custom LLM be shared across multiple projects, or does each project need its own configuration?</strong></p><h3>Deploy custom LLM integration in your workflow</h3><p>Custom LLM integration is available in Generative AI Lab for teams that need model flexibility, cost optimization, or data sovereignty in their annotation workflows.</p><p><strong>Does the proxy add latency to LLM requests compared to direct API calls?</strong></p><p>Deploy a pilot with your own LLM endpoints and validate connectivity:<br> 👉 <a href="https://www.johnsnowlabs.com/schedule-a-demo/">Schedule a technical walkthrough</a></p><p>Configure the proxy server in your infrastructure for full control over LLM routing:<br> 👉 <a href="https://nlp.johnsnowlabs.com/docs/en/alab/release_notes">Review deployment documentation</a></p><p>Questions about proxy architecture, model compatibility, or compliance requirements?<br> 👉 <a href="https://www.johnsnowlabs.com/contact/">Contact our team</a></p><p><em>Originally published at </em><a href="https://www.johnsnowlabs.com/custom-llm-integration-model-flexibility-without-sacrificing-governance/"><em>https://www.johnsnowlabs.com</em></a><em> on June 23, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3442bf042298" width="1" height="1" alt=""><hr><p><a href="https://medium.com/john-snow-labs/custom-llm-integration-model-flexibility-without-sacrificing-governance-3442bf042298">Custom LLM Integration: Model Flexibility Without Sacrificing Governance</a> was originally published in <a href="https://medium.com/john-snow-labs">John Snow Labs</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Human-in-the-Loop Still Matters in Healthcare AI]]></title>
            <link>https://medium.com/john-snow-labs/why-human-in-the-loop-still-matters-in-healthcare-ai-b951be64f260?source=rss-bf65a6b32480------2</link>
            <guid isPermaLink="false">https://medium.com/p/b951be64f260</guid>
            <category><![CDATA[healthcare-ai]]></category>
            <category><![CDATA[project-management]]></category>
            <category><![CDATA[data-annotation-tools]]></category>
            <category><![CDATA[healthcare-nlp]]></category>
            <category><![CDATA[human-in-the-loop]]></category>
            <dc:creator><![CDATA[Aleksei Zakharov]]></dc:creator>
            <pubDate>Mon, 22 Jun 2026 14:01:49 GMT</pubDate>
            <atom:updated>2026-06-23T12:23:56.823Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*VAzA9rO1dRXK-ARl.png" /></figure><p>Healthcare organizations are under growing pressure to operationalize AI. <a href="https://www.johnsnowlabs.com/healthcare-nlp/">Clinical NLP</a> pipelines extract diagnoses from notes in seconds. <a href="https://www.johnsnowlabs.com/introduction-to-large-language-models-llms-an-overview-of-bert-gpt-and-other-popular-models/">Large language models</a> summarize encounters, draft responses, and classify documents at scale. <a href="https://www.johnsnowlabs.com/deidentification/">De-identification</a> systems detect protected health information across millions of records automatically.</p><p>Yet healthcare AI workflows break down in surprisingly ordinary ways once they move beyond pilot projects.</p><p>A clinical annotation team launches with <strong>92% inter-annotator agreement</strong> on discharge summary entities. Six weeks later, agreement on the same entity types drops to <strong>78%</strong>. Nothing changed about the model. The dataset became more complex. Multi-comorbidity patients appeared in the queue. Reviewers started interpreting borderline cases differently. Nobody noticed the drift until hundreds of tasks required rework.</p><p>Another organization exports a de-identified dataset after automated PHI detection. The model achieves <strong>99.4% recall</strong>. Compliance review discovers that a <strong>0.6% miss rate</strong> translates to <strong>47 unmasked patient identifiers</strong> in the 7,800-record export. The dataset cannot be shared externally. Three weeks of annotation work require re-validation.</p><p>A third team builds an <a href="https://www.johnsnowlabs.com/healthcare-llm/">LLM-powered clinical summarization tool</a>. Early evaluations show promising fluency. Production deployment reveals that two reviewers prefer different model outputs for the same encounter <strong>40% of the time</strong>, with no systematic way to resolve disagreement or document why one response was approved over another.</p><p>These failures do not indicate model inadequacy. They reveal that <a href="https://www.johnsnowlabs.com/generative-ai-healthcare/">healthcare AI</a> projects collapse when organizations cannot maintain consistency, accountability, and audit trails once real clinical complexity enters the workflow. In regulated environments, operational failures matter just as much as technical ones.</p><p>Human-in-the-loop workflows remain central to healthcare AI operations because automation alone cannot provide the structured oversight, traceability, and clinical judgment that regulatory deployment requires.</p><h3>The pilot looks successful, but the scale breaks the workflow</h3><p>AI workflows often perform well during small evaluations. A clinical team uploads 200 discharge summaries. Pre-annotation runs cleanly. Reviewers move quickly. Early agreement scores exceed targets.</p><p>Operational problems emerge when the project scales to <strong>5,000+ tasks</strong> over multiple weeks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wpkiix3Neok0_NIk.gif" /></figure><p>A reviewer notices that different annotators handle multi-word diagnoses inconsistently. One annotator labels “metastatic non-small cell lung <a href="https://www.johnsnowlabs.com/cancer-registry-automation-the-path-to-real-time-oncology-data/">cancer</a> “ as a single entity. Another separates disease type and staging information into multiple spans. Both interpretations appear clinically reasonable, but they cannot coexist in the same training dataset without creating systematic noise.</p><p>The review queue grows. At week 4, the queue contains <strong>680 tasks</strong> waiting for validation. Annotation throughput averages <strong>85 tasks per day</strong>, but review capacity handles only <strong>44 tasks per day</strong>. The backlog accumulates <strong>41 tasks daily</strong>. By week 8, the review queue reaches <strong>1,500 tasks</strong>, creating a multi-week delay even after annotation completes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TGV-iGOf9coY75oq.gif" /></figure><p>Certain entity types show degrading agreement. <a href="https://www.johnsnowlabs.com/the-impact-of-medical-llms-on-disease-diagnosis-and-treatment/">Diagnosis</a> annotations that maintained <strong>91% agreement</strong> in week 3 drop to <strong>86%</strong> by week 7 as complex cases with overlapping comorbidities appear more frequently. Some exported tasks contain manual corrections applied without documentation of why the change was made or who approved it.</p><p>The model itself performed adequately. The workflow surrounding the model lacked operational structure. No systematic way to track agreement trends, identify bottlenecks before they are compounded, or maintain an audit trail of reviewer decisions.</p><p>Healthcare AI projects rarely fail because models cannot generate useful predictions. They fail because organizations struggle to maintain quality control, consistency, and traceability once clinical complexity scales beyond pilot scope. For organizations operating under <strong>HIPAA</strong> regulations or preparing datasets for <strong>FDA submissions</strong>, the inability to document how decisions were made creates compliance exposure that prevents deployment.</p><h3>Clinical ambiguity requires accountable human interpretation</h3><p>Healthcare data contains inherent ambiguity that NLP models detect but cannot resolve autonomously.</p><p>A medication listed in a discharge summary might represent current treatment (atorvastatin 40mg daily), historical exposure (discontinued metformin after renal function declined), ruled-out therapy (patient declined insulin), or future recommendation (start aspirin if chest pain recurs). The clinical context determines which interpretation applies. NLP models extract all medication mentions. Human reviewers determine which medications represent active prescriptions, which represent clinical history, and which represent contingent recommendations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*eaBEJe4ScpJDm6Cl.png" /></figure><p>A diagnosis may appear as confirmed, suspected, family history, or ruled out based on subtle linguistic cues. “Patient has diabetes” differs clinically from “patient’s mother has diabetes” and “rule out diabetes.” Assertion detection models classify these distinctions with high accuracy on clean text. Real clinical notes contain incomplete sentences, inconsistent formatting, copy-paste errors from previous encounters, and specialty-specific abbreviations that create edge cases requiring interpretation.</p><p>In one annotation project involving <strong>12,000 clinical documents</strong> across <strong>4 annotation batches</strong>, the team discovered that <strong>80% of randomly sampled notes</strong> were irrelevant to the study (nursing processes for unrelated conditions, school incident reports, administrative documentation). The team shifted from pure random sampling to strategic sampling targeting clinically relevant note types. Without human review determining relevance, the training dataset would have contained the majority of irrelevant examples.</p><p>Human oversight remains necessary not because AI cannot generate valuable outputs, but because healthcare workflows require accountable decisions in ambiguous situations. Someone must determine whether a prediction is clinically acceptable, operationally consistent with project guidelines, and compliant with regulatory requirements. That determination must be traceable.</p><h3>Operational memory: The audit trail problem</h3><p>One of the most dangerous operational failures in healthcare AI is the inability to reconstruct how datasets were validated after the fact.</p><p>A dataset undergoes correction over several weeks. Reviewers provide feedback through chat messages, email threads, or spreadsheet comments. Annotators revise outputs manually. Different versions circulate between teams. Months later, nobody can explain which version became the approved ground truth, why certain corrections were made, or who authorized the final export.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TlEfjnTSY7oqmKvx.png" /></figure><p>For healthcare organizations, the consequences extend beyond inconvenience. If an organization cannot reconstruct how a dataset was reviewed, validated, and modified, defending the quality of resulting models becomes difficult. The problem is not only compliance. It affects reproducibility, model validation, and regulatory audit preparedness.</p><p>Structured human-in-the-loop systems solve this by making review a traceable operational process rather than informal collaboration. In the <a href="https://www.johnsnowlabs.com/generative-ai-lab/">Generative AI Lab</a>, reviewer actions, corrections, approvals, and version history maintain continuous audit trails associated with authenticated users and timestamps. When a compliance officer needs to confirm who approved a de-identified export before external sharing, the system provides complete provenance: which annotator submitted the task, which reviewer validated PHI masking, which project administrator authorized export, and when each action occurred.</p><p>For organizations preparing annotated datasets for regulatory submissions, this audit trail is non-negotiable. <strong>FDA validation processes</strong> expect documented evidence of data quality controls, inter-rater reliability measurements, and systematic review procedures. Informal review processes cannot provide that documentation.</p><h3>Quality drift develops gradually, then becomes expensive</h3><p>Agreement drift in annotation projects develops slowly enough to avoid immediate detection, then compounds into expensive rework.</p><p>A project begins with <strong>94% inter-annotator agreement</strong>, stable throughput, and consistent guidelines. The dataset becomes more difficult. More patients present with overlapping comorbidities. Notes grow longer and less standardized. Reviewers interpret borderline cases differently. Nothing appears broken on any single day.</p><p>Over six weeks, inconsistency accumulates inside the dataset. By the time model performance begins degrading during training, <strong>2,400 of 8,000 tasks</strong> already contain systematic inconsistencies requiring correction. The rework cost exceeds the original annotation cost.</p><p>The dangerous characteristic of annotation drift: disagreement patterns change over time in ways that are invisible without continuous monitoring. The important signal is not that reviewers disagree occasionally. Disagreement is expected in complex clinical data. The signal is that disagreement rates increase, that specific entity types show degrading agreement while others remain stable, or that individual annotators diverge from team consensus in systematic ways.</p><p>Human-in-the-loop workflows increasingly rely on operational analytics rather than manual review alone. Inter-annotator agreement trends, reviewer activity patterns, review rate decline, and label-specific agreement breakdowns become early indicators of workflow instability. When the Diagnosis entity agreement drops <strong>5 percentage points</strong> while medication and procedure entities remain stable, the dashboard surfaces this trend before it affects thousands of additional tasks.</p><p>Organizations can intervene while corrections remain manageable. Guidelines can be clarified with specific examples addressing the ambiguous cases causing drift. Calibration sessions can be repeated with the exact entity types showing disagreement. Problematic entity definitions can be refined before inconsistency spreads across the dataset.</p><p>Without real-time visibility into agreement trends, teams discover quality drift only after model training fails or after exported datasets fail validation. At that point, correction costs multiply.</p><h3>Large language models increase the need for systematic review</h3><p>Large language models introduce operational challenges distinct from traditional NLP pipelines.</p><p>Traditional clinical <a href="https://www.johnsnowlabs.com/the-ultimate-guide-to-building-your-own-ner-model-with-python/">NER models</a> are deterministic. Given identical input, they generate identical predictions. LLMs behave differently. Small prompt variations, context changes, or model version updates produce significantly different outputs despite appearing equally plausible.</p><p>A clinical summarization system generates two responses for the same encounter. Response A is more concise. Response B includes more clinical detail but uses less fluent phrasing. Two reviewers prefer different responses for reasons difficult to quantify consistently. Reviewer A values brevity. Reviewer B prioritizes completeness. When asked to choose the better summary, they disagree <strong>40% of the time</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IPlpKeXNyMmV6h-5.png" /></figure><p>Reviewer bias influences evaluation when model identity becomes visible. A response from GPT-4 might receive a more favorable review than an identical response attributed to an open-source model, even when reviewers believe they are evaluating objectively. A more fluently written response appears more convincing even when it omits clinically important details or introduces subtle factual errors.</p><p>Healthcare organizations evaluating LLM outputs need systematic review workflows, not informal preference-based assessment. Blinded model comparisons prevent reviewer bias from influencing evaluation. Structured approval criteria replace subjective preference. Audit logging tracks which reviewer approved which outputs and why. Inter-rater reliability metrics reveal when reviewers apply evaluation criteria inconsistently.</p><p>The goal is not to eliminate human judgment. The goal is to make human judgment operationally consistent enough to support deployment decisions and satisfy regulatory expectations for model validation.</p><h3>De-identification shows why full automation remains insufficient</h3><p>De-identification provides one of the clearest examples of why healthcare AI requires structured human validation despite high model accuracy.</p><p>Modern NLP systems detect names, dates, addresses, medical record numbers, and provider information with <strong>99%+ recall</strong>. De-identification errors are operationally asymmetric in ways that prevent fully automated review.</p><p>Over-masking reduces data utility by removing clinically relevant context. Under-masking creates <strong>HIPAA</strong> compliance exposure by allowing protected health information to leak into shared datasets. A <strong>0.5% recall error rate</strong> sounds negligible until it translates to <strong>40 unmasked patient identifiers</strong> in an 8,000-record export destined for external research collaboration.</p><p>The difference between acceptable and unacceptable masking often depends on subtle contextual interpretation. A hospital name represents protected information in one document and medically relevant context in another. A date requires full masking in one workflow but only temporal shifting (preserving time intervals while changing absolute dates) in another. “Dr. Smith” might refer to the treating physician (requires masking) or to a medication brand name (should not be masked).</p><p>Human reviewers remain essential because organizations need controlled processes to validate ambiguous masking decisions before data leaves the secured infrastructure. In the Generative AI Lab, annotators validate AI-detected PHI, reviewers approve corrections, and audit systems maintain records of who accessed, modified, and exported sensitive data.</p><p>The value extends beyond accuracy. Organizations can demonstrate how de-identification decisions were made, who reviewed them, and how compliance requirements were enforced throughout the project lifecycle. When compliance officers or institutional review boards audit the de-identification process, the system provides complete documentation: which PHI detection model was used, what confidence thresholds were applied, which human reviewers validated outputs, and which administrator authorized the final export.</p><p>For healthcare organizations sharing de-identified data externally, this documentation is not optional. <strong>HIPAA Safe Harbor</strong> and <strong>Expert Determination</strong> methods both require documented validation processes. Fully automated de-identification cannot provide that documentation without structured human oversight.</p><h3>Human-in-the-loop as the operational foundation of deployable Healthcare AI</h3><p>There is a persistent narrative that mature AI systems will eliminate the need for human review. Healthcare organizations moving AI into production operations are trending in the opposite direction.</p><p>As models become more capable, operational expectations increase. Organizations need stronger auditability, clearer approval structures, more reproducible workflows, and better visibility into how outputs evolve over time. Regulatory bodies expect documented validation processes. Compliance officers require audit trails. Clinical stakeholders demand explainable decisions.</p><p>The most successful healthcare AI deployments design workflows where automation and human expertise reinforce each other operationally rather than attempting to remove humans entirely.</p><p>AI systems accelerate extraction, classification, and pre-annotation. Human reviewers provide calibration, contextual interpretation, escalation handling, and accountability. Analytics platforms surface workflow instability (agreement drift, queue growth, label distribution imbalances) before problems become expensive. Audit systems preserve traceability for regulatory review.</p><p>Taken together, these components create deployable healthcare AI rather than just accurate models. A clinical NER model that achieves <strong>95% F1 score</strong> on benchmark data but cannot document how training data was validated, who reviewed outputs, or why certain corrections were made remains difficult to deploy in regulated environments. A model with <strong>92% F1 score</strong> supported by complete audit trails, systematic review workflows, and documented quality controls becomes operationally deployable.</p><p>That distinction matters as healthcare organizations move from experimentation toward operational adoption at scale. The technical challenge of building accurate models is increasingly solved. The operational challenge of deploying those models safely, maintaining quality over time, and satisfying regulatory requirements determines which projects reach production.</p><h3>Build traceable, auditable annotation workflows</h3><p>Human-in-the-loop workflows in the Generative AI Lab provide the operational infrastructure that healthcare AI projects need to move from pilots to production deployment.</p><p>Track inter-annotator agreement trends in real time and identify quality drift before it compounds:<br> 👉 <a href="https://www.johnsnowlabs.com/generative-ai-lab-analytics-dashboard/">Explore the Analytics Dashboard</a></p><p>Maintain complete audit trails for regulatory review and compliance validation:<br> 👉 <a href="https://nlp.johnsnowlabs.com/docs/en/alab/annotation">Learn about annotation governance</a></p><p>Deploy human-reviewed de-identification workflows with documented PHI validation:<br> 👉 <a href="https://www.johnsnowlabs.com/schedule-a-demo/">Schedule a technical walkthrough</a></p><p>Questions about building HITL workflows for HIPAA-compliant environments?<br> 👉 <a href="https://www.johnsnowlabs.com/contact/">Contact our team</a></p><p><em>Originally published at </em><a href="https://www.johnsnowlabs.com/why-human-in-the-loop-still-matters-in-healthcare-ai/"><em>https://www.johnsnowlabs.com</em></a><em> on June 22, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b951be64f260" width="1" height="1" alt=""><hr><p><a href="https://medium.com/john-snow-labs/why-human-in-the-loop-still-matters-in-healthcare-ai-b951be64f260">Why Human-in-the-Loop Still Matters in Healthcare AI</a> was originally published in <a href="https://medium.com/john-snow-labs">John Snow Labs</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Analytics Dashboard in Generative AI Lab: Real-Time Quality Metrics That Keep Annotation Projects…]]></title>
            <link>https://medium.com/john-snow-labs/analytics-dashboard-in-generative-ai-lab-real-time-quality-metrics-that-keep-annotation-projects-4f929b0531da?source=rss-bf65a6b32480------2</link>
            <guid isPermaLink="false">https://medium.com/p/4f929b0531da</guid>
            <category><![CDATA[healthcare-ai]]></category>
            <category><![CDATA[project-management]]></category>
            <category><![CDATA[human-in-the-loop]]></category>
            <category><![CDATA[data-annotation-tools]]></category>
            <category><![CDATA[analytics]]></category>
            <dc:creator><![CDATA[Aleksei Zakharov]]></dc:creator>
            <pubDate>Tue, 09 Jun 2026 14:00:48 GMT</pubDate>
            <atom:updated>2026-06-11T07:33:03.395Z</atom:updated>
            <content:encoded><![CDATA[<h3>Analytics Dashboard in Generative AI Lab: Real-Time Quality Metrics That Keep Annotation Projects On Schedule</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*svAM4ZxmsnAo_hDt.gif" /></figure><p>Project managers running <a href="https://www.johnsnowlabs.com/healthcare-nlp/">clinical NLP</a> annotation at scale face a recurring problem: quality issues surface weeks after they become expensive to fix. By the time inconsistent labeling patterns appear in exported training data, hundreds of tasks require rework. By the time annotation bottlenecks delay the timeline, the project is already behind schedule.</p><p>The Analytics Dashboard in <a href="https://www.johnsnowlabs.com/generative-ai-lab/">Generative AI Lab</a> provides real-time quality metrics for <strong>regulatory-grade annotation workflows </strong>, operating within <strong>HIPAA-compliant infrastructure where no data leaves the customer’s environment </strong>. Teams catch quality drift within days, identify capacity constraints before they delay timelines, and validate training data readiness with quantitative evidence.</p><p>Real-time visibility into quality, velocity, and bottlenecks keeps annotation workflows on schedule when datasets reach thousands of tasks, and quality requirements are non-negotiable.</p><h3>Baseline Establishment: Day-One Metrics for Large-Scale Projects</h3><p>Consider a <a href="https://www.johnsnowlabs.com/generative-ai-healthcare/">healthcare</a> organization launching an <a href="https://www.johnsnowlabs.com/an-overview-of-named-entity-recognition-in-natural-language-processing/">NER</a> project to extract Problem, Test, and Treatment from 8,000 clinical discharge summaries. The Analytics Dashboard establishes the operational baseline on day one.</p><p>The dashboard shows task distribution: 8,000 tasks imported, 0 annotated, 0 in review. Team capacity: 6 annotators assigned, 0 active hours logged. Quality baseline: no inter-annotator agreement data yet, which will establish itself as work begins.</p><p>The project manager sets targets: maintain <strong>90%+ inter-annotator agreement </strong>on entity boundaries, complete annotation within 90 days at an <strong>89 tasks/day </strong>average velocity. The dashboard tracks actual performance against both benchmarks continuously.</p><p>This baseline visibility matters because it creates the quantitative foundation for early course correction. Without it, teams operate on estimates. With it, deviations from the plan surface immediately.</p><p>Three days into annotation, the dashboard shows velocity at 60 tasks/day (33% below target), and quality signals appear for the first time.</p><p>The <a href="https://www.johnsnowlabs.com/the-impact-of-medical-llms-on-disease-diagnosis-and-treatment/">diagnosis</a> agreement issue surfaces because annotators handle multi-word entities inconsistently. “Type 2 diabetes” gets labeled as a single span by some annotators, split into separate tokens by others. The annotation guidelines didn’taddress this case explicitly.</p><p>The project manager updates guidelines with specific multi-word entity examples, runs a 15-minute team calibration session, and re-assigns 50 completed tasks for correction under the clarified rules. Agreement on the Problem is reached within two days.</p><p>Cost of detection at day 3: 50 tasks reworked, minimal timeline impact.</p><p>Cost if detected at week 8: hundreds of tasks requiring correction, potential model retraining, multi-week schedule delay.</p><p>The dashboard made the quality gap visible while it was still operationally cheap to fix.</p><h3>Bottleneck Identification: Review Queue Growth as a Leading Indicator</h3><p>At week 4, annotation velocity has improved to <strong>85 tasks/day </strong>following the clarification of the guidelines. The project is 30% complete (2,400 tasks annotated). But the dashboard reveals a problem: 680 tasks are sitting in “Submitted” status waiting for review, and the queue is growing by 41 tasks per day.</p><p>Workflow metrics reveal the constraint:</p><ul><li>Annotation throughput: 85 tasks/day (6 annotators averaging 14 tasks/day each)</li><li>Review throughput: 44 tasks/day (2 reviewers averaging 22 tasks/day each)</li><li>Review queue growth: +41 tasks/day (net accumulation)</li><li>Current backlog: 680 tasks waiting for validation</li></ul><p>At current rates, the review queue reaches 1,500 tasks by week 8, creating a multi-week delay even after annotation completes. The dashboard shows this trajectory before it becomes a timeline crisis.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-JPvPkZBGCQeKAt1.png" /></figure><p>The project manager reassigns one high-performing annotator to review duties temporarily, increasing review capacity from 2 to 3 team members. Review throughput rises to 66 tasks/day. The queue stabilizes at 290 tasks within a week.</p><p>Temporarily reassigning an annotator reduces annotation throughput. The project accepts this trade-off: slower task completion is preferable to a multi-week delay in clearing the review queue after annotation finishes. Velocity drops from 85 to 78 tasks/day for two weeks, but the review backlog stabilizes, and the overall timeline stays on track.</p><p>Capacity planning is driven by real-time workflow metrics, not guesswork about where the bottleneck might be.</p><h3>Quality Drift Detection: Agreement Degradation as an Early Warning Signal</h3><p>At week 7, the project is 65% complete and on schedule. Velocity is stable. But the dashboard shows a quality trend that wasn’t visible at task level.</p><p>Agreement metrics by entity type over time:</p><ul><li>Treatment: 96% (stable, above target)</li><li>Test: 92% (stable, above target)</li><li>Problem: 86% (down from 91% two weeks prior, below target)</li></ul><p>Recent tasks involve more complex discharge summaries with patients who have multiple comorbidities, overlapping diagnoses, and ambiguous phrasing. Annotators are interpreting these cases differently, and agreement is degrading.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-TddirbINqw5L-4C.png" /></figure><p>The dashboard breaks down agreements by label type. The project manager reviews 20 recent diagnosis annotations with low agreement scores, identifies three recurring ambiguity patterns, and updates guidelines with disambiguation rules.</p><p>She runs a calibration session where the team annotates 10 shared complex examples together. Agreement on diagnoses returns to within three days.</p><p>Agreement degradation appears as a leading indicator, enabling guideline updates before inconsistent patterns compound into systematic errors that require large-scale rework.</p><h3>Export Validation: Quantitative Confirmation of Training Data Readiness</h3><p>At week 11, annotation is 95% complete. The project manager uses the dashboard to validate that the dataset is export-ready.</p><p>Training data quality metrics:</p><ul><li>7,600 tasks completed and reviewed (95% of total)</li><li>Overall inter-annotator agreement: 91% (6 points above target)</li><li>Average task completion time: 3.2 minutes (down from 4.1 minutes at week 1, indicating workflow efficiency improvement)</li></ul><p>The dashboard shows entity distribution across the dataset:</p><ul><li>Treatment: 18,400 instances</li><li>Problem: 22,100 instances</li><li>Test: 14,800 instances</li></ul><p>This confirms sufficient annotation volume for each entity type.</p><p>Dataset richness metrics reveal:</p><ul><li>Treatment: 18,400 total annotations, 3,847 distinct medication mentions (21% unique)</li><li>Problem: 22,100 total annotations, 4,982 distinct diagnosis mentions (23% unique)</li><li>Test: 14,800 total annotations, 2,156 distinct procedure mentions (15% unique)</li></ul><p>High distinct-to-total ratios indicate diverse entity coverage. The model will see varied real-world examples, not repetitive instances of the same few entities.</p><p>The data meets quality targets. The dashboard confirms it with quantitative evidence. Export happens with confidence that the training data is production-ready.</p><h3>Operational Intelligence Across Project Roles</h3><p>Project managers use the dashboard for timeline and capacity planning. Task velocity trends accurately project completion dates. Bottleneck identification enables resource reallocation before delays accumulate. Quality targets are tracked continuously, not validated only at export.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zNyLbNvOMazfjA9d.gif" /></figure><p>For multi-entity annotation projects where dozens of entity types create multiple potential quality issues, the dashboard’s entity-specific metrics make it possible to identify which labels need guideline clarification without waiting for model training to reveal problems.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hbxzV86HsP9_D1B4.gif" /></figure><p>Time management metrics show when annotators spend excessive time on corrections, indicating guideline ambiguity or training gaps that need immediate attention.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DZ9I1q7eZRYmcS7G.gif" /></figure><p>Annotators see their own productivity and quality metrics in real time. When agreement scores drop on a specific entity type, they request clarification immediately rather than continuing with ambiguous guidelines. Progress visibility makes contribution measurable and completion timelines concrete.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*oFJ4U6FqhFUhVAKr.gif" /></figure><h3>Why Real-Time Visibility Matters for Regulatory-Grade Annotation</h3><p>Healthcare AI annotation operates under constraints that generic crowdsourced labeling doesn’t face. PHI handling requirements mean work can’t be offshored. Regulatory standards mean training data quality is non-negotiable. Timeline and budget limitations mean overruns have direct cost consequences.</p><p>Without real-time metrics, annotation operates as an opaque process where problems surface at export. With the dashboard, quality issues and workflow constraints appear while they’re still cheap to fix.</p><p><strong>Projects stay on schedule </strong>because workflow bottlenecks appear as leading indicators, not as retroactive explanations for delays.</p><p><strong>Quality stays above target </strong>because inter-annotator agreement drift is visible within days, enabling guideline updates before inconsistent patterns compound into systematic errors.</p><p><strong>Teams stay aligned </strong>because project managers, team leads, and annotators see the same operational metrics, eliminating the information gap that creates misalignment.</p><p><strong>Annotation provenance is defensible </strong>because all quality decisions, workflow adjustments, and team actions are logged with complete audit trails that satisfy regulatory review requirements.</p><h3>Frequently Asked Questions</h3><p><strong>Q:</strong> How quickly do quality metrics like inter-annotator agreement become meaningful in a new project?</p><p>Agreement metrics appear after the very first task is annotated by multiple team members. Early scores establish the baseline. Trends become actionable within the first week of annotation work.</p><p><strong>Q:</strong> Can the dashboard track quality for pre-annotation as well as manual annotation?</p><p>Yes. The dashboard shows agreement between pre-annotation predictions and human corrections, enabling teams to validate model performance and identify entity types where pre-annotation needs improvement.</p><p><strong>Q:</strong> What happens when annotators work at different speeds? Does the dashboard flag productivity outliers?</p><p>Individual productivity metrics are visible to team leads. Annotators working significantly above or below team average are identifiable for coaching, advanced training, or workload rebalancing. The dashboard does not penalize slower work if quality is high. It provides context for performance conversations.</p><p><strong>Q:</strong> How does the dashboard handle projects with multiple annotation workflows (e.g., initial labeling plus review plus adjudication)?</p><p>Task status is tracked across all workflow stages. The dashboard shows how many tasks are at each stage, how long tasks spend in the annotation, edit or review stages on average, and where bottlenecks are accumulating. Multi-stage workflows get stage-specific velocity and queue metrics.</p><h3>Evaluate on Your Annotation Workflow</h3><p>Run a pilot project with your team and validate inter-annotator agreement on your clinical documents:</p><p>👉 <a href="https://www.johnsnowlabs.com/schedule-a-demo/">Schedule a pilot evaluation</a></p><p>👉 <a href="https://www.johnsnowlabs.com/install-software/">Install Generative AI Lab</a></p><p>Track quality metrics in real time on your HIPAA-compliant infrastructure:</p><p>👉 <a href="https://www.johnsnowlabs.com/contact/">Contact our team</a></p><p><em>Originally published at </em><a href="https://www.johnsnowlabs.com/from-pdf-to-clean-text-structure-aware-entity-extraction-in-generative-ai-lab-2/"><em>https://www.johnsnowlabs.com</em></a><em> on June 9, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4f929b0531da" width="1" height="1" alt=""><hr><p><a href="https://medium.com/john-snow-labs/analytics-dashboard-in-generative-ai-lab-real-time-quality-metrics-that-keep-annotation-projects-4f929b0531da">Analytics Dashboard in Generative AI Lab: Real-Time Quality Metrics That Keep Annotation Projects…</a> was originally published in <a href="https://medium.com/john-snow-labs">John Snow Labs</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From PDF to Clean Text: Structure-Aware Entity Extraction in Generative AI Lab]]></title>
            <link>https://medium.com/john-snow-labs/from-pdf-to-clean-text-structure-aware-entity-extraction-in-generative-ai-lab-46d5a0aab05b?source=rss-bf65a6b32480------2</link>
            <guid isPermaLink="false">https://medium.com/p/46d5a0aab05b</guid>
            <category><![CDATA[named-entity-recognition]]></category>
            <category><![CDATA[document-processing]]></category>
            <category><![CDATA[annotation-tools]]></category>
            <category><![CDATA[human-in-the-loop]]></category>
            <category><![CDATA[healthcare-nlp]]></category>
            <dc:creator><![CDATA[Aleksei Zakharov]]></dc:creator>
            <pubDate>Mon, 08 Jun 2026 14:00:48 GMT</pubDate>
            <atom:updated>2026-07-14T07:13:35.412Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0wnBWU-Iuu3f4ijsVOyaYw.png" /></figure><p>Healthcare AI teams annotate thousands of clinical documents every week. Discharge summaries. Procedure notes. Lab reports. Referral letters. Most arrive as PDFs, sometimes scanned, sometimes native, often a mix of both.</p><p>Extracting text from these documents for NER annotation isn’t just about getting the words out. It’s about preserving the structure that makes those words intelligible. A report with sections loses meaning when those sections get linearized into a flat stream. Multi-paragraph notes become harder to annotate when paragraph boundaries disappear. Tables extracted out of sequence create confusion about what data relates to what.</p><p>The gap between accurate text extraction and usable annotation input is where NER workflows break down.</p><p>Generative AI Lab offers built-in PDF text extraction that preserves document structure, eliminating the need for external OCR servers while improving annotation quality.</p><h3>The Structure Problem in PDF Text Extraction</h3><p>Entity annotation depends on context. Annotators need to understand what they’re reading to label entities correctly. A medication name in the “Current Medications” section means something different from the same medication mentioned in “Allergies.” A procedure in a surgery report header carries a different meaning from a procedure mentioned in the follow-up.</p><p>When PDF text extraction flattens document structure, that context degrades. Traditional OCR often produces:</p><ul><li>Broken reading order. Text from different sections gets interleaved unpredictably. A two-column layout produces tokens that jump between columns mid-sentence.</li><li>Lost paragraph boundaries. Multi-paragraph clinical notes become wall-of-text blocks where logical breaks disappear, making it harder to track context during annotation.</li><li>Excessive whitespace and formatting noise. Extracted text includes artifacts, extra line breaks, misplaced spaces, header/footer fragments that don’t reflect the actual document content.</li><li>Misaligned table data. Tables get extracted as disconnected text fragments, losing the visual column representation that gives the data meaning.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*k6LF956x343KiDBt.gif" /></figure><p>These aren’t minor formatting issues. They’re structural problems that make annotation slower and less accurate. Annotators spend time interpreting malformed text rather than labeling entities. Context gets lost. Quality degrades.</p><h3>What Built-In Text Extraction Provides</h3><p>In the Generative AI Lab, PDF text extraction is integrated directly into the platform for NER text-based projects. No external OCR server deployment required. No additional setup. The extraction engine processes PDFs, scanned documents, and image-based files, optimizing the output for NER annotation workflows.</p><p>The key difference is structure preservation. Where traditional OCR returns text as a linear stream, the built-in extraction maintains:</p><ul><li>Logical reading order. Text flows the way it appears on the page, top to bottom, left to right, even in multi-column layouts. Sections stay sequential. Paragraphs remain intact.</li><li>Paragraph boundaries and section breaks. The extraction preserves document organization: headings, sections, paragraph separations. This keeps context clear during annotation.</li><li>Clean formatting. Excessive whitespace, broken lines, and OCR artifacts are minimized. The extracted text reflects actual content, not formatting noise.</li><li>Stable, consistent output. Repeated imports of the same document produce the same text extraction, ensuring annotation consistency across projects.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DbRGUu8QNBBDeVWO.png" /></figure><p>The extracted content maps automatically into the NER task format, with source file references and page-level markers retained for traceability.</p><h3>How It Works in Practice</h3><p>When a user imports a PDF into an NER project, the new Import page offers “Text Extraction from PDFs “ as a built-in option. No server configuration. No pipeline deployment. The extraction runs as part of the import process.</p><p>For a structured clinical report with sections, headings, and detailed content, the engine preserves that organization. Annotators see text that reflects the document’s actual layout: sections appear in order, paragraphs are separated, headers are distinct from body text.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jE6rsfnBN4Jrcvpm.gif" /></figure><p>This matters because annotation quality depends on readability. When text structure is preserved, annotators understand context immediately. They don’t need to cross-reference the original PDF to figure out which section they’re reading or where paragraph breaks should be. The extracted text is annotation-ready.</p><p>For teams processing mixed document types, native PDFs with complex layouts, scanned intake forms, and reports with tables, the extraction handles all of them. Native PDFs get parsed for text while preserving layout structure. Scanned documents go through OCR with the same structure-aware processing. Tables maintain their organization where possible. The extracted text requires minimal configuration.</p><p>Projects need to include a specific XML setup to support the improved formatting:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Cs1rhKcczvgX_uFy.png" /></figure><p>This ensures text renders with preserved formatting in the annotation interface, maintaining the structure that was extracted.</p><h3>What Changes for NER Annotation Teams</h3><ul><li><strong>No external OCR setup required.</strong> Teams working on NER projects can extract text from PDFs directly within the platform. No separate OCR server to deploy, configure, or maintain. Import workflow stays simple.</li><li><strong>Better annotation context.</strong> Preserved document structure means annotators see logical sections, paragraph breaks, and clean text. Context is clearer. Annotation decisions are more accurate because the text reflects how the document was actually organized.</li><li><strong>More consistent outputs.</strong> Stable extraction across repeated imports means the same PDF produces the same text every time. This consistency matters for quality control and for teams re-importing documents during iterative annotation workflows.</li><li><strong>Reduced formatting cleanup.</strong> Fewer broken lines, less excessive whitespace, cleaner separation between sections. Annotators spend less time interpreting malformed text and more time labeling entities.</li><li><strong>Flexible OCR strategy.</strong> The built-in extraction handles standard PDF workflows reliably with no setup. For teams that need higher precision, domain-specific documents, complex layouts, and strict accuracy requirements, advanced OCR capabilities are available as a seamless upgrade. Teams can start simple and scale to enterprise-grade accuracy when needed.</li></ul><h3>Why This Matters for Healthcare NLP at Scale</h3><p>Clinical NLP models are only as good as the training data they learn from. And training data quality depends heavily on annotation accuracy, which depends on whether annotators can clearly understand the text they’re labeling.</p><p>When PDF extraction produces poorly structured text, annotation quality suffers in ways that cascade into model performance. Entity boundaries get misidentified because paragraph breaks are unclear. Labels get applied to the wrong sections because the reading order was scrambled. Training examples look reasonable in isolation but lack the structural context that makes them meaningful.</p><p>Built-in text extraction with structure preservation addresses this at the source. By producing clean, well-organized text from the start, it ensures that what annotators see reflects the actual document, and that what they label becomes high-quality training data.</p><p>For healthcare organizations building NER models that need to perform reliably on the diverse, complex, and sometimes messy documents that make up real clinical workflows, text quality isn’t optional. It’s the foundation.</p><h3>Next Steps</h3><p>Ready to see how PDF integration improves annotation accuracy on your clinical documents?</p><p>Full technical details are available in the release notes: <br> 👉 <a href="https://nlp.johnsnowlabs.com/docs/en/alab/release_notes">https://nlp.johnsnowlabs.com/docs/en/alab/release_notes</a></p><p>Questions about Visual NER projects, document ingestion, or annotation workflows? Our team is here to help.</p><p><em>Originally published at </em><a href="https://www.johnsnowlabs.com/from-pdf-to-clean-text-structure-aware-entity-extraction-in-generative-ai-lab/"><em>https://www.johnsnowlabs.com</em></a><em> on June 8, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=46d5a0aab05b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/john-snow-labs/from-pdf-to-clean-text-structure-aware-entity-extraction-in-generative-ai-lab-46d5a0aab05b">From PDF to Clean Text: Structure-Aware Entity Extraction in Generative AI Lab</a> was originally published in <a href="https://medium.com/john-snow-labs">John Snow Labs</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Medical Terminologies in Generative AI Lab: From Entity to Standard Code]]></title>
            <link>https://medium.com/john-snow-labs/medical-terminologies-in-generative-ai-lab-from-entity-to-standard-code-afebf2ffd2db?source=rss-bf65a6b32480------2</link>
            <guid isPermaLink="false">https://medium.com/p/afebf2ffd2db</guid>
            <category><![CDATA[automated-code-resolution]]></category>
            <category><![CDATA[code-standardization]]></category>
            <category><![CDATA[annotation-tools]]></category>
            <category><![CDATA[medical-terminology]]></category>
            <category><![CDATA[human-in-the-loop]]></category>
            <dc:creator><![CDATA[Aleksei Zakharov]]></dc:creator>
            <pubDate>Mon, 27 Apr 2026 14:00:57 GMT</pubDate>
            <atom:updated>2026-05-01T13:18:16.889Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IzOxgFxZ8PAwjMYjlwD6gQ.png" /></figure><p>Clinical NLP extracts meaning from unstructured text. But in healthcare, extracted meaning isn’t useful until it speaks the same language as the systems that need to act on it.</p><p>An NLP model identifies “metformin 500mg” in a discharge summary. A medication reconciliation system needs NDC codes. An insurance claim needs HCPCS. A research database needs RxNorm. The entity is correct. But without standardization, it’s unusable by the downstream systems that depend on coded clinical data.</p><p>The following translation problem, from extracted entity to standard medical code, is where most clinical NLP workflows break down. Models get more accurate. Pipelines become fast. And then someone builds a manual coding step in between because there was no other option.</p><p>Generative AI Lab now addresses this directly with Medical Terminologies: a native capability that brings automated code resolution into annotation workflows, from pre-annotation through human review.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*nfiM-mC5huFRFE3f.gif" /></figure><h3>The standardization gap in clinical NLP</h3><p>Healthcare operates on codes. ICD-10 for diagnoses. LOINC for lab observations. CPT for procedures. SNOMED CT for clinical concepts. RxNorm for medications. MeSH for biomedical literature and research. These aren’t just administrative conventions, they’re the shared language that makes clinical data interoperable across EHRs, billing systems, research databases, and regulatory submissions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*k4ZLAeKjRq8KN0lO.png" /></figure><p>When NLP extracts entities from clinical text, those entities are surface forms: the words as they appear in the note. “Chest pain.” “Troponin I.” “Left knee arthroscopy.” Useful for reading. Not directly usable for coded data exchange.</p><p>Bridging that gap has traditionally required one of two things: a post-processing step that runs resolution after annotation, disconnected from the human review workflow, or manual coding by annotators who look up codes themselves, introducing inconsistency and slowing throughput considerably.</p><p>Neither approach scales. Neither keeps the coded result connected to the annotation decision that produced it. And neither supports the kind of Human-in-the-Loop workflow in which a reviewer can verify both the entity label and the resolved code within the same interface.</p><h3>Medical terminologies as a platform asset</h3><p>Medical Terminologies in the Generative AI Lab are built as a first-class platform resource, not a post-processing plugin or an external lookup tool.</p><p>They live in the Hub alongside NLP models, where teams can browse available terminologies, understand their coverage, and download what their workflows require. Once downloaded, the terminology becomes a shared asset available across projects; teams working on different annotation initiatives can draw from the same resource without redundant setup.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*dQYHGfW-fRdxAsrC.gif" /></figure><p>Discovery follows the same licensing model as <a href="https://www.johnsnowlabs.com/healthcare-nlp/">Healthcare NLP</a> pipelines, which means terminology access is governed consistently with the rest of the platform’s clinical resources. Downloaded terminologies are available immediately for project configuration without additional infrastructure steps.</p><p>This matters because it changes how teams think about standardization. Instead of a separate system to maintain, medical code resolution becomes part of the same environment where annotation happens: discoverable, configurable, and deployable through the same workflow.</p><h3>Connecting terminologies to annotation</h3><p>The integration point between medical terminologies and annotation work is the Label Configuration. When setting up a project, teams can link specific terminologies to specific labels: SNOMED CT to a <a href="https://www.johnsnowlabs.com/the-impact-of-medical-llms-on-disease-diagnosis-and-treatment/">diagnosis</a> label, LOINC to a lab test label, RxNorm to a treatment label.</p><p>That linking isn’t just organizational. It determines how resolution happens during the two phases where it matters most.</p><p><strong>During pre-annotation</strong>, linked terminologies run automatically. When the pre-annotation pipeline processes a document and extracts an entity matching a configured label, the system resolves the corresponding medical code as part of the same pass. Annotators reviewing results see not just the entity span and label, but the resolved code that is ready to verify or correct, not to look up from scratch.</p><p><strong>During human review</strong>, terminologies support manual lookup directly within the annotation interface. Annotators working on entities where automatic resolution didn’t produce a confident result can query the linked terminology interactively, selecting the correct code without leaving the platform.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ViYrY-gjrC81KwSG.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*PkrS_5CF_8bBqr7V.png" /></figure><p>Both modes keep the coded result attached to the annotation decision. The entity, the label, and the code travel together through the workflow and into the export.</p><h3>Infrastructure that scales with complexity</h3><p>Clinical annotation projects rarely need a single terminology. A project processing cardiology notes might require ICD-10 for diagnoses, LOINC for labs, and CPT for procedures simultaneously. Deploying and managing multiple terminologies across a team’s active projects would typically create significant infrastructure overhead.</p><p><a href="https://www.johnsnowlabs.com/generative-ai-lab/">Generative AI Lab</a> handles this through intelligent server management. When a project links to multiple terminologies, they deploy together on a single pre-annotation server rather than requiring separate instances for each. If a second project needs a subset of already-deployed terminologies, it reuses the active server rather than spinning up a new one. When a project needs a terminology not yet deployed, the system creates a new server containing the full required set.</p><p>The result is that teams configure what they need at the label level, and the platform handles deployment logistics. The Cluster page reflects what’s actually running: which terminologies are deployed on which server, uptime, and resource status, giving administrators visibility without requiring manual coordination.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*bbWi9wvgkbBsqfUL.png" /></figure><h3>What does this change for clinical annotation workflows</h3><p>The practical effect is that code resolution stops being a separate problem.</p><p>Annotation teams working on clinical documentation, discharge summaries, clinical trial records, prior authorization notes, and structured intake forms no longer need to treat entity extraction and code standardization as sequential steps managed by different tools. The terminology lookup happens where the annotation happens. The coded result is part of the annotation output.</p><p>For teams building training data for clinical NLP models, this means annotations carry a richer supervision signal. Entity spans come with resolved codes, which means downstream tasks that require coded data, ICD prediction, lab value normalization, and procedure coding can draw on labeled examples that include both the surface form and the standard representation.</p><p>For compliance and interoperability work where coded accuracy matters as much as entity accuracy, it means human reviewers can verify both dimensions in a single pass. An annotator confirming a diagnosis label can simultaneously verify or correct the ICD-10 code without context switching.</p><h3>The bigger picture</h3><p>Healthcare AI’s value ultimately depends on whether its outputs connect to the systems that drive clinical decisions, billing, research, and regulatory compliance. Those systems speak in codes. The gap between what NLP extracts and what those systems consume has always required manual intervention to bridge.</p><p>Medical Terminologies in Generative AI Lab don’t eliminate the need for human judgment in that process; clinical coding is complex enough that human review remains essential. What they do is bring that judgment into the annotation workflow, where it can be applied consistently, at scale, with a complete record of the decisions made.</p><p>That’s what it takes to build clinical NLP pipelines that produce outputs the rest of the <a href="https://www.johnsnowlabs.com/generative-ai-healthcare/">healthcare</a> system can actually use.</p><h3>Learn more</h3><p>Full technical details on Medical Terminologies, Hub configuration, and deployment options:<br> 👉 <a href="https://nlp.johnsnowlabs.com/docs/en/alab/release_notes">https://nlp.johnsnowlabs.com/docs/en/alab/release_notes</a></p><p>Questions about clinical NLP workflows, terminology configuration, or licensing? Reply to this email or reach out to our team.</p><p><em>Originally published at </em><a href="https://www.johnsnowlabs.com/medical-terminologies-in-generative-ai-lab-from-entity-to-standard-code/"><em>https://www.johnsnowlabs.com</em></a><em> on April 27, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=afebf2ffd2db" width="1" height="1" alt=""><hr><p><a href="https://medium.com/john-snow-labs/medical-terminologies-in-generative-ai-lab-from-entity-to-standard-code-afebf2ffd2db">Medical Terminologies in Generative AI Lab: From Entity to Standard Code</a> was originally published in <a href="https://medium.com/john-snow-labs">John Snow Labs</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Enhanced Visibility over Preannotation Servers: Why Feedback Matters as Much as Results]]></title>
            <link>https://medium.com/john-snow-labs/enhanced-visibility-over-preannotation-servers-why-feedback-matters-as-much-as-results-ae40f0f9bb66?source=rss-bf65a6b32480------2</link>
            <guid isPermaLink="false">https://medium.com/p/ae40f0f9bb66</guid>
            <category><![CDATA[human-in-the-loop]]></category>
            <category><![CDATA[pre-annotation]]></category>
            <category><![CDATA[annotation-tools]]></category>
            <category><![CDATA[workflow-optimization]]></category>
            <category><![CDATA[clinical-nlp]]></category>
            <dc:creator><![CDATA[Aleksei Zakharov]]></dc:creator>
            <pubDate>Mon, 02 Mar 2026 15:00:41 GMT</pubDate>
            <atom:updated>2026-03-03T13:43:06.055Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/550/1*vvWciPEdsFrucsDiaPPjKg.jpeg" /></figure><p><a href="https://www.johnsnowlabs.com/healthcare-nlp/">Clinical NLP</a> teams regularly deploy pre-annotation servers across multiple project types: NER for text extraction, Visual NER for document processing, and classification models for categorization. Each project type requires compatible pipelines. Each deployment needs clear status feedback. When either visibility or compatibility breaks down, teams lose time troubleshooting issues that shouldn’t have occurred.</p><p>Two specific friction points can emerge in pre-annotation workflows: knowing which pipelines are compatible with the current project, and knowing whether a deployment is still initializing or ready to use.</p><p>These aren’t catastrophic failures. They’re operational friction. A team accidentally selects a Visual NER pipeline in an <a href="https://www.johnsnowlabs.com/the-ultimate-guide-to-building-your-own-ner-model-with-python/">NER project</a> and wonders why pre-annotation fails. Someone triggers deployment and isn’t sure if they should wait or if the server is ready. Each incident requires investigation. Each wastes time that should go toward actual annotation work.</p><p><a href="https://www.johnsnowlabs.com/generative-ai-lab/">Generative AI Lab</a> addresses both pipeline-scoping issues that prevent incompatible selections and continuous-deployment feedback that eliminates guesswork.</p><h3>The Compatibility and Visibility Gaps</h3><p>Pre-annotation servers are project-type specific. An NER pipeline processes plain text and extracts entities. A Visual NER pipeline processes documents with layout awareness. They’re fundamentally different tools built for different data structures.</p><p>Without project type scoping, the pre-annotation modal doesn’t reflect that distinction. When a team deploys a Visual NER server for document processing, that server can appear as an available option in NER projects as well, suggesting compatibility that doesn’t exist.</p><p>This creates two problems.</p><p><strong>Accidental incompatible selections.</strong> A user working in an NER project sees multiple pre-annotation servers listed. Some are NER, compatible. Some were deployed for Visual NER. Without clear filtering, nothing in the interface distinguishes them. Selecting an incompatible server means pre-annotation fails, and the failure isn’t immediately obvious; it just doesn’t produce results.</p><p><strong>Unclear deployment status.</strong> When a team triggers pre-annotation deployment, a server spins up and loads the pipeline. That initialization takes time. Without continuous visibility into that process, teams face uncertainty: is deployment still running, or is the server ready? Without explicit signals, the interface provides no clear answer.</p><p>Both scenarios force teams to infer system state from indirect signals. Check server status manually. Try pre-annotation and see if it works. Wait longer than necessary to avoid timing issues. That inference work is overhead that slows workflows and erodes confidence in the tooling.</p><h3>Pipeline Scoping: Only Show Compatible Resources</h3><p>The pre-annotation modal filters pipeline visibility based on project type. When working on an NER project, only NER-compatible servers appear in the deployment list. Visual NER projects show only Visual NER pipelines. Classification projects show only classification resources.</p><p>The filtering happens automatically. Teams don’t configure it or manage compatibility manually. The system enforces project-type boundaries at the interface level, preventing incompatible selections before they can happen.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/0*wjEJywK7jG4SS5hE.png" /></figure><p>This matters because it removes a category of configuration errors. Teams no longer need to remember which servers were deployed for which project types. They don’t need to verify compatibility before selecting a pipeline. The interface only presents valid options. Invalid selections become impossible.</p><p>The Cluster page still shows all deployed servers across project types; administrators need that global view for resource management. But the pre-annotation modal shows only what’s relevant to the current workflow context.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UBr196UGydwfedgD.png" /></figure><h3>Continuous Deployment Feedback: Visible Progress, Clear Status</h3><p>When pre-annotation deployment is triggered, the deployment modal remains open throughout server initialization, displaying real-time status updates. The interface shows what’s happening: server starting, pipeline loading, deployment progressing.</p><p>If the modal is closed during deployment, the Pre-Annotate button reflects the ongoing state with a loading indicator. The button updates automatically when the server becomes ready, transitioning to its active state to signal availability.</p><p>This eliminates the uncertainty that previously surrounded deployment. Teams don’t estimate how long initialization takes. They don’t refresh to check the status separately. The interface communicates deployment progress explicitly. When the server is ready, the system says so unambiguously.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*VeBzETGTP8yM_mB_.gif" /></figure><h3>What Changes for Clinical NLP Teams</h3><p><strong>Fewer deployment errors.</strong> Teams working across multiple project types no longer accidentally select incompatible pipelines. An NER project shows NER resources. A Visual NER project shows Visual NER resources. The distinction is automatic and enforced.</p><p><strong>Faster troubleshooting when issues do occur.</strong> If pre-annotation fails, teams know the pipeline was compatible; the problem is elsewhere. That eliminates one entire category of investigation. Debugging becomes more efficient because configuration errors are prevented structurally.</p><p><strong>No more deployment guesswork.</strong> The interface shows deployment progress. The button state reflects server readiness. Teams can proceed confidently when deployment completes rather than waiting arbitrarily or trying operations before the server is ready.</p><h3>The Iteration Factor</h3><p>Healthcare AI workflows depend on iteration. Teams deploy pipelines to test configurations, evaluate results on sample data, refine settings, and redeploy. Each cycle should take minutes, not hours.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*aMUKiclk9-YosGwG.png" /></figure><p>That iteration is productive when the system communicates clearly: which pipelines are compatible, whether deployment is complete, whether the configuration is ready for testing. It becomes friction when teams spend time diagnosing compatibility issues or waiting for deployments that may have already finished.</p><p>Pipeline scoping and deployment feedback remove that friction. Compatible resources are visible. Deployment status is explicit. Teams focus on improving models and configurations rather than verifying system state or troubleshooting preventable errors.</p><p>This is infrastructure that respects the reality of clinical NLP work: iteration is constant, and every cycle where the system forces interpretation rather than providing clarity is wasted time.</p><h3>Learn More</h3><p>Full technical details on pre-annotation enhancements and deployment workflows:</p><p>👉 <a href="https://nlp.johnsnowlabs.com/docs/en/alab/annotation_labs_releases/release_notes_7_8_0">Release notes</a></p><p>Questions about pre-annotation configuration, Playground testing, or server deployment? Our team is here to help.</p><p><em>Originally published at </em><a href="https://www.johnsnowlabs.com/enhanced-visibility-over-preannotation-servers-why-feedback-matters-as-much-as-results/"><em>https://www.johnsnowlabs.com</em></a><em> on March 2, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ae40f0f9bb66" width="1" height="1" alt=""><hr><p><a href="https://medium.com/john-snow-labs/enhanced-visibility-over-preannotation-servers-why-feedback-matters-as-much-as-results-ae40f0f9bb66">Enhanced Visibility over Preannotation Servers: Why Feedback Matters as Much as Results</a> was originally published in <a href="https://medium.com/john-snow-labs">John Snow Labs</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Generative AI Lab Delivers Complete Visibility and Control for HIPAA-Compliant AI Workflows]]></title>
            <link>https://medium.com/john-snow-labs/how-generative-ai-lab-delivers-complete-visibility-and-control-for-hipaa-compliant-ai-workflows-7f59e57e1edb?source=rss-bf65a6b32480------2</link>
            <guid isPermaLink="false">https://medium.com/p/7f59e57e1edb</guid>
            <category><![CDATA[ai-governance]]></category>
            <category><![CDATA[annotation-tools]]></category>
            <category><![CDATA[healthcare-ai]]></category>
            <category><![CDATA[hipaa]]></category>
            <category><![CDATA[regulatory-compliance]]></category>
            <dc:creator><![CDATA[Aleksei Zakharov]]></dc:creator>
            <pubDate>Mon, 16 Feb 2026 15:01:07 GMT</pubDate>
            <atom:updated>2026-02-19T15:15:14.569Z</atom:updated>
            <content:encoded><![CDATA[<p>Every day, healthcare organizations face an impossible balancing act. Clinical teams need AI tools to extract insights from unstructured medical records, validate de-identification results, and accelerate annotation workflows. But every interaction with patient data creates compliance risk.</p><p>Consider the reality of modern healthcare AI workflows:</p><p><strong>Annotation teams</strong> review thousands of clinical notes, validating AI-extracted entities like medications, diagnoses, and procedures. Each review involves accessing Protected Health Information (PHI). Who viewed which patient records? When? For how long? Without answers, every HIPAA audit becomes a scramble through server logs.</p><p><strong>De-identification specialists</strong> prepare datasets for AI training, removing or masking sensitive information. But how do you prove that de-identified data was handled correctly? That the right team members accessed the right records? That no unauthorized exports occurred during the process?</p><p><strong>Compliance officers</strong> know that “we think we’re compliant” isn’t good enough. Regulators expect detailed audit trails: what was accessed, who modified it, what was exported, and where it went. Manual log reviews can take weeks and still miss critical events.</p><p><strong>Security teams</strong> face a constant threat: well-meaning employees exporting sensitive data to uncontrolled locations. A single CSV file downloaded to a laptop can represent hundreds of patient records outside secure systems.</p><p>The problem isn’t just logging activity-most platforms capture logs. The challenge is turning those logs into answers when they matter most: during audits, investigations, or when suspicious patterns emerge.</p><h3>Generative AI Lab — A platform built for Healthcare AI governance</h3><p>Generative AI Lab addresses these challenges through a comprehensive approach to AI governance that goes beyond basic logging. It’s designed for the reality of healthcare workflows where Human-in-the-Loop annotation, validation, de-identification, and AI training must happen securely, compliantly, and transparently.</p><p>As generative AI becomes crucial to healthcare workflows, organizations need more than strong models — they need platforms they can trust, manage, and explain. In regulated environments, visibility is not just a nice feature — it’s essential for compliance, security, and accountability.<br> That’s why Generative AI Lab 7.8 introduces the Audit Logs Dashboard, a HIPAA-compliant, system-wide auditing solution that provides real-time, detailed visibility into all platform activities.</p><h3>The Audit Logs Dashboard: From raw logs to actionable insights</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*oG7R3_iPMPve_rfu.gif" /></figure><p>Many AI platforms capture activity logs. Few make those logs actionable when compliance teams need answers immediately. The Audit Logs Dashboard provided by Generative AI Lab transforms low-level events into clear, visual insights that address the specific questions healthcare organizations face:</p><h3>Real-time activity visibility</h3><p>Every interaction with the platform is logged with granular detail. When annotation teams validate AI predictions on clinical notes, the system records who accessed which projects, when they made changes, and what those changes were. When de-identification workflows run, every step is tracked-from the initial data import to the final validation by clinical experts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*usylUnefYhBUFOqT.png" /></figure><p>The dashboard tracks the complete project lifecycle: creation, updates, configuration changes, and deletion. For annotation projects processing PHI, this means complete traceability of who did what, when, and in what context.</p><h3>Data movement tracking</h3><p>For healthcare organizations, knowing when and how data leaves the platform is critical. The dashboard monitors all exports-both to local workstations and cloud storage-with detailed logging of what was exported, by whom, and to where.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*r3NzbJUd_J-DQcGg.png" /></figure><p>When preparing datasets for AI training, teams can demonstrate that only authorized personnel exported de-identified data to approved cloud locations. When running HITL validation workflows, supervisors can review which annotators accessed which patient records and verify that no unauthorized exports occurred.</p><h3>Visual intelligence for pattern detection</h3><p>Instead of scrolling through text logs, teams see activity patterns through intuitive visualizations:</p><ul><li><strong>Project activity heatmaps</strong> reveal unusual access patterns across annotation projects</li><li><strong>Export monitoring dashboards</strong> highlight data egress events that require investigation</li><li><strong>User activity tables</strong> break down individual actions, making it easy to investigate specific team members or time periods</li><li><strong>API usage visualizations</strong> help identify anomalous patterns that might indicate security issues</li><li><strong>HTTP status distributions</strong> reveal system health and potential access control problems</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OwjNOYv8yH3o_0on.png" /></figure><p>These visuals aren’t just prettier logs-they enable compliance teams to spot issues that would be invisible in text files. When an annotator suddenly exports significantly more data than usual, or when access patterns change around a specific de-identification project, the dashboard surfaces these signals before they become incidents.</p><h3>Flexible investigation capabilities</h3><p>When questions arise (e.g., during audits, investigations, or routine reviews) teams need to drill down quickly. Generative AI lab allows the following filtering capabilities:</p><ul><li><strong>Filter by project</strong> to review all activity within specific projects (e.g. annotation, LLM Evaluation, LLM comparison, de-identification, etc)</li><li><strong>Filter by user</strong> to investigate individual team member actions during HITL workflows</li><li><strong>Filter by event type</strong> to focus on exports, configuration changes, or PHI access</li><li><strong>Filter by date range</strong> to examine activity during specific periods</li><li><strong>Create custom dashboards</strong> tailored to different oversight needs</li></ul><p>These capabilities transform investigations from multi-day log reviews into focused, efficient queries. When a compliance officer asks “who accessed de-identification project X last month?” the answer takes minutes, not days.</p><h3>Privacy-first architecture of Generative AI Lab</h3><p>The Audit Logs Dashboard is built for healthcare from the ground up. It maintains comprehensive accountability while protecting sensitive information:</p><ul><li><strong>Metadata Logged Without Exposure. </strong>The system logs user IDs, API methods, timestamps, and event context-but never sensitive payloads. Passwords, PHI, and PII remain protected while the audit trail remains complete. When reviewing logs of annotation activity on clinical notes, compliance teams see who accessed which projects and when, without exposing the actual patient data being annotated.</li><li><strong>Configurable Retention. </strong>Healthcare organizations have varying requirements for log retention based on regulatory frameworks and internal policies. The dashboard supports user-configurable data retention periods, enabling organizations to maintain audit trails as long as needed for investigations and compliance requirements.</li><li><strong>HIPAA-Compliant by Design. </strong>The entire auditing infrastructure is built to support HIPAA compliance. The system tracks access to Protected Health Information, modifications to sensitive data, and exports that move data outside the platform-all with the granularity regulators expect during audits.</li></ul><h3>Controlling data movement: prevention and detection</h3><p>Audit logging reveals what happened, but healthcare organizations also need to prevent problems before they occur. Generative AI Lab provides comprehensive controls over how data enters and leaves the platform.</p><h3>Restricting Local Imports</h3><p>Many compliance incidents start with uncontrolled data ingress. An annotator imports a CSV of patient records from their laptop. A researcher uploads files from an unsecured location. Each represents risk.</p><p>Administrators can globally disable local file imports, ensuring data only flows through auditable, encrypted cloud channels like Amazon S3 or Azure Blob Storage. This means annotation projects can only pull data from approved, monitored sources-eliminating the risk of uncontrolled PHI entering the platform.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ciiJ-P374jPM_BT3.png" /></figure><p>The system provides flexibility through project-level exceptions, allowing administrators to maintain operational flexibility for specific use cases (like internal development projects using synthetic data) while enforcing strict controls for PHI processing workflows.</p><h3>Restricting local exports</h3><p>Local exports represent one of the highest risks in AI workflows. A single “download CSV” action can move thousands of patient records outside secure infrastructure onto uncontrolled devices.</p><p>Administrators can disable local exports entirely, forcing all data to be exported only to approved cloud storage locations. When preparing training datasets from annotated clinical notes, teams must export to S3 buckets rather than local workstations-ensuring data remains within secure, auditable infrastructure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*SBojuYYARnsLy7bR.png" /></figure><p>Like import restrictions, export controls support project-level exceptions, giving administrators granular control over which projects require cloud-only workflows and which can operate with more flexibility.</p><h3>Administrative Control of Resources</h3><p>Uncontrolled project creation can lead to unauthorized processing of PHI or unmonitored annotation workflows. In Generative AI Lab it is possible to restrict project creation rights to Admin users only, ensuring all annotation projects, de-identification workflows, and AI training initiatives go through proper approval before being launched.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1MokqKlnh8NiN0FV.png" /></figure><p>This prevents scenarios where well-meaning team members spin up annotation projects on sensitive data without proper security review or compliance approval.</p><h3>Real-world benefits across healthcare workflows</h3><p>These capabilities deliver concrete value across the entire healthcare AI lifecycle:</p><h3>For HITL Validation Workflows</h3><p>When clinical experts validate AI-extracted entities, assertions, or relationships from medical records, every interaction is logged. Supervisors can review who validated which predictions, when corrections were made, and whether validation patterns suggest training data issues or model problems.</p><p>If an AI model incorrectly extracts medication dosages from clinical notes, the audit trail shows which annotators caught the errors, enabling quality analysis and targeted retraining.</p><h3>For De-Identification Projects</h3><p>De-identification is a high-stakes process. Teams need to prove that PHI was properly masked or removed, that only authorized personnel accessed sensitive data, and that final datasets were exported only to approved locations.</p><p>The Audit Logs Dashboard provides the complete chain of custody: who created the de-identification project, which models were used, who validated results, and where the final de-identified dataset was exported. Combined with restricted exports, this ensures de-identified training data never leaves secure cloud infrastructure.</p><h3>For Compliance Readiness</h3><p>When auditors ask for evidence of HIPAA compliance, healthcare organizations need more than assurances-they need documentation. The dashboard provides:</p><ul><li>Comprehensive records of who accessed PHI within annotation projects</li><li>Documentation of data modifications and when they occurred</li><li>Evidence that exports only went to approved, secure locations</li><li>Proof that access controls and restrictions were enforced consistently</li></ul><p>This turns compliance audits from stressful unknowns into straightforward evidence reviews.</p><h3>For Security Investigations</h3><p>When suspicious activity occurs, such as unusual access patterns, unexpected exports, or anomalous API usage, security teams need to investigate quickly. The visual dashboards surface these patterns before they escalate, and the flexible filtering enables rapid investigation of specific events, users, or timeframes.</p><p>If an annotator’s account shows unusual export activity, security teams can immediately determine what was exported, when, and whether it represents a genuine security incident or a legitimate workflow change.</p><h3>Implementation: Built for healthcare IT</h3><p>Healthcare IT teams need solutions that integrate cleanly into existing infrastructure without creating new security or operational burdens.</p><p><strong>Simple Activation. </strong>Audit logging can be enabled during installation or upgrade with simple installer flags. The system automatically provisions necessary backend services, including Elastic Search if not already present.</p><p><strong>Flexible Deployment. </strong>Organizations can deploy Elastic Search internally for complete data ownership or connect to existing external Elastic Search clusters to unify logging infrastructure across the organization. This flexibility ensures the audit logging solution fits into existing IT architectures rather than forcing new patterns.</p><p><strong>Privacy and Performance. </strong>The logging infrastructure captures comprehensive activity data without impacting platform performance or exposing sensitive information. Healthcare teams can work at full speed while maintaining complete audit trails.</p><h3>Why this matters now</h3><p>As healthcare AI adoption accelerates, the gap between innovation and governance grows. Organizations that move fast without visibility create compliance debt that compounds over time. The first HIPAA violation or security incident can erase years of AI progress.</p><p>The organizations that will lead healthcare AI aren’t just those with the best models; they’re the ones that can deploy AI responsibly, demonstrate compliance clearly, and respond to incidents quickly.</p><p>Generative AI Lab’s comprehensive approach to AI governance, combining real-time audit logging, visual analytics, and preventive controls, represents a shift from AI platforms that happen to have some compliance features to platforms built from the ground up for healthcare’s unique requirements.</p><p>When annotation teams validate AI predictions, when de-identification workflows prepare training data, and when clinical experts review model outputs, every action happens within a framework of accountability, transparency, and control.</p><p>That’s not just compliance. That’s how healthcare organizations earn the trust needed to transform patient care with AI.</p><h3>Next steps</h3><p>Ready to deploy healthcare AI workflows with complete visibility and control?</p><p><strong>Deploy in One Click</strong> Generative AI Lab is available on AWS Marketplace and Azure Marketplace. Subscribe and launch your HIPAA-compliant AI platform in minutes with all audit logging and governance features enabled out of the box.</p><ul><li><a href="https://aws.amazon.com/marketplace/seller-profile?id=35beadb1-b1b1-4e83-93b8-6c490c6d9d17">Deploy on AWS Marketplace →</a></li><li><a href="https://azuremarketplace.microsoft.com/en-us/marketplace/apps?search=john%20snow%20labs&amp;page=1">Deploy on Azure Marketplace →</a></li></ul><p><strong>On-Premise Deployment</strong> Need complete control over your infrastructure? Our enterprise team will work with you to deploy Generative AI Lab in your own environment with full support for your security requirements and compliance framework.</p><p>Questions about HIPAA compliance, audit logging, or deployment options? Our healthcare AI specialists are here to help you build AI workflows you can trust.</p><p><a href="https://www.johnsnowlabs.com/schedule-a-demo/">Contact Sales for On-Premise Options →</a></p><p><em>Originally published at </em><a href="https://www.johnsnowlabs.com/how-generative-ai-lab-delivers-complete-visibility-and-control-for-hipaa-compliant-ai-workflows/"><em>https://www.johnsnowlabs.com</em></a><em> on February 16, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7f59e57e1edb" width="1" height="1" alt=""><hr><p><a href="https://medium.com/john-snow-labs/how-generative-ai-lab-delivers-complete-visibility-and-control-for-hipaa-compliant-ai-workflows-7f59e57e1edb">How Generative AI Lab Delivers Complete Visibility and Control for HIPAA-Compliant AI Workflows</a> was originally published in <a href="https://medium.com/john-snow-labs">John Snow Labs</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>