Meteor: Mamba-based Traversal of Rationale for Large Language and Vision Models

Byung-Kwan Lee, Chae Won Kim, Beomchan Park, Yong Man Ro · OpenReview

Abstract

The advancement of Large Language and Vision Models (LLVMs) has traditionally relied on scaling model parameters or integrating multiple vision encoders. However, these methods often struggle with the computational overhead of processing the lengthy, multifaceted rationales necessary for complex reasoning. We present Meteor (Mamba-based Traversal of Rationale), an efficient LLVM that leverages the Mamba architecture to embed long-form reasoning chains. By introducing a "Traversal of Rationale" (ToR) mechanism, Meteor facilitates the efficient embedding of complex logic into a 7B-parameter backbone. Our results demonstrate that Meteor achieves state-of-the-art performance across multiple vision-language benchmarks, including MME and MathVista, without the need for additional vision encoders or massive parameter scaling.

Introduction

Current open-source LLVMs have made significant strides in narrowing the performance gap with closed-source models like GPT-4V. These improvements are largely attributed to high-quality visual instruction tuning and the use of auxiliary vision encoders (e.g., CLIP, DINOv2). Despite these gains, models still face difficulties with tasks requiring deep common-sense knowledge, document interpretation, and multi-step mathematical reasoning.

The primary bottleneck is not necessarily a lack of visual information, but the inability to efficiently process the "rationale"—the step-by-step logic required to solve complex problems. High-quality rationales are often lengthy, exceeding the efficient processing limits of standard Transformer-based architectures due to their quadratic complexity. Meteor addresses this by utilizing the Mamba architecture, which offers linear time complexity, to handle these extensive reasoning sequences.

The Meteor Architecture

Meteor is composed of two core modules designed to balance reasoning depth with computational efficiency:

  1. Meteor-Mamba (130M): A specialized module based on the Mamba architecture. Mamba's linear scaling makes it uniquely suited for processing long sequential rationales (averaging over 200 tokens) that would otherwise slow down a standard Transformer.
  2. Meteor-MLM (7B): A multimodal language model built on the InternLM2-7B backbone, which serves as the primary engine for generating final answers.

Rather than forcing the model to generate a rationale during inference—a process that is both time-consuming and prone to error—Meteor embeds the rationale's logic directly into the model's internal feature space.

Traversal of Rationale (ToR) Mechanism

The "Traversal of Rationale" (ToR) is the central innovation of this work. To bridge the gap between the Mamba reasoning module and the primary LLM, the authors introduce a specialized <tor> token.

During the training process, 10 <tor> tokens are distributed throughout the rationale. The Meteor-Mamba module learns to compress the complex logic of the rationale into these tokens. During inference, the Meteor-MLM "traverses" these embedded features. This provides the language model with a condensed, high-level map of the reasoning required to reach an answer, even when the explicit text of the rationale is not provided. This "internalized reasoning" allows the model to benefit from complex logic without the inference-time overhead of text generation.

Data Curation and Training Strategy

To train Meteor, the researchers curated a dataset of 1.1 million question-rationale-answer triples. The pipeline involved:

  • Source Selection: Aggregating 2.1M pairs from datasets such as ShareGPT4V, MiniGemini-Instruct, and Math-Vision.
  • Rationale Generation: Utilizing the Claude Haiku API to generate detailed, step-by-step explanations.
  • Quality Filtering: Using GPT-4V to score rationales and performing human reviews to ensure high-quality logic.

The training is conducted in two stages. First, the Meteor-Mamba module is trained to embed the long sequential rationales. Second, the entire system—including the Mamba module, the LLM backbone, and the projectors—is jointly trained to predict answers using the rationale-enhanced features.

Experimental Results

Meteor-7B demonstrates that efficiency and structured reasoning can outperform raw scale. In evaluations across several benchmarks, Meteor consistently exceeded the performance of much larger models:

  • MME Benchmark: Meteor achieved a score of 2229, notably outperforming LLaVA-NeXT-34B.
  • MathVista: The model scored 53.4, showcasing superior performance in mathematical and logical reasoning compared to many larger open-source and closed-source alternatives.
  • SQA-IMG: In zero-shot settings, Meteor reached a score of 88.3, matching or exceeding the performance of models with significantly higher parameter counts.

Crucially, Meteor maintains a competitive inference speed of 22 tokens per second, proving that the addition of the Mamba module does not compromise the model's practical utility.

Conclusion

Meteor represents a shift in LLVM development, moving away from simple parameter scaling toward more sophisticated internal reasoning mechanisms. By leveraging the Mamba architecture for its linear complexity and introducing the Traversal of Rationale mechanism, Meteor allows a 7B-parameter model to achieve performance levels previously reserved for much larger systems. This approach highlights the potential for "small" models to master complex multimodal logic through efficient architectural design and high-quality rationale integration.

Summary updated

Abstract

The rapid development of large language and vision models (LLVMs) has been driven by advances in visual instruction tuning. Recently, open-source LLVMs have curated high-quality visual instruction tuning datasets and utilized additional vision encoders or multiple computer vision models in order to narrow the performance gap with powerful closed-source LLVMs. These advancements are attributed to multifaceted information required for diverse capabilities, including fundamental image understanding, real-world knowledge about common-sense and non-object concepts (e.g., charts, diagrams, symbols, signs, and math problems), and step-by-step procedures for solving complex questions. Drawing from the multifaceted information, we present a new efficient LLVM, Mamba-based traversal of rationales (Meteor), which leverages multifaceted rationale to enhance understanding and answering capabilities. To embed lengthy rationales containing abundant information, we employ the Mamba architecture, capable of processing sequential data with linear time complexity. We introduce a new concept of traversal of rationale that facilitates efficient embedding of rationale. Subsequently, the backbone multimodal language model (MLM) is trained to generate answers with the aid of rationale. Through these steps, Meteor achieves significant improvements in vision language performances across multiple evaluation benchmarks requiring diverse capabilities, without scaling up the model size or employing additional vision encoders and computer vision models.
BibTeX
@inproceedings{lee2024meteor,
  author = {Byung-Kwan Lee and Chae Won Kim and Beomchan Park and Yong Man Ro},
  title = {{Meteor: Mamba-based Traversal of Rationale for Large Language and Vision Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=JVKABhr6mP},
}
Figure