MingYang1010 commited on
Commit
9757b0d
·
1 Parent(s): 83b4ed2

feat(dataset): add evaluation annotations and semantic labels

Browse files
README.md CHANGED
@@ -14,11 +14,48 @@ tags:
14
  - benchmark
15
  - neural-symbolic
16
  - multimodal-large-language-models
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  ---
18
 
19
  <div align="center">
20
 
21
- <h1>NeSy-Route: A Neural-Symbolic Benchmark for Constrained Route Planning in Remote Sensing</h1>
22
 
23
  <p>
24
  <a href="https://mingyang1010.github.io/NeSy-Route/">
@@ -46,10 +83,28 @@ NeSy-Route is organized into three benchmark tasks for evaluating perception, sy
46
  | Task 2 | Zero-shot | 7,659 | 3,712 | 1,604 | 12,975 | Constraint-aware semantic and region reasoning |
47
  | Task 3 | Zero-shot | 6,492 | 2,705 | 1,624 | 10,821 | Constrained route planning with waypoint or trajectory outputs |
48
 
49
- Task 1 and Task 2 provide semantic constraint annotations for vector-based reasoning. Task 3 provides route-planning samples together with traversability maps, cost maps, ground-truth paths, and difficulty-level subsets.
50
 
51
  Task 2 annotated images are packaged as Parquet shards under `Task2/parquet/{easy,medium,hard}/`. Each row includes the annotated image bytes and the corresponding query, region, and difficulty metadata.
52
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
53
  ## Evaluation Code
54
 
55
  Evaluation scripts, prompt templates, and running instructions are available in the GitHub repository:
 
14
  - benchmark
15
  - neural-symbolic
16
  - multimodal-large-language-models
