paper-with-me

홈 › Papers

Shaking Up VLMs: Comparing Transformers and Structured State Space Models for Vision & Language Modeling

2024-09-09 · Georgios Pantazopoulos, Malvina Nikandrou, Alessandro Suglia, Oliver Lemon, Arash Eshghi

This study explores replacing Transformers in Visual Language Models (VLMs) with Mamba, a recent structured state space model (SSM) that demonstrates promising performance in sequence modeling. We test models up to 3B parameters under controlled conditions, showing that Mamba-based VLMs outperforms Transformers-based VLMs in captioning, question answering, and reading comprehension. However, we find that Transformers achieve greater performance in visual grounding and the performance gap widens with scale. We explore two hypotheses to explain this phenomenon: 1) the effect of task-agnostic visual encoding on the updates of the hidden states, and 2) the difficulty in performing visual grounding from the perspective of in-context multimodal retrieval. Our results indicate that a task-aware encoding yields minimal performance gains on grounding, however, Transformers significantly outperform Mamba at in-context multimodal retrieval. Overall, Mamba shows promising performance on tasks where the correct output relies on a summary of the image but struggles when retrieval of explicit information from the context is required.

📄 PDF Abstract BibTeX arXiv:2409.05395

Code (1)

gpantaz/vl_mamba 공식 구현 pytorch

Tasks

Language ModelingLanguage ModellingMambaQuestion AnsweringReading ComprehensionRetrievalState Space ModelsVisual Grounding

Methods 이 논문이 사용한 방법론

Mamba Foundation models, now powering most of the exciting applications in deep learning, are almost universally based on the Transformer architecture and its core attention module.…

Similar Papers 제목 키워드 기반

Going deeper with Image Transformers

2021-03-31 · ICCV 2021 10 · Hugo Touvron, Matthieu Cord, Alexandre Sablayrolles, Gabriel Synnaeve 외

Transformers have been recently adapted for large scale image classification, achieving high scores shaking up the long supremacy of convolutional neural networks. However the optimization of image transformers has been …

image-classificationImage ClassificationTransfer Learning

Can CNNs Be More Robust Than Transformers?

2022-06-07 · Zeyu Wang, Yutong Bai, Yuyin Zhou, Cihang Xie

The recent success of Vision Transformers is shaking the long dominance of Convolutional Neural Networks (CNNs) in image recognition for a decade. Specifically, in terms of robustness on out-of-distribution samples, rece…

A Framework for Cost-Effective and Self-Adaptive LLM Shaking and Recovery Mechanism

2024-03-12 · Zhiyu Chen, Yu Li, Suochao Zhang, Jingbo Zhou 외

As Large Language Models (LLMs) gain great success in real-world applications, an increasing number of users are seeking to develop and deploy their customized LLMs through cloud services. Nonetheless, in some specific d…

Privacy Preserving

From S4 to Mamba: A Comprehensive Survey on Structured State Space Models

2025-03-22 · Shriyank Somvanshi, Md Monzurul Islam, Mahmuda Sultana Mimi, Sazzad Bin Bashar Polock 외

Recent advancements in sequence modeling have led to the emergence of Structured State Space Models (SSMs) as an efficient alternative to Recurrent Neural Networks (RNNs) and Transformers, addressing challenges in long-r…

Computational EfficiencyMambaspeech-recognitionSpeech Recognition+3

VLMs have Tunnel Vision: Evaluating Nonlocal Visual Reasoning in Leading VLMs

2025-07-04 · Shmuel Berman, Jia Deng arxiv

Vision-Language Models (VLMs) excel at complex visual tasks such as VQA and chart understanding, yet recent work suggests they struggle with simple perceptual tests. We present an evaluation of vision-language models' ca…

Visual Reasoning