arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2410.06456cs.CV
收藏

从通用到专用:通过任务特定视觉指令微调适配视觉语言模型

From Generalist to Specialist: Adapting Vision Language Models via Task-Specific Visual Instruction Tuning

Singapore Eye Research Institute, Singapore National Eye Centre(新加坡眼科研究所、新加坡国家眼科中心);Duke-National University of Singapore Medical School(杜克-新加坡国立大学医学院);Byers Eye Institute, Stanford University(斯坦福大学拜尔斯眼科研究所)

Yang Bai, Yang Zhou, Jun Zhou, Rick Siow Mong Goh, Daniel Shu Wei Ting, Yong Liu

AI总结:

针对视觉语言模型在任务特定场景下因领域差距表现不佳的问题,提出VITask框架,通过三大策略整合任务特定模型提升适配能力,在医学诊断任务上效果优于现有方案,且具备灵活鲁棒的实用优势。

摘要:

大型视觉语言模型(VLM)将大语言模型与视觉编码器相结合,在各类任务中展现出应用潜力。但由于预训练与微调之间存在领域差距,这类模型在任务特定场景中的表现往往不佳。我们提出VITask这一全新框架,通过整合任务特定模型(TSM)提升VLM的任务特定适配能力。VITask采用三大核心策略:示例提示(EP)、响应分布对齐(RDA)和对比响应微调(CRT),通过调整VLM的响应分布来提升其任务特定性能。EP利用TSM的特征引导VLM,RDA则让VLM从经示例提示的模型中学习,实现推理阶段无需TSM即可适配。CRT进一步优化正确图像-响应对的排序,降低生成非预期响应的风险。在涵盖9种成像模态的12个医学诊断数据集上的实验表明,VITask的表现优于原生指令微调VLM和TSM,证明其能有效整合两类模型的互补特征。此外,VITask还具备TSM集成灵活、对不完整指令鲁棒性强等实用优势,是任务特定VLM微调的通用高效方案。代码已开源至https://github.com/baiyang4/VITask。

英文摘要:

Large vision language models (VLMs) combine large language models with vision encoders, demonstrating promise across various tasks. However, they often underperform in task-specific applications due to domain gaps between pre-training and fine-tuning. We introduce VITask, a novel framework that enhances task-specific adaptability of VLMs by integrating task-specific models (TSMs). VITask employs three key strategies: exemplar prompting (EP), response distribution alignment (RDA), and contrastive response tuning (CRT) to improve the task-specific performance of VLMs by adjusting their response distributions. EP allows TSM features to guide VLMs, while RDA enables VLMs to adapt without TSMs during inference by learning from exemplar-prompted models. CRT further optimizes the ranking of correct image-response pairs, thereby reducing the risk of generating undesired responses. Experiments on 12 medical diagnosis datasets across 9 imaging modalities show that VITask outperforms both vanilla instruction-tuned VLMs and TSMs, showcasing its ability to integrate complementary features from both models effectively. Additionally, VITask offers practical advantages such as flexible TSM integration and robustness to incomplete instructions, making it a versatile and efficient solution for task-specific VLM tuning. Our code are available at https://github.com/baiyang4/VITask.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