Datasets:
Formats:
parquet
Languages:
English
Size:
1K - 10K
ArXiv:
Tags:
visual-question-answering
multimodal
reinforcement-learning
visual-reasoning
spatial-reasoning
transit-maps
License:
Update dataset card: fix title, composition, license, results, ICLR 2026 citation
Browse files123456 unmodified lines1213141516171819162021182223202122242524262728292630312832333034353637383233343536394038414243444546474849505152534041425455445657584659606148626364516566676869545556575859606162636465666768697071727374757677787970718172738374757677787980818283848586878885868788928990919592939498999596979899100101102103104101105---license: apache-2.0task_categories:- image-text-to-text- visual-question-answering6 unmodified lines- visual-reasoning- spatial-reasoning- transit-mapspretty_name: ReasonMap-Trainsize_categories:- 1K<n<10K---
# ReasonMap-Plus Dataset# ReasonMap-Train
The **ReasonMap-Plus** dataset is an extended dataset introduced in the paper [RewardMap: Tackling Sparse Rewards in Fine-grained Visual Reasoning via Multi-Stage Reinforcement Learning](https://huggingface.co/papers/2510.02240). It addresses the challenge of sparse rewards in fine-grained visual reasoning for multimodal large language models (MLLMs), particularly in structured and information-rich settings like transit maps. ReasonMap-Plus achieves this by introducing dense reward signals through Visual Question Answering (VQA) tasks, which enables effective cold-start training of fine-grained visual understanding skills. This repository contains the `ReasonMap-Plus` data for evaluation and `ReasonMap-Train` for RewardMap training.**ReasonMap-Train** is the training data for **[ICLR 2026] [RewardMap: Tackling Sparse Rewards in Fine-grained Visual Reasoning via Multi-Stage Reinforcement Learning](https://huggingface.co/papers/2510.02240)**. It combines the training splits of [ReasonMap](https://huggingface.co/datasets/FSCCS/ReasonMap) (route planning) and [ReasonMap-Plus](https://huggingface.co/datasets/FSCCS/ReasonMap-Plus) (counting and true/false questions) in one table, ready for multi-stage RL.
- **Paper:** [RewardMap: Tackling Sparse Rewards in Fine-grained Visual Reasoning via Multi-Stage Reinforcement Learning](https://huggingface.co/papers/2510.02240)- **Project Page:** https://fscdc.github.io/RewardMap- **Code:** https://github.com/fscdc/RewardMap[π Paper](https://huggingface.co/papers/2510.02240) | [π Project page](https://fscdc.github.io/RewardMap) | [π» Code](https://github.com/fscdc/RewardMap) | [πΊοΈ ReasonMap](https://huggingface.co/datasets/FSCCS/ReasonMap) | [β ReasonMap-Plus](https://huggingface.co/datasets/FSCCS/ReasonMap-Plus)
## Sample Usage<p align="center"><img src="https://github.com/fscdc/RewardMap/raw/main/assets/rewardmap.svg" width="95%" alt="Overview of RewardMap"></p>
To get started with the `ReasonMap-Plus` dataset, follow these steps to install dependencies, download the data, and prepare it for training.## Dataset structure
### 1. Install dependenciesOne `train` split with 3,266 samples on maps from 19 cities in 6 countries. None of these cities appear in the ReasonMap or ReasonMap-Plus test sets.
If you face any issues with the installation, please feel free to open an issue on the GitHub repository.| Source | `type` | Samples ||---|---|---|| ReasonMap `train` | `planning` (route planning) | 696 || ReasonMap-Plus `train` | `Counting1`, `Counting2`, `Counting3`, `TorF1`, `TorF2` | 2,570 |
```bashpip install -r requirements.txt```
### 2. Download the datasetRewardMap uses these types for its multi-stage curriculum, which goes from simple perception (true/false, counting) to complex reasoning (route planning). The question types are described on the [ReasonMap-Plus](https://huggingface.co/datasets/FSCCS/ReasonMap-Plus) page.
You can download [ReasonMap-Plus](https://huggingface.co/datasets/FSCCS/ReasonMap-Plus) (for evaluation) and [ReasonMap-Train](https://huggingface.co/datasets/FSCCS/ReasonMap-Train) (for RewardMap training) from Hugging Face or by running the following command:| Field | Description ||---|---|| `country`, `city` | Location of the map || `station_1`, `station_2` | Stations the question refers to || `figure` | The transit map, as a base64-encoded PNG || `question` | Question text || `type` | Question type (table above) || `answer` | Integer label for ReasonMap-Plus questions; `-1` for `planning`, which is scored against the station table || `difficulty_question` | `easy` / `middle` / `hard` for `planning`; `not sure` for ReasonMap-Plus questions || `difficulty_city` | Map difficulty: `easy`, `middle` or `hard` || `city_line_count`, `city_transfer_count`, `question_transfer_count` | Number of lines and transfer stations in the city, and transfers needed for this question || `json` | Station table of the city, used to score route answers |
```bashpython utils/download_dataset.py```## Usage
Then, put the data under the folder `data`.```pythonfrom datasets import load_dataset
### 3. Prepare data for Supervised Fine-Tuning (SFT)train = load_dataset("FSCCS/ReasonMap-Train", split="train")```
If you plan to use tools like [LLaMA-Factory](https://github.com/hiyouga/LLaMA-Factory) for SFT training, first prepare the datasets by running the following command:To train with RewardMap, follow the [RewardMap repository](https://github.com/fscdc/RewardMap):
```bashpython utils/prepare_data_for_sft.py --dataset_dir path/to/your_datapython utils/download_dataset.py # downloads ReasonMap-Plus and ReasonMap-Trainpython utils/prepare_data_for_sft.py --dataset_dir path/to/your_data # optional: convert for SFT (e.g. LLaMA-Factory)bash scripts/reward_map.sh # RewardMap training```
### 4. Data Format Example
Your data will be transferred into a format similar to this for SFT:
```json { "conversations": [ { "from": "human", "value": "<image> Please solve the multiple choice problem and put your answer (one of ABCD) in one \"\\boxed{}\". According to the subway map, how many intermediate stops are there between Danube Station and lbn Battuta Station (except for this two stops)? \A) 8 \B) 1 \C) 25 \D) 12 \" }, { "from": "gpt", "value": "B" } ], "images": [ "./maps/united_arab_emirates/dubai.png" ] },```## Results
### 5. Training ExampleTraining Qwen2.5-VL-7B-Instruct on this data, from Table 1 of the RewardMap paper. *R* is ReasonMap `train` and *R+* is ReasonMap-Plus `train`. ReasonMap is reported as weighted accuracy and weighted map score (short / long), and ReasonMap-Plus as weighted accuracy.
You can train the `RewardMap` model using the provided scripts:| Model | Training data | ReasonMap Weighted Acc. | ReasonMap Weighted Map Score | ReasonMap-Plus Weighted Acc. ||---|---|---|---|---|| Qwen2.5-VL-7B-Instruct | β | 13.28% / 7.12% | 4.01 / 5.74 | 44.21% || + RL (GRPO) | R | 26.22% / 26.04% | 5.52 / 9.52 | 44.64% || + RL (REINFORCE++) | R | 27.17% / 27.60% | 5.68 / 10.12 | 44.64% || + RL (ReMax) | R | 26.22% / 27.26% | 5.57 / 9.99 | 45.39% || + SFT | R+ | 13.63% / 9.11% | 4.09 / 6.25 | 57.93% || + SFT β RL | R+ and R | 28.82% / 30.38% | 5.88 / 10.62 | 60.53% || + RL (baseline) | R+ and R | 29.51% / 29.51% | 6.00 / 10.41 | 67.61% || **+ RewardMap** | R+ and R | **31.51% / 31.77%** | **6.21 / 11.22** | **74.25%** |
```bash# RewardMap trainingbash scripts/reward_map.sh```Models trained with RewardMap also improve by 3.47% on average across 6 benchmarks beyond transit maps, covering spatial reasoning, fine-grained visual reasoning and general tasks.
## Citation
If you find this paper useful in your research, please consider citing our paper:If you find this dataset useful, please cite:
```bibtex@article{feng2025rewardmap,@inproceedings{feng2026rewardmap, title={RewardMap: Tackling Sparse Rewards in Fine-grained Visual Reasoning via Multi-Stage Reinforcement Learning}, author={Feng, Sicheng and Tuo, Kaiwen and Wang, Song and Kong, Lingdong and Zhu, Jianke and Wang, Huan}, journal={arXiv preprint arXiv:2510.02240}, year={2025} booktitle={ICLR}, year={2026}}
@inproceedings{feng2026reasonmap, title={ReasonMap: Towards Fine-Grained Visual Reasoning from Transit Maps}, author={Feng, Sicheng and Wang, Song and Ouyang, Shuyi and Kong, Lingdong and Song, Zikai and Zhu, Jianke and Wang, Huan and Wang, Xinchao}, booktitle={CVPR}, year={2026}}``````README.md+63-59