Skip to main content
arXiv is now an independent nonprofit! Learn more
archive
Search Submit Donate Log in
Press Enter to search · Advanced search

Computer Science > Computer Vision and Pattern Recognition

arXiv:2403.14520 (cs)
[Submitted on 21 Mar 2024 (v1), last revised 8 Jan 2025 (this version, v4)]

Title:Cobra: Extending Mamba to Multi-Modal Large Language Model for Efficient Inference

Authors:Han Zhao, Min Zhang, Wei Zhao, Pengxiang Ding, Siteng Huang, Donglin Wang
View a PDF of the paper titled Cobra: Extending Mamba to Multi-Modal Large Language Model for Efficient Inference, by Han Zhao and Min Zhang and Wei Zhao and Pengxiang Ding and Siteng Huang and Donglin Wang
View PDF HTML (experimental)
Abstract:In recent years, the application of multimodal large language models (MLLM) in various fields has achieved remarkable success. However, as the foundation model for many downstream tasks, current MLLMs are composed of the well-known Transformer network, which has a less efficient quadratic computation complexity. To improve the efficiency of such basic models, we propose Cobra, a linear computational complexity MLLM. Specifically, Cobra integrates the efficient Mamba language model into the visual modality. Moreover, we explore and study various modal fusion schemes to create an effective multi-modal Mamba. Extensive experiments demonstrate that (1) Cobra achieves extremely competitive performance with current computationally efficient state-of-the-art methods, e.g., LLaVA-Phi, TinyLLaVA, and MobileVLM v2, and has faster speed due to Cobra's linear sequential modeling. (2) Interestingly, the results of closed-set challenging prediction benchmarks show that Cobra performs well in overcoming visual illusions and spatial relationship judgments. (3) Notably, Cobra even achieves comparable performance to LLaVA with about 43% of the number of parameters. We will make all codes of Cobra open-source and hope that the proposed method can facilitate future research on complexity problems in MLLM. Our project page is available at: this https URL.
Comments: Accepted to the Thirty-Ninth AAAI Conference on Artificial Intelligence (AAAI-25)
Subjects: Computer Vision and Pattern Recognition (cs.CV)
Cite as: arXiv:2403.14520 [cs.CV]
  (or arXiv:2403.14520v4 [cs.CV] for this version)
  https://doi.org/10.48550/arXiv.2403.14520
arXiv-issued DOI via DataCite

Submission history

From: Han Zhao [view email]
[v1] Thu, 21 Mar 2024 16:17:57 UTC (414 KB)
[v2] Fri, 22 Mar 2024 16:35:49 UTC (414 KB)
[v3] Wed, 5 Jun 2024 12:34:58 UTC (18,678 KB)
[v4] Wed, 8 Jan 2025 11:03:00 UTC (3,838 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled Cobra: Extending Mamba to Multi-Modal Large Language Model for Efficient Inference, by Han Zhao and Min Zhang and Wei Zhao and Pengxiang Ding and Siteng Huang and Donglin Wang
  • View PDF
  • HTML (experimental)
  • TeX Source
license icon view license

Current browse context:

cs.CV
< prev   |   next >
new | recent | 2024-03
Change to browse by:
cs

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar
Loading...

BibTeX formatted citation

Data provided by:

Bookmark

BibSonomy Reddit

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
We gratefully acknowledge support from our major funders, member institutions, , and all contributors.
About · Help · Contact · Subscribe · Copyright · Privacy · Accessibility · Operational Status (opens in new tab)
Major funding support from
Simons Foundation Simons Foundation International Schmidt Sciences