clockbench-angle-v1 / README.md
upsonyeon's picture
Renumber hand presence as Q4 and publish Q1–Q4 task identifiers (v1.2.5)
06031ac verified
|
Raw History Blame Contribute Delete
17.6 kB
metadata
pretty_name: ClockBench Angle & Confusing Variations v1.2.5
language:
  - en
  - ko
license: cc-by-4.0
task_categories:
  - image-to-text
  - visual-question-answering
tags:
  - clock
  - analog-clock
  - clockbench
  - vlm-benchmark
  - diagnostic-probing
  - multimodal
  - visual-reasoning
  - time-reading
size_categories:
  - n<1K
dataset_info:
  features:
    - name: image
      dtype: image
    - name: id
      dtype: string
    - name: source
      dtype: string
    - name: variation
      dtype: string
    - name: subtype
      dtype: string
    - name: pair_group
      dtype: string
    - name: time_group
      dtype: string
    - name: style_index
      dtype: int32
    - name: hands_mode
      dtype: string
    - name: numerals_mode
      dtype: string
    - name: dial_theme
      dtype: string
    - name: graduations
      dtype: bool
    - name: roman_four
      dtype: string
    - name: numeral_orientation
      dtype: string
    - name: width
      dtype: int32
    - name: height
      dtype: int32
    - name: valid
      dtype: bool
    - name: hours
      dtype: int32
    - name: minutes
      dtype: int32
    - name: seconds
      dtype: int32
    - name: has_seconds
      dtype: bool
    - name: gt_time
      dtype: string
    - name: time_str
      dtype: string
    - name: target_time_hms
      dtype: string
    - name: hour_deg
      dtype: float64
    - name: minute_deg
      dtype: float64
    - name: second_deg
      dtype: float64
    - name: hm_angle_deg
      dtype: float64
    - name: hs_angle_deg
      dtype: float64
    - name: ms_angle_deg
      dtype: float64
  splits:
    - name: exact_hour
      num_bytes: 7153345
      num_examples: 84
    - name: existing_mirror_pair
      num_bytes: 5109505
      num_examples: 56
    - name: angle_acute
      num_bytes: 16762955
      num_examples: 105
    - name: angle_right
      num_bytes: 16803439
      num_examples: 105
    - name: angle_obtuse
      num_bytes: 16776073
      num_examples: 105
    - name: angle_straight
      num_bytes: 16743874
      num_examples: 105
    - name: confusing_ambiguous
      num_bytes: 9942508
      num_examples: 63
  download_size: 88935897
  dataset_size: 89291699
configs:
  - config_name: default
    data_files:
      - split: exact_hour
        path: data/exact_hour-*
      - split: existing_mirror_pair
        path: data/existing_mirror_pair-*
      - split: angle_acute
        path: data/angle_acute-*
      - split: angle_right
        path: data/angle_right-*
      - split: angle_obtuse
        path: data/angle_obtuse-*
      - split: angle_straight
        path: data/angle_straight-*
      - split: confusing_ambiguous
        path: data/confusing_ambiguous-*

ClockBench Angle & Confusing Variations (v1.2.5)

아날로그 시계 판독 능력을 정각 베이스라인(01:00–12:00), 대칭 쌍(10:10 vs 01:50), 시침·분침·초침 각도 경계 분포(4종), 그리고 혼동 유발 케이스(겹침·삼중 겹침·정시 직전) 중심으로 정밀 진단하기 위한 VLM(Vision-Language Model) 프로빙 벤치마크 데이터셋입니다.

A controlled 623-image analog clock VLM diagnostic probing benchmark (89 unique base times × 7 dial styles) organized into 7 splits with deterministic opaque hash IDs, strict hm/hms ground-truth consistency, full boundary-angle coverage, and continuous hand-angle metadata.

Domain Positioning & Design Scope

clockbench-angle-v1 is intentionally designed as a controlled planar geometric diagnostic probing benchmark:

  • Clean Factorial Ablation (89 time_groups × 7 styles = 623 images): All images are rendered as crisp, front-facing 512×512 planar synthetic dials so evaluators can cleanly disentangle hand-angle geometry failures (acute/right/obtuse/straight, overlaps, pre-hour traps, left-right mirror swaps) from dial visual style factors (Roman vs. Arabic vs. numeral-less, white/black/cream themes, IV vs. IIII, graduations on/off, upright vs. circular numerals, hms vs. hm).
  • Complementary to Real-World Benchmarks: Because perspective distortion, ambient lighting, motion blur, and partial occlusion are intentionally held constant, this benchmark complements rather than replaces real-world in-the-wild clock datasets (such as TickTockVQA and photographic ClockBench subsets). Failures observed here isolate fundamental geometric and spatial-reasoning bottlenecks in VLMs under noise-free visual conditions.

