Dataset Viewer
Auto-converted to Parquet Duplicate
index
int64
2
472
image
stringlengths
42.2k
784k
context
stringlengths
121
1.32k
question
stringlengths
116
282
answer
stringlengths
7
344
answer_aliases
stringlengths
6
656
image findings
stringlengths
233
5.44k
ORPHA_code
stringlengths
8
22
primary_modality
stringclasses
21 values
2
["/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAGYA2YDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBR...
### Patient Demographics - The patient is a 72-year-old man. ### Symptoms and Signs - The patient presented with long standing right sided hearing loss and tinnitus. - He denied otorrhea, headache, or facial nerve palsy. - Examination, including facial nerve function and otoscopy, was unremarkable. ### Medical Histor...
Based on the patient's brief clinical history and the provided medical images, what diagnoses should be considered for this patient?
1. Bilateral facial canal meningoceles (fallopian canal meningoceles)
bilateral facial canal meningoceles,fallopian canal meningocele,fallopian canal meningoceles,bilateral facial nerve meningoceles,bilateral facial canal meningocele,facial canal meningoceles involving the tympanic segment,bilateral fallopian canal meningoceles
[{"phase": "mechanical_pre_model_feedback", "title": "Imaging Findings", "body": "- High resolution noncontrast CT demonstrated abnormal fluid or soft tissue density filling the geniculate ganglia and the tympanic segment of the facial canal with evidence of impingement on the middle ear ossicles on the right side.\n- ...
ORPHA:238624
mri
3
"[\"/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcp(...TRUNCATED)
"### Patient Demographics\n- The patient is a 47-year-old woman.\n\n### Clinical Course\n- The patie(...TRUNCATED)
"Based on the patient's brief clinical history and the provided medical images, what diagnoses shoul(...TRUNCATED)
Acute graft versus host disease
Acute graft-versus-host disease,acute graft versus host disease
"[{\"phase\": \"mechanical_pre_model_feedback\", \"title\": \"Imaging Findings\", \"body\": \"- On p(...TRUNCATED)
ORPHA:99920
pathology_micro
7
"[\"/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcp(...TRUNCATED)
"### Patient Demographics\n- The patient is a 3-year-old girl.\n\n### Symptoms and Signs\n- The pati(...TRUNCATED)
"Based on the patient's brief clinical history and the provided temporal-bone CT and pathology image(...TRUNCATED)
Embryonal rhabdomyosarcoma of the mastoid and middle ear
"[\"Embryonal rhabdomyosarcoma of the mastoid and middle ear\", \"Embryonic rhabdomyosarcoma of the (...TRUNCATED)
"[{\"phase\": \"mechanical_pre_model_feedback\", \"title\": \"Imaging Findings\", \"body\": \"- CT s(...TRUNCATED)
ORPHA:99757
pathology_micro
10
"[\"/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcp(...TRUNCATED)
"### Patient Demographics\n- The patient is a 34-year-old male.\n\n### Symptoms and Signs\n- The pat(...TRUNCATED)
"Based on the patient's brief clinical history and the provided medical images, what diagnoses shoul(...TRUNCATED)
Inflammatory myofibroblastic tumour of the common bile duct
"[\"Inflammatory myofibroblastic tumor of the common bile duct\", \"Inflammatory myofibroblastic tum(...TRUNCATED)
"[{\"phase\": \"mechanical_pre_model_feedback\", \"title\": \"Imaging Findings\", \"body\": \"- CT r(...TRUNCATED)
ORPHA:178342
pathology_micro
12
"[\"/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcp(...TRUNCATED)
"### Patient Demographics\n- The patient is a 28-year-old woman.\n- The patient is African American.(...TRUNCATED)
"Based on the patient's brief clinical history and the provided medical images, what diagnoses shoul(...TRUNCATED)
Adult-onset Still disease
["Adult-onset Still's disease", "adult onset still disease"]
"[{\"phase\": \"mechanical_pre_model_feedback\", \"title\": \"Imaging Findings\", \"body\": \"- Ches(...TRUNCATED)
ORPHA:829
clinical_exam
15
"[\"/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcp(...TRUNCATED)
"### Patient Demographics\n- The patient is 35 years old.\n- The patient is female.\n\n### Symptoms (...TRUNCATED)
"Based on the patient's brief clinical history and the provided medical images, what diagnoses shoul(...TRUNCATED)
1. Primary central nervous system lymphoma
"[\"1. Primary central nervous system lymphoma\", \"1. primary CNS lymphoma\", \"1. PCNSL\", \"Prima(...TRUNCATED)
"[{\"phase\": \"mechanical_pre_model_feedback\", \"title\": \"Imaging Findings\", \"body\": \"- CT s(...TRUNCATED)
ORPHA:46135
mri
20
"[\"/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcp(...TRUNCATED)
"### Patient Demographics\n- The patient is a 24-year-old Caucasian woman.\n\n### Symptoms and Signs(...TRUNCATED)
"Based on the patient's brief clinical history and the provided medical images, what diagnoses shoul(...TRUNCATED)
Dysembryoplastic neuroepithelial tumor
"[\"DNT\", \"dysembryoplastic neuroepithelial tumour\", \"Dysembryoplastic neuroepithelial tumor (DN(...TRUNCATED)
"[{\"phase\": \"mechanical_pre_model_feedback\", \"title\": \"Imaging Findings\", \"body\": \"- Magn(...TRUNCATED)
ORPHA:251946
mri
21
"[\"/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcp(...TRUNCATED)
"### Patient Demographics\n- A 30-year-old Caucasian man.\n\n### Symptoms and Signs\n- Persistent ri(...TRUNCATED)
"Based on the clinical information and all provided medical images, what diagnoses should be conside(...TRUNCATED)
Localized tenosynovial giant cell tumor of the tendon sheath
"[\"localized tenosynovial giant cell tumor of the tendon sheath\", \"tenosynovial giant cell tumor (...TRUNCATED)
"[{\"phase\": \"mechanical_pre_model_feedback\", \"title\": \"Imaging Findings\", \"body\": \"- In t(...TRUNCATED)
ORPHA:66627
mri
23
"[\"/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcp(...TRUNCATED)
"### Patient Demographics\n- The patient is an 80-year-old female.\n\n### Symptoms and Signs\n- She (...TRUNCATED)
"Based on the patient's brief clinical history and the provided medical images, what diagnoses shoul(...TRUNCATED)
Necrotizing fasciitis
["necrotising fasciitis"]
"[{\"phase\": \"mechanical_pre_model_feedback\", \"title\": \"Imaging Findings\", \"body\": \"- Left(...TRUNCATED)
ORPHA:699697
ultrasound
26
"[\"/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcp(...TRUNCATED)
"### Patient Demographics\n- The patient is a 35-year-old male.\n- He was previously healthy.\n\n###(...TRUNCATED)
"Based on the patient's brief clinical history and the provided medical images, what diagnoses shoul(...TRUNCATED)
Acute febrile neutrophilic myositis associated with acute myeloid leukemia
"[\"paraneoplastic neutrophilic myositis associated with acute myeloid leukemia\", \"acute febrile n(...TRUNCATED)
"[{\"phase\": \"mechanical_pre_model_feedback\", \"title\": \"Imaging Findings\", \"body\": \"- Ultr(...TRUNCATED)
ORPHA:519
pathology_micro
End of preview. Expand in Data Studio

MRareBench: A Multimodal Rare-Disease Benchmark for Evidence–Diagnosis Correspondence

Benchmark data accompanying the paper, released for review.

Items are built from open-access PubMed Central case reports. Imaging findings are withheld from the question context, so a model that ignores the image cannot recover the answer from the text alone.

MRareBench is a separate benchmark from junzhin/MMrarebench. The two differ in tracks, item counts, and evaluation protocol. Scores are not comparable across them.

Files

File Task Items Columns
diagnosis/diagnosis_opened.tsv T1, forward diagnosis, ranked differential 300 9
evidence_verification/evidence_verification_opened_FULL609.tsv T2, evidence verification, open-ended 608 14

Images are embedded in the image column as a JSON list of base64 strings, so the files are self-contained.

Input conditions

Each track is evaluated under several input conditions. A condition changes only what the model is shown. The items, the reference answers, and the scoring code are identical across conditions within a track, so comparing two conditions isolates one source of performance.

T1, diagnosis

Dataset name Imaging findings text Image
MRareBench_Diagnosis withheld shown
MRareBench_Diagnosis_FD disclosed shown
MRareBench_Diagnosis_TO withheld withheld

T2, evidence verification

Dataset name Diagnosis given Image
MRareBench_EvidenceVerif yes shown
MRareBench_EvidenceVerif_TO yes withheld
MRareBench_EvidenceVerif_NoDx no shown

Three contrasts follow from these conditions:

  • Δ_sub = FD − LC measures how much of the answer the withheld findings text would have supplied. A large value indicates textual leakage.
  • Δ_vis = LC − TO measures how much the image itself contributes.
  • Δ_grd = Img − Txt measures grounding on T2, the gap between reporting evidence with the image and reporting it without.

Contrast metrics are more stable than absolute scores across reruns. Run-to-run drift is largely common-mode and cancels in the difference.

Evaluation with VLMEvalKit

MRareBench ships as a dataset module for VLMEvalKit. The module implements prompt construction, deterministic scoring, and the LLM-judge rubric for both tracks. This repository holds the data only. The evaluation code lives in VLMEvalKit, which keeps a single source of truth for scoring.

The upstream integration is under review. Until it lands, install from the fork that carries the module:

git clone https://github.com/junzhin/VLMEvalKit_official.git VLMEvalKit
cd VLMEvalKit && pip install -e .

Running

The module resolves data local-first. Point LMUData at a directory that already holds the files under MRareBench/, and nothing is downloaded:

$LMUData/MRareBench/diagnosis/diagnosis_opened.tsv
$LMUData/MRareBench/evidence_verification/evidence_verification_opened_FULL609.tsv

Point LMUData at an empty directory instead, and the module fetches the same two files from this repository on first use.

export LMUData=/path/to/LMUData
export OPENAI_API_KEY=...        # used by the judge, and by API-served models

python run.py --data MRareBench_Diagnosis     --model <model> --judge gpt-5.4-mini --mode all
python run.py --data MRareBench_EvidenceVerif --model <model> --judge gpt-5.4-mini --mode all

Substitute any of the six dataset names above for --data. All names within a track read the same TSV, so switching conditions costs no extra download.

Omitting --judge runs inference and the judge-free metrics only. On T1 that still yields the headline Recall and rank metrics, which are computed by matching against the reference diagnosis and its aliases. On T2 it yields the deterministic det_* metrics but not the rubric score.

To resume an interrupted run, add --reuse --reuse-aux all. Per-item results are checkpointed, so completed items are skipped rather than re-inferred.

What is scored

T1 is judge-free at its core. The model returns a ranked list of ten diagnoses. Scoring reports recall@{1,3,5,10}, MRR, and MR, the mean rank of the first hit. An optional judge adds complementary per-dimension scores.

T2 asks the model to report the evidence visible in the images. The headline metric t2_hierarchical_required_recall comes from an LLM judge that marks each required evidence point as present or absent, then gates cross-image and diagnostic credit on the visual level below it. A parallel family of det_* metrics scores the same predictions without a judge, by lexical and embedding overlap against the reference rationale.

Reading the files

Use a CSV parser with quoting enabled. Do not split on newlines: most records contain newline characters inside their text fields, so the physical line count far exceeds the record count.

import pandas as pd
t1 = pd.read_csv('diagnosis/diagnosis_opened.tsv', sep='\t', dtype=str)   # 300 rows
t2 = pd.read_csv('evidence_verification/evidence_verification_opened_FULL609.tsv',
                 sep='\t', dtype=str)                                     # 608 rows

Decoding an image:

import base64, io, json
from PIL import Image

images = json.loads(t1.iloc[0]['image'])
img = Image.open(io.BytesIO(base64.b64decode(images[0])))

Reproducibility notes

Check the inference failure rate before reading any score. Requests that carry images occasionally fail at the API layer, and a failed request is recorded as a wrong answer. In our runs the rate stayed near 1% and appeared only in image-bearing conditions; the text-only conditions had none. The failures concentrate on a fixed handful of multi-image items whose payloads are large. Inspect infer_fail_rate in the result summary. A non-zero value calls for a rerun with --reuse --reuse-aux all to fill the gaps.

temperature=0 does not give bit-identical reruns. The nondeterminism sits on the serving side: batching boundaries, nondeterministic kernels, MoE routing, and silent model-snapshot updates. Absolute scores drift by one to three points between runs of the same model. The contrast metrics drift less, because the same shift enters both terms and cancels.

Notes

Not for clinical use. A score here is not evidence of clinical safety or diagnostic validity.

Source articles are open access and carry their own per-article licenses.

Downloads last month
36