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

适应大型多模态模型的分布偏移:上下文学习的作用

Adapting Large Multimodal Models to Distribution Shifts: The Role of In-Context Learning

University of New South Wales(新南威尔士大学);King Abdullah University of Science and Technology(阿卜杜拉国王科技大学);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);University of California, San Diego(加利福尼亚大学圣迭戈分校);CSIRO’s Data61(联邦科学与工业研究组织数据61);Australian National University(澳大利亚国立大学);Macquarie University(麦考瑞大学)

Guanglin Zhou, Zhongyi Han, Shiming Chen, Biwei Huang, Liming Zhu, Salman Khan, Xin Gao, Lina Yao

AI总结:

针对大型多模态模型在分布偏移下的领域适应问题,提出基于类别条件对比不变性的上下文示例选择方法 InvariantSelectPR,显著提升了模型在医疗等基准数据集上的适应性与准确率。

摘要:

最近的研究表明,大型多模态模型(LMMs)有潜力作为通用助手,并且对不同的分布具有高度的鲁棒性。尽管如此,领域特定的适应仍然是必要的,特别是在医疗保健等专业领域。鉴于 LMMs 庞大的参数空间,微调它们并不切实际,因此本研究探讨了上下文学习(ICL)作为增强 LMMs 适应性的有效替代方案。我们的研究通过评估一种无监督 ICL 方法来解决这个问题,该方法通过基于特征相似性的最近样本搜索来选择上下文示例。我们发现,在分布偏移场景下,其有效性受到预训练视觉编码器缺陷的限制。为了应对这些挑战,我们提出了 InvariantSelectPR,这是一种利用类别条件对比不变性(CCI)来进行更鲁棒的演示选择的新方法。具体而言,CCI 通过提高不同类别之间的判别能力并确保对领域特定变化的不变性,来增强预训练视觉编码器。这种增强使编码器能够有效地识别和检索最具信息量的示例,进而用于指导 LMMs 适应不同分布下的新查询样本。我们的实验表明,InvariantSelectPR 显著提高了 LMMs 的适应性,在基准数据集上取得了显著的性能提升,与基线零样本性能相比,在 Camelyon17 的 7-shot 设定下准确率提升了 34.2%↑,在 HAM10000 的 7-shot 设定下提升了 16.9%↑。

英文摘要:

Recent studies indicate that large multimodal models (LMMs) potentially act as general-purpose assistants and are highly robust against different distributions. Despite this, domain-specific adaptation is still necessary particularly in specialized areas like healthcare. Due to the impracticality of fine-tuning LMMs given their vast parameter space, this work investigates in-context learning (ICL) as an effective alternative for enhancing LMMs' adaptability. Our study addresses this by evaluating an unsupervised ICL method which selects in-context examples through a nearest example search based on feature similarity. We uncover that its effectiveness is limited by the deficiencies of pre-trained vision encoders under distribution shift scenarios. To address these challenges, we propose InvariantSelectPR, a novel method leveraging Class-conditioned Contrastive Invariance (CCI) for more robust demonstration selection. Specifically, CCI enhances pre-trained vision encoders by improving their discriminative capabilities across different classes and ensuring invariance to domain-specific variations. This enhancement allows the encoders to effectively identify and retrieve the most informative examples, which are then used to guide LMMs in adapting to new query samples under varying distributions. Our experiments show that InvariantSelectPR substantially improves the adaptability of LMMs, achieving significant performance gains on benchmark datasets, with a 34.2%$\uparrow$ accuracy increase in 7-shot on Camelyon17 and 16.9%$\uparrow$ increase in 7-shot on HAM10000 compared to the baseline zero-shot performance.

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

↑