IPSM-Bench: A New Intermediate Phase Segmentation Benchmark in Microstructure Images of Zinc-Based Absorbable Biomaterials

Jinglin Xu, Shangyan Zhao, Jiabo Wang, Xinghong Mu, Yulong Lei, Jiacheng Zhang, Hongbo Sun, Yageng LiarXiv 2026

TL;DR

This paper introduces IPSM-Bench, the largest high-quality dataset for segmenting intermediate phases in zinc-alloy microstructures, alongside SCoP-SAM, a novel spatial-context-prior-guided adaptation of the Segment Anything Model. By automatically incorporating gradient and grayscale domain knowledge as prompts, SCoP-SAM achieves state-of-the-art segmentation performance and demonstrates remarkable generalization across diverse alloy systems.

What Problem Does This Paper Address?

Zinc-based alloys are rapidly emerging as vital absorbable biomaterials for orthopedics, dentistry, and cardiovascular medicine due to their biocompatibility and ideal degradation rates. The macroscopic performance of these metals is heavily dictated by their microscopic "intermediate phases"—distinct structural components like lamellar eutectics or spherical precipitates.

To optimize these materials, scientists must accurately segment and analyze these phases from Scanning Electron Microscopy (SEM) and Optical Microscopy (OM) images. However, doing this automatically via computer vision faces four formidable roadblocks:

  1. Data Scarcity: High-quality microstructural images require expensive expert annotation.
  2. Low Contrast: The grayscale difference between the alloy matrix and the intermediate phases can be as narrow as a few grayscale levels.
  3. Submicron Targets: Tiny, submicron-scale phases occupy very few pixels, making them easy to confuse with background noise.
  4. Complex Morphologies: Phases exhibit highly irregular, overlapping, and agglomerated shapes (e.g., dendritic, needle-like).

Existing foundation models like the Segment Anything Model (SAM) often fail to accurately resolve these fine, low-contrast structures without manual prompting.

Methods

To overcome these challenges, the authors developed SCoP-SAM (Spatial Context Prior-guided SAM), which infuses domain-specific physical traits directly into SAM’s architecture through three core modules:

  • Spatial Context Prior (SCP): This module extracts three types of information from the raw image: the standard RGB data, a gradient prior (using Canny edge detection and Otsu thresholding to preserve topological boundaries), and a grayscale prior (using K-means clustering to map color aggregation).
  • Prior-aware Prompting Encoder (PPE): Instead of relying on manual point or box prompts, SCoP-SAM transforms the spatial context priors into learnable prompting tokens. These tokens are fed directly into SAM’s internal transformer encoders, updating at each layer to guide the image encoding process.
  • Prior-enhanced Mask Decoder (PMD): The spatial priors are fused back into the final image embeddings within a two-block decoder, ensuring that both global context and local boundary details are accounted for when generating the final segmentation mask.

The entire network is optimized using a multi-task loss function combining Dice loss, binary cross-entropy loss, and an auxiliary IoU regression component.

Datasets

The authors introduce IPSM-Bench, which significantly expands the data available for this sub-field. They evaluate their method on it as well as two smaller, public benchmarks to test cross-domain generalization:

  • IPSM-Bench (New): Contains 1,054 microstructural images ($512 \times 512$ resolution) spanning 20 types of zinc-based alloys. It includes 22,179 manually annotated intermediate phase instances across both SEM and OM modalities.
  • NBS: A public dataset consisting of 23 nickel-based superalloy images.
  • UHCS-Seg: A public dataset containing 24 ultrahigh carbon steel images.
Figure 1: Overview of the proposed IPSM-Bench.

Key Insights and Ideas

  • Physics-Informed Prompts: Foundation models like SAM are powerful but "blind" to specialized scientific imagery. By translating basic image processing techniques (like Canny filters and K-means) into visual prompt tokens, the authors successfully bridge the gap between general computer vision and materials science domain knowledge.
  • Symmetrical Prior Injection: Injecting spatial priors into both the encoder and the decoder is crucial. The encoder uses the priors to anchor target regions, while the decoder uses them to accurately trace complex, blurred boundary contours.
  • Cross-Modality and Cross-Material Transfer: Even though the model was trained on zinc alloys, the underlying structural cues (gradients and grayscale shifts) are universal enough that the model generalizes effectively to steel and nickel datasets without retraining.

Key Results

SCoP-SAM sets a new state-of-the-art benchmark across multiple metrics (mean Intersection over Union [mIoU], mean F1-score [mF1], and mean Precision [mPre]):

  • On IPSM-Bench: SCoP-SAM achieved an mIoU of 71.52%, outperforming the baseline SAM (29.05%) and beating the closest specialized variant, DenseSAM, by 11.70%.
  • Zero-Shot Generalization: When evaluated on the external UHCS (steel) dataset, SCoP-SAM achieved 57.25% mIoU, vastly outperforming base SAM (32.00%) and proving its robustness against severe domain shifts.

Limitations and Future Work

Not discussed in the paper.

Summary updated

BibTeX
@misc{xu2026ipsm,
  author = {Jinglin Xu and Shangyan Zhao and Jiabo Wang and Xinghong Mu and Yulong Lei and Jiacheng Zhang and Hongbo Sun and Yageng Li},
  title = {{IPSM-Bench: A New Intermediate Phase Segmentation Benchmark in Microstructure Images of Zinc-Based Absorbable Biomaterials}},
  year = {2026},
  eprint = {2606.11001},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.11001},
}
Figure