- Mayank Sharma
- Rohit Mourya
- Danie George John
This repository contains our Phase-2 project based on:
UCDSC: Open Set UnCertainty aware Deep Simplex Classifier for Medical Image Datasets
Our work includes:
- paper-aligned baseline reproduction on
BloodMNISTandDermaMNIST - threshold / operating-point analysis
- low-dimensional
BloodMNISTstudy CIFAR-100extension outside the original medical domainPathMNISTextension in the low-dimensional regimed < C - 1
baseline/PathMNIST/CIFAR100/else/
Contains:
- baseline reproduction code
- baseline result files and summaries
Expected local dataset folder:
baseline/data/
Recommended dataset contents:
bloodmnist/dermamnist/octmnist/tissuemnist/asc/300K_random_images/
Contains:
- Mac/MPS PathMNIST extension code
- PathMNIST result files and summary
Expected local dataset folder:
PathMNIST/data/pathmnist/pathmnist.npz
Contains:
- Windows/CUDA CIFAR-100 extension code
- CIFAR-100 result files and summary
Expected local dataset folder:
CIFAR100/data/cifar100/
Contains:
- final Phase-2 PPT
- final report PDF
- threshold/theory/analysis summaries
- geometry plots, geometry summary table, and plot generator
BloodMNISTandDermaMNISTare paper-aligned reproduced baselines.PathMNISTandCIFAR-100are extension experiments.PathMNISTis a theory-motivated low-dimensional extension experiment, not a direct original-paper reproduction.
For a direct mapping between the repository contents and our updated paper, see:
PAPER_REPO_CONNECTION.md
| Dataset | ACC | AUROC | OSCR | TNR | DTACC |
|---|---|---|---|---|---|
| BloodMNIST | 98.242 +- 0.662 | 81.122 +- 8.230 | 80.544 +- 8.193 | 34.601 +- 18.037 | 76.820 +- 5.796 |
| DermaMNIST | 84.414 +- 6.389 | 67.373 +- 7.903 | 60.133 +- 11.355 | 14.545 +- 5.641 | 68.146 +- 3.255 |
ACC:94.53 +- 1.00AUROC:92.03 +- 2.06OSCR:87.95 +- 1.71TNR:59.33 +- 7.81
Setup:
- known classes
C = 6 - embedding dimension
d = 4 - therefore
d < C - 1
Main results:
ACC:42.840 +- 5.705AUROC:36.141 +- 13.591OSCR:12.491 +- 6.034TNR:1.923 +- 3.582
Geometry outputs are stored in:
else/geometry_plots/README.mdelse/geometry_plots/geometry_summary.csvelse/geometry_plots/all_datasets_geometry_summary.pngelse/geometry_plots/generate_geometry_plots.py
Each saved run also has:
- distance heatmap
- cosine heatmap
lambda_jbar plot- PCA projection plot
Examples:
else/geometry_plots/bloodmnist_baseline_distance_heatmap.pngelse/geometry_plots/dermamnist_baseline_lambda_bar.pngelse/geometry_plots/pathmnist_d4_cosine_heatmap.pngelse/geometry_plots/cifar100_extension_projection.png
Main geometry summary:
BloodMNIST baseline,DermaMNIST baseline,BloodMNIST feat_dim=32, andCIFAR-100are simplex-compatible in the saved runs: pairwise-distance CV is effectively0, norm CV is effectively0, andlambda_mean = 1.PathMNISTis visibly non-symmetric in the saved run: distance CV0.3411, norm CV0.4290,lambda_mean = 1.0412, andlambda_max = 1.0768.- This makes the geometry evidence directly useful for the paper's dimension discussion, because it separates the symmetric saved runs from the degraded low-dimensional saved run.
- Important caveat: the
PathMNISTnon-symmetry comes from the implemented low-dimensional fallback that skips simplex initialization whenfeat_dim < num_classes - 1, so this is evidence from our saved implementation, not a direct test of a balanced equal-norm low-dimensional construction from the theory.
baseline/results/bloodmnist.csvandbaseline/results/dermamnist.csvdirectly support the reproduced UCDSC baseline discussion in the paper.else/summaries/phase3_threshold_summary.*andelse/summaries/phase4_threshold_calibration.*directly support the threshold-selection and operating-point analysis in the paper.baseline/results/blood_dim32_summary.*directly supports the low-dimensionalBloodMNISTdimension-sensitivity discussion in the paper.else/summaries/anisotropy_summary.*,delta_cap_*, andaccepted_unknown_alignment.*support the paper's anisotropy / diagnostic discussion.else/geometry_plots/*supports the paper's geometry story by showing which saved runs remain simplex-compatible and where visible symmetry degradation appears.PathMNIST/results/*is a theory-linked companion experiment for the paper's centrald < C - 1question.CIFAR100/results/*is a theory-linked companion stress test showing behavior beyond the reproduced medical baseline setting.
Datasets are intentionally not committed to this GitHub-ready package because they are large.
They should be placed manually in the expected local folders before rerunning the experiments.