|
Download README.md from NeuroSymbolicDrive/NeuroSymbolicDrive-Reasoning: direct link, hf CLI and curl.
- Browser
- Download file 4.98 kB
-
https://huggingface.co/datasets/NeuroSymbolicDrive/NeuroSymbolicDrive-Reasoning/resolve/main/README.md
- Command line
-
hf download hf://datasets/NeuroSymbolicDrive/NeuroSymbolicDrive-Reasoning/README.md
-
curl -L -o README.md https://huggingface.co/datasets/NeuroSymbolicDrive/NeuroSymbolicDrive-Reasoning/resolve/main/README.md
4.98 kB
| pretty_name: Neuro-Symbolic Drive Reasoning | |
| language: | |
| - en | |
| tags: | |
| - autonomous-driving | |
| - motion-planning | |
| - nuplan | |
| - reasoning | |
| - vision-language-action | |
| # Neuro-Symbolic Drive Reasoning | |
| This dataset accompanies *Neuro-Symbolic Drive: Rule-Grounded Faithful Reasoning for Driving VLAs*. It contains rule-grounded reasoning traces and the corresponding future ego trajectories from three planners run on nuPlan scenarios in open-loop log replay. Each planning step pairs the planner's decision with references to the camera views recorded at that step. The demonstrations provide supervision for training driving vision-language-action models to explain a decision and predict waypoints. [Paper](https://arxiv.org/abs/2606.23938) | |
| [Data generation code](https://github.com/zcxgi/nuplan-reason) · [Model inference and evaluation code](https://github.com/XiangboGaoBarry/Neural-Symbolic-Drive) · [Model checkpoint](https://huggingface.co/xiangbog/Neural-Symbolic-Drive) | |
| ## Dataset contents | |
| | Planner | Repository directory | Scenario exports | Decision captured | | |
| | --- | --- | ---: | --- | | |
| | IDM | `reasoning_idm_planner/` | 1,238 | Longitudinal control and car following | | |
| | IDM-MOBIL | `idm_mobil_planner/` | 1,231 | Car following and rule-based lane-change decisions | | |
| | PDM-Closed | `reasoning_pdm_closed_planner/` | 1,358 | Scoring candidate trajectories and selecting a proposal | | |
| Each scenario export has a three-camera JSON file (front, front-right, and front-left) and an eight-camera JSON file (surround view). The 7,654 demonstration files cover 1,318 distinct scenario tokens across 69 nuPlan scenario types. The same scenario can appear under multiple planners. | |
| ```text | |
| <planner>/reasoning_demonstrations/<planner_class>/<scenario_type>/<log_name>/<scenario_token>/ | |
| ├── <scenario_token>_3cam.json | |
| └── <scenario_token>_8cam.json | |
| ``` | |
| The planner directories also contain Hydra configurations and run summaries. Metric Parquet files are available for IDM-MOBIL and PDM-Closed. [Browse the release](https://huggingface.co/datasets/NeuroSymbolicDrive/NeuroSymbolicDrive-Reasoning/tree/main) | |
| ## Record format | |
| Each JSON file contains a list of records, one per recorded planning step. | |
| | Field | Contents | | |
| | --- | --- | | |
| | `id` | Scenario token and step index | | |
| | `images` | nuPlan camera image paths in the order of the prompt's image placeholders | | |
| | `messages` | A user prompt and an assistant target, each with `role` and `content` | | |
| The user prompt includes ego-motion history and a mission goal when available. The assistant target contains a `<REASONING>` block describing the planner's decision and a `<PLANNING>` block with ego-relative `[x, y]` waypoints in meters. The target grid is ten waypoints at 0.5-second intervals, covering five seconds. Positive `x` points forward and positive `y` points left. | |
| ## Load one example | |
| With `huggingface_hub` installed, download a single three-camera PDM-Closed demonstration file and inspect its first planning step. | |
| ```python | |
| import json | |
| from pathlib import Path | |
| from huggingface_hub import hf_hub_download | |
| path = hf_hub_download( | |
| repo_id="NeuroSymbolicDrive/NeuroSymbolicDrive-Reasoning", | |
| repo_type="dataset", | |
| filename=( | |
| "reasoning_pdm_closed_planner/reasoning_demonstrations/" | |
| "ReasoningPDMClosedPlanner/accelerating_at_crosswalk/" | |
| "2021.05.25.15.59.03_veh-30_04463_04606/" | |
| "22626235d4575261/22626235d4575261_3cam.json" | |
| ), | |
| ) | |
| step = json.loads(Path(path).read_text(encoding="utf-8"))[0] | |
| print(step["id"]) | |
| print(step["messages"][1]["content"]) | |
| ``` | |
| The camera references are relative to your local nuPlan `sensor_blobs` directory and use the form `<log_name>/<camera_channel>/<image>.jpg`. Obtain the corresponding nuPlan camera files separately and resolve the references against your local copy. [nuPlan setup guide](https://github.com/zcxgi/nuplan-reason/blob/main/docs/dataset_setup.md) | |
| ```python | |
| sensor_root = Path("/path/to/nuplan-v1.1/sensor_blobs") | |
| image_paths = [sensor_root / image for image in step["images"]] | |
| ``` | |
| To regenerate demonstrations or simulation replays, follow the simulation setup in the code repository. [Trace generation README](https://github.com/zcxgi/nuplan-reason#readme) | |
| ## Scope and source data | |
| The traces describe the behavior of the three rule-based planners in open-loop replay. The exported waypoints are planner predictions from recorded ego poses. Access to and use of the underlying nuPlan data are governed by the [nuPlan terms of use](https://www.nuscenes.org/terms-of-use). | |
| ## Citation | |
| If you use this dataset, please cite the accompanying paper. | |
| ```bibtex | |
| @article{gao2026neuro, | |
| title = {Neuro-Symbolic Drive: Rule-Grounded Faithful Reasoning for Driving VLAs}, | |
| author = {Gao, Xiangbo and Huang, Xiukun and Lu, Boyu and Zhang, Junge and | |
| Mao, Mengjie and Li, Jiachen and Xiong, Wei and Tu, Zhengzhong}, | |
| journal = {arXiv preprint arXiv:2606.23938}, | |
| year = {2026} | |
| } | |
| ``` | |