VisLingInstruct: Elevating Zero-Shot Learning in Multi-Modal Language Models with Autonomous Instruction Optimization

Dongsheng Zhu, Daniel Tang, Weidong Han, Jinghui Lu, Yukun Zhao, Guoliang Xing, Junfeng Wang, Dawei Yin

Introduction

Multi-Modal Language Models (MMLMs) like LLaVA and InstructBLIP have demonstrated impressive capabilities in bridging vision and language. However, these models often suffer from significant "prompt sensitivity," where minor variations in instruction phrasing lead to inconsistent or incorrect outputs. This sensitivity poses a challenge for non-expert users who may not be proficient in prompt engineering. Furthermore, a "perception gap" often exists in current architectures, where visual features and textual instructions are not sufficiently integrated before processing by the Large Language Model (LLM).

VisLingInstruct addresses these challenges through a dual-pronged approach: an architectural enhancement for deeper multi-modal alignment and an autonomous inference-time optimization loop that allows the model to refine its own instructions.

Methodology

The VisLingInstruct framework introduces two core innovations: Enhanced Multi-modal Alignment (EMA) and Autonomous Instruction Optimization (AIO).

Enhanced Multi-modal Alignment (EMA)

To bridge the perception gap, the authors developed the Cross-Modal Alignment Attention (CMAA) module. Traditional MMLMs typically concatenate visual and text tokens. In contrast, CMAA employs an attention mechanism where textual instructions serve as the Key and Value, while visual "Queries" act as the Query. This design ensures that linguistic intent is fused with visual perception early in the model's pipeline, leading to more visually-grounded responses.

Comparison of MMLM architectures, highlighting the VisLingInstruct (Ours) approach with the CMAA module.

Autonomous Instruction Optimization (AIO)

AIO is an inference-time self-correction loop designed to mitigate prompt sensitivity. The process involves three steps:

  1. Rewriting: The LLM generates semantically similar variants of the user's initial instruction.
  2. Scoring (IAS): The model calculates an Instruction Alignment Score (IAS) for each variant. This score, based on expected negative log-probability, reflects the model's internal confidence in the instruction given the image.
  3. Optimization via In-Context Learning (ICL): Using the ranked pairs of instructions, the model employs ICL to synthesize a final, optimized instruction that maximizes the likelihood of a correct answer. The authors found that simply rewriting a prompt often decreased performance; the key was the comparative synthesis enabled by ICL.

Experimental Results

VisLingInstruct was evaluated across 10 zero-shot benchmarks, including Image Captioning (Flickr30K), Visual Reasoning (GQA), and Image QA (TextVQA). The model was trained on the LLaVA dataset using an InstructBLIP-style subset.

Key performance gains include:

  • TextVQA: A 13.1% accuracy increase over previous state-of-the-art (SOTA) models.
  • HatefulMemes: A 9% improvement in detection accuracy.
  • ScienceQA: Performance improved by 15.9% when utilizing the FlanT5-XXL backbone.

Qualitative analysis further supports these findings, showing that VisLingInstruct reduces hallucinations and provides more detailed, logically structured descriptions compared to baseline models.

Discussion and Limitations

While VisLingInstruct significantly boosts zero-shot performance, it introduces a trade-off in computational efficiency. The AIO loop requires multiple passes (rewriting, scoring, and final generation), resulting in an inference time approximately 3x longer than standard baselines.

Additionally, the authors noted that different LLM backbones (e.g., FlanT5 vs. Vicuna) exhibit varying sensitivities to the alignment modules, suggesting that architectural optimization may need to be tailored to specific base models. Future work will explore extending these autonomous optimization techniques to other modalities such as video and audio.

Conclusion

VisLingInstruct demonstrates that MMLMs can serve as their own judges to overcome prompt sensitivity. By combining early-stage cross-modal attention with an autonomous instruction optimization loop, the framework achieves substantial improvements in zero-shot multi-modal tasks, setting a new standard for robust and user-friendly MMLM performance.

Summary updated

BibTeX
@inproceedings{zhu2024vislinginstruct,
  author = {Dongsheng Zhu and Daniel Tang and Weidong Han and Jinghui Lu and Yukun Zhao and Guoliang Xing and Junfeng Wang and Dawei Yin},
  title = {{VisLingInstruct: Elevating Zero-Shot Learning in Multi-Modal Language Models with Autonomous Instruction Optimization}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.naacl-long.117},
}
Figure