Exposing Text-Image Inconsistency Using Diffusion Models
Mingzhen Huang, Shan Jia, Zhou Zhou, Yan Ju, Jialing Cai, Siwei Lyu
TL;DR
This work tackles text-image inconsistency by moving beyond binary classifiers to a diffusion-based localization framework, D-TIIL, which uses text-to-image diffusion models as an omniscient knowledge source to align and edit modalities. The method develops a four-step pipeline that yields pixel-level masks and word-level inconsistent terms, accompanied by a consistency score $r \,\in\, [0,100]$. A new TIIL dataset with 14K curated image-text pairs enables fine-grained evaluation, including manual ground-truth masks and region-level edits guided by diffusion generation. Experiments show that D-TIIL outperforms baselines in both localization and detection tasks and that denoising-based alignment and careful text embedding updates are crucial for maximizing explainability and accuracy. The approach offers a scalable, evidence-based tool for misinformation research and opens avenues for domain-specific diffusion models to capture nuanced background knowledge.
Abstract
In the battle against widespread online misinformation, a growing problem is text-image inconsistency, where images are misleadingly paired with texts with different intent or meaning. Existing classification-based methods for text-image inconsistency can identify contextual inconsistencies but fail to provide explainable justifications for their decisions that humans can understand. Although more nuanced, human evaluation is impractical at scale and susceptible to errors. To address these limitations, this study introduces D-TIIL (Diffusion-based Text-Image Inconsistency Localization), which employs text-to-image diffusion models to localize semantic inconsistencies in text and image pairs. These models, trained on large-scale datasets act as ``omniscient" agents that filter out irrelevant information and incorporate background knowledge to identify inconsistencies. In addition, D-TIIL uses text embeddings and modified image regions to visualize these inconsistencies. To evaluate D-TIIL's efficacy, we introduce a new TIIL dataset containing 14K consistent and inconsistent text-image pairs. Unlike existing datasets, TIIL enables assessment at the level of individual words and image regions and is carefully designed to represent various inconsistencies. D-TIIL offers a scalable and evidence-based approach to identifying and localizing text-image inconsistency, providing a robust framework for future research combating misinformation.
