Skip to main content
QUICK REVIEW

[Paper Review] BLIVA: A Simple Multimodal LLM for Better Handling of Text-Rich Visual Questions

Wenbo Hu, Yifan Xu|arXiv (Cornell University)|Aug 19, 2023
Multimodal Machine Learning ApplicationsComputer Science12 citations
TL;DR

BLIVA augments learned query embeddings with encoded patch embeddings to create a unified visual input for frozen LLMs, significantly improving text-rich VQA while maintaining strong general VQA performance. It achieves notable gains on OCR-VQA, VSR, and MME benchmarks.

ABSTRACT

Vision Language Models (VLMs), which extend Large Language Models (LLM) by incorporating visual understanding capability, have demonstrated significant advancements in addressing open-ended visual question-answering (VQA) tasks. However, these models cannot accurately interpret images infused with text, a common occurrence in real-world scenarios. Standard procedures for extracting information from images often involve learning a fixed set of query embeddings. These embeddings are designed to encapsulate image contexts and are later used as soft prompt inputs in LLMs. Yet, this process is limited to the token count, potentially curtailing the recognition of scenes with text-rich context. To improve upon them, the present study introduces BLIVA: an augmented version of InstructBLIP with Visual Assistant. BLIVA incorporates the query embeddings from InstructBLIP and also directly projects encoded patch embeddings into the LLM, a technique inspired by LLaVA. This approach assists the model to capture intricate details potentially missed during the query decoding process. Empirical evidence demonstrates that our model, BLIVA, significantly enhances performance in processing text-rich VQA benchmarks (up to 17.76% in OCR-VQA benchmark) and in undertaking general (not particularly text-rich) VQA benchmarks (up to 7.9% in Visual Spatial Reasoning benchmark), and achieved 17.72% overall improvement in a comprehensive multimodal LLM benchmark (MME), comparing to our baseline InstructBLIP. BLIVA demonstrates significant capability in decoding real-world images, irrespective of text presence. To demonstrate the broad industry applications enabled by BLIVA, we evaluate the model using a new dataset comprising YouTube thumbnails paired with question-answer sets across 11 diverse categories. Our code and models are freely accessible at https://github.com/mlpc-ucsd/BLIVA.

Motivation & Objective

  • Motivate better interpretation of text within images in multimodal LLMs reflecting real-world scenarios.
  • Propose a hybrid visual input strategy that combines learned query embeddings with encoded patch embeddings.
  • Demonstrate training regimes that keep the LLM and vision encoder frozen while training the patch projection and Q-former.
  • Evaluate BLIVA across text-rich VQA benchmarks, general VQA benchmarks, MM L benchmarks, and a real-world YouTube thumbnail dataset.

Proposed method

  • Use a vision tower to produce encoded patch embeddings from images.
  • Extract refined learned query embeddings via a Q-former to align vision features with the LLM.
  • Project encoded patch embeddings through a fully connected layer and concatenate them with learned query embeddings.
  • Feed the concatenated visual embeddings to a frozen LLM as soft prompts.
  • Adopt a two-stage training paradigm: pre-train patch embeddings projection, then fine-tune Q-former and patch projection with instruction-tuning data while keeping vision encoder and LLM frozen.

Experimental results

Research questions

  • RQ1Can combining learned query embeddings with encoded patch embeddings improve text-rich visual question answering compared to using either alone?
  • RQ2What is the impact of a two-stage training paradigm (pre-training patch embeddings projection followed by instruction-tuning) on text-rich and general VQA?
  • RQ3How does BLIVA perform on OCR-rich benchmarks, general VQA, and multimodal LLM benchmarks (MME) relative to existing methods?
  • RQ4Does BLIVA generalize to real-world text-rich imagery such as YouTube thumbnails?

Key findings

  • BLIVA achieves up to 17.76% improvement on OCR-VQA (text-rich VQA) over baselines.
  • BLIVA improves general (non-text-rich) VQA benchmarks with gains up to 7.9% on Visual Spatial Reasoning.
  • BLIVA attains a 17.72% overall improvement on the MME benchmark compared with the InstructBLIP baseline.
  • BLIVA shows strong performance on OCR-rich datasets and the YouTube thumbnails task, illustrating real-world applicability.
  • Ablations confirm the benefit of adding encoded patch embeddings and the necessity of the two-stage training scheme; freezing the LLM and vision encoder reduces catastrophic forgetting and training complexity.

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.