Zero Label Leakage (v1.2): Every public sample uses an opaque deterministic hash identifier (cb_<sha256[:10]>) and an opaque factorial grouping key (time_group, 89 retained groups with stable IDs). Original filenames and internal storage IDs are completely removed from the Parquet tables, embedded image paths, and metadata/ files. Always pass only the image to evaluated models and grade strictly against gt_time / hours, minutes, seconds (or metadata/answers.json).

Split Overview (총 623장 · 7개 스플릿)

Split Source Unique Times Styles (1–7) Images Description
exact_hour Existing baseline (정각) 12 7 84 Exact on-the-hour baseline (01:00 through 12:00)
existing_mirror_pair Existing baseline (10:10 vs 01:50) 8 7 56 Mirror-symmetric 10:10 vs 01:50 pairs across seconds (00/10/30/50)
angle_acute Generated (m != 0) 15 7 105 Acute hour–minute hand angle (25°–50°) spanning both edges (25°–33°, 45°–50°)
angle_right Generated (m != 0) 15 7 105 Near-right hour–minute hand angle (82°–98°) spanning both edges (82°–86°, 94°–98°)
angle_obtuse Generated (m != 0) 15 7 105 Obtuse hour–minute hand angle (125°–145°) spanning both edges (125°–130°, 140°–145°)
angle_straight Generated (m != 0) 15 7 105 Near-straight / opposed hour–minute angle (168°–180°) spanning 168°–172° and 177°–180°
confusing_ambiguous Generated (m != 0) 9 7 63 Three trap types: hand_overlap (3), triple_overlap (3), pre_hour_trap (3)
Total — 89 7 623 12 exact-hour + 77 non-exact-hour base times

Empirical Angle Distribution (hm_angle_deg, Computed from Published Data)

Each base time is rendered in both 3-hand (hms, 4 styles with continuous sub-second hand progression) and 2-hand (hm, 3 styles with exact minute-level angles and no second hand). All generated angle splits satisfy their target bounds in both hms and hm modes:

Split Times Images Target Range Empirical Min Empirical Max Empirical Mean hms Range hm Range
exact_hour 12 84 0°–180° (30° grid) 0.00° 180.00° 90.00° 0.00°–180.00° 0.00°–180.00°
existing_mirror_pair 8 56 110°–120° 110.42° 119.58° 115.00° 110.42°–119.58° 115.00°–115.00°
angle_acute 15 105 25°–50° 25.00° 50.00° 37.45° 25.73°–49.20° 25.00°–50.00°
angle_right 15 105 82°–98° 82.00° 98.00° 89.72° 83.01°–97.78° 82.00°–98.00°
angle_obtuse 15 105 125°–145° 125.00° 145.00° 134.84° 126.65°–144.92° 125.00°–145.00°
angle_straight 15 105 168°–180° 168.00° 179.96° 176.24° 170.02°–179.96° 168.00°–179.50°
confusing_ambiguous 9 63 0°–180° (trap mix) 0.10° 131.00° 24.84° 0.10°–128.80° 0.50°–131.00°
Overall 89 623 — 0.00° 180.00° 98.84° — —

7 Dial Styles per time_group (style_index 1–7)

style_index hands_mode numerals_mode dial_theme graduations roman_four numeral_orientation
1 hms roman white true IV upright
2 hms arabic white true IV upright
3 hms none black true IV upright
4 hm none black true IV upright
5 hms roman cream true IIII upright
6 hm arabic white false IV circular
7 hm none white false IV circular

Standard Evaluation Protocol & Grading Rules

1. Prompts

Direct clock reading uses the prompt stored in the manifest's benchmark.canonical_prompt field.

What time does this clock show? Output ONLY the time in 12-hour format: use H:MM:SS if a second hand is visible (including :00), or H:MM if there is no second hand.

