用检索增强生成技术,让病理实验室手册变智能问答助手。
Retrieval-Augmented Generation Assistant for Anatomical Pathology Laboratories
- 用检索+生成方法,结合医学专用嵌入模型提升回答准确性。
- 单次召回最优片段(k=1)效果最好,契合病理流程模块化特点。
- 适用于需快速查规程的病理技师,可减少误诊和延误。
准确高效的实验室规程访问对解剖病理学至关重要,因高达70%的医疗决策依赖于实验室诊断。然而,传统纸质手册或PDF文档常存在过时、碎片化、难检索等问题,易引发操作错误和诊断延迟。本研究提出并评估了一款专为解剖病理实验室设计的检索增强生成(RAG)助手,帮助技术人员获取与规程相关的上下文相关答案。我们从葡萄牙医疗机构收集了99份病理规程,构建了323个问答对用于系统评估。共开展十项实验,比较不同分块策略、检索方法及嵌入模型的效果。使用RAGAS框架(忠实度、答案相关性、上下文召回率)与top-k检索指标进行评估。结果表明,递归分块与混合检索表现最佳;引入生物医学专用嵌入模型MedEmbed后,答案相关性达0.74,忠实度0.70,上下文召回率0.77,凸显领域特化嵌入的重要性。top-k分析显示,仅召回单一最优段落(k=1)在效率与准确率上最优,反映出病理规程的模块化结构。研究揭示了部署RAG系统于医疗场景的关键设计要点,展示了将静态文档转化为动态可靠知识助手的潜力,有助于提升实验室工作效率与患者安全。
原文摘要 · Abstract (English)
Accurate and efficient access to laboratory protocols is essential in Anatomical Pathology (AP), where up to 70% of medical decisions depend on laboratory diagnoses. However, static documentation such as printed manuals or PDFs is often outdated, fragmented, and difficult to search, creating risks of workflow errors and diagnostic delays. This study proposes and evaluates a Retrieval-Augmented Generation (RAG) assistant tailored to AP laboratories, designed to provide technicians with context-grounded answers to protocol-related queries. We curated a novel corpus of 99 AP protocols from a Portuguese healthcare institution and constructed 323 question-answer pairs for systematic evaluation. Ten experiments were conducted, varying chunking strategies, retrieval methods, and embedding models. Performance was assessed using the RAGAS framework (faithfulness, answer relevance, context recall) alongside top-k retrieval metrics. Results show that recursive chunking and hybrid retrieval delivered the strongest baseline performance. Incorporating a biomedical-specific embedding model (MedEmbed) further improved answer relevance (0.74), faithfulness (0.70), and context recall (0.77), showing the importance of domain-specialised embeddings. Top-k analysis revealed that retrieving a single top-ranked chunk (k=1) maximized efficiency and accuracy, reflecting the modular structure of AP protocols. These findings highlight critical design considerations for deploying RAG systems in healthcare and demonstrate their potential to transform static documentation into dynamic, reliable knowledge assistants, thus improving laboratory workflow efficiency and supporting patient safety.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。