update dataset README
Browse files
README.md
CHANGED
|
@@ -20,47 +20,105 @@ configs:
|
|
| 20 |
|
| 21 |
# ClinSeek-Bench
|
| 22 |
|
| 23 |
-
ClinSeek-Bench
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
|
| 39 |
## Files
|
| 40 |
|
| 41 |
```text
|
| 42 |
ClinSeek-Bench/
|
| 43 |
-
|
| 44 |
-
|
|
|
|
| 45 |
```
|
| 46 |
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
`input_text`, patient SQLite databases, CXR JPG files, or report text.
|
| 56 |
|
| 57 |
-
## Reconstructing
|
| 58 |
|
| 59 |
-
Reconstruction
|
|
|
|
| 60 |
|
| 61 |
-
-
|
| 62 |
-
-
|
| 63 |
-
-
|
|
|
|
|
|
|
|
|
|
| 64 |
|
| 65 |
At a high level:
|
| 66 |
|
|
@@ -69,29 +127,29 @@ git clone https://huggingface.co/datasets/UCSC-VLAA/ClinSeek-Bench
|
|
| 69 |
git clone https://github.com/UCSC-VLAA/ClinSeekAgent.git
|
| 70 |
```
|
| 71 |
|
| 72 |
-
Then
|
| 73 |
-
|
| 74 |
|
| 75 |
-
Required
|
| 76 |
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
| MIMIC-IV | https://physionet.org/content/mimiciv/ |
|
| 80 |
-
| MIMIC-CXR | https://physionet.org/content/mimic-cxr/ |
|
| 81 |
-
| MIMIC-CXR-JPG | https://physionet.org/content/mimic-cxr-jpg/ |
|
| 82 |
-
| MIMIC-IV-Note | https://physionet.org/content/mimic-iv-note/ |
|
| 83 |
-
| EHRXQA | https://physionet.org/content/ehrxqa/ |
|
| 84 |
-
| MedMod code | https://github.com/nyuad-cai/MedMod |
|
| 85 |
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 91 |
|
| 92 |
## Validation
|
| 93 |
|
| 94 |
-
After cloning ClinSeekAgent, validate the released multimodal metadata
|
|
|
|
| 95 |
|
| 96 |
```bash
|
| 97 |
python ClinSeekAgent/scripts/data_build/validate_multimodal_release.py \
|
|
@@ -100,16 +158,34 @@ python ClinSeekAgent/scripts/data_build/validate_multimodal_release.py \
|
|
| 100 |
--manifest-only
|
| 101 |
```
|
| 102 |
|
| 103 |
-
Expected
|
| 104 |
|
| 105 |
-
-
|
| 106 |
-
-
|
| 107 |
-
-
|
| 108 |
-
-
|
| 109 |
-
-
|
|
|
|
|
|
|
|
|
|
| 110 |
- 356 unique EHRXQA linked CXR report paths.
|
| 111 |
|
| 112 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 113 |
|
| 114 |
-
|
| 115 |
-
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
# ClinSeek-Bench
|
| 22 |
|
| 23 |
+
ClinSeek-Bench is the evaluation suite introduced in
|
| 24 |
+
[ClinSeekAgent: Automating Multimodal Evidence Seeking for Agentic Clinical
|
| 25 |
+
Reasoning](https://arxiv.org/abs/2605.20176). It evaluates clinical reasoning
|
| 26 |
+
under two paired settings with the same task definitions and answer labels:
|
| 27 |
+
|
| 28 |
+
- **Curated Input**: the model answers from the evidence package provided by
|
| 29 |
+
the source benchmark.
|
| 30 |
+
- **Automated Evidence-Seeking**: the curated context is removed, and the model
|
| 31 |
+
must retrieve evidence from raw clinical data using ClinSeekAgent tools.
|
| 32 |
+
|
| 33 |
+
This Hugging Face dataset release provides the metadata needed to reconstruct
|
| 34 |
+
ClinSeek-Bench. It is not a fully materialized benchmark package.
|
| 35 |
+
|
| 36 |
+
## Why This Release Contains Metadata Only
|
| 37 |
+
|
| 38 |
+
ClinSeek-Bench is built from credentialed clinical datasets, including MIMIC-IV,
|
| 39 |
+
MIMIC-IV-Note, MIMIC-IV-ED, MIMIC-CXR, MIMIC-CXR-JPG, EHRXQA, and MedMod. These
|
| 40 |
+
sources contain protected clinical information and must be obtained under each
|
| 41 |
+
user's own credentialed access and data-use agreements.
|
| 42 |
+
|
| 43 |
+
For privacy and licensing reasons, this repository does **not** redistribute:
|
| 44 |
+
|
| 45 |
+
- raw MIMIC tables;
|
| 46 |
+
- patient-level SQLite databases;
|
| 47 |
+
- rendered EHR contexts or `input_text`;
|
| 48 |
+
- chest X-ray image files;
|
| 49 |
+
- radiology report text;
|
| 50 |
+
- experiment logs or model trajectories.
|
| 51 |
+
|
| 52 |
+
Instead, this repository releases the metadata needed to rebuild the complete
|
| 53 |
+
runtime benchmark locally from the official source datasets.
|
| 54 |
+
|
| 55 |
+
## Released Metadata
|
| 56 |
+
|
| 57 |
+
| Split | Released metadata | Rows | Modality | What it contains | What it excludes |
|
| 58 |
+
| --- | --- | ---: | --- | --- | --- |
|
| 59 |
+
| Text-only | `ClinSeek-Bench_text.json` | 1,800 | EHR | `qid`, `subject_id`, `hadm_id`, prediction-time metadata, task names, questions, labels, candidates | patient SQLite DBs and raw MIMIC rows |
|
| 60 |
+
| Multimodal | `ClinSeek-Bench_multimodal.jsonl` | 989 | EHR + CXR | released `qid`s, questions, normalized labels, patient/time metadata, CXR image references, report references | CXR JPG files, report text, rendered EHR contexts, patient SQLite DBs |
|
| 61 |
+
|
| 62 |
+
The metadata files are the source of truth for reconstruction and evaluation.
|
| 63 |
+
During local reconstruction, the ClinSeekAgent scripts materialize protected
|
| 64 |
+
runtime assets such as patient databases, rendered EHR contexts, linked CXR
|
| 65 |
+
files, and radiology reports from the official source datasets.
|
| 66 |
+
|
| 67 |
+
## Benchmark Composition
|
| 68 |
+
|
| 69 |
+
### Text-only EHR tasks
|
| 70 |
+
|
| 71 |
+
The text-only split is derived from EHR-Bench in
|
| 72 |
+
[EHR-R1](https://github.com/MAGIC-AI4Med/EHR-R1). It contains 45 EHR subtasks
|
| 73 |
+
covering risk-prediction and decision-making scenarios. We sample 40 examples
|
| 74 |
+
per subtask, resulting in 1,800 text-only examples. The released metadata
|
| 75 |
+
contains 1,563 unique patients.
|
| 76 |
+
|
| 77 |
+
### Multimodal tasks
|
| 78 |
+
|
| 79 |
+
The multimodal split adapts EHRXQA and MedMod, both grounded in MIMIC-IV EHRs
|
| 80 |
+
and MIMIC-CXR chest radiographs. It contains 989 image-grounded examples:
|
| 81 |
+
|
| 82 |
+
- 497 EHRXQA-derived CXR question-answering rows;
|
| 83 |
+
- 492 MedMod-derived ICU/CXR prediction rows.
|
| 84 |
+
|
| 85 |
+
The six multimodal task groups are CXR finding presence, CXR finding
|
| 86 |
+
enumeration, CXR temporal change comparison, 24-hour decompensation prediction,
|
| 87 |
+
in-hospital mortality prediction, and phenotype prediction.
|
| 88 |
|
| 89 |
## Files
|
| 90 |
|
| 91 |
```text
|
| 92 |
ClinSeek-Bench/
|
| 93 |
+
+-- README.md
|
| 94 |
+
+-- ClinSeek-Bench_text.json
|
| 95 |
+
+-- ClinSeek-Bench_multimodal.jsonl
|
| 96 |
```
|
| 97 |
|
| 98 |
+
The paths above are the released metadata paths in this dataset repository. If
|
| 99 |
+
you clone this dataset next to the ClinSeekAgent repository, reference the
|
| 100 |
+
metadata as:
|
| 101 |
+
|
| 102 |
+
```text
|
| 103 |
+
ClinSeek-Bench/ClinSeek-Bench_text.json
|
| 104 |
+
ClinSeek-Bench/ClinSeek-Bench_multimodal.jsonl
|
| 105 |
+
```
|
| 106 |
|
| 107 |
+
If you use ClinSeekAgent's default local data layout, you may copy or symlink
|
| 108 |
+
the text manifest to `data/text/ClinSeek-Bench_text.json`. That location is a
|
| 109 |
+
local workspace convenience, not a released metadata path.
|
|
|
|
| 110 |
|
| 111 |
+
## Reconstructing The Full Benchmark
|
| 112 |
|
| 113 |
+
Reconstruction code and detailed instructions are maintained in the
|
| 114 |
+
ClinSeekAgent GitHub repository:
|
| 115 |
|
| 116 |
+
- Code: https://github.com/UCSC-VLAA/ClinSeekAgent
|
| 117 |
+
- Text data preparation: https://github.com/UCSC-VLAA/ClinSeekAgent/blob/main/docs/ClinSeek-Bench_text_data_prepare.md
|
| 118 |
+
- Automated Evidence-Seeking text evaluation: https://github.com/UCSC-VLAA/ClinSeekAgent/blob/main/docs/ClinSeek-Bench_text_evaluation.md
|
| 119 |
+
- Curated Input text evaluation: https://github.com/UCSC-VLAA/ClinSeekAgent/blob/main/docs/ClinSeek-Bench_text_curated_input_evaluation.md
|
| 120 |
+
- Multimodal data preparation: https://github.com/UCSC-VLAA/ClinSeekAgent/blob/main/docs/ClinSeek-Bench_multimodal_data_prepare.md
|
| 121 |
+
- Data build scripts: https://github.com/UCSC-VLAA/ClinSeekAgent/tree/main/scripts/data_build
|
| 122 |
|
| 123 |
At a high level:
|
| 124 |
|
|
|
|
| 127 |
git clone https://github.com/UCSC-VLAA/ClinSeekAgent.git
|
| 128 |
```
|
| 129 |
|
| 130 |
+
Then obtain the required official source datasets, prepare local paths, and
|
| 131 |
+
follow the text and multimodal reconstruction guides above.
|
| 132 |
|
| 133 |
+
## Required Source Data
|
| 134 |
|
| 135 |
+
Download clinical source data only from official sources under your own
|
| 136 |
+
credentialed access and data-use agreements.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 137 |
|
| 138 |
+
| Dataset or source | Official source | Used for |
|
| 139 |
+
| --- | --- | --- |
|
| 140 |
+
| MIMIC-IV | https://physionet.org/content/mimiciv/ | structured EHR tables |
|
| 141 |
+
| MIMIC-IV-Note | https://physionet.org/content/mimic-iv-note/ | discharge and radiology notes |
|
| 142 |
+
| MIMIC-IV-ED | https://physionet.org/content/mimic-iv-ed/ | emergency department tables |
|
| 143 |
+
| MIMIC-CXR | https://physionet.org/content/mimic-cxr/ | CXR metadata and report text |
|
| 144 |
+
| MIMIC-CXR-JPG | https://physionet.org/content/mimic-cxr-jpg/ | linked chest X-ray JPG files |
|
| 145 |
+
| EHRXQA | https://physionet.org/content/ehrxqa/ | source-aligned CXR question-answering rows |
|
| 146 |
+
| MedMod | https://github.com/nyuad-cai/MedMod | source-aligned ICU/CXR prediction rows |
|
| 147 |
+
| EHR-R1 / EHR-Bench | https://github.com/MAGIC-AI4Med/EHR-R1 | source benchmark for text-only EHR tasks |
|
| 148 |
|
| 149 |
## Validation
|
| 150 |
|
| 151 |
+
After cloning ClinSeekAgent, validate the released multimodal metadata without
|
| 152 |
+
requiring protected assets:
|
| 153 |
|
| 154 |
```bash
|
| 155 |
python ClinSeekAgent/scripts/data_build/validate_multimodal_release.py \
|
|
|
|
| 158 |
--manifest-only
|
| 159 |
```
|
| 160 |
|
| 161 |
+
Expected released metadata counts:
|
| 162 |
|
| 163 |
+
- 1,800 text-only rows;
|
| 164 |
+
- 45 text-only EHR subtasks;
|
| 165 |
+
- 1,563 unique text-only patients;
|
| 166 |
+
- 989 multimodal rows;
|
| 167 |
+
- 497 EHRXQA-derived multimodal rows;
|
| 168 |
+
- 492 MedMod-derived multimodal rows;
|
| 169 |
+
- 350 unique EHRXQA linked CXR JPG paths;
|
| 170 |
+
- 477 unique MedMod linked CXR JPG paths;
|
| 171 |
- 356 unique EHRXQA linked CXR report paths.
|
| 172 |
|
| 173 |
+
After local reconstruction, the same validation script can also check the
|
| 174 |
+
materialized runtime assets, including patient DBs, image paths, and report
|
| 175 |
+
paths. See the ClinSeekAgent reconstruction documentation for the full commands.
|
| 176 |
+
|
| 177 |
+
## Evaluation
|
| 178 |
+
|
| 179 |
+
Evaluation code and instructions are maintained in the ClinSeekAgent repository:
|
| 180 |
+
https://github.com/UCSC-VLAA/ClinSeekAgent.
|
| 181 |
+
|
| 182 |
+
After reconstructing the protected runtime assets locally, follow the
|
| 183 |
+
ClinSeekAgent documentation for Automated Evidence-Seeking evaluation, Curated
|
| 184 |
+
Input evaluation, and scoring.
|
| 185 |
+
|
| 186 |
+
## Responsible Use
|
| 187 |
|
| 188 |
+
ClinSeek-Bench is for research on clinical evidence seeking. It is not a
|
| 189 |
+
medical device and must not be used for clinical diagnosis, treatment, triage,
|
| 190 |
+
or patient management without separate validation, governance, and regulatory
|
| 191 |
+
review.
|