arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.19394cs.CV
收藏

CLIP-Mamba:具有OOD与Hessian评估的CLIP预训练Mamba模型

CLIP-Mamba: CLIP Pretrained Mamba Models with OOD and Hessian Evaluation

Microsoft(微软公司)

Weiquan Huang, Yifei Shen, Yifan Yang

AI总结:

本文首次将CLIP预训练引入Mamba模型,通过多规模训练及26个零样本和16个OOD数据集评估,证明其参数效率优于ViT,并借助Hessian分析揭示其训练难度更高的原因。

摘要:

状态空间模型和基于Mamba的模型已在多个领域得到越来越广泛的应用,并取得了最先进的性能。本技术报告首次尝试利用对比语言-图像预训练(CLIP)来训练可迁移的Mamba模型。我们训练了不同规模的Mamba模型,并在26个零样本分类数据集和16个分布外(OOD)数据集上对这些模型进行了全面评估。我们的发现表明,一个具有6700万参数的Mamba模型在零样本分类任务上与一个具有3.07亿参数的Vision Transformer(ViT)模型表现相当,突显了Mamba模型的参数效率。在OOD泛化测试中,基于Mamba的模型在OOD图像对比度条件下或受到高通滤波时表现出卓越的性能。然而,Hessian分析表明,与基于ViT的模型相比,Mamba模型具有更尖锐且更非凸的损失景观,这使得它们更难训练。源代码可在https://github.com/raytrun/mamba-clip获取。

英文摘要:

State space models and Mamba-based models have been increasingly applied across various domains, achieving state-of-the-art performance. This technical report introduces the first attempt to train a transferable Mamba model utilizing contrastive language-image pretraining (CLIP). We have trained Mamba models of varying sizes and undertaken comprehensive evaluations of these models on 26 zero-shot classification datasets and 16 out-of-distribution (OOD) datasets. Our findings reveal that a Mamba model with 67 million parameters is on par with a 307 million-parameter Vision Transformer (ViT) model in zero-shot classification tasks, highlighting the parameter efficiency of Mamba models. In tests of OOD generalization, Mamba-based models exhibit exceptional performance in conditions of OOD image contrast or when subjected to high-pass filtering. However, a Hessian analysis indicates that Mamba models feature a sharper and more non-convex landscape compared to ViT-based models, making them more challenging to train. The source code is available at https://github.com/raytrun/mamba-clip.

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

↑