atlas

Research map / Vision-language and multimodal / Multimodal LLMs

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

AAAI 2025 · Vision-language and multimodal › Multimodal LLMs · approach: Unified any-modality language models · 46 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Cobra replaces the Transformer LLM in a LLaVA-style MLLM with pretrained Mamba language models (2.8B and 7B), fusing DINOv2 and SigLIP features, to get linear-complexity, faster multimodal inference.

Problem

Transformer-based MLLMs have quadratic computational complexity, making high-speed inference on edge devices costly; small-LLM MLLMs trade away accuracy for speed.

Approach

Use a pretrained Mamba (selective SSM) language model as the backbone of a LLaVA-style MLLM, with a fused DINOv2+SigLIP vision encoder and an MLP or LDPv2 projector, fully fine-tuned on a combined ~1.2M-sample instruction dataset, to obtain fast linear-time inference with competitive accuracy.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use fused DINOv2 and SigLIP features instead of SigLIP-only features (ablation)Cobra-3.5B · VSRaccuracy: 53.2 -> 58.4Helped
replace the projector with LDPv2 (ablation)Cobra-3.5B · TextVQAaccuracy: 58.2 -> 54.7Hurt
use the chat-tuned Mamba model instead of the base model (ablation)Cobra-3.5B · VizWizaccuracy: 47.2 -> 49.7Helped
use the chat-tuned Mamba model instead of the base model (ablation)Cobra-3.5B · GQAaccuracy: 62.7 -> 62.3Hurt
fine-tune for two epochs instead of one (ablation)Cobra-3.5B · VSRaccuracy: 53.8 -> 58.4Helped
add pre-alignment before fine-tuning rather than use a randomly initialized projector (ablation)Cobra-3.5B · RefCOCO+accuracy: 45.6 -> 29.7Hurt
place OCR tokens before the question instead of after itCobra-3.5B · TextVQAaccuracy: 43.0 -> 58.2Helped
replace the projector with LDPv2 (ablation)Cobra-3.5B · image description inferencetokens/s: 166.47 -> 166.85No clear effect
use Cobra-3.5B instead of LLaVA v1.5MLLM · VSRaccuracy: 51.5 -> 58.4Helped
use Cobra-8B instead of LLaVA v1.5MLLM · RefCOCOaccuracy: 55.1 -> 58.2Helped

Surprising findings

Limitations

Experimental setup

Datasets: LLaVA v1.5 mixed instruction data LLaVA-Instruct ShareGPT LVIS-Instruct-4V LRV-Instruct VQA-v2 GQA VizWiz TextVQA VSR POPE RefCOCO

Benchmarks: VQA-v2 GQA VizWiz TextVQA VSR POPE RefCOCO RefCOCO+ RefCOCOg

Metrics: accuracy tokens per second total latency (s)

Baselines: LLaVA v1.5 MoE-LLaVA LLaVA-Phi MobileVLM v2 Qwen-VL InstructBLIP BLIP-2 MiniGPT-4

Builds on: Mamba LLaVA v1.5 LLaVA-Phi MobileVLM DINOv2 SigLIP

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy