coco-counterfactual-conflict
收藏资源简介:
COCO-Counterfactual Conflict是一个专门设计用于评估视觉语言模型在图像-文本冲突场景下表现的基准数据集。它基于Intel/COCO-Counterfactuals构建,通过构造图像与描述文本之间的语义冲突来测试模型对多模态信息的理解和推理能力。每个数据样本包括一个真实图像、一个与该图像内容一致的真实描述(original_caption),以及一个通过修改真实描述中某个关键名词或属性而生成的冲突描述(conflicting_caption)。修改是“最小”的,仅改变一个元素,从而创建图像内容与文本描述之间的明确矛盾。数据集的核心是围绕这个被修改的元素构建的问答对:一个直接针对该元素的提问(question),图像中实际存在的真实值(image_bias),冲突描述中声称的错误值(text_bias),以及一个语义相关但不同于前两者的干扰选项(distractor)。此外,每个样本还包含序列号、冲突类型和语言信息。数据集规模为100个样本,通过确定性采样(种子为42)从源数据集中提取。它提供了包括阿拉伯语、中文、德语、法语、日语、俄语等在内的多种语言配置版本,每个语言版本均包含100个样本。数据格式为多模态,包含图像和多个文本字段。该数据集属于“multilingual-vlm-conflict”基准套件的一部分,适用于视觉问答、反事实推理、模型鲁棒性评估以及多模态冲突检测等研究任务。数据集遵循CC-BY-4.0许可协议。
COCO-Counterfactual Conflict is a benchmark dataset specifically designed to evaluate the performance of vision-language models (VLMs) in image-text conflict scenarios. It is built upon Intel/COCO-Counterfactuals, and tests models' multimodal understanding and reasoning capabilities by constructing semantic conflicts between images and their descriptive texts. Each data sample includes a real image, a ground-truth caption (original_caption) that matches the image content, and a conflicting caption generated by modifying a single key noun or attribute in the ground-truth caption. This modification is minimal, altering only one element to create explicit contradictions between the image content and the textual description. The core of the dataset consists of question-answer pairs centered on this modified element: a direct question targeting the element (question), the ground truth value actually present in the image (image_bias), the erroneous value claimed in the conflicting caption (text_bias), and a distractor option that is semantically related but distinct from the first two. Additionally, each sample contains a serial number, conflict type, and language information. The dataset contains 100 samples, extracted from the source dataset via deterministic sampling with a random seed of 42. It offers multilingual configuration versions including Arabic, Chinese, German, French, Japanese, Russian, etc., with 100 samples per language version. The data is multimodal, comprising images and multiple text fields. This dataset is part of the "multilingual-vlm-conflict" benchmark suite, and is suitable for research tasks including visual question answering, counterfactual reasoning, model robustness evaluation, and multimodal conflict detection. The dataset is released under the CC-BY-4.0 license.
数据集概述:COCO-Counterfactual Conflict
该数据集是一个图像-文本冲突数据集,基于 Intel/COCO-Counterfactuals 构建,专门用于评估视觉语言模型(VLM)在多语言环境下的鲁棒性。
核心信息
- 任务类别: 视觉问答 (visual-question-answering) 和 图像文本转文本 (image-text-to-text)
- 语言: 英语 (en)
- 许可协议: CC-BY-4.0
- 数据规模: 小于 1000 条样本 (n<1K)
数据来源与构建
- 源数据集: Intel/COCO-Counterfactuals
- 构建方法: 从源数据集中每个最小对比对(即仅改变一个名词主体的两个标题)中,保留与源图像匹配的“真实”标题(
original_caption),并将另一条标题作为冲突标题(conflicting_caption)。自动提取被交换的名词,并人工编写问题和干扰项。
数据内容与结构
每个样本包含图像与一组冲突的文本描述,核心是创造图像与文本之间的冲突。
| 字段 | 描述 |
|---|---|
image |
真实图像 |
original_caption |
与图像一致的标题 |
conflicting_caption |
更改了原始标题中一个对象或属性的冲突标题 |
question |
针对被更改的对象或属性提出的问题 |
image_bias |
图像中真实的值 |
text_bias |
冲突标题中声称的更改后的值 |
distractor |
一个合理的第三个选项,与两个bias不同 |
serial_no |
源数据集标识符 |
conflict_type |
冲突类别 |
language |
标题语言(英语) |
配置与数据划分
数据集提供多种语言配置(config),每个配置均为独立的训练集(train),包含 100 个样本。
- 可用配置:
ar,cs,de,default,el,es,fa,fr,he,hi,id,it,ja,ko,nl,pl,pt,ro,ru,tr,uk,vi,zh - 默认配置:
default,对应语言为英语。 - 数据划分: 每个配置仅有
train分割,均为确定性地从源数据集重采样得到(种子 = 42)。
规模与大小
- 样本数: 每配置 100 条,共 23 个配置,总计 2300 条样本。
- 数据集大小: 每个配置的数据集大小约为 6.2 MB(下载大小约为 6.2 MB)。




