Dataset Viewer
Auto-converted to Parquet Duplicate
image
imagewidth (px)
1.16k
1.55k
category
stringclasses
1 value
filename
stringlengths
5
17
num_nodes
int32
6
82
tree
stringlengths
48
787
Counting
1.PNG
26
[(0, 1), (0, 6), (1, 2), (2, 3), (3, 4), (4, 5), (6, 7), (6, 8), (6, 9), (6, 10), (6, 11), (6, 12), (6, 13), (6, 14), (6, 15), (6, 16), (6, 17), (6, 18), (6, 19), (6, 20), (6, 21), (6, 22), (6, 23), (6, 24), (6, 25), (6, 26)]
Counting
15.PNG
43
[(0, 1), (0, 2), (0, 3), (0, 4), (0, 5), (0, 6), (0, 7), (0, 8), (0, 9), (0, 10), (0, 11), (0, 12), (0, 13), (0, 14), (0, 15), (0, 16), (0, 17), (0, 18), (0, 19), (0, 20), (0, 21), (0, 22), (0, 23), (0, 24), (0, 25), (0, 26), (0, 27), (0, 28), (0, 29), (0, 30), (0, 31), (0, 32), (0, 33), (0, 34), (0, 35), (0, 36), (0, ...
Counting
16.PNG
42
[(0, 1), (0, 2), (0, 3), (0, 4), (4, 5), (4, 6), (4, 7), (4, 8), (4, 9), (4, 10), (4, 11), (4, 12), (4, 13), (4, 14), (4, 15), (4, 16), (4, 17), (4, 18), (4, 19), (4, 20), (4, 21), (4, 22), (4, 23), (4, 24), (4, 25), (4, 26), (4, 27), (4, 28), (4, 29), (4, 30), (4, 31), (4, 32), (4, 33), (4, 34), (4, 35), (4, 36), (4, ...
Counting
18.PNG
6
[(0, 1), (1, 2), (2, 3), (3, 4), (4, 5), (5, 6)]
Counting
19.PNG
7
[(0, 1), (1, 2), (2, 3), (3, 4), (4, 5), (5, 6), (6, 7)]
Counting
2.PNG
20
[(0, 1), (0, 5), (1, 2), (2, 3), (3, 4), (5, 6), (5, 7), (5, 8), (5, 9), (5, 10), (5, 11), (5, 12), (5, 13), (5, 14), (5, 15), (5, 16), (5, 17), (5, 18), (5, 19), (5, 20)]
Counting
20.PNG
34
[(0, 1), (0, 2), (0, 3), (0, 4), (4, 5), (4, 6), (4, 7), (4, 8), (4, 9), (4, 10), (4, 11), (4, 12), (4, 13), (4, 14), (4, 15), (4, 16), (4, 17), (4, 18), (4, 19), (4, 20), (4, 21), (4, 22), (4, 23), (4, 24), (4, 25), (4, 26), (4, 27), (4, 28), (4, 29), (4, 30), (4, 31), (4, 32), (4, 33), (4, 34)]
Counting
21.PNG
44
[(0, 1), (0, 2), (0, 6), (0, 7), (0, 29), (2, 3), (2, 4), (2, 5), (7, 8), (7, 9), (7, 10), (7, 11), (7, 12), (7, 13), (7, 14), (7, 15), (7, 16), (7, 17), (7, 18), (7, 19), (7, 20), (7, 21), (7, 22), (7, 23), (7, 24), (7, 25), (7, 26), (7, 27), (7, 28), (29, 30), (29, 31), (29, 32), (29, 33), (29, 34), (29, 35), (29, 36...
Counting
22.PNG
39
[(0, 1), (0, 2), (0, 3), (0, 19), (0, 20), (0, 24), (3, 4), (3, 5), (3, 6), (3, 7), (3, 8), (3, 9), (3, 10), (3, 11), (3, 12), (3, 13), (3, 14), (3, 15), (3, 16), (3, 17), (3, 18), (20, 21), (20, 22), (20, 23), (24, 25), (24, 26), (24, 27), (24, 28), (24, 29), (24, 30), (24, 31), (24, 32), (24, 33), (24, 34), (24, 35),...
Counting
23.PNG
43
[(0, 1), (0, 2), (0, 3), (0, 4), (0, 11), (4, 5), (4, 6), (4, 7), (4, 8), (4, 9), (4, 10), (11, 12), (11, 13), (11, 14), (11, 15), (11, 16), (11, 17), (11, 18), (11, 19), (11, 20), (11, 21), (11, 22), (11, 23), (11, 24), (11, 25), (11, 26), (11, 27), (11, 28), (11, 29), (11, 30), (11, 31), (11, 32), (11, 33), (11, 34),...
Counting
24.PNG
37
[(0, 1), (0, 2), (0, 3), (0, 4), (4, 5), (4, 6), (4, 7), (4, 8), (4, 9), (4, 10), (4, 11), (4, 12), (4, 13), (4, 14), (4, 15), (4, 16), (4, 17), (4, 18), (4, 19), (4, 20), (4, 21), (4, 22), (4, 23), (4, 24), (4, 25), (4, 26), (4, 27), (4, 28), (4, 29), (4, 30), (4, 31), (4, 32), (4, 33), (4, 34), (4, 35), (4, 36), (4, ...
Counting
3.PNG
21
[(0, 1), (0, 6), (1, 2), (2, 3), (3, 4), (4, 5), (6, 7), (6, 8), (6, 9), (6, 10), (6, 11), (6, 12), (6, 13), (6, 14), (6, 15), (6, 16), (6, 17), (6, 18), (6, 19), (6, 20), (6, 21)]
Counting
4.PNG
23
[(0, 1), (0, 20), (1, 2), (1, 3), (1, 4), (1, 5), (1, 6), (1, 7), (1, 8), (1, 9), (1, 10), (1, 11), (1, 12), (1, 13), (1, 14), (1, 15), (1, 16), (1, 17), (1, 18), (1, 19), (20, 21), (21, 22), (22, 23)]
Counting
40.PNG
29
[(0, 1), (0, 2), (0, 3), (0, 4), (0, 5), (0, 6), (0, 7), (0, 8), (0, 9), (0, 10), (0, 11), (0, 12), (0, 13), (0, 14), (0, 15), (0, 16), (0, 17), (0, 18), (0, 19), (0, 20), (0, 21), (0, 22), (0, 23), (0, 24), (0, 25), (0, 26), (0, 27), (0, 28), (0, 29)]
Counting
43.PNG
14
[(0, 1), (1, 2), (1, 3), (1, 5), (1, 6), (1, 7), (1, 8), (1, 9), (1, 10), (1, 11), (1, 12), (1, 13), (1, 14), (3, 4)]
Counting
44.PNG
13
[(0, 1), (0, 2), (0, 3), (0, 4), (0, 5), (0, 6), (0, 7), (0, 8), (0, 9), (0, 10), (0, 11), (0, 12), (0, 13)]
Counting
46.PNG
33
[(0, 1), (0, 2), (0, 3), (0, 4), (4, 5), (4, 6), (4, 7), (4, 8), (4, 9), (4, 10), (4, 11), (4, 12), (4, 13), (4, 14), (4, 15), (4, 16), (4, 17), (4, 18), (4, 19), (4, 20), (4, 21), (4, 22), (4, 23), (4, 24), (4, 25), (4, 26), (4, 27), (4, 28), (4, 29), (4, 30), (4, 31), (4, 32), (4, 33)]
Counting
48.PNG
23
[(0, 1), (0, 6), (0, 7), (0, 8), (0, 9), (0, 10), (0, 11), (0, 12), (0, 13), (0, 14), (0, 15), (0, 16), (0, 17), (0, 18), (0, 19), (0, 20), (0, 21), (0, 22), (0, 23), (1, 2), (2, 3), (3, 4), (4, 5)]
Counting
5.PNG
24
[(0, 1), (0, 6), (1, 2), (2, 3), (3, 4), (4, 5), (6, 7), (6, 8), (6, 9), (6, 10), (6, 11), (6, 12), (6, 13), (6, 14), (6, 15), (6, 16), (6, 17), (6, 18), (6, 19), (6, 20), (6, 21), (6, 22), (6, 23), (6, 24)]
Counting
50.PNG
26
[(0, 1), (0, 6), (1, 2), (2, 3), (3, 4), (4, 5), (6, 7), (6, 8), (6, 9), (6, 10), (6, 11), (6, 12), (6, 13), (6, 14), (6, 15), (6, 16), (6, 17), (6, 18), (6, 19), (6, 20), (6, 21), (6, 22), (6, 23), (6, 24), (6, 25), (6, 26)]
Counting
51.PNG
44
[(0, 1), (0, 2), (0, 3), (0, 4), (4, 5), (4, 6), (4, 7), (4, 8), (4, 9), (4, 10), (4, 11), (4, 12), (4, 13), (4, 14), (4, 15), (4, 16), (4, 17), (4, 18), (4, 19), (4, 20), (4, 21), (4, 22), (4, 23), (4, 24), (4, 25), (4, 26), (4, 27), (4, 28), (4, 29), (4, 30), (4, 31), (4, 32), (4, 33), (4, 34), (4, 35), (4, 36), (4, ...
Counting
52.PNG
13
[(0, 1), (0, 2), (0, 3), (0, 4), (0, 5), (0, 6), (0, 7), (0, 8), (0, 9), (0, 10), (0, 11), (0, 12), (0, 13)]
Counting
54.PNG
25
[(0, 1), (0, 2), (0, 3), (0, 4), (0, 6), (0, 7), (0, 8), (0, 9), (0, 10), (0, 11), (0, 12), (0, 13), (0, 14), (0, 15), (0, 16), (0, 17), (0, 19), (0, 20), (0, 21), (0, 22), (0, 23), (0, 24), (0, 25), (4, 5), (17, 18)]
Counting
55.PNG
27
[(0, 1), (0, 2), (0, 3), (0, 4), (0, 5), (0, 6), (0, 7), (0, 8), (0, 9), (0, 10), (0, 11), (0, 12), (0, 13), (0, 14), (0, 15), (0, 16), (0, 17), (0, 18), (0, 20), (0, 21), (0, 22), (0, 23), (0, 24), (0, 25), (0, 26), (0, 27), (18, 19)]
Counting
58.PNG
21
[(0, 1), (0, 6), (1, 2), (2, 3), (3, 4), (4, 5), (6, 7), (6, 8), (6, 9), (6, 10), (6, 11), (6, 12), (6, 13), (6, 14), (6, 15), (6, 16), (6, 17), (6, 18), (6, 19), (6, 20), (6, 21)]
Counting
59.PNG
42
[(0, 1), (0, 2), (0, 3), (0, 4), (4, 5), (4, 6), (4, 7), (4, 8), (4, 9), (4, 10), (4, 11), (4, 12), (4, 13), (4, 14), (4, 15), (4, 16), (4, 17), (4, 18), (4, 19), (4, 20), (4, 21), (4, 22), (4, 23), (4, 24), (4, 25), (4, 26), (4, 27), (4, 28), (4, 29), (4, 30), (4, 31), (4, 32), (4, 33), (4, 34), (4, 35), (4, 36), (4, ...
Counting
61.PNG
39
[(0, 1), (0, 2), (0, 3), (0, 4), (0, 5), (0, 6), (6, 7), (6, 8), (6, 9), (6, 10), (6, 11), (6, 12), (6, 13), (6, 14), (6, 15), (6, 16), (6, 17), (6, 18), (6, 19), (6, 20), (6, 21), (6, 22), (6, 23), (6, 24), (6, 25), (6, 26), (6, 27), (6, 28), (6, 29), (6, 30), (6, 31), (6, 32), (6, 33), (6, 34), (6, 35), (6, 36), (6, ...
Counting
62.PNG
22
[(0, 1), (0, 5), (0, 6), (0, 7), (0, 8), (0, 9), (0, 10), (0, 11), (0, 12), (0, 13), (0, 14), (0, 15), (0, 16), (0, 17), (0, 18), (0, 19), (0, 20), (0, 21), (0, 22), (1, 2), (2, 3), (3, 4)]
Counting
64.PNG
43
[(0, 1), (0, 8), (0, 9), (0, 10), (0, 11), (1, 2), (1, 3), (1, 4), (1, 5), (1, 6), (1, 7), (11, 12), (11, 13), (11, 14), (11, 15), (11, 16), (11, 17), (11, 18), (11, 19), (11, 20), (11, 21), (11, 22), (11, 23), (11, 24), (11, 25), (11, 26), (11, 27), (11, 28), (11, 29), (11, 30), (11, 31), (11, 32), (11, 33), (11, 34),...
Counting
66.PNG
7
[(0, 1), (1, 2), (2, 3), (3, 4), (4, 5), (5, 6), (6, 7)]
Counting
69.PNG
33
[(0, 1), (0, 2), (0, 3), (0, 7), (0, 13), (0, 16), (0, 17), (0, 18), (0, 25), (3, 4), (3, 5), (3, 6), (7, 8), (7, 9), (9, 10), (9, 11), (9, 12), (13, 14), (13, 15), (18, 19), (18, 20), (18, 21), (18, 22), (18, 23), (18, 24), (25, 26), (25, 27), (25, 28), (25, 29), (25, 30), (25, 31), (25, 32), (25, 33)]
Counting
70.PNG
34
[(0, 1), (0, 2), (0, 3), (0, 4), (4, 5), (4, 6), (4, 7), (4, 8), (4, 9), (4, 10), (4, 11), (4, 12), (4, 13), (4, 14), (4, 15), (4, 16), (4, 17), (4, 18), (4, 19), (4, 20), (4, 21), (4, 22), (4, 23), (4, 24), (4, 25), (4, 26), (4, 27), (4, 28), (4, 29), (4, 30), (4, 31), (4, 32), (4, 33), (4, 34)]
Counting
74.PNG
45
[(0, 1), (0, 8), (0, 9), (0, 13), (0, 14), (0, 30), (1, 2), (1, 3), (1, 4), (1, 5), (1, 6), (1, 7), (9, 10), (9, 11), (9, 12), (14, 15), (14, 16), (14, 17), (14, 18), (14, 19), (14, 20), (14, 21), (14, 22), (14, 23), (14, 24), (14, 25), (14, 26), (14, 27), (14, 28), (14, 29), (30, 31), (30, 32), (30, 33), (30, 34), (30...
Counting
76.PNG
11
[(0, 1), (1, 2), (1, 3), (1, 4), (1, 5), (1, 6), (1, 7), (1, 8), (1, 9), (1, 10), (1, 11)]
Counting
79.PNG
24
[(0, 1), (0, 6), (1, 2), (2, 3), (3, 4), (4, 5), (6, 7), (6, 8), (6, 9), (6, 10), (6, 11), (6, 12), (6, 13), (6, 14), (6, 15), (6, 16), (6, 17), (6, 18), (6, 19), (6, 20), (6, 21), (6, 22), (6, 23), (6, 24)]
Counting
81.PNG
20
[(0, 1), (0, 5), (1, 2), (2, 3), (3, 4), (5, 6), (5, 7), (5, 8), (5, 9), (5, 10), (5, 11), (5, 12), (5, 13), (5, 14), (5, 15), (5, 16), (5, 17), (5, 18), (5, 19), (5, 20)]
Counting
85.PNG
6
[(0, 1), (1, 2), (2, 3), (3, 4), (4, 5), (5, 6)]
Counting
9.PNG
24
[(0, 1), (0, 6), (1, 2), (2, 3), (3, 4), (4, 5), (6, 7), (6, 8), (6, 9), (6, 10), (6, 11), (6, 12), (6, 13), (6, 14), (6, 15), (6, 16), (6, 17), (6, 18), (6, 19), (6, 20), (6, 21), (6, 22), (6, 23), (6, 24)]
Counting
92.PNG
44
[(0, 1), (0, 2), (0, 6), (0, 7), (0, 29), (2, 3), (2, 4), (2, 5), (7, 8), (7, 9), (7, 10), (7, 11), (7, 12), (7, 13), (7, 14), (7, 15), (7, 16), (7, 17), (7, 18), (7, 19), (7, 20), (7, 21), (7, 22), (7, 23), (7, 24), (7, 25), (7, 26), (7, 27), (7, 28), (29, 30), (29, 31), (29, 32), (29, 33), (29, 34), (29, 35), (29, 36...
Counting
Copy of 10.PNG
33
[(0, 1), (0, 10), (0, 11), (0, 12), (0, 15), (0, 21), (0, 28), (0, 29), (0, 30), (1, 2), (1, 3), (1, 4), (1, 5), (1, 6), (1, 7), (1, 8), (1, 9), (12, 13), (12, 14), (15, 16), (15, 20), (16, 17), (16, 18), (16, 19), (21, 22), (21, 23), (21, 24), (21, 25), (21, 26), (21, 27), (30, 31), (30, 32), (30, 33)]
Counting
Copy of 26.PNG
41
[(0, 1), (0, 2), (0, 3), (0, 5), (0, 8), (0, 13), (0, 14), (0, 17), (0, 18), (0, 21), (0, 27), (0, 28), (0, 32), (0, 33), (0, 37), (0, 38), (3, 4), (5, 6), (6, 7), (8, 9), (8, 10), (8, 11), (8, 12), (14, 15), (14, 16), (18, 19), (19, 20), (21, 22), (21, 23), (21, 24), (24, 25), (25, 26), (28, 29), (29, 30), (30, 31), (...
Counting
Copy of 37.PNG
27
[(0, 1), (0, 2), (0, 3), (0, 4), (0, 5), (0, 6), (0, 9), (0, 14), (0, 15), (0, 16), (0, 17), (0, 20), (0, 21), (0, 22), (0, 23), (0, 24), (6, 7), (7, 8), (9, 10), (9, 11), (9, 13), (11, 12), (17, 18), (17, 19), (24, 25), (24, 26), (24, 27)]
Counting
Copy of 38.PNG
82
[(0, 1), (0, 10), (0, 16), (0, 17), (0, 21), (0, 25), (0, 29), (0, 34), (0, 37), (0, 48), (0, 50), (0, 54), (0, 59), (0, 64), (0, 69), (0, 71), (1, 2), (1, 3), (1, 4), (1, 5), (1, 6), (1, 7), (1, 8), (1, 9), (10, 11), (10, 12), (10, 14), (12, 13), (14, 15), (17, 18), (17, 19), (17, 20), (21, 22), (22, 23), (23, 24), (2...
Counting
Copy of 39.PNG
27
[(0, 1), (0, 2), (0, 3), (0, 4), (0, 5), (0, 6), (0, 7), (0, 8), (0, 9), (0, 10), (0, 11), (0, 12), (0, 13), (0, 14), (0, 15), (0, 16), (0, 17), (0, 18), (0, 19), (0, 20), (0, 21), (0, 22), (0, 23), (0, 24), (0, 25), (0, 27), (25, 26)]
Counting
Copy of 41.PNG
25
[(0, 1), (0, 2), (0, 3), (0, 4), (0, 5), (0, 6), (0, 7), (0, 8), (0, 9), (0, 10), (0, 11), (0, 12), (0, 13), (0, 14), (0, 15), (0, 16), (0, 17), (0, 18), (0, 19), (0, 20), (0, 21), (0, 22), (0, 24), (22, 23), (24, 25)]
Counting
Copy of 45.PNG
12
[(0, 1), (0, 2), (0, 3), (0, 4), (0, 5), (0, 6), (0, 7), (0, 8), (0, 9), (0, 10), (0, 11), (0, 12)]
Counting
Copy of 47.PNG
41
[(0, 1), (0, 2), (0, 3), (0, 4), (0, 7), (0, 11), (0, 17), (0, 18), (0, 21), (0, 25), (0, 28), (0, 32), (0, 33), (0, 38), (0, 40), (0, 41), (4, 5), (5, 6), (7, 8), (7, 9), (7, 10), (11, 12), (11, 13), (11, 16), (13, 14), (14, 15), (18, 19), (18, 20), (21, 22), (22, 23), (23, 24), (25, 26), (26, 27), (28, 29), (29, 30),...
Counting
Copy of 57.PNG
13
[(0, 1), (0, 6), (0, 9), (1, 2), (1, 3), (3, 4), (3, 5), (6, 7), (6, 8), (9, 10), (9, 12), (10, 11), (12, 13)]
Counting
Copy of 63(1).PNG
12
[(0, 1), (0, 2), (0, 3), (0, 4), (0, 5), (0, 6), (0, 7), (0, 8), (0, 9), (0, 10), (0, 11), (0, 12)]
Counting
Copy of 65.PNG
27
[(0, 1), (0, 6), (0, 9), (0, 12), (0, 16), (0, 17), (0, 18), (0, 19), (0, 20), (0, 21), (0, 22), (0, 23), (0, 24), (0, 25), (0, 26), (0, 27), (1, 2), (1, 3), (1, 4), (4, 5), (6, 7), (7, 8), (9, 10), (9, 11), (12, 13), (12, 14), (12, 15)]
Counting
Copy of 67.PNG
11
[(0, 1), (0, 7), (1, 2), (1, 6), (2, 3), (2, 4), (4, 5), (7, 8), (7, 10), (8, 9), (10, 11)]
Counting
Copy of 68.PNG
80
[(0, 1), (0, 2), (0, 5), (0, 16), (0, 21), (0, 25), (0, 30), (0, 35), (0, 37), (0, 41), (0, 51), (0, 56), (0, 59), (0, 65), (0, 69), (0, 73), (2, 3), (2, 4), (5, 6), (5, 7), (5, 8), (5, 9), (5, 10), (5, 11), (5, 12), (5, 13), (5, 14), (5, 15), (16, 17), (16, 18), (16, 19), (19, 20), (21, 22), (22, 23), (23, 24), (25, 2...
Counting
Copy of 7.PNG
11
[(0, 1), (0, 5), (0, 7), (1, 2), (1, 3), (3, 4), (5, 6), (7, 8), (7, 10), (8, 9), (10, 11)]
Counting
Copy of 75.PNG
33
[(0, 1), (0, 2), (0, 3), (0, 4), (4, 5), (4, 6), (4, 7), (4, 8), (4, 9), (4, 10), (4, 11), (4, 12), (4, 13), (4, 14), (4, 15), (4, 16), (4, 17), (4, 18), (4, 19), (4, 20), (4, 21), (4, 22), (4, 23), (4, 24), (4, 25), (4, 26), (4, 27), (4, 28), (4, 29), (4, 30), (4, 31), (4, 32), (4, 33)]
Counting
Copy of 8.PNG
13
[(0, 1), (0, 6), (0, 9), (1, 2), (1, 3), (3, 4), (3, 5), (6, 7), (6, 8), (9, 10), (9, 12), (10, 11), (12, 13)]
Counting
Copy of 84.PNG
29
[(0, 1), (0, 2), (0, 3), (0, 4), (0, 5), (0, 6), (0, 7), (0, 8), (0, 9), (0, 10), (0, 11), (0, 12), (0, 13), (0, 14), (0, 15), (0, 16), (0, 17), (0, 18), (0, 19), (0, 20), (0, 21), (0, 22), (0, 23), (0, 24), (0, 25), (0, 26), (0, 27), (0, 28), (0, 29)]
Counting
Copy of 91.PNG
12
[(0, 1), (0, 5), (1, 2), (2, 3), (2, 4), (5, 6), (5, 10), (5, 12), (6, 7), (6, 8), (6, 9), (10, 11)]

CurveBench

CurveBench is the Hard set of CurveBench, a benchmark designed to evaluate the topological reasoning capabilities of large vision-language models (VLMs).
Each sample is a hand-drawn image of disjoint curves paired with the exact rooted-tree structure that encodes the nestedness relationships visible in the image.

Sister dataset: the foundational Easy category (fewer than 6 curves, exhaustive over all rooted trees with up to 6 nodes) lives in AmirMohseni/CurveBench-Easy.


What is CurveBench?

To the best of our knowledge, CurveBench is the first dataset explicitly designed to benchmark the topological reasoning capabilities of VLMs by mapping visual containment to exact combinatorial structures. While existing datasets often evaluate semantic segmentation or geometric object detection, CurveBench isolates containment and separation as the core signals for visual reasoning.

A model is asked to infer a global topological structure — specifically, a rooted tree where:

  • each node represents a contiguous bounded region, and
  • each edge denotes the boundary curve that separates two adjacent regions (parent contains child).

The full benchmark contains 756 rigorously hand-drawn images across five categories, split across this dataset and its sister dataset:

Category Count Dataset
Easy 300 AmirMohseni/CurveBench-Easy
Polygon 199 this dataset
Topographical 100 this dataset
Maze 100 this dataset
Counting 57 this dataset

Categories (Hard set)

Category distribution

Polygon (199 images)

Following a systematic construction methodology identical to the Easy category, this subset restricts the geometries entirely to non-intersecting polygons. This tests a model's robustness to sharp angles and piecewise-linear boundaries compared to smooth, continuous Jordan curves.

Topographical (100 images)

Grounded in applied distributions, these images are directly inspired by real-world topographical maps. They mimic the natural behaviour of elevation level sets, bridging the gap between theoretical combinatorial benchmarks and practical visual understanding domains.

Maze (100 images)

Designed to stress-test long-range spatial reasoning, this category features highly convoluted, labyrinthine curves with deep nesting. The spatial entanglement makes distinguishing the interior from the exterior of a boundary visually demanding, forcing models to track complex geometric boundaries over long distances.

Counting (57 images)

This densely populated subset evaluates a model's scalability and capacity limits. Focused primarily on the volume of nested entities, these images are packed with a high number of disjoint curves, challenging the model to construct massive corresponding rooted trees without accumulating structural or logical errors.


Dataset structure

Splits

Split name Size Description
polygon 199 Piecewise-linear polygon boundaries
topographical 100 Topographic-map-inspired curves
maze 100 Labyrinthine, deeply nested curves
counting 57 High-density curve configurations
combined 456 All four categories merged

Fields

Field Type Description
image Image The hand-drawn image of disjoint curves (PNG)
category string One of "Counting", "Maze", "Polygon", "Topographical"
filename string Original filename of the image
num_nodes int32 Number of nodes in the rooted tree (including the implicit root = outer region)
tree string Stringified edge list, e.g. "[(0, 1), (0, 2), (1, 3)]" — each tuple is (parent, child) (0 = outermost/root region)

Example row

{
    "image": <PIL.Image>,
    "category": "Counting",
    "filename": "1.PNG",
    "num_nodes": 26,
    "tree": "[(0, 1), (0, 6), (1, 2), (2, 3), (3, 4), (4, 5), (6, 7), ...]",
}

To parse the tree field back to a list of tuples:

import ast

edges = ast.literal_eval(sample["tree"])  # list of (parent, child) int tuples

Ground truth generation

Ground-truth trees were produced using an automated OpenCV contour-based extraction pipeline that traces the boundary curves in each image and assembles the parent–child containment relationships into a rooted tree. Every annotation was subsequently human-verified to ensure structural correctness.

The extraction scripts are publicly available at:
https://github.com/Amir-Mohseni/CurveBench


Evaluation

Each predicted tree is compared to the ground truth using tree isomorphism (via NetworkX): a prediction receives full credit only if the predicted edge set is structurally identical to the ground-truth tree up to node relabelling. This provides a deterministic, binary evaluation metric that admits no partial credit for structurally incorrect trees.


Usage

from datasets import load_dataset

# Load a single category
ds = load_dataset("AmirMohseni/CurveBench", split="polygon")

# Load everything
ds_all = load_dataset("AmirMohseni/CurveBench", split="combined")

# Inspect a sample
sample = ds[0]
print(sample["category"])    # e.g. "Polygon"
print(sample["num_nodes"])   # e.g. 5
print(sample["tree"])        # e.g. "[(0, 1), (1, 2), ...]"
sample["image"].show()       # PIL Image

A ready-made evaluation environment (Prime Intellect Verifiers) is available at amirmohseni/curvebench-env.


Citation

TO BE ADDED

Downloads last month
52

Collection including AmirMohseni/CurveBench