CurveBench
Collection
A vision benchmark for testing whether models can infer hierarchical containment trees from images of nested, non-intersecting curves. • 7 items • Updated • 2
image imagewidth (px) 1.4k 1.56k | category stringclasses 1
value | filename stringlengths 22 22 | num_nodes int32 10 19 | tree stringlengths 81 169 | style stringclasses 1
value |
|---|---|---|---|---|---|
Convex | synthetic_0000_n12.png | 12 | [(0, 1), (0, 6), (0, 8), (1, 2), (1, 3), (1, 4), (4, 5), (6, 7), (8, 9), (8, 11), (9, 10), (11, 12)] | polygon | |
Convex | synthetic_0001_n11.png | 11 | [(0, 1), (0, 4), (0, 7), (1, 2), (1, 3), (4, 5), (4, 6), (7, 8), (8, 9), (8, 11), (9, 10)] | polygon | |
Convex | synthetic_0002_n10.png | 10 | [(0, 1), (0, 4), (0, 8), (1, 2), (2, 3), (4, 5), (4, 6), (4, 7), (8, 9), (8, 10)] | polygon | |
Convex | synthetic_0003_n14.png | 14 | [(0, 1), (0, 5), (0, 9), (1, 2), (1, 4), (2, 3), (5, 6), (5, 7), (5, 8), (9, 10), (9, 13), (10, 11), (10, 12), (13, 14)] | polygon | |
Convex | synthetic_0004_n18.png | 18 | [(0, 1), (0, 7), (0, 14), (1, 2), (1, 5), (2, 3), (2, 4), (5, 6), (7, 8), (7, 10), (7, 13), (8, 9), (10, 11), (11, 12), (14, 15), (14, 17), (15, 16), (17, 18)] | polygon | |
Convex | synthetic_0005_n12.png | 12 | [(0, 1), (0, 6), (0, 11), (1, 2), (1, 3), (1, 4), (4, 5), (6, 7), (7, 8), (7, 9), (7, 10), (11, 12)] | polygon | |
Convex | synthetic_0006_n13.png | 13 | [(0, 1), (0, 7), (0, 11), (1, 2), (1, 4), (1, 6), (2, 3), (4, 5), (7, 8), (7, 9), (7, 10), (11, 12), (12, 13)] | polygon | |
Convex | synthetic_0007_n10.png | 10 | [(0, 1), (0, 3), (0, 7), (1, 2), (3, 4), (3, 5), (3, 6), (7, 8), (7, 9), (7, 10)] | polygon | |
Convex | synthetic_0008_n16.png | 16 | [(0, 1), (0, 5), (0, 10), (1, 2), (1, 3), (1, 4), (5, 6), (5, 7), (5, 9), (7, 8), (10, 11), (10, 13), (10, 15), (11, 12), (13, 14), (15, 16)] | polygon | |
Convex | synthetic_0009_n18.png | 18 | [(0, 1), (0, 8), (0, 13), (1, 2), (1, 5), (1, 6), (2, 3), (3, 4), (6, 7), (8, 9), (8, 11), (8, 12), (9, 10), (13, 14), (13, 16), (13, 18), (14, 15), (16, 17)] | polygon | |
Convex | synthetic_0010_n10.png | 10 | [(0, 1), (0, 5), (0, 10), (1, 2), (1, 3), (1, 4), (5, 6), (5, 8), (5, 9), (6, 7)] | polygon | |
Convex | synthetic_0011_n11.png | 11 | [(0, 1), (0, 5), (0, 7), (1, 2), (1, 3), (1, 4), (5, 6), (7, 8), (7, 10), (8, 9), (10, 11)] | polygon | |
Convex | synthetic_0012_n19.png | 19 | [(0, 1), (0, 8), (0, 14), (1, 2), (1, 4), (1, 6), (2, 3), (4, 5), (6, 7), (8, 9), (8, 10), (8, 13), (10, 11), (11, 12), (14, 15), (14, 16), (14, 18), (16, 17), (18, 19)] | polygon | |
Convex | synthetic_0013_n16.png | 16 | [(0, 1), (0, 7), (0, 12), (1, 2), (1, 4), (1, 6), (2, 3), (4, 5), (7, 8), (7, 10), (7, 11), (8, 9), (12, 13), (12, 14), (12, 15), (15, 16)] | polygon | |
Convex | synthetic_0014_n16.png | 16 | [(0, 1), (0, 7), (0, 14), (1, 2), (1, 4), (1, 5), (2, 3), (5, 6), (7, 8), (7, 10), (7, 12), (8, 9), (10, 11), (12, 13), (14, 15), (14, 16)] | polygon | |
Convex | synthetic_0015_n17.png | 17 | [(0, 1), (0, 5), (0, 10), (1, 2), (1, 4), (2, 3), (5, 6), (5, 8), (6, 7), (8, 9), (10, 11), (10, 14), (10, 16), (11, 12), (12, 13), (14, 15), (16, 17)] | polygon | |
Convex | synthetic_0016_n16.png | 16 | [(0, 1), (0, 5), (0, 10), (1, 2), (1, 4), (2, 3), (5, 6), (5, 7), (5, 8), (8, 9), (10, 11), (10, 12), (10, 14), (12, 13), (14, 15), (15, 16)] | polygon | |
Convex | synthetic_0017_n11.png | 11 | [(0, 1), (0, 4), (0, 8), (1, 2), (2, 3), (4, 5), (4, 6), (6, 7), (8, 9), (8, 11), (9, 10)] | polygon | |
Convex | synthetic_0018_n16.png | 16 | [(0, 1), (0, 6), (0, 11), (1, 2), (1, 3), (1, 4), (4, 5), (6, 7), (6, 8), (6, 9), (9, 10), (11, 12), (11, 15), (11, 16), (12, 13), (13, 14)] | polygon | |
Convex | synthetic_0019_n10.png | 10 | [(0, 1), (0, 4), (0, 8), (1, 2), (1, 3), (4, 5), (4, 6), (4, 7), (8, 9), (8, 10)] | polygon | |
Convex | synthetic_0020_n14.png | 14 | [(0, 1), (0, 6), (0, 12), (1, 2), (1, 3), (1, 4), (4, 5), (6, 7), (6, 9), (6, 10), (7, 8), (10, 11), (12, 13), (12, 14)] | polygon | |
Convex | synthetic_0021_n17.png | 17 | [(0, 1), (0, 6), (0, 13), (1, 2), (1, 3), (3, 4), (3, 5), (6, 7), (6, 10), (6, 11), (7, 8), (7, 9), (11, 12), (13, 14), (13, 15), (15, 16), (15, 17)] | polygon | |
Convex | synthetic_0022_n10.png | 10 | [(0, 1), (0, 2), (0, 6), (2, 3), (2, 4), (2, 5), (6, 7), (6, 10), (7, 8), (8, 9)] | polygon | |
Convex | synthetic_0023_n13.png | 13 | [(0, 1), (0, 5), (0, 9), (1, 2), (2, 3), (3, 4), (5, 6), (5, 8), (6, 7), (9, 10), (9, 13), (10, 11), (11, 12)] | polygon | |
Convex | synthetic_0024_n15.png | 15 | [(0, 1), (0, 6), (0, 12), (1, 2), (1, 3), (1, 4), (4, 5), (6, 7), (6, 9), (6, 10), (7, 8), (10, 11), (12, 13), (12, 14), (14, 15)] | polygon | |
Convex | synthetic_0025_n11.png | 11 | [(0, 1), (0, 2), (0, 8), (2, 3), (2, 5), (2, 6), (3, 4), (6, 7), (8, 9), (8, 10), (8, 11)] | polygon | |
Convex | synthetic_0026_n14.png | 14 | [(0, 1), (0, 7), (0, 13), (1, 2), (1, 4), (1, 5), (2, 3), (5, 6), (7, 8), (7, 11), (7, 12), (8, 9), (9, 10), (13, 14)] | polygon | |
Convex | synthetic_0027_n17.png | 17 | [(0, 1), (0, 6), (0, 11), (1, 2), (1, 3), (1, 4), (4, 5), (6, 7), (6, 8), (6, 9), (9, 10), (11, 12), (11, 16), (12, 13), (12, 14), (12, 15), (16, 17)] | polygon | |
Convex | synthetic_0028_n10.png | 10 | [(0, 1), (0, 7), (0, 10), (1, 2), (1, 4), (1, 5), (2, 3), (5, 6), (7, 8), (7, 9)] | polygon | |
Convex | synthetic_0029_n13.png | 13 | [(0, 1), (0, 4), (0, 9), (1, 2), (1, 3), (4, 5), (4, 6), (4, 8), (6, 7), (9, 10), (9, 12), (9, 13), (10, 11)] | polygon | |
Convex | synthetic_0030_n15.png | 15 | [(0, 1), (0, 8), (0, 12), (1, 2), (1, 5), (2, 3), (2, 4), (5, 6), (5, 7), (8, 9), (8, 10), (8, 11), (12, 13), (12, 14), (14, 15)] | polygon | |
Convex | synthetic_0031_n14.png | 14 | [(0, 1), (0, 6), (0, 9), (1, 2), (1, 4), (1, 5), (2, 3), (6, 7), (6, 8), (9, 10), (9, 12), (9, 14), (10, 11), (12, 13)] | polygon | |
Convex | synthetic_0032_n15.png | 15 | [(0, 1), (0, 6), (0, 9), (1, 2), (1, 4), (1, 5), (2, 3), (6, 7), (6, 8), (9, 10), (9, 12), (9, 14), (10, 11), (12, 13), (14, 15)] | polygon | |
Convex | synthetic_0033_n12.png | 12 | [(0, 1), (0, 7), (0, 8), (1, 2), (1, 3), (1, 5), (3, 4), (5, 6), (8, 9), (8, 10), (8, 12), (10, 11)] | polygon | |
Convex | synthetic_0034_n14.png | 14 | [(0, 1), (0, 8), (0, 11), (1, 2), (1, 4), (1, 6), (2, 3), (4, 5), (6, 7), (8, 9), (8, 10), (11, 12), (11, 13), (13, 14)] | polygon | |
Convex | synthetic_0035_n13.png | 13 | [(0, 1), (0, 6), (0, 10), (1, 2), (1, 3), (1, 5), (3, 4), (6, 7), (6, 8), (6, 9), (10, 11), (10, 12), (10, 13)] | polygon | |
Convex | synthetic_0036_n15.png | 15 | [(0, 1), (0, 3), (0, 9), (1, 2), (3, 4), (3, 5), (3, 7), (5, 6), (7, 8), (9, 10), (9, 12), (9, 14), (10, 11), (12, 13), (14, 15)] | polygon | |
Convex | synthetic_0037_n12.png | 12 | [(0, 1), (0, 4), (0, 9), (1, 2), (1, 3), (4, 5), (4, 6), (4, 8), (6, 7), (9, 10), (9, 11), (9, 12)] | polygon | |
Convex | synthetic_0038_n13.png | 13 | [(0, 1), (0, 6), (0, 11), (1, 2), (1, 4), (1, 5), (2, 3), (6, 7), (6, 8), (6, 9), (9, 10), (11, 12), (12, 13)] | polygon | |
Convex | synthetic_0039_n15.png | 15 | [(0, 1), (0, 5), (0, 11), (1, 2), (2, 3), (2, 4), (5, 6), (5, 7), (5, 9), (7, 8), (9, 10), (11, 12), (11, 14), (11, 15), (12, 13)] | polygon | |
Convex | synthetic_0040_n11.png | 11 | [(0, 1), (0, 5), (0, 9), (1, 2), (1, 4), (2, 3), (5, 6), (5, 8), (6, 7), (9, 10), (9, 11)] | polygon | |
Convex | synthetic_0041_n17.png | 17 | [(0, 1), (0, 6), (0, 13), (1, 2), (1, 3), (1, 4), (4, 5), (6, 7), (6, 9), (6, 11), (7, 8), (9, 10), (11, 12), (13, 14), (13, 17), (14, 15), (15, 16)] | polygon | |
Convex | synthetic_0042_n12.png | 12 | [(0, 1), (0, 5), (0, 9), (1, 2), (1, 3), (1, 4), (5, 6), (5, 7), (5, 8), (9, 10), (9, 11), (9, 12)] | polygon | |
Convex | synthetic_0043_n12.png | 12 | [(0, 1), (0, 6), (0, 9), (1, 2), (1, 4), (1, 5), (2, 3), (6, 7), (6, 8), (9, 10), (9, 12), (10, 11)] | polygon | |
Convex | synthetic_0044_n10.png | 10 | [(0, 1), (0, 5), (0, 6), (1, 2), (1, 3), (1, 4), (6, 7), (6, 8), (6, 9), (9, 10)] | polygon | |
Convex | synthetic_0045_n14.png | 14 | [(0, 1), (0, 6), (0, 11), (1, 2), (1, 3), (1, 4), (4, 5), (6, 7), (6, 10), (7, 8), (8, 9), (11, 12), (11, 14), (12, 13)] | polygon | |
Convex | synthetic_0046_n11.png | 11 | [(0, 1), (0, 2), (0, 7), (2, 3), (2, 4), (2, 6), (4, 5), (7, 8), (7, 9), (7, 11), (9, 10)] | polygon | |
Convex | synthetic_0047_n10.png | 10 | [(0, 1), (0, 6), (0, 8), (1, 2), (1, 4), (1, 5), (2, 3), (6, 7), (8, 9), (8, 10)] | polygon | |
Convex | synthetic_0048_n12.png | 12 | [(0, 1), (0, 5), (0, 10), (1, 2), (1, 4), (2, 3), (5, 6), (5, 7), (5, 8), (8, 9), (10, 11), (11, 12)] | polygon | |
Convex | synthetic_0049_n10.png | 10 | [(0, 1), (0, 4), (0, 7), (1, 2), (1, 3), (4, 5), (4, 6), (7, 8), (7, 9), (7, 10)] | polygon |
CurveBench-Synthetic is a procedurally generated companion to CurveBench.
Each sample is an image of non-crossing closed curves paired with the rooted containment tree that encodes nesting (root 0 = exterior).
This set isolates two synthetic geometry regimes:
| Split | Size | Description |
|---|---|---|
convex |
50 | Polygon-style / more convex closed boundaries |
non_convex |
50 | Organic / composed non-convex closed boundaries |
combined |
100 | Both regimes merged |
| Field | Type | Description |
|---|---|---|
image |
Image |
Synthetic curve image (PNG) |
category |
string |
"Convex" or "Non-convex" |
filename |
string |
Original filename |
num_nodes |
int32 |
Number of non-root regions / tree edges |
tree |
string |
Stringified edge list, e.g. "[(0, 1), (1, 2)]" — each tuple is (parent, child) |
style |
string |
Generator style tag (e.g. polygon, compose-smooth) |
from datasets import load_dataset
ds = load_dataset("AmirMohseni/CurveBench-Synthetic", split="combined")
row = ds[0]
print(row["num_nodes"], row["tree"], row["category"])
row["image"] # PIL.Image
Same answer format as CurveBench:
<answer>
N
u v
...
</answer>
N = number of non-root nodes u v means edge from parent v to child u 0 (exterior)Scoring uses rooted tree isomorphism (unordered siblings; root fixed at 0).
If you use CurveBench or CurveBench-Synthetic, please cite the CurveBench paper / collection.