Bootstrapping Vision-Language Learning with Decoupled Language Pre-training

Yiren Jian, Chongyang Gao, Soroush Vosoughi

Abstract

Vision-Language (VL) models typically align visual features to a frozen Large Language Model (LLM) using massive datasets. This paper proposes a "backward-decoupling" approach to bridge the vision-language gap. Instead of training a visual encoder to guess prompts, the authors introduce P-Former (Prompt-Transformer), a text-only pre-trained module that identifies "ideal" soft prompts for the LLM. By aligning visual features to these pre-determined prompts, the model achieves state-of-the-art performance with significantly less image-text paired data, allowing a model trained on 4 million pairs to rival those trained on 129 million.

The Challenge of Alignment

Current Vision-Language models, such as BLIP-2, treat visual features as "soft prompts"—continuous vectors fed into an LLM. The standard approach is "forward-decoupling": using a module to pick out relevant visual features to send to the LLM.

However, the "ideal" prompt for a frozen LLM to produce a specific caption is unknown during training. Training the visual encoder to "guess" these prompts while simultaneously learning to understand images is a heavy lift, often requiring astronomical amounts of paired data. The authors argue for "backward-decoupling": first understanding the linguistic space of ideal prompts, then mapping images into that space.

Comparison of training paradigms: End-to-end, Forward-decoupled, and the proposed Backward-decoupled training.

P-Former: Finding the Ideal Prompt

The core innovation is the P-Former (Prompt-Transformer), which is trained to find the "cheat sheet" for what the LLM wants to see.

  1. Text-Only Pre-training: P-Former is trained as an autoencoder where a frozen LLM acts as the decoder. It takes a sentence, compresses it into a semantic embedding, and predicts a sequence of "soft prompts." The LLM must then reconstruct the original sentence from these prompts.
  2. Semantic Structuring: To make the prompt space robust, a contrastive loss (similar to SimCSE) ensures that semantically similar sentences result in similar prompt vectors.
  3. The Alignment Loss: Once trained, P-Former provides the target for visual training. When the model sees an image, the visual encoder is trained to produce features that match the "ideal" prompts P-Former would have generated for the corresponding caption.
Overview of the P-Former architecture and its multi-loss training objective.

Experimental Results

The model was evaluated on standard benchmarks including VQAv2, OK-VQA, and GQA for reasoning, and MSCOCO for captioning.

  • Efficiency Gains: On VQAv2, the model (trained on 4M pairs) achieved a score of 52.6, nearly matching the original BLIP-2 which required 129M pairs to reach 53.5.
  • Zero-Shot Performance: The framework showed significant jumps in zero-shot VQA performance, particularly on the GQA dataset, improving from 30.5 to 34.0.
  • Video Success: On the VATEX video captioning dataset, the inclusion of the P-Former alignment loss improved the CIDEr score from 56.6 to 60.9.

Key Insights and Limitations

This approach demonstrates that multimodal models can be significantly improved by training on unimodal (text-only) data. By understanding the LLM's internal "prompt language" better, the vision side becomes much easier to train.

However, the P-Former is tied to a specific LLM; switching models (e.g., from OPT to Llama) requires re-training the P-Former. Additionally, while highly effective for generative tasks like captioning and VQA, the method provides limited benefits for image-text retrieval tasks, which rely more on global contrastive matching than fine-grained prompt alignment.

Summary updated

BibTeX
@inproceedings{jian2023bootstrapping,
  author = {Yiren Jian and Chongyang Gao and Soroush Vosoughi},
  title = {{Bootstrapping Vision-Language Learning with Decoupled Language Pre-training}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=8Kch0ILfQH},
}
Figure