计算机科学
管道(软件)
人工智能
背景(考古学)
渐晕
情报检索
机器学习
原始数据
知识库
自然语言处理
混合动力系统
理论(学习稳定性)
深度学习
嵌入
语料库
数据挖掘
精密医学
比例(比率)
绩效改进
基线(sea)
基本事实
F1得分
翻译(生物学)
诊断准确性
作者
Pengze Li,Anshum Patel,Sai Krishna Vallamchetla,Hayden Heninger,Het Contractor,Cui Tao,Joseph Cheung
标识
DOI:10.1093/jamia/ocag056
摘要
OBJECTIVE: Evaluate how RAG architecture, including corpus structure, retrieval strategy, and pipeline complexity, affects LLM-based medical problem solving and knowledge retrieval in sleep medicine. MATERIALS AND METHODS: We benchmarked four open-source LLMs (Llama-3-8B, Llama -3 -70B, Qwen 2.5-14B, and Qwen 2.5-235B) using a knowledge base of five sleep medicine textbooks. We compared performance across three dimensions: corpus structure (raw text vs table-of-contents aligned.), retrieval strategy (dense embedding vs hybrid sparse-dense), and pipeline complexity (baseline vs augmented). Evaluation metrics included board-style multiple choice question (MCQ) accuracy and clinical case vignette diagnostic ranking. RESULTS: RAG improved MCQ accuracy for all models. Llama-8B saw the largest gain of 10.6% (61.8% to 72.4%), while Qwen-235B reached 87.3%. In clinical cases, Llama-8B accuracy dropped by 7.1% when using raw text and dense retrieval due to context noise. This was corrected by using structured hybrid configurations. Hybrid retrieval consistently outperformed dense-only methods. Overall, structured corpora improved primary diagnosis accuracy by 6.1% on average, with Qwen-235B reaching a peak 10.2% increase. DISCUSSION: RAG effectiveness depends on the balance between model size and data structure. Large models handle uncurated text well, but smaller models are easily distracted by irrelevant data. Hybrid retrieval is necessary to maintain precision with specialized medical terms. A structured corpus paired with a baseline hybrid pipeline offers the best stability and speed for clinical use. CONCLUSION: Rigorous data curation and hybrid retrieval are as essential as model scale for deploying safe, guideline-compliant AI in sleep medicine.
科研通智能强力驱动
Strongly Powered by AbleSci AI