REVIEW 3 major objections 4 minor 42 references
ScSAM: Debiasing Morphology and Distributional Variability in Subcellular Semantic Segmentation
T0 review · 3 major / 4 minor · reviewed 2026-08-06 · deepseek-v4-flash
Pith's one-line read ScSAM fuses SAM with MAE embeddings to set top scores in subcellular segmentation.
desk verdict Competent fusion architecture for EM subcellular segmentation, but the state-of-the-art claims are currently undermined by MAE pre-training on the evaluation set. read the letter →
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
The reading
What carries the argument
The load-bearing component is the Feature Alignment and Fusion Module: it projects frozen SAM and MAE embeddings into a common dimension with small MLPs, aligns their directions with a cosine-similarity loss, concatenates and convolves them with Group Normalization, re-weights channels with a channel attention module, and adds an auxiliary SAM-only stream to preserve semantic detail. The second load-bearing piece is the cosine-similarity class prompt encoder: learnable class prototypes are compared with the fused feature map, the resulting similarity matrix activates class-specific regions, and one-hot coding turns the activated features into dense and sparse prompts for the mask decoder. A contrastive loss pulls each prototype toward its class embeddings and pushes different classes apart, while a Dice loss supervises the final masks.
What would settle it
Run the same ScSAM pipeline with an MAE encoder pre-trained on unrelated images, such as natural photographs or a different electron-microscopy dataset, and evaluate on the same BetaSeg splits; if the margin over the SAM-only baseline mostly disappears, the reported gains come from target-domain familiarity in the MAE rather than from the fusion mechanism itself.
Extended reading notes
Core claim
ScSAM's central claim is that SAM's failure modes on subcellular data, confusing similarly shaped small organelles and missing fine detail, come from relying on a single feature mapping, and that the cure is a complementary mapping supplied by a Masked Autoencoder. The paper shows that MAE embeddings, learned by image reconstruction, attend to multi-scale structural patterns, while SAM embeddings encode edges, shapes, and region-level consistency. The proposed method aligns these two spaces with a cosine-similarity loss, fuses them through attention-weighted convolutions, and feeds the fused features together with class prototypes to the mask decoder. The paper reports the top Challenge IoU, mean IoU, AJI, and overall Dice score in both nutritional settings of BetaSeg, with the largest gains on mitochondria and granules.
Load-bearing premise
The argument rests on treating the Masked Autoencoder's weights, which were pre-trained on the same BetaSeg image volumes used for evaluation, as generic cellular prior knowledge rather than as advance familiarity with the test images.
Editorial extensions
If this is right
- The dual frozen-encoder design means the same SAM and MAE pair can be attached to other segmentation heads while updating only a small set of parameters, reducing the cost of adapting foundation models to microscopy.
- The largest reported gains are on small, irregular organelles: granule Dice rises from 0.505 with vanilla SAM to 0.798 in high-glucose cells, and from 0.385 to 0.767 in low-glucose cells.
- Training reaches peak Dice in about 3.2 hours, roughly half the training time reported for the SurgicalSAM baseline under the same settings.
- Cross-dataset tests in both glucose-transfer directions show the fused representation beats a SAM-only baseline, with up to 5.3% absolute Dice improvement on granules.
Reading between the lines
- Beyond the paper: because the MAE encoder was pre-trained on the same BetaSeg volumes used for evaluation, the cleanest control would be replacing it with an MAE trained on unrelated images; the paper does not include that control.
- Beyond the paper: the same cross-task fusion could be tested on volume electron microscopy and other long-tailed biomedical segmentation tasks where one encoder supplies texture and the other supplies boundaries.
- Beyond the paper: the class prompt encoder's prototype-similarity activation resembles a few-shot mechanism, so a natural extension is segmenting a novel organelle from a single annotated prototype without retraining.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper proposes ScSAM, a subcellular semantic segmentation framework that fuses a frozen SAM encoder with a frozen MAE encoder. A Feature Alignment and Fusion Module (FAFM) aligns and combines the two embedding spaces, and a cosine-similarity-based class prompt encoder generates class-specific sparse and dense prompts for the mask decoder. The method is evaluated on the BetaSeg high- and low-glucose FIB-SEM datasets, where it reports state-of-the-art results on Challenge IoU, m IoU, AJI, and Dice, with ablations attributing gains to the fusion module, alignment loss, and class prompt encoder.
Significance. If the reported gains survive a clean evaluation, ScSAM provides a practical recipe for adapting SAM to subcellular EM under limited labels, and it is one of the first SAM-based approaches specifically targeting organelle segmentation. The paper includes thorough ablations, efficiency comparisons, and qualitative visualizations. However, the target-domain MAE pre-training and the absence of error bars currently make the headline claims conditional. The central architecture is sensible, but the empirical support for generalizable 'cellular prior knowledge' is not yet established.
major comments (3)
- [Supplementary 1.1; Section 4.3] The MAE encoder used as the 'cellular prior' is pre-trained on the BetaSeg datasets themselves, with no reported split between pre-training and evaluation (Supplementary 1.1). The main text presents this as general prior knowledge (Section 3.2), but the evaluation in Tables 1, 2, and 4 compares a target-adapted encoder plus SAM against SAM-only baselines. Because the MAE was pre-trained on both high- and low-glucose BetaSeg data, the 'cross-dataset' experiment in Table 4 does not test cross-domain transfer in the encoder. Please add a variant with MAE pre-trained only on the training-split cells (or on unrelated cellular EM data) and re-report the same tables. Without this, the 11.3% mIoU gain cannot be attributed to the fusion mechanism rather than to target-domain self-supervised pre-training.
- [Section 4.1; Tables 1 and 2] The experimental protocol uses a single islet cell per dataset for training and the remaining cells for validation, and all reported metrics are single-run values without error bars or significance tests. Given the small validation set and the high variance typical of EM segmentation, the claim that 'ScSAM delivers the top score on every aggregate metric' is not yet supported with appropriate uncertainty quantification. Please report mean±std over multiple seeds or leave-one-cell-out cross-validation, and indicate whether the margins (e.g., the 11.3% mIoU improvement in low-glucose) are statistically significant.
- [Supplementary 1.2; Tables 1 and 2] The evaluation protocol for Vanilla SAM and SAM2 assigns predicted contours to organelle categories based on overlap with ground truth or nearest-contour mapping. This is not a standard prompt-free semantic segmentation protocol and can systematically favor or disfavor these baselines relative to the other methods, which are trained end-to-end. Please either justify this protocol with reference to standard practice or re-evaluate SAM/SAM2 under the same protocol used for the other frozen-encoder baselines, so the comparison with ScSAM is fair.
minor comments (4)
- [Section 4.4] The sentence 'Fig. 3 visualizes the pixel-level positive class similarity maps' should refer to Figure 6, not Figure 3, which shows the architecture.
- [Table 3 (main text)] Rows in Table 3 use only three checkmarks each, making it ambiguous which component is removed; please use explicit '✓'/'✗' for all four components (Fuse, Lcos, Dens, Spar).
- [Figure 3 and Figure 4] Several abbreviations (CC, GN, CAM, NTX) are used in the figures but are not defined in the captions; please define them or refer the reader to the relevant equations.
- [Overall manuscript] The fact that the MAE is pre-trained on the BetaSeg datasets is currently only mentioned in the supplementary material; please state this explicitly in the main text, as it is critical for interpreting all experimental results.
Circularity Check
MAE pretrained on the same BetaSeg datasets used for evaluation makes the claimed 'cellular prior' and cross-dataset generalization results non-independent.
-
fitted input called prediction
[Supplementary Section 1.1 ('Pre-trained MAE'); Section 4.1 ('Datasets and Evaluation'); Section 4.2 ('Implementation Details')]
"MAE is pre-trained on the BetaSeg datasets, utilizing a cropped image size of 256, a patch size of 16, a mask ratio of 0.5, and 1600 epochs. ... the last cell of the two datasets serves as the training set, and ScSAM is validated on the remaining cells."
The claimed 'MAE-guided cellular prior knowledge' is the MAE encoder, and Supplementary 1.1 states that it is pre-trained on 'the BetaSeg datasets'. Section 4.1 then defines the evaluation split on those same datasets, with one cell as training and the remaining cells as validation. On the paper's own description, the pretraining corpus is the same BetaSeg datasets later divided into training and validation cells; no statement excludes the validation cells from the 1600-epoch MAE pretraining. The frozen MAE encoder has therefore already been fitted to the images on which Tables 1 and 2 report 'predictions'.
-
fitted input called prediction
[Section 4.6 ('Cross-Dataset Generalization'), Table 4; Supplementary Section 1.1]
"MAE is pre-trained on the BetaSeg datasets. ... We further evaluate ScSAM's robustness and transferability for subcellular recognition by training on one dataset and testing on another. ... T, V, H, and L represent the training and validation sets and the high- and low-glucose BetaSeg datasets, respectively."
The 'cross-dataset generalization' experiment is described as transferring between high- and low-glucose BetaSeg, but the MAE pretraining used 'the BetaSeg datasets', meaning both glucose subsets. In both rows of Table 4, the validation dataset (low-glucose in row 1, high-glucose in row 2) is contained in the MAE pretraining corpus. The claimed 'absolute Dice improvement of 5.3% for granule segmentation' therefore cannot be attributed to domain-invariant cross-task fusion; the MAE has already reconstructed images from the validation domain. This particular 'generalization' prediction reduces, by construction of the pretraining corpus, to an in-distribution evaluation of a target-pretrained encoder, not a test on an unseen dataset.
full rationale
There is no equation-level circularity in the proposed modules: FAFM, the cosine class prompt encoder, and the Dice/NTXent losses are external design choices, and the paper ablates them against concatenation, cross-attention, and single-encoder baselines. The circularity burden is at the data level and is load-bearing for the main empirical claim. Supplementary Section 1.1 states that the MAE was pre-trained on 'the BetaSeg datasets' for 1600 epochs, while Section 4.1 defines the segmentation training and validation splits from those same BetaSeg datasets. With no reported split for the MAE pretraining corpus, the frozen MAE encoder has been fitted to the target-domain images before ScSAM's downstream training. The main tables and especially Section 4.6's cross-dataset experiment therefore compare a target-pretrained encoder plus SAM against SAM-only baselines, so the reported 11.3% mIoU gain and 5.3% granule Dice gain may reflect target-domain self-supervised pretraining rather than the proposed fusion or prompt mechanism. The near-random Dice of MAE* does not refute this, because raw MAE embeddings are not directly segmentation-ready yet can still inject target-domain statistics after FAFM alignment and class-prompt training. This is partial circularity: the fitted input (a MAE trained on the evaluation domain) is presented as a generalizable prior, and the 'prediction' is measured on that same domain. The independent content of FAFM and the class prompt encoder prevents a higher score, but the central claim's empirical support is compromised.
Assumptions & free parameters
free parameters (4)
- lambda, weight of cosine alignment loss =
0.2 (chosen from 0.1, 0.2, 0.3 in Supplementary Table 1)
- tau, temperature in NT-Xent loss =
not reported
- class prototype dimension and mask decoder hidden units =
256 and 128
- MAE pre-training mask ratio and duration =
mask ratio 0.5, 1600 epochs
assumptions (5)
- domain assumption Frozen SAM and MAE embeddings provide complementary information for subcellular images.
- domain assumption MAE pre-trained on BetaSeg images provides useful cellular prior knowledge.
- domain assumption Aligning embeddings by cosine similarity in a shared space preserves discriminative information needed by the decoder.
- domain assumption The selected middle 350 slices and last-cell train split represent the distribution of subcellular structures.
- domain assumption NT-Xent contrastive loss on class prototypes improves intra-class compactness and inter-class separation.
Cite this review
Pith. "Pith review of ScSAM: Debiasing Morphology and Distributional Variability in Subcellular Semantic Segmentation." pith.science (2026). https://pith.science/paper/T7GFOVVI
@misc{pith2026250717149,
author = {Pith},
title = {Pith review of: ScSAM: Debiasing Morphology and Distributional Variability in Subcellular Semantic Segmentation},
year = {2026},
howpublished = {\url{https://pith.science/paper/T7GFOVVI}},
note = {Machine review of arXiv:2507.17149}
}
read the original abstract
The significant morphological and distributional variability among subcellular components poses a long-standing challenge for learning-based organelle segmentation models, significantly increasing the risk of biased feature learning. Existing methods often rely on single mapping relationships, overlooking feature diversity and thereby inducing biased training. Although the Segment Anything Model (SAM) provides rich feature representations, its application to subcellular scenarios is hindered by two key challenges: (1) The variability in subcellular morphology and distribution creates gaps in the label space, leading the model to learn spurious or biased features. (2) SAM focuses on global contextual understanding and often ignores fine-grained spatial details, making it challenging to capture subtle structural alterations and cope with skewed data distributions. To address these challenges, we introduce ScSAM, a method that enhances feature robustness by fusing pre-trained SAM with Masked Autoencoder (MAE)-guided cellular prior knowledge to alleviate training bias from data imbalance. Specifically, we design a feature alignment and fusion module to align pre-trained embeddings to the same feature space and efficiently combine different representations. Moreover, we present a cosine similarity matrix-based class prompt encoder to activate class-specific features to recognize subcellular categories. Extensive experiments on diverse subcellular image datasets demonstrate that ScSAM outperforms state-of-the-art methods.
Figures
Figures from the paper (8 more)
Reference graph
Works this paper leans on
-
[1]
L. Abdur Rahman, I. Papathanail, L. Brigato, and S. Mougiakakou. A SAM based tool for semi-automatic food annotation. In Proceedings of the European Conference on Artificial Intelligence , pages 4475–4478. IOS Press, 2024
work page 2024
-
[2]
A. Bissoto et al. Debiasing skin lesion datasets and models? not so fast. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops, pages 740–741, 2020
work page 2020
-
[3]
Y . Boykov et al. Graph cuts and efficient N-D image segmentation. International Journal of Computer Vision, 70(2):109–131, 2006
work page 2006
-
[4]
T. F. Chan and L. A. Vese. Active contours without edges. IEEE Trans- actions on Image Processing, 10(2):266–277, 2001
work page 2001
-
[5]
J. Chen, Y . Lu, Q. Yu, X. Luo, E. Adeli, Y . Wang, L. Lu, A. L. Yuille, and Y . Zhou. TransUnet: Transformers make strong encoders for medi- cal image segmentation. arXiv preprint arXiv:2102.04306, 2021
arXiv 2021
-
[6]
T. Chen, L. Zhu, C. Deng, R. Cao, Y . Wang, S. Zhang, Z. Li, L. Sun, Y . Zang, and P. Mao. SAM-Adapter: Adapting segment anything in underperformed scenes. In Proceedings of the IEEE/CVF International Conference on Computer Vision Workshops, pages 3367–3375, 2023
work page 2023
- [7]
-
[8]
J. Fan, D. Liu, H. Chang, H. Huang, M. Chen, and W. Cai. Taxonomy adaptive cross-domain adaptation in medical imaging via optimization trajectory distillation. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 21174–21184, 2023
work page 2023
Show all 42 references
-
[9]
J. Fan, D. Liu, H. Chang, H. Huang, M. Chen, and W. Cai. Seeing unseen: Discover novel biomedical concepts via geometry-constrained probabilistic modeling. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 11524–11534, 2024
2024
-
[10]
J. Fan, D. Liu, C. Li, H. Chang, H. Huang, F. Braet, M. Chen, and W. Cai. Revisiting adaptive cellular recognition under domain shifts: A contextual correspondence view. In European Conference on Com- puter Vision, pages 275–292. Springer, 2024
2024
-
[11]
Han et al
H. Han et al. Self-supervised voxel-level representation rediscovers sub- cellular structures in volume electron microscopy. InProceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition , pages 1874–1883, 2022
2022
-
[12]
Z. He, M. Unberath, J. Ke, and Y . Shen. TransNuSeg: A lightweight multi-task transformer for nuclei segmentation. InMedical Image Com- puting and Computer Assisted Intervention – MICCAI 2023, pages 206–
2023
-
[13]
Heinrich, D
L. Heinrich, D. Bennett, D. Ackerman, W. Park, J. Bogovic, N. Eck- stein, A. Petruncio, J. Clements, S. Pang, C. S. Xu, et al. Whole-cell organelle segmentation in volume electron microscopy. Nature, 599 (7883):141–146, 2021
2021
-
[14]
Isensee, P
F. Isensee, P. F. Jaeger, S. A. Kohl, J. Petersen, and K. H. Maier-Hein. nnU-Net: a self-configuring method for deep learning-based biomedical image segmentation. Nature Methods, 18(2):203–211, 2021
2021
-
[15]
Kirillov, E
A. Kirillov, E. Mintun, N. Ravi, H. Mao, C. Rolland, L. Gustafson, T. Xiao, S. Whitehead, A. C. Berg, W.-Y . Lo, et al. Segment any- thing. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 4015–4026, 2023
2023
-
[16]
Li et al
X. Li et al. LoGoNet: Towards accurate 3D object detection with local- to-global cross-modal fusion. In Proceedings of the IEEE/CVF Confer- ence on Computer Vision and Pattern Recognition, pages 17524–17534, 2023
2023
-
[17]
J. Lin, L. Liu, D. Lu, and K. Jia. SAM-6D: Segment anything model meets zero-shot 6D object pose estimation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition , pages 27906–27916, 2024
2024
-
[18]
Liu et al
D. Liu et al. PDAM: A panoptic-level feature alignment framework for unsupervised domain adaptive instance segmentation in microscopy images. IEEE Transactions on Medical Imaging, 40(1):154–165, 2020
2020
-
[19]
N. Luo, R. Sun, Y . Pan, T. Zhang, and F. Wu. Electron microscopy images as set of fragments for mitochondrial segmentation. In Pro- ceedings of the AAAI Conference on Artificial Intelligence , volume 38, pages 3981–3989, 2024
2024
-
[20]
J. Ma, Y . He, F. Li, L. Han, C. You, and B. Wang. Segment anything in medical images. Nature Communications, 15(1):654, 2024
2024
-
[21]
Müller, D
A. Müller, D. Schmidt, C. S. Xu, S. Pang, J. V . D’Costa, S. Kretschmar, C. Münster, T. Kurth, F. Jug, M. Weigert, et al. 3D FIB-SEM recon- struction of microtubule–organelle interaction in whole primary mouse β cells. Journal of Cell Biology, 220(2), 2021
2021
-
[22]
Oktay et al
O. Oktay et al. Attention U-net: Learning where to look for the pan- creas. arXiv preprint arXiv:1804.03999, 2018
2018 arXiv
-
[23]
N. Otsu. A threshold selection method from gray-level histograms. Au- tomatica, 11(285-296):23–27, 1975
1975
-
[24]
Z. Peng, Z. Xu, Z. Zeng, X. Yang, and W. Shen. SAM-PARSER: Fine- tuning SAM efficiently by parameter space reconstruction. In Proceed- ings of the AAAI Conference on Artificial Intelligence, volume 38, pages 4515–4523, 2024
2024
-
[25]
Ravi et al
N. Ravi et al. SAM 2: Segment anything in images and videos. arXiv preprint arXiv:2408.00714, 2024
2024 arXiv
-
[26]
A. Rizk, G. Paul, P. Incardona, M. Bugarski, M. Mansouri, A. Niemann, U. Ziegler, P. Berger, and I. F. Sbalzarini. Segmentation and quantifica- tion of subcellular structures in fluorescence microscopy images using squassh. Nature Protocols, 9(3):586–596, 2014
2014
-
[27]
Ronneberger, P
O. Ronneberger, P. Fischer, and T. Brox. U-net: Convolutional net- works for biomedical image segmentation. In Medical Image Comput- ing and Computer-Assisted Intervention – MICCAI 2015 , pages 234–
2015
-
[28]
A. A. Sekh, I. S. Opstad, G. Godtliebsen, Å. B. Birgisdottir, B. S. Ahluwalia, K. Agarwal, and D. K. Prasad. Physics-based machine learning for subcellular segmentation in living cells. Nature Machine Intelligence, 3(12):1071–1080, 2021
2021
-
[29]
Y . Song, J. Fan, H. Huang, M. Chen, and W. Cai. Cell as Point: One-stage framework for efficient cell tracking. arXiv preprint arXiv:2411.14833, 2024
2024 arXiv
-
[30]
Van der Maaten and G
L. Van der Maaten and G. Hinton. Visualizing data using t-SNE. Jour- nal of Machine Learning Research, 9(11), 2008
2008
-
[31]
Wang, W.-L
Y . Wang, W.-L. Chao, D. Garg, B. Hariharan, M. Campbell, and K. Q. Weinberger. Pseudo-lidar from visual depth estimation: Bridging the gap in 3D object detection for autonomous driving. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recogni- tion, pa...
2019
-
[32]
S. Woo, J. Park, J.-Y . Lee, and I. S. Kweon. CBAM: Convolutional block attention module. In Proceedings of the European Conference on Computer Vision, pages 3–19, 2018
2018
-
[33]
K. Xie, R. Guo, C. Cong, M. Pagnucco, and Y . Song. Domain gener- alised cell nuclei segmentation in histopathology images using domain- aware curriculum learning and colour-perceived meta learning. In Pro- ceedings of the European Conference on Artificial Intelligence , pages...
2024
-
[34]
R. Xie, K. Pang, G. D. Bader, and B. Wang. MAESTER: Masked au- toencoder guided segmentation at pixel resolution for accurate, self- supervised subcellular structure recognition. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition , pages 3292–...
2023
-
[35]
Yamagiwa et al
H. Yamagiwa et al. Zero-shot edge detection with SCESAME: Spectral clustering-based ensemble for segment anything model estimation. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision, pages 541–551, 2024
2024
-
[36]
S. Yuan, L. Luo, Z. Hui, C. Pu, X. Xiang, R. Ranjan, and D. Deman- dolx. UnSAMFlow: Unsupervised optical flow fuided by segment any- thing model. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 19027–19037, 2024
2024
-
[37]
W. Yue, J. Zhang, K. Hu, Y . Xia, J. Luo, and Z. Wang. SurgicalSAM: Efficient class promptable surgical instrument segmentation. In Pro- ceedings of the AAAI Conference on Artificial Intelligence , volume 38, pages 6890–6898, 2024
2024
-
[38]
Zhang et al
J. Zhang et al. SAM-Path: A segment anything model for semantic seg- mentation in digital pathology. In Medical Image Computing and Com- puter Assisted Intervention – MICCAI 2023 Workshops, pages 161–170. Springer, 2023
2023
-
[39]
Zhang, T
P. Zhang, T. Yan, Y . Liu, and H. Lu. Fantastic animals and where to find them: Segment any marine animal with dual SAM. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recogni- tion, pages 2578–2587, 2024
2024
-
[40]
Zhang, X
Q. Zhang, X. Liu, W. Li, H. Chen, J. Liu, J. Hu, Z. Xiong, C. Yuan, and Y . Wang. Distilling semantic priors from SAM to efficient image restoration models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 25409–25419, 2024
2024
-
[41]
H.-Y . Zhou, J. Guo, Y . Zhang, L. Yu, L. Wang, and Y . Yu. nnFormer: Interleaved transformer for volumetric segmentation. arXiv preprint arXiv:2109.03201, 2021
2021 arXiv
-
[42]
S. Zhou, R. He, W. Tan, and B. Yan. SAMFlow: Eliminating any frag- mentation in optical flow with segment anything model. In Proceed- ings of the AAAI Conference on Artificial Intelligence, volume 38, pages 7695–7703, 2024. Supplementary Material 1 Implementation Details 1.1 P...
2024
Reviewed August 6, 2026 · model on record in the stance chip above.
Discussion (0). Sign in to comment.