Datasets:
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationError
Exception: CastError
Message: Couldn't cast
unique_id: string
image_paths: string
question: string
options: list<item: string>
child 0, item: string
answer: string
modality: string
task: string
type: string
options_num: int64
question_type: string
asked_region: string
box_region: string
to
{'unique_id': Value('string'), 'image_paths': Value('string'), 'question': Value('string'), 'options': List(Value('string')), 'answer': Value('string'), 'modality': Value('string'), 'task': Value('string'), 'options_num': Value('int64'), 'type': Value('string')}
because column names don't match
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1835, in _prepare_split_single
for key, table in generator:
^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 621, in wrapped
for item in generator(*args, **kwargs):
~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 361, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2381, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2309, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
unique_id: string
image_paths: string
question: string
options: list<item: string>
child 0, item: string
answer: string
modality: string
task: string
type: string
options_num: int64
question_type: string
asked_region: string
box_region: string
to
{'unique_id': Value('string'), 'image_paths': Value('string'), 'question': Value('string'), 'options': List(Value('string')), 'answer': Value('string'), 'modality': Value('string'), 'task': Value('string'), 'options_num': Value('int64'), 'type': Value('string')}
because column names don't match
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1379, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 956, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1702, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1887, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
unique_id string | image_paths string | question string | options list | answer string | modality string | task string | options_num int64 | type string |
|---|---|---|---|---|---|---|---|---|
valid_3_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_3_a_1.png | Of the two images shown, which one has been edited with added noise? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_4_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_4_a_1.png | Of the two images shown, which one has been edited with added noise? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_5_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_5_a_1.png | Can you identify which image has the noise added, among these two? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_6_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_6_a_1.png | Which of these two images shows the added noise? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_7_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_7_a_1.png | Looking at these two images, can you tell which one has noise added? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_11_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_11_a_1.png | Here are two medical images. One of them has added noise. Which one is the noised image? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_12_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_12_a_1.png | Looking at these two images, can you tell which one has noise added? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_13_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_13_a_1.png | Of the two images shown, which one has been edited with added noise? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_15_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_15_a_1.png | Here are two medical images. One of them has added noise. Which one is the noised image? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_17_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_17_a_1.png | In the two images provided, one has noise. Can you identify the noisy image? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_21_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_21_a_1.png | In the two images provided, one has noise. Can you identify the noisy image? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_23_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_23_a_1.png | Among the two images, one has been modified with noise. Can you figure out which one? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_25_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_25_a_1.png | In the two images provided, one has noise. Can you identify the noisy image? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_26_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_26_a_1.png | In the two images provided, one has noise. Can you identify the noisy image? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_28_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_28_a_1.png | Among the two images, one has been modified with noise. Can you figure out which one? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_29_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_29_a_1.png | In this pair of medical images, one has been altered with noise. Can you spot which one? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_30_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_30_a_1.png | In the two images provided, one has noise. Can you identify the noisy image? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_31_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_31_a_1.png | Here are two medical images. One of them has added noise. Which one is the noised image? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_32_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_32_a_1.png | Which of these two images shows the added noise? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_33_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_33_a_1.png | In this pair of medical images, one has been altered with noise. Can you spot which one? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_34_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_34_a_1.png | Can you figure out which of these two medical images has noise added? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_35_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_35_a_1.png | Here are two medical images. One of them has added noise. Which one is the noised image? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_36_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_36_a_1.png | Which of these two images shows the added noise? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_37_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_37_a_1.png | In the two images provided, one has noise. Can you identify the noisy image? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_40_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_40_a_1.png | In the two images provided, one has noise. Can you identify the noisy image? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_41_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_41_a_1.png | Which of these two images shows the added noise? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_42_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_42_a_1.png | Can you identify which image has the noise added, among these two? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_43_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_43_a_1.png | Of the two images shown, which one has been edited with added noise? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_46_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_46_a_1.png | Can you figure out which of these two medical images has noise added? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_48_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_48_a_1.png | Which of these two images shows the added noise? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_49_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_49_a_1.png | Out of these two medical images, one contains added noise. Can you identify which one? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_51_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_51_a_1.png | In this pair of medical images, one has been altered with noise. Can you spot which one? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_56_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_56_a_1.png | Can you identify which image has the noise added, among these two? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_58_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_58_a_1.png | Here are two medical images. One of them has added noise. Which one is the noised image? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_60_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_60_a_1.png | Looking at these two images, can you tell which one has noise added? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_61_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_61_a_1.png | Which of these two images shows the added noise? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_62_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_62_a_1.png | In this pair of medical images, one has been altered with noise. Can you spot which one? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_63_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_63_a_1.png | Among the two images, one has been modified with noise. Can you figure out which one? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_64_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_64_a_1.png | Of the two images shown, which one has been edited with added noise? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_66_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_66_a_1.png | In this pair of medical images, one has been altered with noise. Can you spot which one? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_67_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_67_a_1.png | Here are two medical images. One of them has added noise. Which one is the noised image? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_68_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_68_a_1.png | Here are two medical images. One of them has added noise. Which one is the noised image? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_70_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_70_a_1.png | Among the two images, one has been modified with noise. Can you figure out which one? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_76_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_76_a_1.png | Looking at these two images, can you tell which one has noise added? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_77_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_77_a_1.png | Here are two medical images. One of them has added noise. Which one is the noised image? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_80_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_80_a_1.png | Looking at these two images, can you tell which one has noise added? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_82_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_82_a_1.png | Which of these two images shows the added noise? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_83_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_83_a_1.png | Can you identify which image has the noise added, among these two? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_84_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_84_a_1.png | Out of these two medical images, one contains added noise. Can you identify which one? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_85_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_85_a_1.png | Can you identify which image has the noise added, among these two? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_86_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_86_a_1.png | Can you identify which image has the noise added, among these two? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_87_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_87_a_1.png | Can you identify which image has the noise added, among these two? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_91_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_91_a_1.png | In the two images provided, one has noise. Can you identify the noisy image? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_92_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_92_a_1.png | In the two images provided, one has noise. Can you identify the noisy image? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_93_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_93_a_1.png | Which of these two images shows the added noise? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_96_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_96_a_1.png | In the two images provided, one has noise. Can you identify the noisy image? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_97_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_97_a_1.png | Can you identify which image has the noise added, among these two? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_98_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_98_a_1.png | In the two images provided, one has noise. Can you identify the noisy image? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_100_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_100_a_1.png | Among the two images, one has been modified with noise. Can you figure out which one? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_103_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_103_a_1.png | Can you identify which image has the noise added, among these two? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_104_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_104_a_1.png | In the two images provided, one has noise. Can you identify the noisy image? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_105_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_105_a_1.png | Which of these two images shows the added noise? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_106_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_106_a_1.png | Out of these two medical images, one contains added noise. Can you identify which one? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_107_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_107_a_1.png | Can you identify which image has the noise added, among these two? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_108_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_108_a_1.png | Of the two images shown, which one has been edited with added noise? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_109_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_109_a_1.png | Which of these two images shows the added noise? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_110_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_110_a_1.png | Which of these two images shows the added noise? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_111_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_111_a_1.png | Out of these two medical images, one contains added noise. Can you identify which one? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_112_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_112_a_1.png | Looking at these two images, can you tell which one has noise added? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_114_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_114_a_1.png | Here are two medical images. One of them has added noise. Which one is the noised image? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_117_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_117_a_1.png | Of the two images shown, which one has been edited with added noise? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_118_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_118_a_1.png | Here are two medical images. One of them has added noise. Which one is the noised image? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_120_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_120_a_1.png | Looking at these two images, can you tell which one has noise added? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_121_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_121_a_1.png | Can you figure out which of these two medical images has noise added? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_122_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_122_a_1.png | Can you identify which image has the noise added, among these two? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_123_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_123_a_1.png | Can you figure out which of these two medical images has noise added? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_124_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_124_a_1.png | In this pair of medical images, one has been altered with noise. Can you spot which one? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_125_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_125_a_1.png | Among the two images, one has been modified with noise. Can you figure out which one? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_126_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_126_a_1.png | Out of these two medical images, one contains added noise. Can you identify which one? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_127_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_127_a_1.png | Can you figure out which of these two medical images has noise added? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_128_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_128_a_1.png | Among the two images, one has been modified with noise. Can you figure out which one? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_129_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_129_a_1.png | Out of these two medical images, one contains added noise. Can you identify which one? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_132_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_132_a_1.png | Can you figure out which of these two medical images has noise added? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_134_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_134_a_1.png | Out of these two medical images, one contains added noise. Can you identify which one? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_135_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_135_a_1.png | Of the two images shown, which one has been edited with added noise? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_136_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_136_a_1.png | Can you figure out which of these two medical images has noise added? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_137_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_137_a_1.png | Can you identify which image has the noise added, among these two? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_138_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_138_a_1.png | In this pair of medical images, one has been altered with noise. Can you spot which one? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_139_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_139_a_1.png | In the two images provided, one has noise. Can you identify the noisy image? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_141_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_141_a_1.png | Out of these two medical images, one contains added noise. Can you identify which one? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_143_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_143_a_1.png | Looking at these two images, can you tell which one has noise added? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_147_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_147_a_1.png | Out of these two medical images, one contains added noise. Can you identify which one? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_149_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_149_a_1.png | Looking at these two images, can you tell which one has noise added? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_151_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_151_a_1.png | Which of these two images shows the added noise? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_152_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_152_a_1.png | Out of these two medical images, one contains added noise. Can you identify which one? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_153_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_153_a_1.png | Of the two images shown, which one has been edited with added noise? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_154_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_154_a_1.png | Among the two images, one has been modified with noise. Can you figure out which one? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_156_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_156_a_1.png | Here are two medical images. One of them has added noise. Which one is the noised image? | [
"A. right",
"B. left"
] | B. left | CT | noise_recognition | 2 | normal_question |
valid_157_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_157_a_1.png | Among the two images, one has been modified with noise. Can you figure out which one? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
valid_159_a_1.nii.gz | Med-R2-Bench/dataset/noise_recognition/valid_159_a_1.png | Can you identify which image has the noise added, among these two? | [
"A. left",
"B. right"
] | A. left | CT | noise_recognition | 2 | normal_question |
π©Ί Med-R2 Bench
An adversarial benchmark for evidence-grounded reasoning in medical vision-language models
Med-R2 Bench evaluates whether a medical VLM can make decisions from visual evidence instead of relying on superficial language patterns. The benchmark combines image-quality perturbations, anatomy-level reasoning, lesion-level reasoning, clinical-report generation, and multi-step joint QA in one consistent release.
π Paper: Med-R2: An Adversarial Benchmark for Evidence-Grounded Reasoning in Medical VLMs (EMNLP 2026 Main Conference)
π Project repository: BiTaNannnnn/Med-R2-Bench on GitHub
β¨ What is in the dataset?
The public release contains 99,997 English JSONL QA examples and the image files referenced by those examples.
| Split | Level 1 | Level 3 | Level 4 | Level 5 | Joint QA | Total |
|---|---|---|---|---|---|---|
| π§ͺ Test | 2,640 | 7,316 | 11,140 | 600 | 500 | 22,196 |
| ποΈ Train | 5,184 | 14,152 | 25,557 | 30,320 | 2,588 | 77,801 |
| π Total | 7,824 | 21,468 | 36,697 | 30,920 | 3,088 | 99,997 |
Level 2 is not part of this benchmark release. The level numbering follows the original Med-R2 task design.
π§ Evaluation tracks
| Track | Medical reasoning focus | Representative tasks |
|---|---|---|
| Level 1 Β· Image quality | Detect whether an image has been corrupted or altered | Noise recognition, artifact recognition |
| Level 3 Β· Anatomy | Identify organs and reason about location or erased evidence | Organ recognition, organ location, organ eraser identification |
| Level 4 Β· Lesions | Reason about body parts, lesions, boxes, and lesion size | Body-part recognition, lesion recognition, multi-box reasoning, lesion size |
| Level 5 Β· Clinical reports | Generate a report under localized or image-level interference | Box report, noise interference, artifact interference |
| Joint QA Β· Multi-step reasoning | Answer a sequence from modality to anatomy, abnormality, and diagnosis | Four-step sequential visual reasoning |
βοΈ Adversarial diversity
Med-R2 is designed to test robustness under controlled visual changes. Depending on the task, examples include:
- β Positive cases: the visual evidence and the question are consistent.
- β Neutral / normal cases: the image provides no abnormal evidence for the queried condition.
- β Negative / adversarial cases: the question, region, or visual evidence is intentionally mismatched.
- π₯ Box interventions: correct boxes, wrong boxes, or localized regions that redirect attention.
- π§Ή Erased-region cases: relevant anatomy or evidence is removed or occluded.
- π Noise and artifact interventions: image-level corruption is added while the underlying medical content is controlled.
This diversity makes it possible to measure not only average accuracy, but also whether a model remains evidence-grounded across positive, normal, and adversarial conditions.
π Repository layout
Med-R2-Bench/
βββ train/
β βββ visual_evidence_Level1.jsonl
β βββ visual_evidence_Level3.jsonl
β βββ visual_evidence_Level4.jsonl
β βββ visual_evidence_Level5.jsonl
β βββ visual_evidence_joint_qa.jsonl
βββ test/
β βββ same five JSONL files as train/
βββ Med-R2-Bench/
βββ dataset/ # Referenced generated and processed images
βββ images/ # Referenced visual-evidence and joint-QA images
The JSONL files are the benchmark annotations. The image files are released separately in the nested Med-R2-Bench/ directory so that the image_paths field remains reproducible after downloading the repository.
π§Ύ Annotation format
Each JSONL line is one example. The exact fields depend on the evaluation track, but common fields include:
| Field | Description |
|---|---|
image_paths |
Repository-relative image path, such as Med-R2-Bench/dataset/...png |
question |
The visual question or report-generation instruction |
options |
Multiple-choice options when the task is closed-ended |
answer |
Gold answer for the example |
task |
Fine-grained task name, such as noise_recognition or lesion_recognition |
type |
Data condition or adversarial bucket |
modality |
Imaging modality, when available |
Level 5 report examples use an open-ended answer field rather than multiple-choice options. Joint QA examples include the sequential prompts and gold answers for each reasoning step.
π Loading the annotations
from datasets import load_dataset
dataset = load_dataset(
"BiTaNan/Med-R2-Bench",
data_files={
"train": "train/*.jsonl",
"test": "test/*.jsonl",
},
)
print(dataset)
print(dataset["test"][0])
To resolve an image locally after downloading the repository:
from pathlib import Path
repo_root = Path("/path/to/Med-R2-Bench")
image_file = repo_root / example["image_paths"]
The image paths are intentionally relative and contain no private server prefixes. The public package does not include model weights or prediction results.
π Evaluation code and prompts
The benchmark-construction code, metric scripts, comparison scripts, and prompt notes are maintained in the companion GitHub repository:
π https://github.com/BiTaNannnnn/Med-R2-Bench
The Hugging Face repository is the data release. The GitHub repository is the code and documentation release.
π Release and usage notes
- The released annotations use English prompts and answers.
- Absolute server paths have been removed from the public annotations.
- Model weights, private experiment outputs, API keys, and training logs are not included.
- Please check the licenses and terms of the underlying medical image sources before redistributing the data or using it in a new collection.
- This benchmark is intended for research evaluation and does not provide medical advice or a clinical diagnostic service.
π Citation
@inproceedings{medr2-2026,
title = {Med-R2: An Adversarial Benchmark for Evidence-Grounded Reasoning in Medical VLMs},
author = {Ma, Wen and collaborators},
booktitle = {Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing},
year = {2026}
}
β If you use Med-R2 Bench, please cite the paper and link back to both the dataset and the GitHub repository.
- Downloads last month
- 1,747