PID (Physical Implausibility Detection) dataset
收藏资源简介:
PID数据集是由中山大学、香港理工大学及OPPO研究院联合构建的物理不可行性检测基准,旨在评估文本到视频生成模型对物理规律的理解与遵循能力。该数据集包含总计3088条视频样本,其中训练集由2588对正负样本视频组成,测试集包含500条人工标注视频,数据来源于真实世界视频及多种T2V模型生成内容,通过改写视频描述诱导模型产生物理异常内容而构建。数据集构建过程采用基于VIDGEN-1M真实视频的标注改写与生成流程,确保数据分布贴近真实物理场景。该数据集主要应用于计算机视觉与人工智能领域,用于训练和评估视觉语言模型在检测视频物理合理性方面的性能,解决T2V模型生成内容违反物理定律的量化评估与可解释性分析问题。
The PID Dataset is a physical impossibility detection benchmark jointly constructed by Sun Yat-sen University, The Hong Kong Polytechnic University, and OPPO Research Institute, aiming to evaluate the ability of text-to-video (T2V) generation models to understand and comply with physical laws. This dataset contains a total of 3088 video samples, among which the training set consists of 2588 pairs of positive and negative sample videos, and the test set includes 500 human-annotated videos. The data is sourced from real-world videos and content generated by multiple T2V models, and is constructed by rewriting video descriptions to induce models to produce physically anomalous content. The dataset construction process adopts the annotation rewriting and generation pipeline based on real videos from VIDGEN-1M, ensuring that the data distribution is close to real physical scenarios. This dataset is mainly applied in the fields of computer vision and artificial intelligence, and is used to train and evaluate the performance of vision-language models (VLMs) in detecting the physical plausibility of videos, so as to solve the problems of quantitative evaluation and interpretability analysis on content generated by T2V models that violate physical laws.
PhyDetEx 数据集概述
数据集基本信息
- 数据集名称: PhyDetEx (Physical Implausibility Detection Dataset)
- 官方仓库地址: https://github.com/Zeqing-Wang/PhyDetEx
- 关联论文: "VideoVerse: How Far is Your T2V Generator from a World Model?"
- 数据集发布: 2025年12月01日
数据集目的与内容
- 核心目的: 用于检测和解释文本到视频(T2V)模型生成内容的物理合理性。
- 主要功能: 提供用于检测物理上不合理内容的模型(PhyDetEx)及对应的评测数据集(PID Dataset)。
- 数据集构成: 包含物理不合理性检测(PID)数据集,分为训练集(PID Train Split)和测试集(PID Test split)。
数据集获取与结构
-
主要获取地址: https://huggingface.co/datasets/NNaptmn/PhyDetExDatasets
-
测试集文件:
PID_Test_split.zip -
测试集目录结构:
PID_test/ pos/ # 存放合理(Plausible)视频 video_xxx.mp4 ...... neg/ # 存放不合理(Implausible)视频 video_xxx.mp4 ...... anno_file.json # 标注文件
-
额外数据: 提供基于Impossible-Videos项目预处理的物理定律相关数据文件
ImpossibleVideos_Physical_Law_Only.zip。
模型与工具
- 检测模型: PhyDetEx 模型,可从 https://huggingface.co/NNaptmn/PhyDetEx 下载。
- 训练框架: 推荐使用 LLaMA-Factory (https://github.com/hiyouga/LLaMA-Factory) 进行模型训练。
- 推理部署: 推荐使用 lmdeploy (https://github.com/InternLM/lmdeploy) 部署大型语言模型(LLM)以获取推理分数,论文中使用 LLaMa3 8B。
使用与评测
- 环境准备: 通过
pip install -r requirements.txt安装依赖,需注意 transformers 版本对特定指标的影响。 - 测试集评测: 运行
benchmark_on_pid_test_split.py脚本,结果输出至./res/res_on_pid_test.json,包含 F1 Score、Acc Plausible 和 Acc Implausible 指标。 - 推理分数获取: 运行
infer_llm_score_for_pid_test_lmdeploy.py脚本。 - ImpossibleVideos 数据评测: 运行
benchmark_on_impossible_videos.py和infer_llm_score_for_impossible_video_lmdeploy.py脚本。
致谢与引用
- 数据与代码借鉴: 大量借鉴了 ImpossibleVideos 和 LLaMA-Factory 的数据与代码。
- 问题反馈: 可通过 https://github.com/Zeqing-Wang/PhyDetEx/issues 提交问题。




