Letian2003 commited on
Commit
2517e52
·
verified ·
1 Parent(s): 087a86a

update dataset README

Browse files
Files changed (1) hide show
  1. README.md +132 -56
README.md CHANGED
@@ -20,47 +20,105 @@ configs:
20
 
21
  # ClinSeek-Bench
22
 
23
- ClinSeek-Bench provides the metadata files used to reconstruct the ClinSeekAgent
24
- evaluation benchmark from the original source datasets. This repository is not a
25
- fully materialized benchmark package: MIMIC-derived patient databases, source
26
- tables, chest X-ray JPG files, radiology reports, and rendered EHR contexts are
27
- protected assets and must be rebuilt locally under each user's own credentialed
28
- access and data-use agreements.
29
-
30
- | Task set | # data points | Modality | Released metadata file |
31
- | --- | ---: | --- | --- |
32
- | ClinSeek-Bench text tasks | 1,800 | text-only EHR | `ClinSeek-Bench_text.json` |
33
- | ClinSeek-Bench multimodal tasks | 989 | EHR + chest X-ray | `ClinSeek-Bench_multimodal.jsonl` |
34
-
35
- The ClinSeek-Bench multimodal tasks are restricted to image-grounded examples.
36
- They contain 497 EHRXQA-derived CXR question-answering rows and 492
37
- MedMod-derived ICU/CXR prediction rows.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
 
39
  ## Files
40
 
41
  ```text
42
  ClinSeek-Bench/
43
- ├── ClinSeek-Bench_text.json
44
- └── ClinSeek-Bench_multimodal.jsonl
 
45
  ```
46
 
47
- `ClinSeek-Bench_text.json` stores the text benchmark records and the patient,
48
- admission, task, timing, question, label, and candidate metadata needed by the
49
- ClinSeekAgent preparation and evaluation scripts. It does not include the
50
- patient-level SQLite databases or raw MIMIC source tables.
 
 
 
 
51
 
52
- `ClinSeek-Bench_multimodal.jsonl` stores released `qid`s, questions, normalized
53
- labels, patient identifiers, prediction-time cutoffs, and relative CXR/report
54
- references for the multimodal split. It intentionally does not store rendered
55
- `input_text`, patient SQLite databases, CXR JPG files, or report text.
56
 
57
- ## Reconstructing Benchmark Assets
58
 
59
- Reconstruction scripts are maintained in the ClinSeekAgent GitHub repository:
 
60
 
61
- - text benchmark documentation: https://github.com/UCSC-VLAA/ClinSeekAgent/blob/main/docs/ClinSeek-Bench_text_data_prepare.md
62
- - documentation: https://github.com/UCSC-VLAA/ClinSeekAgent/blob/main/docs/ClinSeek-Bench_multimodal_data_prepare.md
63
- - scripts: https://github.com/UCSC-VLAA/ClinSeekAgent/tree/main/scripts/data_build
 
 
 
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 run the scripts under `ClinSeekAgent/scripts/data_build/` with local paths
73
- to the official source datasets.
74
 
75
- Required source data:
76
 
77
- | Dataset | Source |
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
- The final local reconstruction materializes the runtime benchmark assets needed
87
- for evaluation, including patient SQLite databases, table-description metadata,
88
- rendered EHR contexts, linked CXR JPGs, and radiology reports when available.
89
- The downloaded `ClinSeek-Bench_text.json` and `ClinSeek-Bench_multimodal.jsonl`
90
- remain the metadata sources of truth used to drive that reconstruction.
 
 
 
 
 
91
 
92
  ## Validation
93
 
94
- After cloning ClinSeekAgent, validate the released multimodal metadata file:
 
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 multimodal metadata counts:
104
 
105
- - 989 total multimodal rows.
106
- - 497 EHRXQA-derived rows.
107
- - 492 MedMod-derived rows.
108
- - 350 unique EHRXQA linked CXR JPG paths.
109
- - 477 unique MedMod linked CXR JPG paths.
 
 
 
110
  - 356 unique EHRXQA linked CXR report paths.
111
 
112
- ## Citation
 
 
 
 
 
 
 
 
 
 
 
 
 
113
 
114
- Please cite the ClinSeek paper and the upstream source benchmarks used for any
115
- reconstructed multimodal assets.
 
 
 
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.