ViT-Tiny β Computational Pathology Architecture Benchmark
Overview
This checkpoint is part of a controlled comparison of ViT-Base, ViT-Small, ViT-Tiny, and ResNet-50 for binary classification of breast-cancer metastasis in H&E-stained lymph-node image patches. Models are compared using documented dataset splits, preprocessing, and evaluation procedures. This is a patch classifier, not a whole-slide MIL model.
Model details
| Item | Specification |
|---|---|
| Architecture | ViT-Tinyl (Vision Transformer) |
| Framework | PyTorch / Graphcore PopTorch for training |
| Training dataset | Camelyon17-WILDS from datasets available at Hugging Face |
| Image size | [96Γ96x3, RGB] |
| Initialization | pretrained source/weights, not independently verified |
| Output | Two class logits, [0 for normal, 1 for cancer] |
| Parallel training mode | model1 |
| IPU configuration | IPU 8, stage mapping, replication factor:1] |
| Checkpoint format | PyTorch state_dict (.pt), weights only, torch.save(model.state_dict(), "model.pt") Loading: model.load_state_dict(torch.load("model.pt")) |
Benchmark results
| Dataset / split | Accuracy | ROC-AUC | Notes |
|---|---|---|---|
| "wltjr1007/Camelyon17-WILDS"/"test" | 0.9141 | 0.9787 | Evaluation seed: Not required, Number of images=85,054 |
To compare models fairly, use identical evaluation splits and preprocessing. Report model parameters, runtime/throughput, and hardware when available; do not compare timings from different accelerator configurations without qualification.
Reproducibility
- Training code: https://github.com/kimdesok/Computational_Pathology_on_Graphcore_IPU/blob/main/Iputrain-wrapper.py, https://github.com/kimdesok/Computational_Pathology_on_Graphcore_IPU/blob/main/Iputrain-main.py
- Evaluation script: https://github.com/kimdesok/Computational_Pathology_on_Graphcore_IPU/blob/main/Evaluate_models.ipynb
- Data source and version: https://huggingface.co/datasets/wltjr1007/Camelyon17-WILDS
- Preprocessing: [SET pixel scaling, resize/crop, RGB order, mean/std]
- Training configuration: LR=5e-06, batch size=1, gradient accumulation=32, epochs=200, scheduler, augmentations, seed=42
- Inference: https://github.com/kimdesok/Computational_Pathology_on_Graphcore_IPU/blob/main/Evaluate_models.ipynb]
Intended use and limitations
For educational use and non-commercial research in computational pathology. Not validated for clinical diagnosis, patient management, or deployment in a medical device. Performance may differ across scanners, institutions, tissue preparations, artifacts, and image preprocessing. The model predicts at patch level; slide-level conclusions require a separate validated aggregation pipeline.
License and inquiries
This model is intended for educational and non-commercial research use; commercial use requires a separate agreement. See the repository's LICENSE file for binding terms. The model-card metadata is provisional until the LICENSE document has been finalized. Contact: dskim@btrust.co.kr.
Acknowledgments
Developed in the context of accelerator-focused computational pathology research. as part of National HPC Supporting Program by AICA, Gwangju that kindly provided Graphcore's 8 IPUs for the model training. This model represents our commitment to reducing the manual workload of pathologists by using high-performance AI assisted software.
Release history
| Version | Date | Description |
|---|---|---|
| v1.0 | 2026-11-24 | Initial public architecture-benchmark checkpoint |
Model tree for kimdesok/vit_tiny_camelyon17_wilds_model_parallel_8ipu
Base model
timm/vit_tiny_patch16_224.augreg_in21k