Q1 reads the current time (question_time), Q2 applies a time shift (question_shift), and Q3 rotates the minute hand (question_angle). The prompts are in metadata/dataset.json. Each requests JSON with hours 1–12 and no AM/PM. If a second hand is visible, include numeric seconds even at zero. For a clock with no second hand, use false. Apply the full signed shift before wrapping the result. For example, adding 9 hours 30 minutes to 8:45 yields 6:15.

Q4. Hand presence. Show the clock image in a fresh conversation with question_hands. The answer is a JSON object with three boolean fields. For example, a two-hand clock has {"hour_hand": true, "minute_hand": true, "second_hand": false}. Overlapping hands count as present. Every image has an hour and minute hand. The second hand is present in 356 images and absent in 267.

2. Grading

  1. Exact accuracy compares all requested fields on each task. The grader treats equivalent hours on a 12-hour dial equally across Q1–Q3. For example, 13:05 equals 1:05, and 00:00 equals 12:00. Ground-truth hours always range from 1 through 12.

  2. Visible seconds are required for an exact match, including a visible zero. On two-hand clocks, omit seconds in a direct response or supply false or null in JSON. Reporting numeric zero on a two-hand clock fails exact match.

  3. Q1 tolerance uses the shorter distance around the 43,200-second dial. The grader reports exact_12h, tol_1sec_12h and tol_1min_12h in answer_time_12h_accuracy. Tolerances are inclusive. Missing seconds contribute zero to the distance. On a two-hand clock only hours and minutes contribute. For example, 11:59:59 is one second from 12:00:00.

  4. Run the reference grader with Python 3.10 or newer. Key predictions by sample ID and task, for example {"cb_1919d47c35": {"answer_time": "1:00:00"}}. The same command accepts the multi-task JSON predictions and reports an exact accuracy for each supplied task.

    python evaluation/clockbench_grade.py --answers metadata/answers.json --predictions predictions.json --output grading.json
    
  5. Q4 hand-presence scoring. The reference grader accepts answer_hands on its own or alongside Q1–Q3. answer_hands_accuracy reports the number of evaluated samples, accuracy for each hand, and all_hands accuracy (all three correct). Missing fields and non-boolean values count as incorrect for that hand.

  6. Multi-Run Stability Protocol:

    • Run 5 independent stochastic evaluations (NUM_RUNS = 5) per model/prompt configuration and report mean ± std accuracy across the 5 runs alongside 5-run majority-vote accuracy per sample id.

3. Reference Baseline Table (Qwen3.5 Series — v1.2.5)

Model Prompt Mode Exact Match (mean ± std) Exact Match (5-Run Maj.) hm_only Acc ±1 min Acc Median Circular Err (s) Status
Qwen/Qwen3.5-0.8B direct / multi-task TBD TBD TBD TBD TBD Pending v1.2.5 run
Qwen/Qwen3.5-2B direct / multi-task TBD TBD TBD TBD TBD Pending v1.2.5 run
Qwen/Qwen3.5-4B direct / multi-task TBD TBD TBD TBD TBD Pending v1.2.5 run

Quick Start

from datasets import load_dataset

# Load all 7 splits (623 images total)
ds = load_dataset("ClockBenchWithDEV1/clockbench-angle-v1")
print(ds)

# Inspect canonical ground truth and factorial grouping
sample_hms = ds["angle_acute"][0]   # style_index=1 (hms)
sample_hm = ds["angle_acute"][3]    # style_index=4 (hm)
print(sample_hms["id"], sample_hms["time_group"], sample_hms["gt_time"], sample_hms["target_time_hms"])
print(sample_hm["id"],  sample_hm["time_group"],  sample_hm["gt_time"],  sample_hm["target_time_hms"])
# -> cb_... tg_021 01:10:08 01:10:08
# -> cb_... tg_021 01:10 None

