TL;DR
COSMOS is a self-supervised framework designed to detect "out-of-context" misinformation—real, unaltered images paired with misleading captions. By learning to ground specific objects in an image to their textual descriptions, the system can identify when two captions refer to the same visual elements but describe contradictory events, achieving 85% detection accuracy without requiring manually labeled training data.
What Problem Does This Paper Address?
While "DeepFakes" capture headlines, a much more common and easier-to-produce form of misinformation is the "cheap fake": taking a real, unedited photograph and placing it in a completely false context. For example, a photo of a lab visit from 2014 might be reposted in 2020 with a caption claiming it shows the "creation" of a new virus.
Current automated fact-checking tools struggle with this. Language-only models fail because two different captions for the same image aren't necessarily a sign of lies—they might just be describing different parts of a complex scene. Visual forensic tools fail because the image itself hasn't been tampered with. The authors argue that the key to solving this is grounding: the model must understand exactly which objects in an image the text is referring to.
Methods
The authors propose a two-stage approach: a self-supervised training phase followed by a logic-based inference phase.
1. Self-Supervised Training
Instead of needing a dataset labeled "True" or "False," the model learns from a massive collection of standard captioned images.
- Vision: A Mask-RCNN detects up to 10 objects per image, and a ResNet-50 encoder creates embeddings for these regions.
- Language: Captions are processed using a Universal Sentence Encoder (USE). Crucially, the authors use Named Entity Recognition (NER) to replace specific names (like "Barack Obama") with hypernyms (like "Person"). This prevents the model from over-fitting to specific celebrities and forces it to learn general visual-textual relationships.
- Alignment: The model is trained to produce a high similarity score when an object embedding matches a caption embedding from the same image, and a low score for random captions.
2. Out-of-Context Detection (Test Time)
When presented with an image and two competing captions ($C_1$ and $C_2$), the model follows a simple but effective rule:
- Identify the best-matching visual object for $C_1$ and the best for $C_2$.
- Calculate the Intersection over Union (IoU) of these two objects. If they overlap significantly, they are likely talking about the same thing.
- Calculate the semantic similarity between the two captions using SBERT.
- The Verdict: If the captions refer to the same object (High IoU) but have different meanings (Low semantic similarity), the pair is flagged as Out-of-Context (OOC).
Datasets
The researchers introduced the COSMOS dataset, a massive benchmark for this task:
- Training/Val: 200K images with 450K captions scraped from diverse news sources (NYT, CNN, etc.).
- Test: 1,700 manually annotated triplets (Image + 2 Captions) curated from fact-checking sites like Snopes to ensure a ground-truth balance of OOC and Not-OOC cases.
- RefCOCO: Used as an auxiliary dataset to verify that the model's visual grounding (matching words to boxes) was actually working correctly.
Key Insights and Ideas
- Grounding is the "Missing Link": The paper demonstrates that language-only models are fundamentally limited. As shown in Figure 1, if Caption A describes a giraffe and Caption B describes a person in the same photo, they are semantically different but both true. Only by grounding the text to the pixels can a model realize there is no conflict.
- Self-Supervision Scales: By framing the problem as a matching task rather than a classification task, the authors could train on hundreds of thousands of images without paying for expensive manual labeling.
- Hypernyms Matter: Replacing "Obama" with "Person" (Figure 4) was a key engineering choice. It ensures the model learns that the word "Person" aligns with a human shape, rather than just memorizing a specific face.
Key Results
- Accuracy: COSMOS achieved 85% accuracy in detecting out-of-context image pairs.
- Superiority over Baselines: It outperformed the best language-only baseline (SBERT) by 8% and significantly beat existing multi-modal rumor detection models like EANN and Jin et al. by roughly 14%.
- Ablation Success: The authors found that using object-level features (bounding boxes) was significantly more effective than using the full image, proving that "looking at the details" is vital for fact-checking.
Limitations and Future Work
- Language Barrier: The current implementation is limited to English captions.
- The "Which is True?" Problem: While COSMOS can tell you that two captions conflict, it does not currently identify which one is the "lie." The authors note this is a task for future research.
- Unaltered Images Only: The model is designed for "cheap fakes." It does not specifically look for digital manipulations like Photoshop or DeepFakes, though it could potentially be combined with such tools for a more robust defense system.
Summary updated