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

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Huang, Weiquan, Shen, Yifei, Yang, Yifan
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866914777576505344
author Huang, Weiquan
Shen, Yifei
Yang, Yifan
author_facet Huang, Weiquan
Shen, Yifei
Yang, Yifan
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2404_19394
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle CLIP-Mamba: CLIP Pretrained Mamba Models with OOD and Hessian Evaluation
Huang, Weiquan
Shen, Yifei
Yang, Yifan
Computer Vision and Pattern Recognition
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.
title CLIP-Mamba: CLIP Pretrained Mamba Models with OOD and Hessian Evaluation
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2404.19394