Abstract
This paper presents an enhanced framework for detecting "cheap-fakes"—real images placed in misleading contexts—by leveraging Large Language Models (LLMs) as sophisticated feature extractors. Developed for the ICME’23 Grand Challenge, the approach replaces traditional semantic similarity metrics with a multi-dimensional analysis driven by prompt engineering. By prompting GPT-3.5 to evaluate logical consistency across six specific dimensions, the authors achieved a detection accuracy of 0.894, significantly outperforming the COSMOS baseline of 0.839. The results demonstrate that LLMs can effectively identify logical contradictions and contextual nuances that traditional word-embedding models often miss.
Introduction
While "deepfakes" (AI-generated synthetic media) frequently dominate public discourse, "cheap-fakes" represent a more pervasive and accessible form of misinformation. A cheap-fake involves taking a real, unaltered photograph and placing it in a deceptive context, typically by providing a conflicting or false caption. Because the visual content itself is authentic, traditional forgery detection methods are ineffective.
Detection relies on identifying the "Out-of-Context" (OOC) relationship between an image and its associated captions. Previous state-of-the-art models, such as the COSMOS framework, relied heavily on Semantic Textual Similarity (STS). However, STS often fails to distinguish between captions that share high lexical similarity but are logically contradictory (e.g., "The protest was peaceful" vs. "The protest turned into a riot"). This research explores how Large Language Models (LLMs) can bridge this gap by acting as reasoning engines rather than simple similarity calculators.
Methodology
The proposed framework evolves the COSMOS baseline into a robust two-step pipeline designed to evaluate both image-text and text-text coherence.
1. Image-Text Coherence
The first stage filters out obvious mismatches. The model utilizes Mask-RCNN to detect objects within the image and a Universal Sentence Encoder (USE) to embed the captions. By calculating an Intersection-over-Union (IoU) score, the system determines if the caption accurately describes the objects present in the image. If the coherence score falls below a threshold of 0.25, the triplet is immediately flagged as Out-of-Context.
2. Caption-Caption Coherence via LLM
For samples that pass the initial coherence check, the model evaluates the relationship between the two provided captions. This is the core innovation of the paper, utilizing GPT-3.5 through structured prompt engineering:
- Prompt Engineering: Instead of requesting a binary classification, the authors prompt GPT-3.5 to answer six specific questions regarding subject matter consistency, broader context, and information completeness.
- Feature Extraction: The LLM provides numerical ratings (0-9) for these six categories, which are converted into a feature vector $[c_1, ..., c_6]$.
- Ensemble Classification: These LLM-derived features are combined with traditional BERT similarity scores and processed by an AdaBoost classifier to make the final prediction (OOC vs. Not-Out-Of-Context).
To ensure reproducibility, the authors utilized a specific model snapshot (gpt-3.5-turbo-0301) and set the "temperature" to 0 to obtain deterministic results.
Experimental Setup and Datasets
The study utilized the dataset provided by the ICME’23 Grand Challenge on Detecting Cheapfakes. The public testing dataset of 1,000 samples (each containing an image and two captions) was partitioned into a 50/50 split for training and evaluating the final ensemble classifier. The underlying image-text matching modules were pre-trained on the broader COSMOS dataset, which contains 200,000 images and 450,000 captions.
Results and Key Insights
The GPT+AdaBoost method demonstrated a clear margin of improvement over traditional methods:
| Method | Accuracy |
|---|---|
| COSMOS Baseline | 0.839 |
| GPT+AdaBoost (Proposed) | 0.894 |
| GPT+Random Forest | 0.929* |
Note: While Random Forest achieved higher accuracy on the full dataset, AdaBoost was preferred for its superior generalization on the specific challenge test split.
Key Takeaways
- LLMs as Reasoning Engines: The structured approach of extracting nuanced, human-like features (e.g., identifying missing information) makes the final classification more robust than simple "True/False" prompting.
- Overcoming STS Limitations: The LLM successfully identified logical entailment and contradictions that word-embedding models like SBERT missed due to high vocabulary overlap.
- Numerical Prompting: The research demonstrates that generative models can be forced to act as consistent numerical feature extractors for downstream machine learning tasks.
Discussion and Limitations
Despite the performance gains, the authors identify several hurdles for real-world deployment. The reliance on the OpenAI API introduces a "black-box" dependency, making it difficult to inspect internal logic. Furthermore, the cost and latency associated with LLM API calls are significantly higher than running local, lightweight models like BERT. Finally, the risk of "model drift" requires researchers to use specific dated snapshots to maintain stable results over time.
Future work will explore applying this prompt-engineering feature extraction to other domains, including automated image captioning and text-to-image synthesis evaluation.
Summary updated