用检索增强框架提升多模态模型病种分类能力
Retrieval-augmented in-context learning for multimodal large language models in disease classification
- 动态检索相似病例演示,优化上下文学习提示
- 在TCGA和IU Chest X-ray数据集上准确率分别提升至83.68%和86.58%
- 适合医疗影像分析、少样本学习场景的从业者
目标:通过动态检索有信息量的示范案例,提升多模态大语言模型(MLLMs)在疾病分类中的上下文学习能力。方法:提出检索增强的上下文学习(RAICL)框架,融合检索增强生成(RAG)与上下文学习(ICL),自适应选择具有相似疾病模式的示范案例,以增强MLLMs的上下文学习效果。具体而言,RAICL利用ResNet、BERT、BioBERT和ClinicalBERT等多编码器的嵌入表示进行示范案例检索,并构建针对ICL优化的对话式提示。在两个真实世界多模态数据集(TCGA和IU Chest X-ray)上评估,涵盖多个MLLM(Qwen、Llava、Gemma)、嵌入策略、相似度度量及不同数量的示范案例。结果:RAICL持续提升分类性能,在TCGA上准确率从0.7854升至0.8368,在IU Chest X-ray上从0.7924升至0.8658。多模态输入优于单模态,文本仅输入强于图像单独输入。各模态的信息丰富程度决定了适用的嵌入模型。少样本实验表明,增加检索示例数量进一步提升性能。在不同相似度度量中,欧氏距离取得最高准确率,余弦相似度则获得更好宏平均F1分数。RAICL在多种MLLM上均表现一致改进,验证其鲁棒性与通用性。结论:RAICL为提升多模态大模型在疾病分类任务中的上下文学习提供了一种高效且可扩展的方法。
原文摘要 · Abstract (English)
Objectives: We aim to dynamically retrieve informative demonstrations, enhancing in-context learning in multimodal large language models (MLLMs) for disease classification. Methods: We propose a Retrieval-Augmented In-Context Learning (RAICL) framework, which integrates retrieval-augmented generation (RAG) and in-context learning (ICL) to adaptively select demonstrations with similar disease patterns, enabling more effective ICL in MLLMs. Specifically, RAICL examines embeddings from diverse encoders, including ResNet, BERT, BioBERT, and ClinicalBERT, to retrieve appropriate demonstrations, and constructs conversational prompts optimized for ICL. We evaluated the framework on two real-world multi-modal datasets (TCGA and IU Chest X-ray), assessing its performance across multiple MLLMs (Qwen, Llava, Gemma), embedding strategies, similarity metrics, and varying numbers of demonstrations. Results: RAICL consistently improved classification performance. Accuracy increased from 0.7854 to 0.8368 on TCGA and from 0.7924 to 0.8658 on IU Chest X-ray. Multi-modal inputs outperformed single-modal ones, with text-only inputs being stronger than images alone. The richness of information embedded in each modality will determine which embedding model can be used to get better results. Few-shot experiments showed that increasing the number of retrieved examples further enhanced performance. Across different similarity metrics, Euclidean distance achieved the highest accuracy while cosine similarity yielded better macro-F1 scores. RAICL demonstrated consistent improvements across various MLLMs, confirming its robustness and versatility. Conclusions: RAICL provides an efficient and scalable approach to enhance in-context learning in MLLMs for multimodal disease classification.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。