Leveraging Chat-Based Large Vision Language Models for Multimodal Out-Of-Context Detection

Fatma Shalabi, Hichem Felouat, Huy H. Nguyen, Isao Echizen

TL;DR

This paper demonstrates that while state-of-the-art Large Vision-Language Models (LVLMs) struggle with zero-shot out-of-context misinformation detection, parameter-efficient fine-tuning can unlock their full potential. By training only the linear projection layer of MiniGPT-4 to output direct binary answers, the authors achieved a new state-of-the-art accuracy of 80% on the challenging NewsCLIPpings dataset, outperforming previous methods by over 11%.

What Problem Does This Paper Address?

Multimodal misinformation—specifically pairing authentic images with misleading, mismatched text—is a highly effective way to deceive audiences online. This tactic is known as Out-of-Context (OOC) manipulation. Detecting OOC content is incredibly difficult because both the image and the text are real; they just do not belong together.

While Large Vision-Language Models (LVLMs) excel at general tasks like image captioning and visual question answering, their proficiency in detecting these subtle contextual mismatches has been unclear. This paper addresses two core challenges:

  1. Evaluating how well off-the-shelf, chat-based LVLMs can identify OOC anomalies.
  2. Overcoming the tendency of these models to provide verbose, descriptive answers instead of clear, actionable classification labels.
Examples of Out-of-Context manipulation via caption and image swapping

Methods

The authors propose a simple yet highly effective fine-tuning strategy using MiniGPT-4.

Instead of updating the entire network—which is computationally expensive and can lead to catastrophic forgetting—the authors employ a parameter-efficient approach. They freeze the pre-trained vision encoder (ViT + Q-Former) and the large language model decoder (Vicuna). They only train the linear projection layer that bridges the visual and textual domains.

To adapt the chat-based model for a binary classification task, they restructure the dataset into a conversational format:

  • Input: An image paired with a combined prompt containing a specific question and the target caption (e.g., "Check whether this caption... and the image is in the same context—answer with either Yes or No").
  • Output: A strict, binary "Yes" or "No" response.

The model is optimized using standard CrossEntropy loss based on these binary targets.

The workflow of the proposed fine-tuning approach on MiniGPT-4

Datasets

The model was trained and evaluated on the NewsCLIPpings dataset. This benchmark is constructed from the real-world VisualNews corpus (covering major outlets like the BBC, The Guardian, The Washington Post, and USA Today).

NewsCLIPpings uses automated text/image retrieval strategies to generate challenging, human-misleading mismatches based on:

  • Semantics/CLIP Text-Image & Text-Text: Mismatches based on high semantic similarity.
  • Person/SBERT-WK: Captions mentioning the same individuals but paired with different images.
  • Scene/ResNet Place: Images and captions depicting similar scenes or settings.
  • Merged/Balanced: A comprehensive, balanced split combining these diverse mismatch types.

Key Insights and Ideas

  • Zero-Shot LVLMs are "Too Chatty" for Classification: Without fine-tuning, models like MiniGPT-4 and IDEFICS default to describing the scene rather than answering the prompt directly. This verbosity makes it difficult to extract a reliable classification decision.
  • The Power of the Alignment Layer: The latent cross-modal knowledge required to detect context mismatches already exists within pre-trained LVLMs. You don't need to alter the vision or language backbones; tuning just the linear projection layer is enough to re-align that knowledge for a verification task.
  • Simplification Over Sophistication: Unlike prior work relying on complex, black-box multimodal fusion networks or external internet verification, treating OOC detection as a constrained, prompt-based conversation yields superior results.

Key Results

The fine-tuned MiniGPT-4 model delivered a substantial performance leap across all evaluation metrics:

  • Substantial Baseline Gains: The proposed method achieved an accuracy gain of $\ge$ 8% across every single classification split compared to the original NewsCLIPpings baselines and zero-shot models.
  • State-of-the-Art Performance: On the standard Merged/Balanced split, the fine-tuned model achieved 80.0% accuracy. This significantly outperforms previous top-performing models in the field, such as CLIP+VisualBERT (65.9%) and SBERT+ViT (68.8%).
Accuracy comparison across different dataset splits

Limitations and Future Work

The primary trade-off of this approach is the loss of explainability. By forcing the model to output a strict binary "Yes" or "No" to maximize detection accuracy, it can no longer provide a natural language explanation of why it flagged a sample as out of context.

To bridge this gap, the authors' future work will focus on developing a robust framework capable of both highly accurate classification and interpretable, natural language reasoning.

Summary updated

BibTeX
@inproceedings{shalabi2024leveraging,
  author = {Fatma Shalabi and Hichem Felouat and Huy H. Nguyen and Isao Echizen},
  title = {{Leveraging Chat-Based Large Vision Language Models for Multimodal Out-Of-Context Detection}},
  booktitle = {AINA},
  year = {2024},
  doi = {10.1007/978-3-031-57916-5\_8},
}
Figure