Histology nuclei segmentation that adapts SAM to train on several datasets at once, aligning auxiliary domains without diluting the primary one.
No providers recorded yet. Browse all providers
Nuclei segmentation underpins most quantitative histopathology: nuclear morphology, size, and spatial arrangement feed grading, prognosis, and tissue-composition analysis. The public benchmarks for the task are small — tens of annotated whole-slide crops each — so models trained on any one of them overfit to its staining protocol and scanner. Pooling several datasets is the obvious remedy, but it usually backfires. Differences in acquisition, staining, and annotation convention introduce domain shift, and naively mixing the data degrades performance on the dataset a pathologist actually cares about.
AMA-SAM, from the Department of Radiology at Northwestern University, reframes multi-dataset training as an asymmetric problem: one dataset is designated primary, the rest are auxiliary, and the objective is to improve the primary result by borrowing from the others rather than to do equally well on all of them. It builds on the Segment Anything Model, joining a family of biomedical SAM adaptations that includes MedSAM, but addresses two failure modes specific to this setting — cross-dataset domain shift and SAM's fixed low-resolution mask output. The paper appeared as a preprint in March 2025 and was published in Medical Image Analysis.
All experiments use a ViT-B image encoder, trained with Adam for 30 epochs on a single NVIDIA RTX 4090, with the learning rate set inversely to dataset size (2 × 10⁻⁴ for 40 images) and decayed exponentially by a factor of 0.98. Four public benchmarks are used: MoNuSeg (44 multi-organ images at 1000 × 1000), TNBC (50 immunohistochemically stained triple-negative breast cancer images at 512 × 512), CryoNuSeg (30 cryosectioned images), and cpm17. Each is evaluated as the primary dataset with the remaining three as auxiliaries.
The characteristic result is directional. With MoNuSeg as primary, nnU-Net's Dice falls from 81.09% to 80.67% when auxiliary data is added and the SAM-based UN-SAM baseline falls from 84.17% to 83.13%, while AMA-SAM rises from 84.51% to 85.12%; on TNBC it rises from 86.36% to 87.10%. Instance segmentation shows the same pattern: AMA-SAM's Aggregated Jaccard Index on MoNuSeg goes from 51.23 to 52.24 with auxiliary data, against UN-SAM's decline from 50.59 to 49.13, with HoVer-Net at 46.76 and Mask R-CNN at 36.15. An alignment ablation confirms the mechanism — adding auxiliary data with no alignment drops Dice to 83.77%, a standard gradient reversal layer partially recovers it, and the conditional variant recovers it fully.
The setting AMA-SAM addresses is common in digital pathology: a group has a modest annotated cohort for the tissue and stain it studies, plus access to public nuclei datasets from unrelated organs and protocols. AMA-SAM offers a way to spend that public data on the in-house cohort without the usual penalty, producing full-resolution instance masks suitable for downstream measurements of nuclear area, perimeter, and density that interpolated low-resolution masks distort.
The contribution is a clean statement of a problem the field had been handling badly — multi-dataset training in histology is normally a wash or worse — together with a targeted fix that reverses the sign of the effect. The absolute margins are small, under one Dice point on the primary benchmarks, and evaluation is confined to four public datasets of a few dozen images each. No public code or weights repository accompanies the paper, so reproduction currently requires reimplementation from the method description.
Much of this page is generated or calculated automatically. Flag anything that looks off and we will re-run it.