Skip to main content
QUICK REVIEW

[论文解读] A comparative study of zero-shot inference with large language models and supervised modeling in breast cancer pathology classification

Madhumita Sushil, Travis Zack|arXiv (Cornell University)|Jan 25, 2024
Machine Learning in HealthcareComputer Science被引用 3
一句话总结

本研究对比了在769份乳腺癌病理报告的13项分类任务中,使用GPT-4和GPT-3.5进行零样本推理与监督学习模型(随机森林、LSTM-Att、UCSF-BERT)的表现。GPT-4在所有任务上的平均宏F1得分为0.83,优于表现最佳的监督学习模型(LSTM-Att,F1=0.75),尤其在类别不平衡设置下表现更优,表明大语言模型(LLM)在临床自然语言处理中可减少对大规模标注数据集的依赖。

ABSTRACT

Although supervised machine learning is popular for information extraction from clinical notes, creating large annotated datasets requires extensive domain expertise and is time-consuming. Meanwhile, large language models (LLMs) have demonstrated promising transfer learning capability. In this study, we explored whether recent LLMs can reduce the need for large-scale data annotations. We curated a manually-labeled dataset of 769 breast cancer pathology reports, labeled with 13 categories, to compare zero-shot classification capability of the GPT-4 model and the GPT-3.5 model with supervised classification performance of three model architectures: random forests classifier, long short-term memory networks with attention (LSTM-Att), and the UCSF-BERT model. Across all 13 tasks, the GPT-4 model performed either significantly better than or as well as the best supervised model, the LSTM-Att model (average macro F1 score of 0.83 vs. 0.75). On tasks with high imbalance between labels, the differences were more prominent. Frequent sources of GPT-4 errors included inferences from multiple samples and complex task design. On complex tasks where large annotated datasets cannot be easily collected, LLMs can reduce the burden of large-scale data labeling. However, if the use of LLMs is prohibitive, the use of simpler supervised models with large annotated datasets can provide comparable results. LLMs demonstrated the potential to speed up the execution of clinical NLP studies by reducing the need for curating large annotated datasets. This may result in an increase in the utilization of NLP-based variables and outcomes in observational clinical studies.

研究动机与目标

  • 评估大语言模型(LLM)是否能够减少在乳腺癌病理分类任务中对大规模人工标注临床数据集的依赖。
  • 对比GPT-4和GPT-3.5在769份病理报告的精选数据集上的零样本分类性能与监督学习模型的表现。
  • 评估标签类别不平衡对LLM与监督学习模型性能的影响。
  • 识别LLM推理中的错误模式,特别是复杂或多份样本推理任务中的错误。
  • 评估使用LLM是否能通过最小化数据整理工作量,显著加速临床自然语言处理研究的可行性。

提出的方法

  • 整理了一个包含769份乳腺癌病理报告的手动标注数据集,涵盖13种诊断与病理类别。
  • 对GPT-4和GPT-3.5模型应用零样本提示工程,仅提供类别描述而无需微调。
  • 训练并评估了三种监督学习模型:随机森林分类器、带有注意力机制的LSTM(LSTM-Att)以及UCSF-BERT。
  • 在所有13项分类任务中,以宏F1分数作为主要评估指标。
  • 分析GPT-4预测中的错误类型,重点关注多份报告推理与复杂任务设计的影响。
  • 在所有任务中对比模型表现,特别关注标签分布不平衡的情况。

实验结果

研究问题

  • RQ1GPT-4的零样本LLM推理是否能在乳腺癌病理分类中实现与监督学习模型相当或更优的性能?
  • RQ2标签类别不平衡如何影响零样本LLM与监督学习模型的性能表现?
  • RQ3GPT-4在临床病理报告零样本预测中的主要错误来源是什么?
  • RQ4使用LLM是否能显著减少临床自然语言处理任务中对大规模数据标注的需求?
  • RQ5在何种条件下,使用大规模标注数据集训练的监督学习模型仍优于零样本LLM?

主要发现

  • GPT-4在全部13项分类任务上的平均宏F1得分为0.83,优于表现最佳的监督学习模型LSTM-Att(F1=0.75)。
  • 在标签高度不平衡的任务中,GPT-4相较于监督学习模型的性能优势更加显著。
  • GPT-4的常见错误来源包括从多份报告中得出错误推断,以及在复杂任务设计中存在困难。
  • GPT-4与监督学习模型之间的性能差距在低资源或标签不平衡场景下最为明显。
  • 尽管存在错误模式,GPT-4仍展现出强大的零样本泛化能力,表明其对大规模标注数据集的依赖性显著降低。
  • 当LLM不可行时,使用大规模标注数据集训练的监督学习模型仍可实现相当的性能表现。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。