File size: 16,704 Bytes
da16c74
b79bdc4
da16c74
 
 
 
 
 
 
 
 
 
 
 
b79bdc4
da16c74
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ab440ad
 
da16c74
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ab440ad
 
da16c74
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7bb9840
ab440ad
7bb9840
da16c74
ab440ad
da16c74
 
ab440ad
 
da16c74
ab440ad
 
da16c74
ab440ad
 
da16c74
ab440ad
 
da16c74
ab440ad
 
 
 
da16c74
 
 
7bb9840
 
da16c74
 
 
 
 
 
 
 
 
 
 
 
 
 
b79bdc4
da16c74
b79bdc4
da16c74
b79bdc4
da16c74
b79bdc4
da16c74
b79bdc4
da16c74
b79bdc4
 
 
 
 
 
 
 
 
 
da16c74
b79bdc4
 
 
 
 
 
 
 
 
 
 
 
da16c74
b79bdc4
 
 
 
 
 
 
 
 
 
 
 
da16c74
 
 
 
 
 
 
 
 
 
 
b79bdc4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a442860
 
 
 
b79bdc4
 
 
 
 
 
 
 
 
 
 
da16c74
 
 
 
 
b79bdc4
a054181
da16c74
 
b79bdc4
 
 
 
 
 
 
da16c74
 
b79bdc4
da16c74
b79bdc4
 
 
 
da16c74
 
 
 
b79bdc4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
da16c74
b79bdc4
 
1a63978
 
 
b79bdc4
8ea2cdf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
---

pretty_name: ClockBench Angle & Confusing Variations v1.2
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: 16633373
    num_examples: 105
  download_size: 95620298
  dataset_size: 95982564
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`)

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

A controlled **665-image** analog clock VLM diagnostic probing benchmark (**95 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 (`95 time_groups × 7 styles = 665 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.



> [!NOTE]

> **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`: `tg_001`–`tg_095`). 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 (총 665장 · 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`) | 15 | 7 | 105 | Balanced traps: `hand_overlap` (3), `triple_overlap` (3), `pre_hour_trap` (3), `mirror_swap_pair` (6; 3 symmetric pairs) |

| **Total** | — | **95** | **7** | **665** | 12 exact-hour + 83 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` | 15 | 105 | `0°–180°` (trap mix) | 0.10° | 176.62° | 79.54° | 0.10°–176.62° | 0.50°–172.50° |
| **Overall** | **95** | **665** | — | **0.00°** | **180.00°** | **102.81°** | — | — |

## 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. Canonical Prompts (`simple` & `detailed`)

- **`simple` prompt** (single-turn direct clock reading, recommended for lightweight VLM probing):
  ```text

  What time does this clock show?

  Reply with ONLY a JSON object (no preface, no code block):

  {"hours": X, "minutes": Y, "seconds": Z or false}

  (Only include seconds as an integer if a seconds hand is visible; otherwise use false.)

  ```
- **`detailed` prompt** (official ClockBench 4-turn schema: `question_time`, `question_shift`, `question_angle`, `question_zone` provided in `metadata/dataset.json`):
  ```text

  What time is it? Is it a valid time that is possible? Always include validity, hours and minutes in your response, only include seconds if there is a seconds hand present. Include date, month and day of the week in your answer if they are explicitly shown. Use 12 or 24 hour format based on what you see in the image.

  Please respond in the following JSON format:

  {

    "valid": true OR false,

    "hours": X,

    "minutes": Y,

    "seconds": Z OR false,

    "date": A OR false,

    "month": B OR false,

    "weekday": C OR false

  }

  ```

### 2. Grading Metrics

1. **Strict Exact Match (`exact_match` on `gt_time`)**:
   - `hands_mode == "hms"` (`has_seconds == true`): predicted `(hours, minutes, seconds)` must match `(hours, minutes, seconds)` exactly (12-hour equivalence `0 ≡ 12` normalized to `1..12`), matching `gt_time` (`"HH:MM:SS"`).
   - `hands_mode == "hm"` (`has_seconds == false`): predicted `(hours, minutes)` must match exactly **and** predicted `seconds` must be `false` / `null` (no hallucinated second hand), matching `gt_time` (`"HH:MM"`). Never grade `hm` rows against `target_time_hms` (which is `null` on `hm` in v1.2).
2. **Hour–Minute Exact Match (`hm_only`)**:

   - Evaluates exact match on `(hours, minutes)` ignoring seconds, allowing clean comparison between `hm` and `hms` styles.

3. **Minute-Tolerance Accuracy (`±1 min`)**:

   - Counts a prediction as correct when the circular error on the 12-hour dial satisfies `Δ_circ <= 60` seconds (or `<= 1` minute on `hm` dials).

4. **Circular Time Error (`Δ_circ`, seconds)**:

   - On a 12-hour analog dial with period $T = 12 \times 3600 = 43200\text{ s}$ (or $T = 86400\text{ s}$ for 24-hour Q2/Q4 follow-up tasks), convert ground truth and prediction to total seconds modulo $T$:

     $$t = ((h \bmod 12)\cdot 3600 + m\cdot 60 + s) \bmod T$$

     $$\Delta_{\text{circ}}(t_{\text{pred}}, t_{\text{gt}}) = \min\!\big(|t_{\text{pred}} - t_{\text{gt}}| \bmod T,\; T - (|t_{\text{pred}} - t_{\text{gt}}| \bmod T)\big)$$

   - Report mean and median $\Delta_{\text{circ}}$ over incorrect valid predictions (and overall MAE in seconds/minutes).

5. **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)

| 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` | `simple` / `detailed` | TBD | TBD | TBD | TBD | TBD | Pending v1.2 run |
| `Qwen/Qwen3.5-2B` | `simple` / `detailed` | TBD | TBD | TBD | TBD | TBD | Pending v1.2 run |
| `Qwen/Qwen3.5-4B` | `simple` / `detailed` | TBD | TBD | TBD | TBD | TBD | Pending v1.2 run |

## Quick Start

```python

from datasets import load_dataset



# Load all 7 splits (665 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` (`tg_001`–`tg_095`)
- **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 **665** items (using opaque `cb_...` IDs with zero `filename`/`drive_file_id` leakage) are included in `metadata/`:

- `metadata/clockbench_angle_benchmark.json` — Full 665-item benchmark manifest (JSON)
- `metadata/clockbench_angle_benchmark.yaml` — Identical 665-item benchmark manifest (YAML, verified `JSON == YAML`)
- `metadata/dataset.json` — ClockBench 4-turn evaluation input format (665 items, keyed by opaque `id`)
- `metadata/answers.json` — ClockBench grading ground-truth format (665 items, keyed by opaque `id`)

## Changelog

### `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](https://huggingface.co/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](https://huggingface.co/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)