Schema Columns (30 Columns)

  • Image & Opaque Identity: image (PIL.Image, 512×512), id (cb_<sha256[:10]>), source (existing_drive | generated), width, height
  • Benchmark Stratification & Factorial Grouping: variation, subtype (exact_hour, acute_hm, right_hm, obtuse_hm, straight_hm, hand_overlap, triple_overlap, pre_hour_trap, mirror_swap_pair), pair_group, time_group (89 retained groups with stable IDs)
  • Visual Style: style_index (1–7), hands_mode (hms | hm), numerals_mode (roman | arabic | none), dial_theme (white | black | cream), graduations (bool), roman_four (IV | IIII), numeral_orientation (upright | circular)
  • Ground Truth: valid, hours, minutes, seconds (null on hm, int on hms), has_seconds (bool), gt_time (canonical "HH:MM" on hm / "HH:MM:SS" on hms), time_str ("H:MM" / "H:MM:SS"), target_time_hms (null on hm, "HH:MM:SS" on hms)
  • Hand Angles (deg, 12 o'clock = 0°, clockwise): hour_deg, minute_deg, second_deg, hm_angle_deg, hs_angle_deg, ms_angle_deg

Companion Metadata Files (metadata/)

Structured manifests and ClockBench evaluation files for all 623 items (using opaque cb_... IDs with zero filename/drive_file_id leakage) are included in metadata/:

  • metadata/clockbench_angle_benchmark.json — Full 623-item benchmark manifest (JSON)
  • metadata/clockbench_angle_benchmark.yaml — Identical 623-item benchmark manifest (YAML, verified JSON == YAML)
  • metadata/dataset.json — ClockBench Q1–Q3 time questions and independent Q4 hand-presence prompts (623 items, keyed by opaque id)
  • metadata/answers.json — ClockBench grading ground-truth format (623 items, keyed by opaque id)

Changelog

v1.2.5

  • Renumbered hand presence as Q4. The JSON and YAML manifests list Q1–Q4 under benchmark.task_ids.

v1.2.4

  • Removed the Q4 time-zone question, its offset metadata, and its answer from all 623 samples. Hand presence keeps its Q5 identifier.

v1.2.3

  • Added independent Q5 hand-presence questions, per-image labels, and per-hand and joint accuracy across the existing 623 images.

v1.2.2

  • Removed 42 mirror_swap_pair samples from confusing_ambiguous (six time groups across seven styles). This split now has 63 images. The dedicated existing_mirror_pair split contains 56 images.
  • The direct and four-turn prompts explicitly require a visible zero second.

v1.2.1

  • All four tasks use 12-hour prompts, labels and dial-based grading. Updated the expected hour in 356 shift answers and 429 time-zone answers. The seven image splits and sample IDs match v1.2.

v1.2

  • Critical hm label consistency fix: Added canonical gt_time ("HH:MM" on hm, "HH:MM:SS" on hms) and set target_time_hms = null on all hm rows (eliminating the v1.1 stale-seconds mismatch on 2-hand dials).
  • Zero-leakage opaque identifiers & schema cleanup: Replaced time-encoding IDs with deterministic opaque hashes (cb_<sha256[:10]>), added opaque time_group (tg_001–tg_095) for factorial ablation, and completely removed filename and drive_file_id from public Parquet splits, embedded image paths, and metadata/ manifests.
  • Boundary angle & subtype expansion (490 → 665 images): Expanded each of the 5 generated splits from 10 to 15 unique non-exact-hour times (+25 times × 7 styles = +175 images), covering both upper and lower boundaries across angle_acute (25.00°–50.00°), angle_right (82.00°–98.00°), angle_obtuse (125.00°–145.00°), and angle_straight (168.00°–179.96°), and balancing confusing_ambiguous to 3 hand_overlap, 3 triple_overlap, 3 pre_hour_trap, and 6 mirror_swap_pair (3 symmetric pairs).
  • Documentation upgrade: Added explicit domain positioning (planar geometric diagnostic probing complementary to TickTockVQA), computed empirical angle distribution table, and standard evaluation/grading protocol.

v1.1

  • Added exact_hour baseline split (12 times × 7 styles = 84 images) for 490 total images across 7 splits.

v1.0

  • Initial release with 6 splits (406 images: existing_mirror_pair + 4 angle splits + confusing_ambiguous).

Contributors & Collaborators (공동 작업자)

  • @upsonyeon — Angle-variation & confusing-case benchmark expansion (525 generated images), v1.2 boundary & schema hardening, structured JSON/YAML manifests, and Hugging Face Hub packaging
  • @Hayoon05 (HAYOONSEO) — ClockBench 7-style clock generator specification, exact-hour baseline dataset (exact_hour, 84 images), and 10:10 vs 01:50 mirror-pair dataset (existing_mirror_pair, 56 images)