bio.rodeo
ModelsOrganizationsProvidersLeaderboardAboutSign in
bio.rodeo

The authoritative source for evaluating biological foundation models. No hype, just honest analysis.

Categories
  • DNA & Gene
  • RNA
  • Protein
  • Small molecule
  • Single-cell
  • Spatial omics
  • Pathology
  • Imaging
  • Metabolomics
  • Biosignals
  • Language model
bio.rodeoModelsOrganizationsProvidersLeaderboardAboutFAQSubmit a modelContact
© 2026 Pulsatance. All rights reserved. ~
Built by Pulsatance
models / pathology / ama-sam
PathologyImaging
Northwestern UniversityReleased March 2025

AMA-SAM

Histology nuclei segmentation that adapts SAM to train on several datasets at once, aligning auxiliary domains without diluting the primary one.

The short version

  • —Turns extra histology datasets into a gain on the target dataset instead of a loss
  • —Emits full-resolution masks directly, so nuclei boundaries survive without upsampling
  • —Reverses gradients only for auxiliary samples, leaving primary-domain features untouched
  • —Keeps the pretrained backbone frozen and trains only the added alignment and decoder modules
21Openness

Where to run it

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.

#Key Features

  • Conditional Gradient Reversal Layer: A domain discriminator drives adversarial alignment, but the reversed gradient is zeroed for primary-domain samples. Auxiliary features are pulled toward the primary distribution while the primary representation is left unperturbed.
  • High-Resolution Decoder: Sixteen learned slice tokens are added alongside SAM's frozen output token; a Multi-token Slices Producer turns them into sixteen low-resolution slices and a Pixel Ensemble Module reassembles those into one 1024×1024 mask, removing the interpolation step that blurs small nuclei.
  • Frozen backbone, trained adapters: All pretrained SAM parameters stay fixed. Only two-layer MLP adapters inserted at each transformer layer, the alignment modules, and the decoder are optimized, keeping the trainable footprint small.
  • Automatic prompting: A self-prompt generator produces coarse segmentation maps that serve as prompts for the fine segmentation stage, so no manual clicks or boxes are needed at inference.
  • Alignment-free inference: The discriminator and CGRL are training-only. At test time the network runs on primary-domain images alone, with no domain label required.

#Technical Details

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.

#Applications

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.

#Impact

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.

At a glance

Released
March 2025
Category
Pathology
Organization
Northwestern University

Related models

  • SAMPO-Path

    Fudan University

  • SAM-Med2D

    Shanghai AI Laboratory

  • MedSAM

    Bowang Lab / University Health Network / University of Toronto / Vector Institute / Western University / New York University / Yale University

  • MedicoSAM

    Computational Cell Analytics

  • CellSAM

    Van Valen Lab

Links

Research PaperResearch Paper

Tags

histologysegmentationtransfer_learningvision_transformer

Something wrong?

Much of this page is generated or calculated automatically. Flag anything that looks off and we will re-run it.