midam-mil-auc-eval
Provable Multi-instance Deep AUC Maximization with Stochastic Pooling — Zhu et al. (2023) (arXiv:2305.08040, 2023)
What this evaluates
Evaluates multi-instance learning models for AUC maximization across tabular, histopathological, and medical image datasets. It probes the model's ability to handle large bags of instances via stochastic pooling while optimizing a min-max margin AUC loss.
Datasets
- MUSK1 — total 92; splits: train (-1), test (-1)
- MUSK2 — total 102; splits: train (-1), test (-1)
- Elephant — total 200; splits: train (-1), test (-1)
- Fox — total 200; splits: train (-1), test (-1)
- Tiger — total 200; splits: train (-1), test (-1)
- Breast Cancer — total 58; splits: train (-1), test (-1)
- Colon Ade. — total 1100; splits: train (-1), test (-1)
- PDGM — total 458; splits: train (-1), test (-1)
- OCT — total 2682; splits: train (-1), test (-1)
Metrics
testing AUC (primary) — range: [0, 1]
- Area Under the Receiver Operating Characteristic Curve. Computed as the fraction of positive-negative score pairs where the positive score is greater than the negative score.
Input / output format
Input: Bags of feature vectors or image patches, each bag associated with a single binary label (positive/negative).
Output: A single scalar prediction score per bag, passed through a sigmoid function.
Scoring recipe
def compute_auc(predictions, labels):
pos_scores = [p for p, l in zip(predictions, labels) if l == 1]
neg_scores = [p for p, l in zip(predictions, labels) if l == 0]
auc = 0.0
for ps in pos_scores:
for ns in neg_scores:
if ps > ns: auc += 1.0
elif ps == ns: auc += 0.5
return auc / (len(pos_scores) * len(neg_scores))
Common pitfalls
- Model selection uses the checkpoint with the largest validation AUC, not the final epoch.
- Deterministic pooling on high-resolution medical images causes GPU OOM; stochastic sampling is mandatory for baselines.
- Bag-level labels are used for evaluation, not instance-level ground truth.
Evidence (verbatim from paper)
We report the testing AUC based on a model with the largest validation AUC value. We uniformly randomly split the data with 0.9/0.1 train/test ratio and run 5-fold-cross-validation experiments with 3 different random seeds (totally 15 different trials).
Citation
@misc{zhu2023midam,
title={Provable Multi-instance Deep AUC Maximization with Stochastic Pooling},
author={Zhu et al. (2023)},
year={2023},
note={arXiv:2305.08040}
}
1---2name: midam-mil-auc-eval3description: Evaluates multi-instance learning models for AUC maximization across tabular, histopathological, and medical image datasets. It probes the model's ability to handle large bags of instances via stochastic pooling while optimizing a min-max margin AUC loss. Use when the user wants to benchmark on MUSK1, MUSK2, Elephant, Fox, Tiger, Breast Cancer, Colon Ade., PDGM, OCT, or asks about evaluating this task. Reports testing AUC.4metadata:5 source: https://skillmd.com/skills/qhjqhj00/midam-mil-auc-eval6 skill_kind: dataset_eval7 source_arxiv: 2305.080408 bibtex_key: zhu2023midam9 confidence: high10---1112# midam-mil-auc-eval1314> Provable Multi-instance Deep AUC Maximization with Stochastic Pooling — Zhu et al. (2023) (arXiv:2305.08040, 2023)1516## What this evaluates1718Evaluates multi-instance learning models for AUC maximization across tabular, histopathological, and medical image datasets. It probes the model's ability to handle large bags of instances via stochastic pooling while optimizing a min-max margin AUC loss.1920## Datasets2122- **MUSK1** — total 92; splits: train (-1), test (-1)23- **MUSK2** — total 102; splits: train (-1), test (-1)24- **Elephant** — total 200; splits: train (-1), test (-1)25- **Fox** — total 200; splits: train (-1), test (-1)26- **Tiger** — total 200; splits: train (-1), test (-1)27- **Breast Cancer** — total 58; splits: train (-1), test (-1)28- **Colon Ade.** — total 1100; splits: train (-1), test (-1)29- **PDGM** — total 458; splits: train (-1), test (-1)30- **OCT** — total 2682; splits: train (-1), test (-1)3132## Metrics3334- `testing AUC` **(primary)** — range: [0, 1]35 - Area Under the Receiver Operating Characteristic Curve. Computed as the fraction of positive-negative score pairs where the positive score is greater than the negative score.3637## Input / output format3839**Input**: Bags of feature vectors or image patches, each bag associated with a single binary label (positive/negative).4041**Output**: A single scalar prediction score per bag, passed through a sigmoid function.4243## Scoring recipe4445```python46def compute_auc(predictions, labels):47 pos_scores = [p for p, l in zip(predictions, labels) if l == 1]48 neg_scores = [p for p, l in zip(predictions, labels) if l == 0]49 auc = 0.050 for ps in pos_scores:51 for ns in neg_scores:52 if ps > ns: auc += 1.053 elif ps == ns: auc += 0.554 return auc / (len(pos_scores) * len(neg_scores))55```5657## Common pitfalls5859- Model selection uses the checkpoint with the largest validation AUC, not the final epoch.60- Deterministic pooling on high-resolution medical images causes GPU OOM; stochastic sampling is mandatory for baselines.61- Bag-level labels are used for evaluation, not instance-level ground truth.6263## Evidence (verbatim from paper)6465> We report the testing AUC based on a model with the largest validation AUC value. We uniformly randomly split the data with 0.9/0.1 train/test ratio and run 5-fold-cross-validation experiments with 3 different random seeds (totally 15 different trials).6667## Citation6869```bibtex70@misc{zhu2023midam,71 title={Provable Multi-instance Deep AUC Maximization with Stochastic Pooling},72 author={Zhu et al. (2023)},73 year={2023},74 note={arXiv:2305.08040}75}76```7778- arXiv: 2305.08040