Download zero-shot/benchmark_protocol.json from ChartFoundation/BioLoom-EvalSuite: direct link, hf CLI and curl.
- Browser
- Download file 11.1 kB
-
https://huggingface.co/datasets/ChartFoundation/BioLoom-EvalSuite/resolve/main/zero-shot/benchmark_protocol.json
- Command line
-
hf download hf://datasets/ChartFoundation/BioLoom-EvalSuite/zero-shot/benchmark_protocol.json
-
curl -L -o benchmark_protocol.json https://huggingface.co/datasets/ChartFoundation/BioLoom-EvalSuite/resolve/main/zero-shot/benchmark_protocol.json
11.1 kB
| { | |
| "name": "BioLoom Biomedical Zero-Shot Classification Benchmark", | |
| "version": "2.3", | |
| "logical_tasks": 67, | |
| "canonical_datasets": 43, | |
| "domains": { | |
| "cellular_phenotyping": "Cell state, morphology, and subcellular localization.", | |
| "structure_profiling": "Biological structure and specimen identification in microscopy.", | |
| "microscopy_composition": "Microscopy domain, modality, stain and submodality identification.", | |
| "cytology": "Cell-level diagnostic and morphological classification.", | |
| "histopathology": "Neoplastic and non-neoplastic tissue classification.", | |
| "radiology": "Radiography, ultrasound, and 2D organ CT views.", | |
| "ophthalmology": "Fundus and retinal OCT classification.", | |
| "dermatology": "Dermoscopy-based skin-lesion classification.", | |
| "surgery_and_anatomy": "Surgical anatomy and gastrointestinal endoscopic findings.", | |
| "microbial_and_parasitic_recognition": "Microscopic identification of parasites and bacterial morphology or Gram status." | |
| }, | |
| "task_contracts": { | |
| "microbench_sample_specific_mcq": { | |
| "tasks": [ | |
| "contour", | |
| "texture", | |
| "eccentricity", | |
| "brightfield", | |
| "darkfield", | |
| "epifluorescence", | |
| "structure_identification", | |
| "pollen_classification", | |
| "domain", | |
| "modality", | |
| "stain", | |
| "submodality", | |
| "cell_type", | |
| "tissue_classification" | |
| ], | |
| "prompt_policy": "Encode each image once. Encode both pinned uBench caption variants for every semantic option, L2-normalize each text embedding, average the two embeddings by option position, and L2-normalize the resulting class vector. Produce one prediction and one metric record per image. The release validator requires equal option counts and identical answer indices across the two variants.", | |
| "metrics": "Top-1 accuracy; semantic-class macro-F1; flattened sample-option AUC.", | |
| "compatibility_metrics": "The MedPMC compatibility view also reports its published option-index macro-F1." | |
| }, | |
| "fixed_classification": { | |
| "datasets": [ | |
| "lc25000", | |
| "patchcamelyon", | |
| "chexpert", | |
| "pneumoniamnist", | |
| "breastmnist", | |
| "retinamnist", | |
| "deepdrid", | |
| "dermamnist", | |
| "ham10000" | |
| ], | |
| "prompt_policy": "Encode each image once. Use two equivalent, version-pinned prompt views for every semantic class. L2-normalize each prompt embedding, average the two embeddings, and L2-normalize the class vector. Produce one prediction and one metric record per image; do not average independently computed metric scores.", | |
| "metrics": "Accuracy, semantic-class macro-F1 and pooled one-vs-rest AUC." | |
| }, | |
| "multilabel": { | |
| "datasets": [ | |
| "chestmnist", | |
| "dresden_surgical_anatomy" | |
| ], | |
| "tasks": [ | |
| "multilabel_chest_findings", | |
| "multilabel_anatomy" | |
| ], | |
| "prompt_policy": "Encode two equivalent positive prompts and two equivalent negative prompts per label, ensemble each class in normalized text space, and produce one binary decision per label.", | |
| "metrics": "Element-wise accuracy; mean per-label binary F1; mean valid per-label AUC." | |
| }, | |
| "binary_presence": { | |
| "dataset": "dresden_surgical_anatomy", | |
| "tasks_suffix": "_presence", | |
| "prompt_policy": "Use two fixed positive/negative prompt pairs per anatomy.", | |
| "metrics": "Accuracy, two-class Macro-F1 and binary AUC." | |
| }, | |
| "rsna_binary": { | |
| "dataset": "rsna_pneumonia", | |
| "prompt_policy": "Use two equivalent normal/pneumonia prompt views: the pinned MedPMC wording and a semantic paraphrase.", | |
| "metrics": "Accuracy, two-class Macro-F1 and binary AUC." | |
| } | |
| }, | |
| "aggregation": [ | |
| "Compute metrics independently for every logical task; average published test conditions within a task.", | |
| "Average task metrics within each of the 43 sources.", | |
| "Average sources within each of the ten domains.", | |
| "Average the ten domain metrics equally for Overall." | |
| ], | |
| "prompt_ensemble": { | |
| "image_passes": 1, | |
| "formula": "c_k = normalize(mean_j(normalize(text(prompt_{k,j}))))", | |
| "decision": "argmax_k scale * dot(normalize(image), c_k)", | |
| "metric_rule": "Metrics are computed once from the single ensembled prediction and its class logits. Prompt-specific metrics are never averaged.", | |
| "views_per_class": 2, | |
| "view_semantics": "Equivalent semantic paraphrases with comparable information content; this is not a short-versus-long-description protocol." | |
| }, | |
| "anti_overweighting": { | |
| "rule": "A physical dataset receives one vote per domain after its internal task average.", | |
| "examples": [ | |
| "The 12 Dresden task views are averaged before Surgery and Anatomy aggregation.", | |
| "LC25000 colon and lung tasks are averaged before Histopathology aggregation.", | |
| "Burgess and Eulenberg attribute tasks are averaged within their canonical datasets." | |
| ] | |
| }, | |
| "compatibility_views": { | |
| "biomedica_table2": "Preserve the audited notebook-compatible task grouping and prompt pairing.", | |
| "medpmc_26": "Preserve MedPMC dataset-first then specialty-first aggregation where exact artifacts exist.", | |
| "current_benchmark": "Use the normalized domains, all four BIOMEDICA microscopy-composition tasks, and public deterministic variants defined here." | |
| }, | |
| "public_variants": { | |
| "lc25000": "Pinned BIOMEDICA test split; MedPMC's exact 1000-colon/1499-lung file lists are not public.", | |
| "dresden_surgical_anatomy": "Pinned 2942-image BIOMEDICA Dresden test split; the MedPMC 2952-image COCO list is not public. The 10-label task excludes abdominal wall exactly as in MedPMC." | |
| }, | |
| "source_aggregation": "Tasks or source-defined test conditions within source, sources within domain, ten domains equally.", | |
| "additional_sources": { | |
| "octmnist": { | |
| "name": "OCTMNIST", | |
| "cite": "yang2023medmnist", | |
| "url": "https://medmnist.com/", | |
| "target": "Retinal OCT disease", | |
| "split": "Official test", | |
| "license": "CC BY 4.0; retain upstream attribution" | |
| }, | |
| "tissuemnist": { | |
| "name": "TissueMNIST", | |
| "cite": "yang2023medmnist", | |
| "url": "https://medmnist.com/", | |
| "target": "Kidney cell type", | |
| "split": "Official test", | |
| "license": "CC BY 4.0; retain upstream attribution" | |
| }, | |
| "organmnist_2d": { | |
| "name": "OrganMNIST 2D", | |
| "cite": "yang2023medmnist", | |
| "url": "https://medmnist.com/", | |
| "target": "Organ identity in axial, coronal and sagittal CT", | |
| "split": "Official test, three views", | |
| "license": "CC BY 4.0; retain upstream attribution" | |
| }, | |
| "coos7": { | |
| "name": "COOS-7", | |
| "cite": "coos2019", | |
| "url": "https://arxiv.org/abs/1906.07282", | |
| "target": "Subcellular localization", | |
| "split": "Four official test conditions", | |
| "license": "Retain original source terms and attribution" | |
| }, | |
| "rfmid": { | |
| "name": "RFMiD", | |
| "cite": "rfmid2021", | |
| "url": "https://doi.org/10.3390/data6020014", | |
| "target": "Normal versus abnormal retina", | |
| "split": "Official test", | |
| "license": "Retain original source terms and attribution" | |
| }, | |
| "papila": { | |
| "name": "PAPILA", | |
| "cite": "papila2022", | |
| "url": "https://doi.org/10.1038/s41597-022-01388-1", | |
| "target": "Glaucoma status", | |
| "split": "Union of publisher Test 1 fold test sets", | |
| "license": "Retain original source terms and attribution" | |
| }, | |
| "gastrovision": { | |
| "name": "GastroVision", | |
| "cite": "gastrovision2023", | |
| "url": "https://arxiv.org/abs/2307.08140", | |
| "target": "Endoscopic anatomy, findings and procedures", | |
| "split": "Released test.csv", | |
| "license": "Retain original source terms and attribution" | |
| }, | |
| "derm12345": { | |
| "name": "DERM12345", | |
| "cite": "derm123452024", | |
| "url": "https://doi.org/10.1038/s41597-024-04104-3", | |
| "target": "Nine second-level skin-lesion classes", | |
| "split": "Official test, main_class_2 labels", | |
| "license": "CC BY; retain ISIC attribution" | |
| }, | |
| "ku_optofil": { | |
| "name": "KU-Optofil PBC", | |
| "cite": "kuoptofil2026,kuoptofil2025data", | |
| "url": "https://zenodo.org/records/17333317", | |
| "target": "Peripheral blood cell type", | |
| "split": "Publisher patient-level test partition", | |
| "license": "Retain original source terms and attribution" | |
| }, | |
| "medimeta_aml": { | |
| "name": "MedIMeta-AML", | |
| "cite": "medimeta2025", | |
| "url": "https://zenodo.org/records/7884735", | |
| "target": "AML cytomorphology", | |
| "split": "MedIMeta publisher test split, not original LMU split", | |
| "license": "Retain both MedIMeta and original AML source terms" | |
| }, | |
| "cytodata": { | |
| "name": "CytoData", | |
| "cite": "cytodata2025", | |
| "url": "https://www.ebi.ac.uk/biostudies/studies/S-BSST2156", | |
| "target": "Blood-cell morphology and artefacts", | |
| "split": "Released test directory", | |
| "license": "Retain original source terms and attribution" | |
| }, | |
| "raabin_wbc": { | |
| "name": "Raabin-WBC", | |
| "cite": "raabin2022", | |
| "url": "https://raabindata.com/", | |
| "target": "White blood cell type", | |
| "split": "TestA and TestB pooled within source", | |
| "license": "Retain original source terms and attribution" | |
| }, | |
| "omnipose": { | |
| "name": "Omnipose (derived modality task)", | |
| "cite": "omnipose2022", | |
| "url": "https://doi.org/10.1038/s41592-022-01639-4", | |
| "target": "Phase-contrast versus fluorescence", | |
| "split": "All released bacterial test files; derived classification", | |
| "license": "Retain original source terms and attribution" | |
| }, | |
| "hyperkvasir": { | |
| "name": "HyperKvasir", | |
| "cite": "hyperkvasir2020", | |
| "url": "https://doi.org/10.1038/s41597-020-00622-y", | |
| "target": "Endoscopic anatomy, findings and procedures", | |
| "split": "Published two-fold union, all labeled static images", | |
| "license": "Retain original source terms and attribution" | |
| }, | |
| "lids": { | |
| "name": "LIDS intestinal parasites", | |
| "cite": "lidsdatasets", | |
| "url": "https://github.com/LIDS-UNICAMP/intestinal-parasites-datasets", | |
| "target": "Helminth eggs, larvae and protozoan cysts", | |
| "split": "Three publisher test partitions per task", | |
| "license": "Retain original source terms; repository does not establish a blanket new license" | |
| }, | |
| "bacteria2026": { | |
| "name": "Bacterial morphology / Gram (2026)", | |
| "cite": "bacteria2026", | |
| "url": "https://doi.org/10.1007/s10044-026-01751-7", | |
| "target": "Bacterial morphology and Gram status", | |
| "split": "Author-code-reproduced whole-image split; not paper ROI benchmark", | |
| "license": "Retain original image collection and annotation terms" | |
| } | |
| }, | |
| "additional_auc": "Class-wise one-vs-rest AUC on softmax(100*cosine) scores; classes with no positives or no negatives are omitted from AUC only.", | |
| "paper_model_row": "Two measured BioLoom rows: Scratch step 335000 and DFN-2B step 300000." | |
| } | |