PhysRAG 数据集
收藏资源简介:
PhysRAG 数据集是由北京大学和中国科学院研究团队构建的物理感知视频生成专用数据集,旨在解决视频生成中物理规律建模的难题。该数据集包含约7000条高质量视频样本,源自WISA-80K原始数据集的精选子集,通过两阶段过滤流程确保内容与物理现象的相关性。数据集构建过程采用基于Qwen3-VL模型的粗粒度预筛选和细粒度多模态验证,有效剔除了文本描述不相关或视频内容不一致的低质量样本。该数据集主要应用于增强视频生成模型的物理感知能力,能够支持热力学、力学、光学等多种物理现象的建模,为物理世界模拟、机器人操作和自动驾驶等下游任务提供可靠的数据基础。
The PhysRAG dataset is a specialized dataset for physics-aware video generation, constructed by research teams from Peking University and the Chinese Academy of Sciences, aiming to address the challenge of physical law modeling in video generation. This dataset contains approximately 7,000 high-quality video samples, which are a curated subset derived from the original WISA-80K dataset. A two-stage filtering pipeline is adopted to ensure the relevance between content and physical phenomena. The dataset construction process uses coarse-grained pre-screening and fine-grained multimodal validation based on the Qwen3-VL model, effectively eliminating low-quality samples with irrelevant text descriptions or inconsistent video content. This dataset is mainly applied to enhance the physics-aware capability of video generation models, and can support the modeling of various physical phenomena such as thermodynamics, mechanics, and optics. It provides a reliable data foundation for downstream tasks including physical world simulation, robot manipulation, and autonomous driving.
数据集名称
PhysRAG(Physics-Aware Retrieval-Augmented Generation Dataset)
数据来源与用途
- 来源:视频选自公开数据集 WISA-80K。
- 用途:用于训练和评估增强物理感知的视频生成模型(PhysRAG),通过检索增强生成(RAG)技术提升视频生成中的物理合理性。
数据集规模与构成
- 视频数量:6,869 个训练视频。
- 参考库:包含 170 个视频的参考库,用于物理知识检索。
- 数据内容:
- 视频文件(MP4 格式),按类别存放在
videos/<category>/<video_id>.mp4。 - 文本提示文件:
prompts_new.txt(每行一个提示)。 - 视频路径文件:
videos_new.txt(每行对应视频路径)。 - 元数据文件:
metadata.jsonl。 - 检索增强生成(RAG)数据:
rag/metadata.jsonl:参考视频元数据。rag/features/<category>/<video_id>.pt:参考视频的预提取特征(VideoCLIP-XL 编码)。rag/faiss_index/:FAISS 索引文件(config.json、metadata.json、video_features.index),用于高效检索。
- 视频文件(MP4 格式),按类别存放在
数据格式与布局
提取后的数据目录结构如下:
data/physrag/ ├── prompts_new.txt ├── videos_new.txt ├── metadata.jsonl ├── videos/<category>/<video_id>.mp4 └── rag/ ├── metadata.jsonl ├── features/<category>/<video_id>.pt └── faiss_index/{config.json,metadata.json,video_features.index}
- 视频分辨率与帧数:训练和推理时默认使用 49 帧、704×480 分辨率。
- 缓存文件:Wan2.2 的文本嵌入和视频潜在表示(
cache_wan_49f_480x704)需在本地构建,不随数据集分发。
获取方式
-
数据集下载:通过 Hugging Face 平台获取,命令如下: bash huggingface-cli download sediment1024/PhysRAG --repo-type dataset --local-dir data/PhysRAG
-
数据解压:下载后需解压 27 个视频分片并复制 RAG 包,运行: bash python tools/extract_dataset_shards.py --dataset-dir data/PhysRAG --output-dir data/physrag
相关资源
- 数据集页面:https://huggingface.co/datasets/sediment1024/PhysRAG
- 模型页面:https://huggingface.co/sediment1024/PhysRAG
- 论文:https://arxiv.org/abs/2606.26916
- 许可证:代码基于 Apache-2.0;视频数据来源于 WISA-80K,遵循其原始许可条款。





