Datasets:
question_id string | image_id string | image dict | image_sha256 string | source string | domain string | split string | difficulty_bin string | relative_gap float64 | question string | option_a string | option_b string | answer string | point_a list | point_b list | anchor string | point_anchor list | image_width int64 | image_height int64 | grid_width int64 | grid_height int64 | distance_a float64 | distance_b float64 | quality_severity int64 | shortcut_point_correct bool | shortcut_second_correct bool | shortcut_third_correct bool | shortcut_class_prior_correct bool |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dep0000c | 3f9667a2d39648a48e9ee2f2c8c7425b | {"bytes":"/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDg(...TRUNCATED) | ff4589ea2de119669fff44c4e78fe373645bb1177092603ff9626b3b443c490d | nuscenes | outdoor | depth | 0.10-0.16 | 0.108615 | "Consider the relationship in the 3D world. Which is closer to the camera?\n(A) the bus (represented(...TRUNCATED) | the bus | the parked car | B | [
571,
325
] | [
217,
310
] | null | null | 1,600 | 900 | 1,000 | 562 | 43.820709 | 39.061137 | 0 | false | false | null | true |
dep0001c | 42898811|167472469546875 | {"bytes":"/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDg(...TRUNCATED) | 62257c7ab4b3877f57f85715329d832720b29110607f70d918b794eae4e7a7d2 | ca1m | indoor | depth | 0.10-0.16 | 0.14545 | "Consider the relationship in the 3D world. Which is closer to the camera?\n(A) the radiator (repres(...TRUNCATED) | the radiator | the laundry basket | B | [
252,
354
] | [
514,
264
] | null | null | 1,024 | 768 | 1,000 | 750 | 3.692 | 3.155 | 0 | false | true | null | true |
dep0002c | 684 | {"bytes":"/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDg(...TRUNCATED) | b2c5ceaa18bcd5ea6c09404dc9c35971bf36bb689859ae88ceb68866c3ec4188 | wd3d | outdoor | depth | 0.10-0.16 | 0.101931 | "Consider the relationship in the 3D world. Which is closer to the camera?\n(A) the bottle cap (repr(...TRUNCATED) | the bottle cap | the canada dry can | A | [
336,
158
] | [
690,
362
] | null | null | 640 | 480 | 1,000 | 750 | 0.687913 | 0.765991 | 0 | false | true | null | false |
dep0003c | c49a8c6cff/frame_002410 | {"bytes":"/9j/4AAQSkZJRgABAQAAAQABAAD//gAQTGF2YzU5LjM3LjEwMAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBw(...TRUNCATED) | e9ba5e599093faea1d992cc4a6f52f391545d5130097c764542e9e1c5c89d157 | scannetpp | indoor | depth | 0.10-0.16 | 0.102732 | "Consider the relationship in the 3D world. Which is closer to the camera?\n(A) the striped towel (r(...TRUNCATED) | the striped towel | the hanging shoe organizer | A | [
377,
361
] | [
550,
141
] | null | null | 1,920 | 1,440 | 1,000 | 750 | 1.618344 | 1.803634 | 0 | true | false | null | false |
dep0004c | ai_004_004/cam_00/0000 | {"bytes":"/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDg(...TRUNCATED) | 606fd645e7fc977c7bd2d91f72efa7cad941807fefca73a280e630c2ab39a8aa | hypersim | indoor | depth | 0.10-0.16 | 0.120877 | "Consider the relationship in the 3D world. Which is closer to the camera?\n(A) the floor lamp (repr(...TRUNCATED) | the floor lamp | the throw pillow | B | [
722,
314
] | [
379,
441
] | null | null | 1,024 | 768 | 1,000 | 750 | 6.337 | 5.571 | 0 | true | true | null | true |
dep0005c | 6eee1da1bdfb403e8321b324b840bcc5 | {"bytes":"/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDg(...TRUNCATED) | c2f63c60f37b284ae9f192bf9510a9d3103ee7ca5c39aef252bcd351aae3ea3e | nuscenes | outdoor | depth | 0.10-0.16 | 0.14568 | "Consider the relationship in the 3D world. Which is closer to the camera?\n(A) the orange traffic b(...TRUNCATED) | the orange traffic barriers | the road barrier | B | [
76,
329
] | [
404,
336
] | null | null | 1,600 | 900 | 1,000 | 562 | 15.366888 | 13.128235 | 0 | true | true | null | false |
dep0006c | ibims_office_06 | {"bytes":"/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDg(...TRUNCATED) | d5a4e2482523db1173f37054b750b8cc34500b45a20f8d252c73d824073932a0 | dense | indoor | depth | 0.10-0.16 | 0.11484 | "Consider the relationship in the 3D world. Which is closer to the camera?\n(A) the wooden cabinet ((...TRUNCATED) | the wooden cabinet | the bottle crate | B | [
486,
159
] | [
380,
225
] | null | null | 640 | 480 | 1,000 | 750 | 2.443223 | 2.162644 | 0 | true | false | null | true |
dep0007c | 2372 | {"bytes":"/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDg(...TRUNCATED) | 0c344ed06fa1a6a34453cae58b0865c7ef85eca6d7b7435b4dd2f7f6c289b71d | wd3d | outdoor | depth | 0.10-0.16 | 0.109953 | "Consider the relationship in the 3D world. Which is closer to the camera?\n(A) the striped tie (rep(...TRUNCATED) | the striped tie | the girl | A | [
912,
242
] | [
793,
274
] | null | null | 604 | 403 | 1,000 | 667 | 10.316495 | 11.590961 | 0 | false | false | null | false |
dep0008c | 47331971|169001449253208 | {"bytes":"/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDg(...TRUNCATED) | d7136a6f0404854e8042652d2d407ce3d69c33c31d89704d71165250ef597a0b | ca1m | indoor | depth | 0.10-0.16 | 0.12153 | "Consider the relationship in the 3D world. Which is closer to the camera?\n(A) the white side table(...TRUNCATED) | the white side table | the framed wall art | B | [
324,
745
] | [
66,
458
] | null | null | 768 | 1,024 | 750 | 1,000 | 3.242 | 2.848 | 0 | false | false | null | false |
dep0009c | 6705461373924deb9a31c6d0ce2521be | {"bytes":"/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDg(...TRUNCATED) | 57a15057dbe4b433dd3ce9b81e7f90eb561a2a3ae2a3095a53e9393874512127 | nuscenes | outdoor | depth | 0.10-0.16 | 0.130118 | "Consider the relationship in the 3D world. Which is closer to the camera?\n(A) the red car (represe(...TRUNCATED) | the red car | the black car | B | [
367,
325
] | [
572,
321
] | null | null | 1,600 | 900 | 1,000 | 562 | 28.737061 | 24.997841 | 0 | false | true | null | true |
3DCueBench
A balanced benchmark for depth ordering and object-to-object 3D distance reasoning.
Project page · GeoUG paper · Download parquet
3DCueBench is the spatial reasoning benchmark introduced with GeoUG: Learning and Reasoning with Geometry — How Generation Helps Spatial Understanding? Each question pairs an image with two answer options and textual point coordinates identifying the objects. A model must select A or B using their relationship in the 3D world.
At a glance
| Property | Release v1.0 |
|---|---|
| Questions / unique images | 800 / 757 |
| Tasks | 400 depth-ordering + 400 3D-distance-ordering questions |
| Domains | 400 indoor + 400 outdoor questions |
| Answer balance | 400 A + 400 B |
| Difficulty | Four relative-gap bins; 100 questions per task per bin |
| Packaging | One self-contained parquet with embedded JPEG images |
| Hugging Face split | test |
| File size | 115,541,247 bytes (110.2 MiB) |
Depth ordering: Which of two objects is closer to the camera?
3D-distance ordering: Which of two objects is closer to a specified anchor object in 3D space?
The row-level split column identifies the task (depth or distance);
it does not indicate a train/test partition. All 800 questions belong to the
released test set.
Quick start
from datasets import Image, load_dataset
dataset = load_dataset("rayruiyang/3DCueBench", split="test")
dataset = dataset.cast_column("image", Image())
sample = dataset[0]
image = sample["image"] # PIL image
print(sample["question"]) # Includes the A/B options and point coordinates
You can also read the parquet directly, without a separate image download:
import io
import pyarrow.parquet as pq
from huggingface_hub import hf_hub_download
from PIL import Image
path = hf_hub_download(
repo_id="rayruiyang/3DCueBench",
repo_type="dataset",
filename="data/test-00000-of-00001.parquet",
)
row = next(pq.ParquetFile(path).iter_batches(batch_size=1)).to_pylist()[0]
image = Image.open(io.BytesIO(row["image"]["bytes"])).convert("RGB")
print(row["question"])
The image struct contains bytes and path. Use the embedded bytes; path is
an image filename, not a required local file. Images are encoded as JPEG with a
maximum side of 1600 pixels.
Fields
| Fields | Meaning |
|---|---|
question_id, image_id |
Question identifier and image identifier |
image, image_sha256 |
Embedded image and SHA-256 of its encoded bytes |
question |
Complete question, including options and point references |
option_a, option_b |
Object descriptions for the two options |
answer |
Ground-truth option, A or B |
point_a, point_b |
Object reference points as [x, y] |
anchor, point_anchor |
Anchor description and point for distance questions; null for depth questions |
grid_width, grid_height |
Coordinate-grid dimensions |
image_width, image_height |
Source-image dimensions recorded during benchmark construction; the embedded image may be resized |
split |
Task: depth or distance |
difficulty_bin, relative_gap |
Difficulty group and relative separation of the two geometric values |
distance_a, distance_b |
Reference geometric values used to compare the options |
source, domain |
Source identifier and indoor/outdoor domain |
quality_severity |
Construction-time quality diagnostic |
shortcut_point_correct, shortcut_second_correct, shortcut_third_correct, shortcut_class_prior_correct |
Construction-time shortcut-rule diagnostics; may be null |
Only provide the image and question to the evaluated model. Ground-truth answers, reference distances, relative gaps, and diagnostic columns are for scoring and analysis, not model inputs.
Coordinates and difficulty
Points use an aspect-preserving grid with a long side of 1000. The origin
is the top-left; x increases rightward and y increases downward. The shorter
axis follows the image aspect ratio, so both axes are not necessarily 0–1000.
Use the stored grid_width and grid_height when converting coordinates.
To locate a point on the decoded image, scale x by
image.width / grid_width and y by image.height / grid_height.
Relative gap is abs(distance_a - distance_b) / max(distance_a, distance_b).
Smaller gaps correspond to more similar geometric values.
| Relative-gap bin | Depth | Distance | Total |
|---|---|---|---|
0.10-0.16 |
100 | 100 | 200 |
0.16-0.25 |
100 | 100 | 200 |
0.25-0.40 |
100 | 100 | 200 |
0.40+ |
100 | 100 | 200 |
Evaluation protocol
Report overall A/B accuracy and breakdowns by task, difficulty, domain, and source. Missing or unparseable answers count as incorrect. Preserve the released questions, option order, and coordinate convention, or explicitly document any model-specific coordinate conversion.
In the GeoUG code checkout, save predictions as parquet, JSONL, TSV, or CSV
with question_id and prediction columns, then run:
python benchmarks/3dcuebench/evaluate.py \
--dataset /path/to/test-00000-of-00001.parquet \
--predictions predictions.jsonl \
--output outputs/3dcuebench/metrics.json
Each question uses one closer formulation. This release does not contain paired closer/farther questions, so closer/farther consistency is not an official v1.0 metric. Report option-order circular evaluation separately from the fixed-option-order protocol.
Sources and scope
This GeoUG benchmark combines spatial questions with images and geometry
derived from the source datasets below. The source column retains the
provenance identifier for each question; counts refer to this 800-question release.
The upstream datasets were created by their respective authors, not by this
benchmark release.
The source column contains these identifiers and question counts:
| Source identifier | Original source / preparation pool | Questions |
|---|---|---|
wd3d |
WildDet3D | 184 |
nuscenes |
nuScenes | 176 |
ca1m |
CA-1M | 136 |
scannetpp |
ScanNet++ | 130 |
hypersim |
Hypersim | 128 |
dense |
Dense-depth source pool | 28 |
waymo |
Waymo Open Dataset | 16 |
hammer |
HAMMER | 2 |
This is a controlled evaluation set, not a training corpus or an exhaustive measure of 3D understanding. Small source-specific groups should be interpreted with their sample counts. The source images remain subject to their respective upstream dataset terms.
File integrity
The release contains one data file; no external image directory, camera table, or depth cache is needed.
data/test-00000-of-00001.parquet
SHA256: 5299fbcb85a9c0a2adf661bd89f7828b7fb332ac1c3951ba691379c78430e4b4
Publisher, permitted use, and contact
The following notice applies to this GeoUG data release:
It is published by The University of Hong Kong (HKU) and is licensed for non-commercial use only. Its use is strictly limited to academic research and educational purposes. Please contact rayyang0116@connect.hku.hk if you have any concerns regarding the data.
The original datasets are credited in the sources section. This release does not transfer ownership of upstream images or annotations; their original licenses, attribution requirements, and terms of use remain applicable.
- Downloads last month
- -