Skip to main content
QUICK REVIEW

[Paper Review] COSMOS: Catching Out-of-Context Misinformation with Self-Supervised Learning

Shivangi Aneja, Chris Bregler|arXiv (Cornell University)|Jan 15, 2021
Misinformation and Its ImpactsSocial Sciences23 citations
TL;DR

This paper proposes COSMOS, a self-supervised method that detects out-of-context image-text pairs by grounding textual claims to specific objects in an image, achieving 85% detection accuracy without requiring explicit out-of-context annotations. The approach leverages contrastive learning on captioned images to learn selective image-text alignment, enabling accurate identification of misleading image usage even when visual content is unaltered.

ABSTRACT

Despite the recent attention to DeepFakes, one of the most prevalent ways to mislead audiences on social media is the use of unaltered images in a new but false context. To address these challenges and support fact-checkers, we propose a new method that automatically detects out-of-context image and text pairs. Our key insight is to leverage the grounding of image with text to distinguish out-of-context scenarios that cannot be disambiguated with language alone. We propose a self-supervised training strategy where we only need a set of captioned images. At train time, our method learns to selectively align individual objects in an image with textual claims, without explicit supervision. At test time, we check if both captions correspond to the same object(s) in the image but are semantically different, which allows us to make fairly accurate out-of-context predictions. Our method achieves 85% out-of-context detection accuracy. To facilitate benchmarking of this task, we create a large-scale dataset of 200K images with 450K textual captions from a variety of news websites, blogs, and social media posts. The dataset and source code is publicly available at https://shivangi-aneja.github.io/projects/cosmos/.

Motivation & Objective

  • To address the growing challenge of out-of-context image misuse in social media and news, where unaltered images are paired with false or misleading captions.
  • To develop an automated method that detects such misuse without relying on manual annotations for out-of-context pairs.
  • To improve fact-checking efficiency by enabling machine-assisted detection of image-text misalignment through visual grounding.
  • To create a large-scale benchmark dataset for out-of-context image detection to support future research.
  • To demonstrate that grounding captions to specific image objects is essential for accurate detection, surpassing language-only approaches.

Proposed method

  • The method uses a self-supervised contrastive learning strategy where matched image-text pairs (from the same image) are contrasted against negative pairs (random captions from other images).
  • It learns to selectively align individual objects in an image with textual claims using a vision-language model that attends to relevant image regions.
  • At test time, the model compares alignment predictions between two input captions: if they refer to the same object but have conflicting semantics, the image is flagged as out-of-context.
  • The model is trained using a contrastive loss that encourages alignment between image regions and their corresponding captions while pushing away unrelated pairs.
  • A large-scale dataset of 200K images with 450K captions from news, blogs, and social media is used to pre-train the model without explicit out-of-context labels.
  • The approach incorporates object detection and visual-semantic embedding to localize and compare textual claims relative to image content.

Experimental results

Research questions

  • RQ1Can self-supervised learning be effectively used to detect out-of-context image misuse without explicit annotations?
  • RQ2Is grounding textual claims to specific image objects necessary for accurate detection, or can language-only models suffice?
  • RQ3How does model performance scale with increasing amounts of training data in a self-supervised setting?
  • RQ4How does the proposed method compare to existing fake news and rumor detection models in identifying out-of-context image usage?
  • RQ5What is the impact of different text embedding models on the performance of out-of-context detection?

Key findings

  • The proposed method achieves 85% out-of-context detection accuracy, significantly outperforming existing baselines such as EANN, EmbraceNet, and Jin et al., which achieve 63%, 68%, and 71% respectively.
  • Training with the full dataset of 160K images improves detection accuracy by 13 percentage points (from 72% to 85%) compared to training on only 10% of the data (16K images).
  • The model’s performance is strongly correlated with match accuracy on the contrastive learning objective, indicating that effective image-text alignment is key to detecting out-of-context use.
  • Language-only models fail to detect out-of-context cases when captions refer to different objects in the image, highlighting the necessity of visual grounding.
  • The method outperforms even strong pre-trained models like BERT and USE by 8% in out-of-context detection accuracy, demonstrating the advantage of visual grounding.
  • The proposed dataset of 200K images with 450K captions, including 1,700 manually annotated triplet pairs, provides a robust benchmark for future research on out-of-context misinformation.

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.