BioHCL-SSSM / checkpoints /README.md
unknownBrain's picture
Upload audited clean BioHCL-SSSM 256-d codebase, verified weights, 5-fold patient-grouped CV, and 11-variant ablations
bb5e4ec verified
|
Raw History Blame Contribute Delete
3.98 kB

Verified Checkpoints Inventory

All 21 checkpoints in this directory are clean torch.save(state_dict) tensors verified via scripts/smoke_check.py with 0 thop (total_ops / total_params) buffer pollution, 0 leaked secrets/tokens, and strict=True reproducibility.


1. aug12_verified/ — Canonical Aug-12 Knowledge Distillation & Core Ablation Weights

Evaluated strictly in FP32 on the untouched official Kermany held-out test/ split (N = 624; 234 NORMAL, 390 PNEUMONIA) at fixed t = 0.50.

File Size SHA256 Prefix State Keys / Scalars Trainable Params Test Acc (t=0.50) CLI Flags (evaluate_single_checkpoint.py)
biohcl_sssm_student_256d.pt 32.41 MB 712a9b9ab37e05e8 780 / 8,424,323 8,340,554 87.50% (default flags)
baseline_resnet50.pt 89.99 MB 11827f646896fc49 320 / 23,565,303 23,512,130 84.29% (FP32) / 84.46% (AMP) --arch resnet50
ablation_single_cnn_256d.pt 4.78 MB de087c0270a95f87 51 / 1,249,822 1,249,822 83.81% --chain-mode single_cnn
ablation_no_bioprior_256d.pt 32.41 MB 6061a92cfb0549af 780 / 8,424,323 8,340,554 82.37% --no-bio-prior
ablation_no_positional_256d.pt 32.41 MB f217a45f6b4989c9 780 / 8,424,323 8,340,554 81.09% --no-positional

2. cv_folds/ — Patient-Grouped 5-Fold StratifiedGroupKFold Weights (Direct 256-d, L=2)

Trained with 0 patient overlap and 0 MD5 duplicate overlap across folds (N = 5,232 images across 2,861 patient groups); official test/ (N = 624) remained strictly untouched.

File Size SHA256 Prefix Scalars Val Acc (t=0.50) Val Macro-F1 Val AUC
biohcl_256d_fold0.pt 32.40 MB e2a93150af044f91 8,424,323 99.01% 0.9874 0.9995
biohcl_256d_fold1.pt 32.40 MB 5d1d273d0d50bc3f 8,424,323 99.62% 0.9951 0.9999
biohcl_256d_fold2.pt 32.40 MB 4df5f51bf064dddc 8,424,323 99.42% 0.9924 0.9989
biohcl_256d_fold3.pt 32.40 MB ea8af264460a2eec 8,424,323 99.53% 0.9938 0.9993
biohcl_256d_fold4.pt 32.40 MB 0f22634f4b2c759c 8,424,323 99.16% 0.9890 0.9993

3. ablations_256d/ — Unified Fold-0 Controlled Ablation Weights (--epochs 30 --patience 8)

Trained under identical Fold-0 patient-grouped split (random_state=42, seed=42) with single-pass fixed t=0.50 test evaluation.

File Size SHA256 Prefix Scalars Keys Test Acc CLI Flags
SSSM_L2_Ref.pt 32.40 MB ee2af28ff0ab4642 8,424,323 780 82.69% (default flags)
MHSA_L2_8Heads.pt 33.25 MB 723aa2c45eaf487d 8,646,931 776 83.01% --block-type mhsa
Depth_SSSM_L1.pt 30.55 MB 9903ba5273095393 7,940,165 762 80.61% --layers 1
Depth_SSSM_L3.pt 34.27 MB 45ba23453f3fcd51 8,912,589 798 82.37% --layers 3
Depth_SSSM_L4.pt 36.15 MB d5dfced39e56edc1 9,404,963 816 85.26% --layers 4
Ablation_NoSkip_L2.pt 32.40 MB f6450a525635b0ac 8,424,323 780 84.62% --no-skip
Loss_WeightedCE_Uniform.pt 32.41 MB ecbdc939234447f2 8,424,323 780 85.90% (default flags)
Loss_FocalGamma2_Uniform.pt 32.41 MB dfa0e8b85e888fe4 8,424,323 780 82.69% (default flags)
Consistency_Lambda_0.01.pt 32.41 MB b316b380c72415d8 8,424,323 780 81.41% (default flags)
Consistency_Lambda_0.05.pt 32.41 MB e89ca95204093b6d 8,424,323 780 78.69% (default flags)
Consistency_Lambda_0.20.pt 32.41 MB fd4aaa2d317ac3e2 8,424,323 780 82.69% (default flags)