Skip to main content
QUICK REVIEW

[Paper Review] Ovis: Structural Embedding Alignment for Multimodal Large Language Model

Shiyin Lu, Yang Li|arXiv (Cornell University)|May 31, 2024
Topic ModelingComputer Science4 citations
TL;DR

Ovis proposes a novel multimodal large language model architecture that structurally aligns visual and textual embeddings by introducing a learnable visual embedding table, enabling visual tokens to be mapped probabilistically to discrete visual 'words'—mirroring the LLM’s tokenization. This approach achieves state-of-the-art performance, with Ovis-14B outperforming both open-source models of similar size and the proprietary Qwen-VL-Plus across multiple benchmarks.

ABSTRACT

Current Multimodal Large Language Models (MLLMs) typically integrate a pre-trained LLM with another pre-trained vision transformer through a connector, such as an MLP, endowing the LLM with visual capabilities. However, the misalignment between two embedding strategies in MLLMs -- the structural textual embeddings based on an embedding look-up table and the continuous embeddings generated directly by the vision encoder -- makes challenges for a more seamless fusion of visual and textual information. We propose Ovis, a novel MLLM architecture designed to structurally align visual and textual embeddings. Ovis integrates an additional learnable visual embedding table into the visual encoder's process. To capture rich visual semantics, each image patch indexes the visual embedding table multiple times, resulting in a final visual embedding that is a probabilistic combination of the indexed embeddings. This structural approach mirrors the method used for generating textual embeddings. Empirical evaluations on various multimodal benchmarks show that Ovis outperforms open-source MLLMs of similar parameter scales and even surpasses the proprietary model Qwen-VL-Plus overall. These results highlight the potential of Ovis' structured visual representation for advancing MLLM architectural design and promoting more effective multimodal learning. Code, datasets, and models are available at https://github.com/AIDC-AI/Ovis.

Motivation & Objective

  • Address the inherent misalignment between structured textual embeddings (from lookup tables) and unstructured visual embeddings (from vision encoders) in current MLLMs.
  • Improve multimodal fusion by making visual embedding generation follow the same structural principle as textual embedding in LLMs.
  • Enable more effective and coherent fusion of vision and language representations through a unified embedding strategy.
  • Achieve superior performance on multimodal benchmarks without relying on high-resolution image enhancement techniques.

Proposed method

  • Introduce a learnable visual embedding lookup table, where each row represents a unique visual word corresponding to a distinct visual pattern.
  • Map continuous visual tokens from the vision encoder into probabilistic tokens indicating similarity to the entire visual vocabulary.
  • Use the probabilistic token to index the visual embedding table multiple times, producing a final visual embedding as a weighted combination of indexed embeddings.
  • Train the visual embedding table and probabilistic mapping parameters jointly with a textual generation loss, avoiding the need for auxiliary objectives like vector quantization.
  • Optimize the model in a three-stage training process to ensure alignment with textual generation while maintaining visual representation quality.
  • Use a standard vision transformer (ViT) and LLM backbone, with the visual embedding table integrated into the visual encoder's processing pipeline.
Figure 1 : Comparison between different embedding strategies in MLLM. In the connector-based approach (a), the connector transforms the visual embeddings into the same dimensional as the textual embedding, where the latter is indexed from a textual embedding table. As illustrated in (b), our Ovis le
Figure 1 : Comparison between different embedding strategies in MLLM. In the connector-based approach (a), the connector transforms the visual embeddings into the same dimensional as the textual embedding, where the latter is indexed from a textual embedding table. As illustrated in (b), our Ovis le

Experimental results

Research questions

  • RQ1Can structuring visual embeddings to mirror the lookup-table-based strategy of textual embeddings improve multimodal reasoning in MLLMs?
  • RQ2Does a learnable visual embedding table lead to better performance than standard connector-based architectures with identical parameter counts?
  • RQ3Can a structurally aligned visual embedding approach outperform high-resource proprietary models like Qwen-VL-Plus without using high-resolution image boosting?
  • RQ4How does the proposed architecture perform on reasoning-intensive and hallucination-sensitive benchmarks compared to existing open-source MLLMs?

Key findings

  • Ovis-14B surpasses the proprietary Qwen-VL-Plus model overall across multiple multimodal benchmarks, despite being an open-source model.
  • Ovis-8B achieves a significant performance margin over other 7B-level open-source MLLMs, particularly in reasoning and factual accuracy tasks.
  • On the MathVista-Mini benchmark, Ovis demonstrates superior mathematical and logical reasoning capabilities compared to open-source competitors.
  • In the RealWorldQA benchmark, Ovis-14B achieves a higher score than GPT4V on high-resolution real-world visual tasks, indicating strong practical visual understanding.
  • On the hallucination benchmark, Ovis-8B and Ovis-14B show the lowest hallucination rates among models in their respective parameter tiers.
  • The ablation study confirms that Ovis outperforms a connector-based architecture with identical backbones and parameter counts by an average of 8.8% across all benchmarks.
(a) 7B tier
(a) 7B tier

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.