17
+ configs:
18
+ - config_name: task2
19
+ data_files:
20
+ - split: easy
21
+ path: Task2/parquet/easy/*.parquet
22
+ - split: medium
23
+ path: Task2/parquet/medium/*.parquet
24
+ - split: hard
25
+ path: Task2/parquet/hard/*.parquet
26
+ - config_name: task3
27
+ data_files:
28
+ - split: easy
29
+ path: Task3/parquet/easy/*.parquet
30
+ - split: medium
31
+ path: Task3/parquet/medium/*.parquet
32
+ - split: hard
33
+ path: Task3/parquet/hard/*.parquet
34
+ - config_name: task2-evaluation
35
+ data_files:
36
+ - split: easy
37
+ path: Task2/evaluation/easy.parquet
38
+ - split: medium
39
+ path: Task2/evaluation/medium.parquet
40
+ - split: hard
41
+ path: Task2/evaluation/hard.parquet
42
+ - config_name: task3-evaluation
43
+ data_files:
44
+ - split: easy
45
+ path: Task3/evaluation/easy.parquet
46
+ - split: medium
47
+ path: Task3/evaluation/medium.parquet
48
+ - split: hard
49
+ path: Task3/evaluation/hard.parquet
50
+ - config_name: task3-labels
51
+ data_files:
52
+ - split: train
53
+ path: Task3/labels/labels.parquet
54
  ---
55
 
56
  <div align="center">
57
 
58
+ <h1>NeSy-Route: A Neuro-Symbolic Benchmark for Constrained Route Planning in Remote Sensing</h1>
59
 
60
  <p>
61
  <a href="https://mingyang1010.github.io/NeSy-Route/">
 
83
  | Task 2 | Zero-shot | 7,659 | 3,712 | 1,604 | 12,975 | Constraint-aware semantic and region reasoning |
84
  | Task 3 | Zero-shot | 6,492 | 2,705 | 1,624 | 10,821 | Constrained route planning with waypoint or trajectory outputs |
85
 
86
+ Task 1 and Task 2 provide semantic constraint annotations for vector-based reasoning. Task 3 provides route-planning samples with endpoint annotations, optimal ground-truth trajectories, trajectory visualizations, and difficulty-level subsets.
87
 
88
  Task 2 annotated images are packaged as Parquet shards under `Task2/parquet/{easy,medium,hard}/`. Each row includes the annotated image bytes and the corresponding query, region, and difficulty metadata.
89
 
90
+ Task 3 samples are packaged as Parquet shards under `Task3/parquet/{easy,medium,hard}/`. Each row includes the original remote-sensing image, query and endpoint metadata, the optimal ground-truth trajectory, and its visualization.
91
+
92
+ Lightweight scoring annotations are available under `Task2/evaluation/` and `Task3/evaluation/`. Task 3 also provides 3,109 deduplicated semantic masks in a single `Task3/labels/labels.parquet` file. The evaluation code combines each mask with the sample-specific traversability and cost vectors to reconstruct the maps used by AR, CR, and VR.
93
+
94
+ ## Loading the Data
95
+
96
+ ```python
97
+ from datasets import load_dataset
98
+
99
+ task2 = load_dataset("Ming1010/NeSy-Route", "task2")
100
+ task3 = load_dataset("Ming1010/NeSy-Route", "task3")
101
+
102
+ # Lightweight ground truth used by the public scorer
103
+ task2_eval = load_dataset("Ming1010/NeSy-Route", "task2-evaluation")
104
+ task3_eval = load_dataset("Ming1010/NeSy-Route", "task3-evaluation")
105
+ task3_labels = load_dataset("Ming1010/NeSy-Route", "task3-labels", split="train")
106
+ ```
107
+
108
  ## Evaluation Code
109
 
110
  Evaluation scripts, prompt templates, and running instructions are available in the GitHub repository:
Task2/evaluation/easy.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8106bc220e3109e256211494111fa76df6832804775001913d40a4844f48341
3
+ size 40369
Task2/evaluation/hard.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e1df1b1ef93465b43636811abcb1ba39ee910c132256d0d635a05a5744abf1b
3
+ size 17510
Task2/evaluation/manifest.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "task": "Task2",
3
+ "purpose": "Lightweight ground-truth annotations for evaluation; no RGB or visualization payloads.",
4
+ "columns": [
5
+ "sample_id",
6
+ "query_id",
7
+ "traverse_vector",
8
+ "cost_vector",
9
+ "region_vector"
10
+ ],
11
+ "splits": {
12
+ "easy": {
13
+ "file": "easy.parquet",
14
+ "num_rows": 7659,
15
+ "size_bytes": 40369
16
+ },
17
+ "medium": {
18
+ "file": "medium.parquet",
19
+ "num_rows": 3712,
20
+ "size_bytes": 33618
21
+ },
22
+ "hard": {
23
+ "file": "hard.parquet",
24
+ "num_rows": 1604,
25
+ "size_bytes": 17510
26
+ }
27
+ }
28
+ }
Task2/evaluation/medium.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0d3b286130e739ecb39802b4dc6501cc888c5ac636482862f85a772ea5e0fe69
3
+ size 33618
Task3/evaluation/easy.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:09cd730d8a9fc2f7088ef628997b9456dd794170347d79d3f514cc3183706bde
3
+ size 11065606
Task3/evaluation/hard.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8decfb223ee705339f3f31e5898b469129d80ed92702796831b0da11a7dc904d
3
+ size 3494475
Task3/evaluation/manifest.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "task": "Task3",
3
+ "purpose": "Lightweight ground-truth annotations for evaluation; no RGB or visualization payloads.",
4
+ "columns": [
5
+ "sample_id",
6
+ "query_id",
7
+ "source_image_name",
8
+ "traverse_vector",
9
+ "cost_vector",
10
+ "start_point",
11
+ "end_point",
12
+ "gt_trajectory"
13
+ ],
14
+ "splits": {
15
+ "easy": {
16
+ "file": "easy.parquet",
17
+ "num_rows": 6492,
18
+ "size_bytes": 11065606
19
+ },
20
+ "medium": {
21
+ "file": "medium.parquet",
22
+ "num_rows": 2705,
23
+ "size_bytes": 5325749
24
+ },
25
+ "hard": {
26
+ "file": "hard.parquet",
27
+ "num_rows": 1624,
28
+ "size_bytes": 3494475
29
+ }
30
+ }
31
+ }
Task3/evaluation/medium.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:662f97de4e5f049c07d6e554cfbac8425f031d15e19fac6e918edfb3a4047623
3
+ size 5325749
Task3/labels/labels.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:75183ae496cb73e93d049c0fd8f8c3565ac1f46b18c886e1df4014f8da9eeaae
3
+ size 90175607
Task3/labels/manifest.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "num_labels": 3109,
3
+ "file": "labels.parquet",
4
+ "size_bytes": 90175607,
5
+ "sha256": "75183ae496cb73e93d049c0fd8f8c3565ac1f46b18c886e1df4014f8da9eeaae",
6
+ "encoding": "lossless 8-bit PNG stored in a Hugging Face Image feature",
7
+ "join_key": "source_image_name",
8
+ "coordinate_format": "label[y, x]",
9
+ "class_names": {
10
+ "0": "Empty",
11
+ "1": "Bareland",
12
+ "2": "Rangeland",
13
+ "3": "Developed space",
14
+ "4": "Road",
15
+ "5": "Tree",
16
+ "6": "Water",
17
+ "7": "Agriculture land",
18
+ "8": "Building"
19
+ }
20
+ }