一种用于儿童病理科报告的半自动化标注工作流程使用小型语言模型
A Semi-Automated Annotation Workflow for Paediatric Histopathology Reports Using Small Language Models
AI总结:
本文提出一种基于小型语言模型的半自动化标注流程,用于从非结构化电子病历数据中提取结构化信息,尤其针对儿童病理科报告,通过临床监督和少量示例提升提取准确性。
摘要:
电子病历系统包含有价值临床信息,但大部分信息被困在非结构化文本中,限制了其在研究和决策中的使用。大型语言模型可以提取此类信息,但需要大量计算资源本地运行,而将敏感临床数据发送到基于云的服务,即使去标识化,也引发重大患者隐私问题。在本研究中,我们开发了一种资源高效的半自动化标注工作流程,使用小型语言模型(SLMs)从非结构化EPR数据中提取结构化信息,重点是儿童病理科报告。作为概念验证,我们将该流程应用于儿童肾活检报告,该领域因其诊断范围有限和已知的生物学基础而被选择。我们通过三次会议在临床监督下逐步开发该流程,手动标注了2111份数据集中的400份报告作为金标准,同时开发了使用SLMs的自动化信息提取方法。我们将提取过程框架为一个基于临床指导实体指南和少量示例的问答任务,评估了五个经过指令微调的SLMs,并使用分歧建模框架来优先审查报告。Gemma 2 2B在准确性上达到最高水平,84.3%,优于现成模型,包括spaCy(74.3%)、BioBERT-SQuAD(62.3%)、RoBERTa-SQuAD(59.7%)和GLiNER(60.2%)。实体指南将性能提高了7-19%超过零样本基线,而少量示例提高了6-38%,尽管其好处在组合时并不叠加。这些结果表明,SLMs可以在仅CPU的基础设施上从专门的临床领域中提取结构化信息,且需要最小的临床人员参与。我们的代码可在https://github.com/gosh-dre/nlp_renal_biopsy获取。
英文摘要:
Electronic Patient Record (EPR) systems contain valuable clinical information, but much of it is trapped in unstructured text, limiting its use for research and decision-making. Large language models can extract such information but require substantial computational resources to run locally, and sending sensitive clinical data to cloud-based services, even when deidentified, raises significant patient privacy concerns. In this study, we develop a resource-efficient semi-automated annotation workflow using small language models (SLMs) to extract structured information from unstructured EPR data, focusing on paediatric histopathology reports. As a proof-of-concept, we apply the workflow to paediatric renal biopsy reports, a domain chosen for its constrained diagnostic scope and well-defined underlying biology. We develop the workflow iteratively with clinical oversight across three meetings, manually annotating 400 reports from a dataset of 2,111 at Great Ormond Street Hospital as a gold standard, while developing an automated information extraction approach using SLMs. We frame extraction as a Question-Answering task grounded by clinician-guided entity guidelines and few-shot examples, evaluating five instruction-tuned SLMs with a disagreement modelling framework to prioritise reports for clinical review. Gemma 2 2B achieves the highest accuracy at 84.3%, outperforming off-the-shelf models including spaCy (74.3%), BioBERT-SQuAD (62.3%), RoBERTa-SQuAD (59.7%), and GLiNER (60.2%). Entity guidelines improved performance by 7-19% over the zero-shot baseline, and few-shot examples by 6-38%, though their benefits do not compound when combined. These results demonstrate that SLMs can extract structured information from specialised clinical domains on CPU-only infrastructure with minimal clinician involvement. Our code is available at https://github.com/gosh-dre/nlp_renal_biopsy.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。