[论文解读] LLMs-based Few-Shot Disease Predictions using EHR: A Novel Approach Combining Predictive Agent Reasoning and Critical Agent Instruction
本论文研究使用LLMs对来自EHR数据的零-shot和少-shot疾病预测,提出一个两智能体协作框架(预测者和评论者),通过基于反馈的提示增强来改进预测。
Electronic health records (EHRs) contain valuable patient data for health-related prediction tasks, such as disease prediction. Traditional approaches rely on supervised learning methods that require large labeled datasets, which can be expensive and challenging to obtain. In this study, we investigate the feasibility of applying Large Language Models (LLMs) to convert structured patient visit data (e.g., diagnoses, labs, prescriptions) into natural language narratives. We evaluate the zero-shot and few-shot performance of LLMs using various EHR-prediction-oriented prompting strategies. Furthermore, we propose a novel approach that utilizes LLM agents with different roles: a predictor agent that makes predictions and generates reasoning processes and a critic agent that analyzes incorrect predictions and provides guidance for improving the reasoning of the predictor agent. Our results demonstrate that with the proposed approach, LLMs can achieve decent few-shot performance compared to traditional supervised learning methods in EHR-based disease predictions, suggesting its potential for health-oriented applications.
研究动机与目标
- 评估将结构化的EHR就诊数据(疾病、药物、程序)转换为自然语言叙述以进行LLM预测的可行性。
- 评估在基于EHR的任务上零-shot和少-shot提示策略。
- 提出并评估一个协作的两智能体框架(预测者和评论者)以提升少-shot诊断准确性。
提出的方法
- 通过将ICD编码映射到名称并用连词连接,将结构化的EHR就诊记录转换为非结构化叙述。
- 评估零-shot提示策略,包括思维链、因子交互和流行病学信息。
- 通过在提示中插入少量正/负示例来评估少-shot提示。
- 引入 EHR-CoAgent,包含两 个LLM:一个预测者负责预测并生成推理,另一个评论者分析错误预测并提供指导性反馈。
- 评论者的反馈由 GPT-4 汇总为统一的指令并整合到预测者提示中(指令增强提示)。
- 在零-shot、少-shot和完全监督设置下,与传统 ML 基线(决策树、逻辑回归、随机森林)以及单智能体LLMs(GPT-4、GPT-3.5)进行比较。
实验结果
研究问题
- RQ1LLMs 能否从基于EHR的叙述中进行零-shot和少-shot疾病预测?
- RQ2提示策略(思维链、因子交互、流行病学信息)如何影响基于LLM的EHR预测?
- RQ3相比单一代理LLMs和传统ML,协作型预测者-评论者LLM框架是否能提高少-shot疾病预测?
- RQ4基于评论者驱动的指令对EHR预测中的模型准确性和推理质量有何影响?
主要发现
- 在少-shot情境下,EHR-CoAgent 通常超越基线ML模型和单智能体LLMs,GPT-4 通常优于 GPT-3.5。
- 在 CRADLE 数据集上,EHR-CoAgent 达到 F1 60.21%,优于所有完全训练的 ML 模型。
- 在 MIMIC-III 数据集上,EHR-CoAgent 达到 F1 73.88%,与完全训练的决策树相当,并胜过逻辑回归和随机森林。
- 在仔细设计的提示下,零-shot 提示可带来适度提升(Zero-Shot+),但少-shot示例通常提升性能。
- 评论者代理识别预测者推理中的偏差和错误,并生成指导性反馈,将其整合到提示中可显著提高准确性。
- 与单一LLM预测器相比,带反馈的EHR-CoAgent在各项指标上均显示出一致改进。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。