CaveBench / README.md
linguanxin's picture
Publish the arXiv dataset card and media loader
c2376f1 verified
|
Raw History Blame Contribute Delete
6.95 kB
metadata
pretty_name: CaveBench
language:
  - en
task_categories:
  - visual-question-answering
tags:
  - physics
  - vision-language
  - abductive-reasoning
  - arxiv:2611.32251
size_categories:
  - 10K<n<100K
configs:
  - config_name: episodes
    default: true
    data_files:
      - split: train
        path: episodes/train.jsonl
      - split: validation
        path: episodes/validation.jsonl
      - split: test
        path: episodes/test.jsonl
  - config_name: questions
    data_files:
      - split: test
        path: questions.jsonl
  - config_name: answers
    data_files:
      - split: test
        path: labels.jsonl

CaveBench: Benchmarking Abductive Physical Reasoning from Internal Observations

CaveBench evaluates abductive physical reasoning from internal observations. Given an apparatus description and an ordered sequence of interior images, a model infers the external controls applied at each event. The dataset contains 10,200 simulated episodes from 20 apparatus scenes in five physical domains: 9,000 training episodes, 1,000 validation episodes and 200 test episodes. The test episodes yield 1,180 questions spanning one to six events.

Paper (arXiv:2611.32251) · Project page · Code and evaluation

Load Dataset

Install the dataset loader and access the episode, question and answer configurations.

python -m pip install datasets huggingface_hub
from datasets import load_dataset

repo = "linguanxin/CaveBench"
questions = load_dataset(repo, "questions", split="test")
answers = load_dataset(repo, "answers", split="test")
episodes = load_dataset(repo, "episodes", split="test")
train = load_dataset(repo, "episodes", split="train")
validation = load_dataset(repo, "episodes", split="validation")

question = questions[0]
reference = next(row for row in answers if row["id"] == question["id"])
episode_id = question["id"].rsplit("/", 1)[0]
episode = next(row for row in episodes if row["id"] == episode_id)

print(question["prompt"])
print(question["images"])
print(reference["operations"])
print(episode["video"])

From the code repository, run the following command to unpack the 20 test-frame archives (461 MB in total).

python prepare_media.py --repo linguanxin/CaveBench --data ./dataset

Each path in question["images"] is relative to ./dataset. Use --scene S11 for one apparatus or --all for all three episode splits and their dual-view videos. The archive manifests record file counts, byte sizes and SHA-256 digests.

Configuration Split Rows Contents
episodes train 9,000 Seven interior images, a dual-view video and six reference events per episode
episodes validation 1,000 Episode metadata, media paths and reference events for validation
episodes test 200 The same media and annotations for the fixed evaluation episodes
questions test 1,180 Full evaluated prompts, permitted controls and ordered input image paths
answers test 1,180 Reference event lists keyed by question ID

The paper uses 100 of the 1,000 validation episodes for preference-training checkpoint selection.

Episode Identities

paper_scene uses the published S01–S20 order. scene and the scene_XX prefix in id preserve the original generator number. For example, S11 (dielectric response) is generator scene 13. Each apparatus contributes 510 episodes, including ten fixed evaluation episodes.

Domain Paper scenes and apparatuses
Dynamics S01 Cabin inertia · S02 Rotation & gas · S03 Driven pendulums · S04 Tray impact
Thermal S05 Moving heat source · S06 Layered liquids · S07 Heated gas bulbs · S08 Bimetal supports
Electromagnetism S09 Magnetic coils · S10 Electric dipoles · S11 Dielectric response · S12 Conducting wires
Acoustics S13 Standing waves · S14 Wave scattering · S15 Doppler response · S16 Two-source ripples
Optics S17 Photoelastic load · S18 Double reflection · S19 Graded refraction · S20 Double-slit fringes

Usage

Each question supplies one user message. Send prompt verbatim, followed by the text Frame F0 and its image, then Frame F1 and its image, continuing through Frame Fk. The text includes the apparatus description, allowed control combinations and final answer contract. The video shows both views for inspection. Models receive the listed interior frames.

The expected response is a JSON object with one field, operations. Its k entries are nonempty sets of control labels in event order. Compare labels as sets at each position. A question is correct only when every position matches its reference. Join answers to questions by id. Episodes provide multiple question lengths. S11 uses lengths three through six because its three reference states are needed to disambiguate the response. Run the evaluation.

Leaderboard

The table reports six-event exact-match accuracy on 200 test episodes. Table 2 of the paper reports results for all six question lengths.

Model Six-event exact match (%) Type
GPT-6.1 Sol 68.0 Proprietary
GPT-6.1 Terra 65.0 Proprietary
GPT-6 Luna 28.5 Proprietary
Gemini 3.8 Flash 21.5 Proprietary
Claude Sonnet 5.5 16.5 Proprietary
GPT-5.6 Luna 19.5 Proprietary
Gemini 3.6 Flash 17.0 Proprietary
Claude Haiku 5.5 13.5 Proprietary
Qwen3.8 Flash 14.0 Proprietary
Qwen3.7 Plus 11.5 Proprietary
Seed-2.0-Lite 5.5 Proprietary
Claude Sonnet 5 3.0 Proprietary
Seed 2.1 Turbo 4.0 Proprietary
GLM 5V Turbo 2.5 Proprietary
Seed-2.0-Mini 3.0 Proprietary
Gemini 3.5 Flash Lite 1.0 Proprietary
MiniMax M3.1 Flash 12.5 Open-weight
GLM 5.3 Flash 9.0 Open-weight
Qwen3.8 27B 10.5 Open-weight
DeepSeek V4.1 Flash 6.5 Open-weight
MiniMax M3 5.0 Open-weight
Gemma 4 31B 4.5 Open-weight
Kimi K2.6 3.5 Open-weight
Kimi K2.5 2.0 Open-weight
Llama 4 Maverick 0.5 Open-weight
Qwen3.5-9B 0.5 Open-weight
DeepSeek V4 Flash 0.5 Open-weight

Citation

@misc{lin2026cavebench,
  title         = {{CaveBench}: Benchmarking Abductive Physical Reasoning from Internal Observations},
  author        = {Lin, Guanxin and Yang, Chen and Zeng, Shenxiang and Zhu, Honghui and Li, Xin and Deng, Wenbo and Fan, Jiansheng and Wang, Chen},
  year          = {2026},
  eprint        = {2611.32251},
  archivePrefix = {arXiv},
  primaryClass  = {cs.CV},
  url           = {https://arxiv.org/abs/2611.32251}
}

Tsinghua University. Guanxin Lin and Chen Yang contributed equally. Chen Wang is the corresponding author.