PanOrgan 3 β€” 4-Modality Calibrated Foundation Model (Zero-Leakage)

Project Title: The Pan-Organ Diagnostic Paradigm: A High-Capacity Foundation Model for Multi-Modality Medical Screening (Pan-Organ Net)

Overview

Expanded zero-leakage manifest across 5 cohorts with Stage 1 SSL, Stage 2a joint training, Stage 2b temperature-scaled calibration, and MNAR missingness stress evaluation.

  • Supported Modalities: MRI, CT, Ultrasound (US), Chest X-Ray (CXR)
  • Training Cohorts (5): pulmonary_cxr, busi_breast_us, kidney_ct_mri, ultrasound_nerve, prostatex_mri
  • Backbone: PanOrganNetV2 (defined in modeling_panorgan.py)
  • Checkpoint: best.pt
  • Full Evaluation JSON: thesis_report.json

Quantitative Evaluation Results (from thesis_report.json)

Classification & Calibration (Held-Out Test)

  • Optimal Temperature (T): 0.9390
Metric Uncalibrated Calibrated
macro_f1 0.8905 0.8905
accuracy 0.8793 0.8793
ece 0.0792 0.0598
brier 0.2105 0.2077

Segmentation Performance (Held-Out Test)

Cohort Samples Mean Dice IoU HD95 (mm)
busi - None None None
tcga_lgg - None None None
pulmonology_cxr - None None None
ultrasound_nerve - None None None
overall - None None None

MC2 Conformal Prediction Coverage (alpha = 0.10)

Cohort Test n Marginal Coverage Avg Set Size Abstention Rate
per_group - None None None

Included Files

  • best.pt β€” Trained PyTorch checkpoint weights
  • config.json β€” Model configuration, modality list, and release metadata
  • modeling_panorgan.py β€” PanOrganNetV2 PyTorch model definition
  • thesis_report.json β€” Full held-out test metrics, conformal coverage, and calibration data
  • figures/ β€” Diagnostic and evaluation plots (8 PNG figures)

Evaluation Figures

  • v3_calibration_comparison.png
  • v3_conformal_coverage.png
  • v3_confusion_matrix.png
  • v3_mnar_stress.png
  • v3_precision_recall_metrics.png
  • v3_segmentation_dice.png
  • v3_train_loss.png
  • v3_val_accuracy_f1.png

Quick Usage (PyTorch)

import torch
from huggingface_hub import hf_hub_download

ckpt_path = hf_hub_download(repo_id="theshoaibme/PanOrgan-3", filename="best.pt")
state = torch.load(ckpt_path, map_location="cpu", weights_only=False)
print("Loaded keys:", list(state.keys()) if isinstance(state, dict) else type(state))
Downloads last month
21
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support