CoW-Bench
收藏资源简介:
CoW-Bench 是一个用于评估视频和图像生成模型对世界构成(CoW)理解的综合基准,重点关注多模态内容生成中的空间关系、对象交互和时间动态。该数据集挑战模型理解复杂空间关系、生成准确表示对象遮挡和分层的内容、保持视频生成的时间一致性以及处理多对象交互和转换的能力。数据集包含 1,435 个样本,每个样本包括任务类别、输入文本描述、输入图像描述、输入图像(PIL Image 对象)和预期视频输出描述。输入模态为文本和图像,输出模态为视频或图像。评估方法基于与预期输出的文本比较。数据集适用于视频生成模型(如 Sora、Kling)和图像生成模型(如 GPT-4V、DALL-E)的评估。
CoW-Bench is a comprehensive benchmark for evaluating video and image generation models' understanding of the Composition of the World (CoW), focusing on spatial relationships, object interactions, and temporal dynamics in multimodal content generation. This benchmark challenges models to comprehend complex spatial relationships, generate content that accurately depicts object occlusion and layering, maintain temporal consistency in video generation, and handle multi-object interactions and transformations. The dataset comprises 1,435 samples, each including task category, input text description, input image description, input images (PIL Image objects), and expected output description. Its input modalities are text and images, while its output modalities are videos or images. The evaluation methodology is based on comparing generated outputs against the textual descriptions of the expected outputs. This benchmark is applicable for evaluating video generation models (e.g., Sora, Kling) and image generation models (e.g., GPT-4V, DALL-E).
CoW-Bench 数据集概述
数据集基本信息
- 数据集名称: CoW-Bench
- 发布者: OpenRaiser
- 许可证: Apache 2.0
- 语言: 英语
- 任务类别: 文本到视频、文本到图像、图像到视频
- 标签: 视频生成、图像生成、基准测试、空间推理、多模态
- 规模类别: 1K<n<10K
- 配置名称: default
- 数据文件: test
数据集内容与结构
- 总样本数: 1,435
- 数据分割: 仅包含测试集
- 下载大小: 3,054,009,231 字节
- 数据集大小: 3,055,763,772 字节
特征字段
每个样本包含以下字段:
category: 任务类别(字符串)inputText: 场景的文本描述(字符串)inputImageDesc: 输入图像的描述(字符串)outputVideoExpect: 期望的视频输出描述(字符串)image: 输入图像(图像对象)
输入输出模态
- 输入模态: 文本 + 图像(多模态输入)
- 输出模态: 视频或图像生成
数据集目的与特点
CoW-Bench 是一个用于评估视频和图像生成模型对世界组合理解的综合基准测试,重点关注多模态内容生成中的空间关系、对象交互和时间动态。
核心挑战
- 理解对象之间复杂的空间关系
- 生成准确表示对象遮挡和分层的内容
- 在视频生成中保持时间一致性
- 处理多对象交互和变换
评估范围
评估视频生成模型(如 Sora、Kling)和图像生成模型(如 GPT-4V、DALL-E)生成符合物理和空间约束内容的能力。
评估方法
- 评估基础: 基于与期望输出描述的文本比较
- 评估代码地址: https://huggingface.co/datasets/OpenRaiser/CoW-Bench/tree/main/eval_code
评估代码组件
-
cut.py:视频帧提取
- 从生成的视频中提取4个均匀间隔的帧
- 将帧组合成2x2网格图像用于评估
- 支持批处理和恢复功能
-
evaluate.py:模型输出评估
- 通过多模态API比较模型生成的图像/视频与期望输出
- 支持可配置工作线程的批处理
- 自动问题匹配
- 结果保存与组织
目录结构要求
. ├── video/ │ └── {model_name}/ │ └── {category}/ │ └── {video_files}.mp4 ├── video_cut/ │ └── {model_name}/ │ └── {category}/ │ └── {image_files}.jpg ├── Question/ │ └── {category}/ │ └── {question_files}.txt └── Result/ └── {model_name}/ └── {category}/ └── {result_files}.txt
使用方式
加载数据集
python from datasets import load_dataset dataset = load_dataset("OpenRaiser/CoW-Bench", split="test")




