Add Open-Vocabulary InstructNuPlan annotations (JSONL shards) and dataset card
Browse files- README.md +120 -2
- gpt_negative_prompts-00000.jsonl.gz +3 -0
- gpt_positive_prompts-00000.jsonl.gz +3 -0
- gpt_responses-00000.jsonl.gz +3 -0
- meta_prompts-00000.jsonl.gz +3 -0
- template_instructions-00000.jsonl.gz +3 -0
README.md
CHANGED
|
@@ -1,3 +1,121 @@
|
|
| 1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: imotion-llm-derived-annotations
|
| 4 |
+
pretty_name: Open-Vocabulary InstructNuPlan
|
| 5 |
+
task_categories:
|
| 6 |
+
- text-generation
|
| 7 |
+
- robotics
|
| 8 |
+
language:
|
| 9 |
+
- en
|
| 10 |
+
tags:
|
| 11 |
+
- autonomous-driving
|
| 12 |
+
- motion-planning
|
| 13 |
+
- instruction-following
|
| 14 |
+
- nuplan
|
| 15 |
+
- trajectory-generation
|
| 16 |
+
size_categories:
|
| 17 |
+
- 10K<n<100K
|
| 18 |
+
configs:
|
| 19 |
+
- config_name: gpt_responses
|
| 20 |
+
data_files: gpt_responses-*.jsonl.gz
|
| 21 |
+
- config_name: template_instructions
|
| 22 |
+
data_files: template_instructions-*.jsonl.gz
|
| 23 |
+
- config_name: meta_prompts
|
| 24 |
+
data_files: meta_prompts-*.jsonl.gz
|
| 25 |
+
- config_name: positive_prompts
|
| 26 |
+
data_files: gpt_positive_prompts-*.jsonl.gz
|
| 27 |
+
- config_name: negative_prompts
|
| 28 |
+
data_files: gpt_negative_prompts-*.jsonl.gz
|
| 29 |
+
---
|
| 30 |
|
| 31 |
+
# Open-Vocabulary InstructNuPlan
|
| 32 |
+
|
| 33 |
+
Safety-aware, open-vocabulary driving instruction annotations over **nuPlan**
|
| 34 |
+
scenarios, from the WACV 2026 paper
|
| 35 |
+
[**iMotion-LLM: Instruction-Conditioned Trajectory Generation**](https://openaccess.thecvf.com/content/WACV2026/html/Felemban_iMotion-LLM_Instruction-Conditioned_Trajectory_Generation_WACV_2026_paper.html).
|
| 36 |
+
|
| 37 |
+
> **This dataset contains annotations only — no nuPlan sensor data, maps or logs.**
|
| 38 |
+
> Every record is keyed to a nuPlan scenario token. To use it you must obtain
|
| 39 |
+
> nuPlan yourself from <https://www.nuscenes.org/nuplan> under Motional's own
|
| 40 |
+
> license and terms.
|
| 41 |
+
|
| 42 |
+
## Why this exists
|
| 43 |
+
|
| 44 |
+
The instruction/reasoning pairs here are **LLM-generated output**. They were
|
| 45 |
+
produced by prompting a GPT model once, per scenario, and are therefore *not*
|
| 46 |
+
reproducible by re-running the pipeline: generation is non-deterministic and
|
| 47 |
+
costs API credits. Publishing them is the only way to reproduce the paper's
|
| 48 |
+
open-vocabulary numbers exactly.
|
| 49 |
+
|
| 50 |
+
Everything else in the paper's preprocessing chain **is** reproducible from code
|
| 51 |
+
and is deliberately *not* published here — see "What is not here".
|
| 52 |
+
|
| 53 |
+
## Coverage
|
| 54 |
+
|
| 55 |
+
14 nuPlan scenario types:
|
| 56 |
+
|
| 57 |
+
`accelerating_at_crosswalk`, `behind_bike`, `behind_long_vehicle`,
|
| 58 |
+
`following_lane_with_lead`, `following_lane_without_lead`,
|
| 59 |
+
`following_lane_with_slow_lead`, `starting_protected_cross_turn`,
|
| 60 |
+
`starting_protected_noncross_turn`, `starting_unprotected_cross_turn`,
|
| 61 |
+
`starting_unprotected_noncross_turn`, `stopping_with_lead`,
|
| 62 |
+
`traversing_crosswalk`, `traversing_intersection`,
|
| 63 |
+
`waiting_for_pedestrian_to_cross`
|
| 64 |
+
|
| 65 |
+
## Configs
|
| 66 |
+
|
| 67 |
+
| Config | Rows | What it is |
|
| 68 |
+
|---|---|---|
|
| 69 |
+
| `gpt_responses` | 7,119 | **The core dataset.** Per scenario: the prompt sent to the LLM and its returned instructions, each with `reasoning`, `safe` / `safe_instruction` flags and a `category` (e.g. "Without Context"). |
|
| 70 |
+
| `template_instructions` | 88,133 | Template-rendered instruction/reasoning/decision records used to condition the trajectory model (`Instruction`, `Reasoning`, `Decision`, `Label`, `Direction_cls`). |
|
| 71 |
+
| `meta_prompts` | 7,131 | Structured scenario metadata: `scenario_type`, `situation`, `what_safe_to_do`, `what_unsafe_to_do`. |
|
| 72 |
+
| `positive_prompts` / `negative_prompts` | 7,131 each | Raw prompt text for the safe / unsafe instruction arms, kept for provenance. |
|
| 73 |
+
|
| 74 |
+
Every row carries `_scene_id` (nuPlan token), `_source` (original relative path)
|
| 75 |
+
and, where a source file held several records, `_line`.
|
| 76 |
+
|
| 77 |
+
## Loading
|
| 78 |
+
|
| 79 |
+
```python
|
| 80 |
+
from datasets import load_dataset
|
| 81 |
+
|
| 82 |
+
ds = load_dataset("KAUST/InstructNuPlan", "gpt_responses", split="train")
|
| 83 |
+
print(ds[0]["content"][0]["data"][0]["instructions"][0])
|
| 84 |
+
```
|
| 85 |
+
|
| 86 |
+
## Format note
|
| 87 |
+
|
| 88 |
+
The original release was ~43,000 small `.txt` / `.json` files. They are packed
|
| 89 |
+
here as gzipped JSONL so the dataset loads in one pass instead of tens of
|
| 90 |
+
thousands of HTTP requests. `_source` preserves the original path of every
|
| 91 |
+
record, so the on-disk layout is fully recoverable.
|
| 92 |
+
|
| 93 |
+
## What is not here (reproducible from code)
|
| 94 |
+
|
| 95 |
+
Deliberately omitted, because the released code regenerates it from nuPlan:
|
| 96 |
+
|
| 97 |
+
- `npz` scenario tensor caches (~912 GiB)
|
| 98 |
+
- rendered scenario figures (`.png`)
|
| 99 |
+
|
| 100 |
+
See the [code repository](https://github.com/Vision-CAIR/iMotion-LLM) for the
|
| 101 |
+
preprocessing and prompt-construction scripts.
|
| 102 |
+
|
| 103 |
+
## Citation
|
| 104 |
+
|
| 105 |
+
```bibtex
|
| 106 |
+
@inproceedings{Felemban_2026_WACV,
|
| 107 |
+
author = {Felemban, Abdulwahab and Hroub, Nussair and Ding, Jian and Abdelrahman, Eslam and Shen, Xiaoqian and Mohamed, Abduallah and Elhoseiny, Mohamed},
|
| 108 |
+
title = {iMotion-LLM: Instruction-Conditioned Trajectory Generation},
|
| 109 |
+
booktitle = {Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision (WACV)},
|
| 110 |
+
month = {March},
|
| 111 |
+
year = {2026},
|
| 112 |
+
pages = {2710-2720}
|
| 113 |
+
}
|
| 114 |
+
```
|
| 115 |
+
|
| 116 |
+
## Licensing
|
| 117 |
+
|
| 118 |
+
These annotations are released for research use as a derived work. The
|
| 119 |
+
underlying nuPlan data remains subject to Motional's license, which you must
|
| 120 |
+
accept separately. Redistribution of nuPlan sensor data, maps or logs is **not**
|
| 121 |
+
granted by this repository.
|
gpt_negative_prompts-00000.jsonl.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c96723fe6af924d8ffc7e304b4ecf9f45608ae502bdd443eb8ca73a66f8cd340
|
| 3 |
+
size 314406
|
gpt_positive_prompts-00000.jsonl.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:79ae0b9e09da529acac3f38b08d5baaa7eaf33d7d96aa6ec0c85ed770e6ad253
|
| 3 |
+
size 266021
|
gpt_responses-00000.jsonl.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0434ec5f18a185725fb50f65ba049492d39990534f298453acb001826ed7d790
|
| 3 |
+
size 6226935
|
meta_prompts-00000.jsonl.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0b9e8fed8021d0b8bd7702532a132742fa6531802c517b54f18b56515a2f018e
|
| 3 |
+
size 187638
|
template_instructions-00000.jsonl.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3c6250c9621817c287283ab65bc8dbc707997c5d8bdf533e12acf79bf7a2e2fb
|
| 3 |
+
size 996024
|