PaLM2-VAdapter: Progressively Aligned Language Model Makes a Strong Vision-language Adapter

Junfei Xiao, Zheng Xu, Alan L. Yuille, Shen Yan, Boyu WangarXiv 2024 · DOI

Abstract

Recent advancements in Large Vision-Language Models (LVLMs) often rely on freezing pre-trained vision encoders and large language models (LLMs), using an adapter to bridge the two. However, traditional adapters frequently suffer from slow convergence and limited scalability. We present PaLM2-VAdapter, a novel architecture that employs a tiny, pre-aligned language model as a high-capacity adapter. By utilizing a two-stage progressive alignment strategy, PaLM2-VAdapter achieves state-of-the-art performance on various image and video tasks while requiring significantly fewer parameters and training steps. Our approach demonstrates superior scalability with larger vision encoders and a 3x faster convergence rate compared to existing SOTA adapters.

Introduction

The standard paradigm for building Large Vision-Language Models involves "gluing" a frozen vision encoder to a frozen LLM via a trainable adapter. While this preserves the knowledge within the massive pre-trained components, the adapter itself becomes a bottleneck. Common solutions like the Perceiver Resampler or Q-Former often require extensive training to align modalities and struggle to effectively leverage the increased representational power of larger vision encoders.

PaLM2-VAdapter addresses these challenges by replacing simple query-based adapters with a "mini-expert"—a tiny language model (~108M parameters) that is explicitly trained to understand visual concepts before being integrated into the larger system.

Methodology: Progressive Alignment

The core innovation of PaLM2-VAdapter is its two-stage Progressive Alignment strategy. Unlike traditional methods that attempt to learn cross-modal alignment from scratch within a complex system, this approach pre-aligns the bridge.

Comparison between classic alignment and the proposed progressive alignment with PaLM2-VAdapter.
  1. Stage 1 (Alignment): A tiny PaLM2 model is trained as a standalone image-to-text decoder. It learns to generate captions from visual tokens, effectively aligning its internal representations with the visual domain.
  2. Stage 2 (Adapter): This pre-aligned "mini-expert" is inserted between the frozen vision encoder and a larger frozen LLM (e.g., PaLM2-1B or 8B). A lightweight 1-layer Perceiver Resampler is included to facilitate the final cross-modality fusion.

By transforming the adapter from a passive bridge into an active, pre-trained participant, the model significantly reduces the burden on the final alignment stage.

Experimental Setup

The models were trained on a diverse set of datasets, including WebLI for image-text alignment and VTP/SMIT for video-text tasks. Evaluation spanned multiple benchmarks:

  • Image Tasks: COCO (captioning), VQAv2, TextVQA, VizWiz, and OKVQA.
  • Video Tasks: MSRVTT, VATEX, and various Video Question Answering (VQA) datasets like MSVD-QA.

Key Results and Scalability

PaLM2-VAdapter demonstrates remarkable efficiency and performance gains across the board.

Performance comparison showing faster convergence and better scalability of PaLM2-VAdapter over SOTA adapters.

Efficiency and Convergence

As shown in the evaluation metrics, PaLM2-VAdapter reaches peak performance in approximately 60K steps, whereas the strong Perceiver Resampler baseline requires 250K steps to reach a lower plateau. This represents a 3x speedup in training efficiency.

State-of-the-Art Performance

Despite having only 10.8B total parameters, the model outperforms much larger competitors. On the COCO captioning benchmark, it achieved a CIDEr score of 97.5. In video domains, it set a new SOTA on MSRVTT-QA with an accuracy of 19.6.

Breaking the Scalability Ceiling

A critical finding is the model's ability to scale. When upgrading the vision encoder from ViT-B to ViT-L, PaLM2-VAdapter saw a 7.2 point increase in COCO CIDEr. In contrast, standard adapters only showed a marginal 1.0 point improvement. This suggests that the language-model-based adapter is far better at capturing the nuanced details provided by more powerful vision backbones.

Discussion and Future Work

The researchers also investigated the possibility of "quantizing" visual embeddings into discrete text tokens to allow the LLM to "read" images directly. However, this led to a significant performance drop, indicating that the "language" of vision remains distinct from natural language and requires sophisticated translation rather than simple token mapping.

Future work will focus on extending this progressive alignment to other modalities such as audio and depth data, and exploring the zero-shot transferability of adapters across different LLM scales.

Summary updated

BibTeX
@misc{xiao2024palm,
  author = {Junfei Xiao and Zheng Xu and Alan L. Yuille and Shen Yan and Boyu Wang},
  title = {{PaLM2-VAdapter: Progressively Aligned Language Model Makes a Strong Vision-language Adapter}},
  year = {2024},
  eprint = {2402.10896},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.10896},
}
Figure