Medical-Imaging Embeddings and Study Inputs for QML-MedImage
Pre-extracted image and video embeddings, fixed subset and disjoint-group lists, pooled cohort arrays, public benchmark caches, and provenance notebooks required to reproduce the QML-MedImage study.
Data Availability Summary
- (i) The embeddings, labels, subset lists, and group lists needed to reproduce every result of the study are in this gated dataset
MITCriticalData/qml-mimic-cxr-embeddings. - (ii) Access is granted to users who hold PhysioNet credentials for the source datasets (MIMIC-CXR-JPG, MIMIC-IV, and MIMIC-IV-Echo), and who accept the CheXpert terms for the
chexpert/part. - (iii) The raw images and patient records stay with their providers.
Licence, Source Terms, and Access
This repository is a manually gated dataset containing derived representations from three credentialed clinical sources plus public benchmark controls. Do not redistribute any clinical file or row from this repository.
- PhysioNet MIMIC-CXR-JPG 2.0.0 and MIMIC-IV (2.2 / 3.1):
- Folders:
medsiglip-448-embeddings-v2/,rad-dino-embeddings/,vit-base-patch32-224-embeddings/,medsiglip-448-embeddings/,vit-base-patch16-224-in21k-embeddings/,vit-base-patch32-224-in21k-embeddings/,biomedclip-embeddings/,dinov2-base-embeddings/,medgemma-4b-it-embeddings/,xraysiglip-embeddings/,vit-base-patch16-224-embeddings/,clip-biomed-embeddings/,pool-42837/(excludingpub_*.npz),n5-larger-n/,coreset-ids/,disjoint-groups-18-seed20261125/,coreset-selection-inputs/,provenance/,reextracted-2026-11/,legacy-2026-02/. - Distributed under the PhysioNet Credentialed Health Data License 1.5.0. Access requires active PhysioNet credentialing and a signed Data Use Agreement (DUA) for MIMIC-CXR-JPG and MIMIC-IV. Raw PhysioNet tables (
mimic-cxr-2.0.0-metadata.csv.gz,mimic-cxr-2.0.0-chexpert.csv.gz,admissions.csv.gz,patients.csv.gz) and raw radiograph JPGs stay with PhysioNet and are not in this repository.
- Folders:
- PhysioNet MIMIC-IV-Echo 0.1:
- Folder:
mimic-iv-echo/(echo_vjepa2-vitl.npz,echo_vjepa2.1-vitl-mimic-pt-100.npz, and the 20 V-JEPA 2 / EchoJEPA shards undervjepa2-vitl/andvjepa2.1-vitl-mimic-pt-100/, also hosted in companion gated repositoryMITCriticalData/mimic-iv-echo-jepa-embeddings). - Governed by the PhysioNet Credentialed Health Data License 1.5.0 and the MIMIC-IV-Echo DUA. Access requires active PhysioNet credentialing and a signed DUA for MIMIC-IV-Echo and MIMIC-IV.
- Folder:
- Stanford AIMI CheXpert:
- Folder:
chexpert/embeddings/(medsiglip.npz,rad-dino.npz,vit-b32-timm.npz,xraysiglip.npz,meta.npz, and extraction provenance JSONs for the 615-patient test cohort). - Access to and use of
chexpert/requires accepting the Stanford University School of Medicine CheXpert Dataset Research Use Agreement terms. Raw CheXpert radiograph images (Resplit_ExcludeSD_CheXpert_test_insurance.tfrecord) stay with the provider and are not in this repository.
- Folder:
- Public Non-Clinical Benchmarks and Model Output Terms:
public-benchmarks/q2sar-dyrk1a/: Derived from ChEMBL (CHEMBL2292DYRK1A) under Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) (attribution and share-alike apply).public-benchmarks/openml-tabular/,public-benchmarks/mnist-fmnist/, andpool-42837/pub_*.npz: Derived from OpenML / UCI Machine Learning Repository tabular datasets (CC BY 4.0 / UCI citation terms), MNIST (CC BY-SA 3.0), and Fashion-MNIST (MIT License; quantum projection counterpartsebasmos/QuantumEmbeddings).- Embeddings extracted with
google/medsiglip-448andgoogle/medgemma-4b-itare subject to the Google Health AI Developer Foundations (HAI-DEF) Terms of Use (research / non-clinical use only).
Top-Level Layout and Paper Mapping
Every top-level folder that the analysis code reads under its dataset root keeps the exact relative path expected by qml_exact/data.py and the experiment runners under results/2026-11_*/.
| Top-Level Path | Files | Paper Section / Analysis Role | Consuming results/ Folders |
|---|---|---|---|
MANIFEST.csv |
1 | Master file manifest (path, size, md5, sha256, results_folders) |
2026-11_main_analysis_ledger (rebuild_all.py --verify-only) |
medsiglip-448-embeddings-v2/20-seeds/ |
117 | Main 20-subset analysis: certified google/medsiglip-448 (9cea28a1), types 5/9/11, seeds 0-19 + provenance.json |
2026-11_rerun_v2, 2026-11_repro_20_original, 2026-11_favourable_regime_disjoint_pool, 2026-11_favourable_regime_controls_ext, 2026-11_finite_shot_large_q_train_only, 2026-11_interpretability_disjoint_pool |
rad-dino-embeddings/20-seeds/ |
60 | Main 20-subset analysis: certified microsoft/rad-dino (110cbc18), types 5/9/11, seeds 0-19 |
2026-11_rerun_v2, 2026-11_repro_20_original, 2026-11_favourable_regime_disjoint_pool, 2026-11_favourable_regime_controls_ext, 2026-11_finite_shot_large_q_train_only, 2026-11_interpretability_disjoint_pool |
vit-base-patch32-224-embeddings/20-seeds/ |
121 | Main 20-subset analysis: certified timm/vit_base_patch32_224.augreg_in21k_ft_in1k (ddee2f84), CLS and GAP parquets, seeds 0-19 (30 Oct 2026 label-patched copies) + WARNING_MIXED_MODELS.txt |
2026-11_rerun_v2, 2026-11_repro_20_original, 2026-11_pooling |
medsiglip-448-embeddings/20-seeds/ |
61 | Historical mixed folder (seed 0 google/medsiglip-448, seeds 1-19 generic google/siglip-so400m-patch14-384, 30 Oct 2026 label-patched copies) + WARNING_MIXED_MODELS.txt |
2026-11_audit, 2026-11_repro_20_original |
vit-base-patch16-224-in21k-embeddings/20-seeds/ |
30 | Extra encoder panel: google/vit-base-patch16-224-in21k (b4569560), CLS and mean, type 9, seeds 0-9 |
2026-11_extract, 2026-11_pooling, 2026-11_repro_20_original |
vit-base-patch32-224-in21k-embeddings/20-seeds/ |
61 | Extra encoder panel: google/vit-base-patch32-224-in21k (98cb6f70), CLS and mean, type 9, seeds 0-19 |
2026-11_extract, 2026-11_pooling, 2026-11_repro_20_original |
biomedclip-embeddings/20-seeds/ |
41 | Extra encoder panel: microsoft/BiomedCLIP-PubMedBERT_256-vit_base_patch16_224 (9f341de2), type 9, seeds 0-19 |
2026-11_extract, 2026-11_pooling, 2026-11_repro_20_original |
dinov2-base-embeddings/20-seeds/ |
61 | Extra encoder panel: facebook/dinov2-base (f9e44c81), CLS and mean, type 9, seeds 0-19 |
2026-11_extract, 2026-11_pooling, 2026-11_repro_20_original |
medgemma-4b-it-embeddings/20-seeds/ |
30 | Extra encoder panel: google/medgemma-4b-it (290cda5e), vision and LM embeddings, type 9, seeds 0-9 |
2026-11_extract, 2026-11_pooling, 2026-11_repro_20_original |
xraysiglip-embeddings/20-seeds/ |
41 | Extra encoder panel & finding-label tasks: StanfordAIMI/XraySigLIP__vit-b-16-siglip-512__webli (e2ad64ee), type 9, seeds 0-19 |
2026-11_extract, 2026-11_pooling, 2026-11_repro_20_original, 2026-11_method_chexpert_labels, 2026-11_method_comorbidity_labels |
coreset-ids/seed_0 .. seed_19/ |
60 | Fixed released 20-subset dicom_id lists for strategies 5 (PathologyStratifiedClean), 9 (GradMatch), and 11 (Uncertainty) |
2026-11_repro_20_original, 2026-11_elixr_coreset_repro |
disjoint-groups-18-seed20261125/ |
20 | Fixed 18 patient-disjoint random group assignment lists (group_00.txt .. group_17.txt, groups_18_seed20261125.csv, seed_20261125_meta.json, seed 20261125, 18 x 2,370 = 42,660 patients, 0 overlap) |
2026-11_bands_disjoint_pool, 2026-11_bands_disjoint_pool_vit, 2026-11_bands_disjoint_pool_extra, 2026-11_favourable_regime_disjoint_pool, 2026-11_favourable_regime_controls_ext, 2026-11_scale_disjoint_pool, 2026-11_finite_shot_disjoint_pool, 2026-11_finite_shot_large_q_disjoint_pool, 2026-11_interpretability_disjoint_pool |
pool-42837/ |
12 | Unified 42,837-patient pool (pool_medsiglip.npz, pool_rad-dino.npz, pool_vit-patch32-cls.npz, labels.npz, split.npz, orig_meta.csv, pub_*.npz, README.md) |
All *_disjoint_pool* folders, 2026-11_larger_n_disjoint_cpu, 2026-11_method_larger_n, 2026-11_method_interpretability, 2026-11_pool_coverage, 2026-11_pool_provenance |
n5-larger-n/ |
21 | 20,000-patient MIMIC-CXR scaling cohort (cohort.parquet and embeddings/{medsiglip,rad-dino}/shard_{0..9}.parquet) |
2026-11_method_larger_n |
chexpert/embeddings/ |
9 | CheXpert 615-patient insurance transfer embeddings (medsiglip.npz, rad-dino.npz, vit-b32-timm.npz, xraysiglip.npz, meta.npz, *_provenance.json) |
2026-11_method_chexpert_insurance |
mimic-iv-echo/ |
22 | MIMIC-IV-Echo 6,824-study / 4,212-patient cohorts (echo_vjepa2-vitl.npz, echo_vjepa2.1-vitl-mimic-pt-100.npz) and 20 V-JEPA 2 / EchoJEPA parquet shards |
2026-11_method_larger_n, 2026-11_round8_followups, 2026-11_echo_new_splits |
public-benchmarks/ |
14 | Public benchmark datasets (openml-tabular/*.parquet, mnist-fmnist/{mnist,fmnist}.npz, q2sar-dyrk1a/*) |
2026-11_method_uci_datasets, 2026-11_method_mnist_fmnist, 2026-11_method_q2sar_replication |
provenance/ & coreset-selection-inputs/ |
12 | Output-stripped coreset selection notebooks (provenance/notebooks/*.ipynb), 30 Oct comparison audit (provenance/as-used-2026-10-30/), and selection input table (coreset-selection-inputs/sibjid_gender_insurance_has_pathology.csv) |
2026-11_repro_20_original, 2026-11_elixr_coreset_repro, 2026-11_pool_coverage |
reextracted-2026-11/ |
64 | Audit H (31 Oct 2026) 3-seed (0, 1, 5) multi-pooling probe files (medsiglip, rad-dino, siglip384, vit32, vit32-timm) |
2026-11_audit |
clip-biomed-embeddings/, vit-base-patch16-224-embeddings/, legacy-2026-02/, tests/ |
711 | Historical Feb 2026 archives, unidentified 8x8x1376 feature maps (seed_0 types 9/11 read by 2026-11_elixr_coreset_repro), unpatched Feb 2026 seeds 1-19 backups (legacy-2026-02/unpatched-2026-02/), and verification tests |
2026-11_elixr_coreset_repro, 2026-11_audit |
How to Download and Point the Code Repository at This Dataset
- Authenticate with Hugging Face (using an account approved by the repository maintainers; requesters must hold active PhysioNet credentials for the MIMIC source datasets and accept the CheXpert terms for the
chexpert/part):huggingface-cli login - Download the dataset into a local directory
$QML_HF_ROOT:from huggingface_hub import snapshot_download # Full study inputs (excludes optional 138 GiB Feb 2026 legacy/unidentified archives): snapshot_download( repo_id="MITCriticalData/qml-mimic-cxr-embeddings", repo_type="dataset", local_dir="/path/to/qml-mimic-cxr-embeddings", ignore_patterns=["legacy-2026-02/**"], ) - Point a fresh clone of the code repository at
$QML_HF_ROOTwithout editing any experiment script:export QML_HF_ROOT="/path/to/qml-mimic-cxr-embeddings" export QML_DATA_BASE="$QML_HF_ROOT" export QML_POOL_DIR="$QML_HF_ROOT/pool-42837" export FDP_POOL_DIR="$QML_HF_ROOT/pool-42837" # Populate standard untracked work/ symlinks inside a fresh code clone: python results/2026-11_main_analysis_ledger/setup_hf_links.py --hf-root "$QML_HF_ROOT" # Run non-destructive verification across all 755 INPUTS.csv rows and 121 ledger rows: python -B results/2026-11_main_analysis_ledger/rebuild_all.py --verify-only --hf-root "$QML_HF_ROOT"
References and Citation
Basis tensor-network QSVM paper: K.-C. Chen et al., "Validating large-scale quantum machine learning: Efficient simulation of quantum support vector machines using tensor networks", Machine Learning: Science and Technology 6(1), 015047 (2025), https://doi.org/10.1088/2632-2153/adb4ba (code: https://github.com/Tim-Li/cuTN-QSVM). Please also cite the accompanying QML-MedImage study manuscript and the underlying clinical datasets (MIMIC-CXR-JPG, MIMIC-IV, MIMIC-IV-Echo, and CheXpert) as required by their respective data use agreements.
- Downloads last month
- 1,137