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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
annotations_creators:
|
| 3 |
+
- expert-annotated
|
| 4 |
+
- crowdsourced
|
| 5 |
+
- machine-generated
|
| 6 |
+
language_creators:
|
| 7 |
+
- found
|
| 8 |
+
language:
|
| 9 |
+
- en
|
| 10 |
+
- zh
|
| 11 |
+
license: cc-by-nc-sa-4.0
|
| 12 |
+
multilinguality:
|
| 13 |
+
- bilingual
|
| 14 |
+
size_categories:
|
| 15 |
+
- 1M<n<10M
|
| 16 |
+
source_datasets:
|
| 17 |
+
- multi-center-clinical
|
| 18 |
+
task_categories:
|
| 19 |
+
- image-classification
|
| 20 |
+
- image-segmentation
|
| 21 |
+
- object-detection
|
| 22 |
+
- visual-question-answering
|
| 23 |
+
task_ids:
|
| 24 |
+
- multi-label-image-classification
|
| 25 |
+
- semantic-segmentation
|
| 26 |
+
- medical-imaging
|
| 27 |
+
pretty_name: "MM-OphBench: Multi-Center Multimodal Clinical Ophthalmic Benchmark"
|
| 28 |
+
tags:
|
| 29 |
+
- medical
|
| 30 |
+
- ophthalmology
|
| 31 |
+
- multimodal
|
| 32 |
+
- oct
|
| 33 |
+
- fundus
|
| 34 |
+
- uwf
|
| 35 |
+
- ffa
|
| 36 |
+
- ubm
|
| 37 |
+
- b-scan
|
| 38 |
+
- retina
|
| 39 |
+
- glaucoma
|
| 40 |
+
---
|
| 41 |
+
|
| 42 |
+
# MM-OphBench: Multi-Center Multimodal Clinical Ophthalmic Benchmark Dataset
|
| 43 |
+
|
| 44 |
+
<div align="center">
|
| 45 |
+
|
| 46 |
+
**A Large-Scale, Standardized Multi-Center Benchmark Covering 7 Imaging Modalities & 4.3M+ Clinical Records**
|
| 47 |
+
|
| 48 |
+
[](https://huggingface.co/datasets/Kaphathy/Dataset)
|
| 49 |
+
[](https://creativecommons.org/licenses/by-nc-sa/4.0/)
|
| 50 |
+
[]()
|
| 51 |
+
[]()
|
| 52 |
+
|
| 53 |
+
</div>
|
| 54 |
+
|
| 55 |
+
---
|
| 56 |
+
|
| 57 |
+
## 1. Executive Summary & Repository Overview
|
| 58 |
+
|
| 59 |
+
The **MM-OphBench** repository hosts a petabyte-scale, clinically harmonized ophthalmic image archive compiled from leading ophthalmic hospitals and benchmark cohorts. It spans **4,307,415 high-resolution diagnostic images** and multimodal pairs across **7 distinct imaging modalities**, with comprehensive clinical metadata, expert lesion segmentations, and hierarchical diagnostic taxonomies.
|
| 60 |
+
|
| 61 |
+
All archives are compressed into high-speed Zstandard chunks (`.tar.zst`) with pre-indexed SHA-256 manifests. A centralized, fully de-identified master index is provided in `metadata/adapter_manifest_reviewed.parquet` (39.9 MB), allowing instant cross-cohort querying across imaging modalities, device models, scan protocols, and clinical diagnoses without requiring massive raw downloads.
|
| 62 |
+
|
| 63 |
+
---
|
| 64 |
+
|
| 65 |
+
## 2. Multi-Center Clinical Provenance & Ethical Governance
|
| 66 |
+
|
| 67 |
+
All patient identifiable information (PII) including patient names, hospital record numbers (MRNs), national identity codes, and date-of-birth timestamps have been removed or replaced with deterministic SHA-256 cryptographic hashes (`patient_hash`, `study_id`), strictly complying with HIPAA Safe Harbor and GDPR pseudonymization principles.
|
| 68 |
+
|
| 69 |
+
### Key Contributing Clinical Centers & Cohorts
|
| 70 |
+
1. **The Second Affiliated Hospital of Zhejiang University School of Medicine (浙二眼科)**
|
| 71 |
+
- *Contributions*: Longitudinal FFA/ICGA dynamic angiography sequences (`Final_eryuan_FFA`), 17-class retinal disease benchmark (`eryuanFundusT17RDCls`), anterior segment photography.
|
| 72 |
+
- *Clinical Leads*: Certified ophthalmologists (Prof. Wang Guoping and retinal angiography specialist team).
|
| 73 |
+
2. **Beijing Tongren Hospital, Capital Medical University (北京同仁医院)**
|
| 74 |
+
- *Contributions*: Longitudinal multi-condition clinical cohorts (`tongren_archives`), 66-class fine-grained disease screening benchmark (`trhd3_FRD_Cls66_Train`), and the standard 95-disease clinical taxonomy (`tongren95_taxonomy.csv`).
|
| 75 |
+
3. **The Second Xiangya Hospital of Central South University (中南大学湘雅二医院)**
|
| 76 |
+
- *Contributions*: High-frequency ocular B-scan ultrasonography with detailed diagnostic text reports (`BUltrasound`).
|
| 77 |
+
4. **InEye Hospital of Chengdu University of TCM (成都中医药大学附属银海眼科医院)**
|
| 78 |
+
- *Contributions*: Comprehensive Ultra-Widefield (UWF) Optos color imaging (`yinhai_uwf`, 274.6 GB), FFA dynamic sequences, and ocular B-scans.
|
| 79 |
+
5. **Chengdu First People's Hospital (成都市第一人民医院)**
|
| 80 |
+
- *Contributions*: 50MHz Ultrasound Biomicroscopy (UBM) ciliary body and anterior chamber angle quantitative morphometry (`ChengduShiyiUBM`).
|
| 81 |
+
6. **Handan Eye Hospital (河北邯郸眼科医院)**
|
| 82 |
+
- *Contributions*: Fluorescein angiography paired cohorts (`handan_ffa`, `handan_ffa2`) and epidemiological diabetic retinopathy screenings.
|
| 83 |
+
7. **Zhongshan Hospital, Fudan University (复旦大学附属中山医院)**
|
| 84 |
+
- *Contributions*: Multimodal cohort comprising 419,014 clinical visits with cross-system validation.
|
| 85 |
+
|
| 86 |
+
---
|
| 87 |
+
|
| 88 |
+
## 3. Optical Modalities & Hardware Instrumentation
|
| 89 |
+
|
| 90 |
+
The dataset captures full optical, acoustic, and angiography representations across the anterior and posterior segments of the human eye:
|
| 91 |
+
|
| 92 |
+
| Modality Subtype | Physical Imaging Principle | Primary Acquisition Hardware | Typical Clinical Protocol & Resolution | Sample Count |
|
| 93 |
+
| :--- | :--- | :--- | :--- | :--- |
|
| 94 |
+
| **Standard Color Fundus (CFP)** | 45° Broadband White Flash Photography | Canon CR6-45NM, CR-DGi, Topcon TRC-NW8 | 45° macular/disc centered; 2048x1536 to 4096x3072 px | **2,332,938** |
|
| 95 |
+
| **OCT B-scan** | Swept-Source (1050nm) & Spectral-Domain (870nm) OCT | Topcon DRI OCT Triton, Optovue RTVue XR Avanti, Heidelberg Spectralis | 3D Macula (512x256), 6x6mm / 12mm radial lines; axial res 2.6-7.0 μm | **939,312** |
|
| 96 |
+
| **Ultrasound Biomicroscopy (UBM)**| 50 MHz High-Frequency Acoustic Ultrasound | Tianjin Suowei SW-3200, MEDA MD-300L | Anterior chamber angle, ciliary body, ACD depth, 50 MHz probe | **449,588** |
|
| 97 |
+
| **Ultra-Widefield Fundus (UWF)** | Dual-wavelength (532/635nm) Confocal Scanning Laser | Optos 200Tx / California (200° Field of View) | Non-mydriatic 200° peripheral retina; 3900x3072 px | **206,215** |
|
| 98 |
+
| **Ocular B-Scan Ultrasound** | 10–20 MHz Pulse-Echo Acoustic Transducer | Sonomed Escalon, Quantel Medical, Mada | Vitreous opacity, retinal detachment, axial length | **112,612** |
|
| 99 |
+
| **External Anterior Photography**| Diffuse Visible Light Illumination | Topcon / Slit Lamp Imaging Camera | Cornea, iris, lens, cataract grading, external eye | **207,001** |
|
| 100 |
+
| **Reflectance SLO (En-face)** | 820 nm Infrared Scanning Laser Ophthalmoscopy | Heidelberg Spectralis HRA, Optos | En-face confocal infrared reflectance (IR-SLO) | **36,024** |
|
| 101 |
+
| **Fluorescein Angiography (FFA/ICGA)** | Dynamic Fluorescein Sodium (490/520nm) & ICG (790/830nm) | Heidelberg Spectralis HRA2, Topcon TRC-50DX | Dynamic perfusion sequence: early (0-30s), mid (1-3m), late (>5m) | **19,406** |
|
| 102 |
+
| **OCT / OCTA En-Face C-scans** | Motion-contrast decorrelation & slab projection | Optovue AngioVue, Topcon DRI Triton | Superficial/deep capillary plexus, outer retina slab | **3,000** |
|
| 103 |
+
|
| 104 |
+
---
|
| 105 |
+
|
| 106 |
+
## 4. Archive Directory & Shard Inventory
|
| 107 |
+
|
| 108 |
+
Archives are organized into self-contained sub-directories chunked at ~1024 MiB boundaries. Each shard is compressed using `zstd -1` for fast decompressibility:
|
| 109 |
+
|
| 110 |
+
| Dataset Directory | Modality Focus | Shards | Total Size | Primary Source Center | Key Files Included |
|
| 111 |
+
| :--- | :--- | :--- | :--- | :--- | :--- |
|
| 112 |
+
| `archives/yinhai_uwf/` | Ultra-Widefield (UWF) | 55 | 274.6 GB | Chengdu Yinhai Eye Hospital | 200° Optos color scans (55 tar.zst shards) |
|
| 113 |
+
| `archives/data0410/` | CFP, OCT Buckets, Comorbidity | 7 | 273.1 GB | Multi-center | `fundus_hcw.zip`, `octBuckets.zip`, clinical diagnosis Excel |
|
| 114 |
+
| `archives/tongren_archives/`| Longitudinal Retinal Cohort | 2 | 133.0 GB | Beijing Tongren Hospital | Raw longitudinal image archives |
|
| 115 |
+
| `archives/zhanghuan_selected_public/` | Public Benchmark Suites | 40 | 106.8 GB | Curated international public sets | 40 deduplicated archives (Messidor, ODIR, DDR, etc.) |
|
| 116 |
+
| `archives/Final_eryuan_FFA/` | Dynamic FFA/ICGA Sequences | 19 | 76.4 GB | ZJU-2 Eye Center | Full dynamic FFA frames + `output2.jsonl`, `visionoph4.jsonl` |
|
| 117 |
+
| `archives/eryuanFundusT17RDCls/` | 17-Class Retinal Disease CFP | 74 | 47.4 GB | ZJU-2 Eye Center | 17-category labeled fundus images for benchmark training |
|
| 118 |
+
| `archives/ChengduShiyiUBM/` | 50MHz Anterior UBM | 255 | 39.3 GB | Chengdu 1st People's Hospital | 50MHz ultrasound sweeps + `ChengduShiyiUBM.json` (ACD mm) |
|
| 119 |
+
| `archives/OCTA-500/` | 3D OCTA + Projection Slabs | 37 | 37.1 GB | NJUST / Public benchmark | 6mm & 3mm OCTA volumes with vascular masks |
|
| 120 |
+
| `archives/OCTA500_OCT/` | Structural OCT Volumes | 30 | 29.3 GB | NJUST / Public benchmark | Structural OCT volumes paired with OCTA-500 |
|
| 121 |
+
| `archives/WLOA/` | Wide-Field OCT Angiography | 18 | 17.4 GB | Benchmark suite | Wide-field OCTA scans |
|
| 122 |
+
| `archives/BUltrasound/` | Ocular B-Scan Ultrasound | 38 | 11.3 GB | Xiangya-2 & Yinhai | B-scan ultrasounds + `XiangyaBscan.json`, `YinhaiBscan.json` |
|
| 123 |
+
| `archives/trhd3_FRD_Cls66_Train/` | 66-Class Fine-Grained CFP | 8 | 7.8 GB | Tongren & Handan Eye Hospital | 66-disease multiclass training set with splits |
|
| 124 |
+
| `archives/handan_ffa/` | FFA Dynamic Series | 5 | 4.5 GB | Handan Eye Hospital | Handan clinical FFA angiograms |
|
| 125 |
+
| `archives/handan_ffa2/` | FFA Dynamic Series 2 | 3 | 2.7 GB | Handan Eye Hospital | Longitudinal follow-up FFA |
|
| 126 |
+
| `archives/chengdu_ffa/` | FFA Dynamic Series | 2 | 1.2 GB | Chengdu Yinhai Eye Hospital | Chengdu clinical FFA angiograms |
|
| 127 |
+
| `archives/yinhai_ffa/` | FFA Dynamic Series | 2 | 0.5 GB | Chengdu Yinhai Eye Hospital | High-resolution FFA sequences |
|
| 128 |
+
| `archives/DGOCF/` | Optic Disc & Glaucoma CFP | 1 | 0.8 GB | Benchmark suite | Optic nerve head center annotations |
|
| 129 |
+
|
| 130 |
+
---
|
| 131 |
+
|
| 132 |
+
## 5. Master Metadata (`metadata/`) & Clinical Crosswalks
|
| 133 |
+
|
| 134 |
+
Instead of downloading multi-hundred-gigabyte archives to inspect sample attributes, download the lightweight parquet files in `metadata/`:
|
| 135 |
+
|
| 136 |
+
### 1. `metadata/adapter_manifest_reviewed.parquet` (39.9 MB)
|
| 137 |
+
Contains **4,307,415 rows** mapping every asset with standard schema:
|
| 138 |
+
```python
|
| 139 |
+
import duckdb
|
| 140 |
+
|
| 141 |
+
con = duckdb.connect()
|
| 142 |
+
# Query device distribution across modalities
|
| 143 |
+
con.execute("""
|
| 144 |
+
SELECT modality_subtype, device_vendor, device_model, count(*) AS count
|
| 145 |
+
FROM 'metadata/adapter_manifest_reviewed.parquet'
|
| 146 |
+
GROUP BY 1, 2, 3
|
| 147 |
+
ORDER BY count DESC
|
| 148 |
+
LIMIT 10
|
| 149 |
+
""").df()
|
| 150 |
+
```
|
| 151 |
+
|
| 152 |
+
### 2. `metadata/tongren95_taxonomy.csv` (12 KB)
|
| 153 |
+
Comprehensive 95-class disease taxonomy mapping local clinical diagnoses (`raw_zh`) to standardized English terms (`canonical_en`), abbreviations (`AMD`, `PDR`, `RVO`, `CSC`), disease families (`family_en`), and specificity levels.
|
| 154 |
+
|
| 155 |
+
### 3. `metadata/labeled_assets_summary.json` (2.0 KB)
|
| 156 |
+
Complete breakdown of 1,817,159 instruction-tuned samples and 1,459,879 downstream high-confidence diagnostic splits.
|
| 157 |
+
|
| 158 |
+
---
|
| 159 |
+
|
| 160 |
+
## 6. Benchmark Evaluation Tasks
|
| 161 |
+
|
| 162 |
+
1. **17-Class Retinal Disease Classification (`eryuanFundusT17RDCls`)**:
|
| 163 |
+
Standardized 17-class classification for common and sight-threatening retinal conditions (Normal, DR, AMD, RVO, Pathological Myopia, Macular Hole, Epiretinal Membrane, Retinal Detachment, Retinitis Pigmentosa, etc.).
|
| 164 |
+
2. **66-Class Multi-Center Fine-Grained Diagnosis (`trhd3_FRD_Cls66_Train`)**:
|
| 165 |
+
Challenging 66-class classification covering rare and subtle ophthalmic pathologies validated across Beijing Tongren and Handan populations.
|
| 166 |
+
3. **95-Class Clinical Semantic Classification (`tongren95_taxonomy`)**:
|
| 167 |
+
Full-spectrum hospital diagnostic classification aligning free-text clinical reports to standardized ICD/canonical labels.
|
| 168 |
+
4. **Dynamic FFA Vessel & Microvascular Leakage Segmentation**:
|
| 169 |
+
Temporal sequence segmentation across early, arteriovenous, and late phases.
|
| 170 |
+
5. **Quantitative Anterior Chamber Morphometry (UBM)**:
|
| 171 |
+
Automated measurement of Anterior Chamber Depth (ACD in mm), Trabecular-Iris Angle (TIA), and angle-closure risk assessment.
|
| 172 |
+
|
| 173 |
+
---
|
| 174 |
+
|
| 175 |
+
## 7. Quick Start: Extraction & Usage Guide
|
| 176 |
+
|
| 177 |
+
### A. Download & Extract Archives (Linux / macOS)
|
| 178 |
+
To extract multi-part `.tar.zst` archives with maximum parallelism:
|
| 179 |
+
|
| 180 |
+
```bash
|
| 181 |
+
# Install zstd if not present
|
| 182 |
+
sudo apt-get install -y zstd # Ubuntu/Debian
|
| 183 |
+
brew install zstd # macOS
|
| 184 |
+
|
| 185 |
+
# Extract all shards for a specific dataset (e.g., BUltrasound)
|
| 186 |
+
cat archives/BUltrasound/BUltrasound-*.tar.zst | tar -I zstd -xvf - -C /path/to/destination/
|
| 187 |
+
```
|
| 188 |
+
|
| 189 |
+
### B. Python Fast Metadata Query
|
| 190 |
+
```python
|
| 191 |
+
import pandas as pd
|
| 192 |
+
|
| 193 |
+
# Read metadata directly from Hugging Face or local path
|
| 194 |
+
df = pd.read_parquet("metadata/adapter_manifest_reviewed.parquet",
|
| 195 |
+
columns=["image_id", "modality_subtype", "device_model", "hospital_domain"])
|
| 196 |
+
|
| 197 |
+
# Filter for SS-OCT B-scans from Topcon Triton
|
| 198 |
+
topcon_oct = df[(df["modality_subtype"] == "oct_bscan") & (df["device_model"] == "DRI OCT Triton")]
|
| 199 |
+
print(f"Loaded {len(topcon_oct)} Topcon SS-OCT B-scans")
|
| 200 |
+
```
|
| 201 |
+
|
| 202 |
+
---
|
| 203 |
+
|
| 204 |
+
## 8. Citation & Acknowledgments
|
| 205 |
+
|
| 206 |
+
If you use this benchmark or any subsets in your research, please cite:
|
| 207 |
+
```bibtex
|
| 208 |
+
@dataset{mm_ophbench2026,
|
| 209 |
+
title={MM-OphBench: A Multi-Center Multimodal Clinical Ophthalmic Benchmark Dataset},
|
| 210 |
+
author={Zhejiang University, Beijing Tongren Hospital, InEye Hospital, Xiangya Hospital, and Contributors},
|
| 211 |
+
year={2026},
|
| 212 |
+
publisher={Hugging Face},
|
| 213 |
+
howpublished={\url{https://huggingface.co/datasets/Kaphathy/Dataset}}
|
| 214 |
+
}
|
| 215 |
+
```
|
| 216 |
+
|
| 217 |
+
## 9. License & Terms of Use
|
| 218 |
+
- The aggregated metadata and clinical annotations are made available under **Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)**.
|
| 219 |
+
- Research use only. Not for direct diagnostic or medical intervention without regulatory clearance.
|