potentialpaper

WsiSSM: A Weakly Supervised Subset-Matching Framework for Unified Classification and Segmentation of Histopathology Whole Slide Images

Guangjian Zeng, Siyuan Tao, Chengzhi Zhao, Xiaoqing Li, Na Tang, Wenting Huang, Shenying Fang

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Multiple instance learning (MIL) has been increasingly used to analyze histopathology whole slide images (WSIs) and has achieved accurate diagnostic classification and a certain degree of automatic segmentation capability. However, segmentation performance without annotation remains suboptimal due to the immense size of WSIs, despite its essential role in assisting pathologists’ diagnosis. Moreover, existing approaches treat classification and segmentation as independent tasks, with segmentation primarily serving as an interpretability section. To address this limitation, we propose a novel weakly supervised learning algorithm that unifies classification and segmentation within a framework. Specifically, we explore the interconnections between patches and introduce class activation maps in WSI analysis through the proposed Sparse-CAM backbone to activate the segmentation capability, and further enhance feature representation using the proposed subset-matching module to improve both classification and segmentation performance. The proposed method demonstrated superior performance in diagnosis and achieved state-of-the-art performance in segmentation compared to other MIL methods across multiple datasets. In addition, it offered high-precision segmentation that is sensitive to micro-tumor regions without pixel-level annotations. The code will be publicly available on GitHub upon acceptance.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
4 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:46 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

WsiSSM is a weakly supervised framework for unified classification and segmentation of histopathology whole-slide images. Weakly supervised WSI segmentation without pixel-level annotation is highly relevant to computational pathology. The proposed method was evaluated across multiple datasets (including external cohorts) for slide-level classification and pixel-level segmentation, reporting SOTA among MIL methods.

Three reviewers have pointed out the following major concerns. (1) Segmentation evaluation fairness is questionable. Many baselines are not segmentation methods; directly binarizing their attention scores and comparing Dice/IoU may exaggerate WsiSSM's advantage (4WJX). Critical protocol details are missing: whether pixel-level annotations were used for threshold/model selection, how the CAM threshold of 0.5 was chosen, and whether each baseline was evaluated using its strongest available localization strategy (8fLu, 4WJX). (2) Experimental rigor gaps. Patient-level splitting is not clearly confirmed (risk of leakage with multiple slides per patient); the early-stopping criterion is unspecified; the reported margin of error is unclear; and statistical significance is absent for key comparisons (8fLu, 4WJX). (3) The subset-matching assumption may introduce false-positive supervision. In positive WSIs, some subsets may contain only benign tissue but inherit the slide-level label. The paper does not explain how this is handled (8fLu) (4) Novelty is limited. The combination of sparse attention, CAM, and subset-matching/consistency regularization is relatively straightforward; the paper lacks theoretical insight into why it works and does not demonstrate fundamentally new modeling capabilities (4WJX, CoXx).

After the rebuttal and discussion process, the reviewers generally agreed that most of the major concerns were clarified satisfactorily. Despite the remaining concerns, the discussion converged toward the view that the core technical contribution is sound, the empirical study is substantial, and the rebuttal resolved most issues sufficiently for acceptance. The paper is therefore accepted, conditional on careful incorporation of the rebuttal clarifications and corrections into the final manuscript.

Final justification

After the rebuttal and discussion process, the reviewers generally agreed that most of the major concerns were clarified satisfactorily. Despite the remaining concerns, the discussion converged toward the view that the core technical contribution is sound, the empirical study is substantial, and the rebuttal resolved most issues sufficiently for acceptance. The paper is therefore accepted, conditional on careful incorporation of the rebuttal clarifications and corrections into the final manuscript.

Area Chair SdWR · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

WsiSSM is a weakly supervised framework for unified classification and segmentation of histopathology whole-slide images. Weakly supervised WSI segmentation without pixel-level annotation is highly relevant to computational pathology. The proposed method was evaluated across multiple datasets (including external cohorts) for slide-level classification and pixel-level segmentation, reporting SOTA among MIL methods.

Three reviewers have pointed out the following major concerns. (1) Segmentation evaluation fairness is questionable. Many baselines are not segmentation methods; directly binarizing their attention scores and comparing Dice/IoU may exaggerate WsiSSM's advantage (4WJX). Critical protocol details are missing: whether pixel-level annotations were used for threshold/model selection, how the CAM threshold of 0.5 was chosen, and whether each baseline was evaluated using its strongest available localization strategy (8fLu, 4WJX). (2) Experimental rigor gaps. Patient-level splitting is not clearly confirmed (risk of leakage with multiple slides per patient); the early-stopping criterion is unspecified; the reported margin of error is unclear; and statistical significance is absent for key comparisons (8fLu, 4WJX). (3) The subset-matching assumption may introduce false-positive supervision. In positive WSIs, some subsets may contain only benign tissue but inherit the slide-level label. The paper does not explain how this is handled (8fLu) (4) Novelty is limited. The combination of sparse attention, CAM, and subset-matching/consistency regularization is relatively straightforward; the paper lacks theoretical insight into why it works and does not demonstrate fundamentally new modeling capabilities (4WJX, CoXx).

After the rebuttal and discussion process, the reviewers generally agreed that most of the major concerns were clarified satisfactorily. Despite the remaining concerns, the discussion converged toward the view that the core technical contribution is sound, the empirical study is substantial, and the rebuttal resolved most issues sufficiently for acceptance. The paper is therefore accepted, conditional on careful incorporation of the rebuttal clarifications and corrections into the final manuscript.

Final justification

After the rebuttal and discussion process, the reviewers generally agreed that most of the major concerns were clarified satisfactorily. Despite the remaining concerns, the discussion converged toward the view that the core technical contribution is sound, the empirical study is substantial, and the rebuttal resolved most issues sufficiently for acceptance. The paper is therefore accepted, conditional on careful incorporation of the rebuttal clarifications and corrections into the final manuscript.

2 comments
Authors · CommentOpenReview ↗

Response to Area Chair (Part 1 / 2)

We thank the Area Chair for synthesizing the reviewers’ concerns. We acknowledge that the experimental and optimization details in our original submission were overly concise; we have since expanded upon these points comprehensively in the rebuttal. Reviewer 8fLu subsequently acknowledged that the rebuttal addressed several major concerns, particularly those regarding the evaluation protocol and the weakly supervised setting. Reviewer 4WJX also acknowledged that the additional explanations clarified the method and experimental setup, although the reviewer retained a different assessment of the methodological novelty and localization evaluation. We summarize the corresponding clarifications below.

1. Segmentation evaluation fairness is questionable. Many baselines are not segmentation methods; directly binarizing their attention scores and comparing Dice/IoU may exaggerate WsiSSM's advantage (4WJX). Critical protocol details are missing: whether pixel-level annotations were used for threshold/model selection, how the CAM threshold of 0.5 was chosen, and whether each baseline was evaluated using its strongest available localization strategy (8fLu, 4WJX)

This concern is clarified in Q2 of Reviewer 4WJX and Q2, Q3, and Q5 of Reviewer 8fLu. Reviewer 8fLu’s follow-up indicates that the major protocol-related concerns have been addressed.

Specifically, pixel-level annotations are used only for final evaluation on held-out test WSIs and are never used for training, model selection, threshold selection, or early stopping. The threshold of 0.5 is pre-specified for all methods, datasets, and test slides, while Figure 2 only reports threshold-sensitivity analysis. Each baseline is evaluated using the strongest spatial output supported by its official mechanism, followed by identical coordinate mapping, normalization, and thresholding. No method-specific decoder or threshold tuning is introduced.

2. Experimental rigor gaps. Patient-level splitting is not clearly confirmed (risk of leakage with multiple slides per patient); the early-stopping criterion is unspecified; the reported margin of error is unclear; and statistical significance is absent for key comparisons (8fLu, 4WJX).

This concern is clarified in Q1, Q2, Q3, and Q6 of Reviewer 8fLu, and in Q3 of Reviewer 4WJX. The reviewers’ follow-up comments indicate that the experimental setup has been clarified; the remaining requested action is to incorporate these details explicitly into the manuscript.

All training, validation, and test partitions are generated at the patient level, and slides from the same patient never appear in different partitions. Early stopping with patience 5 is based exclusively on slide-level validation accuracy and does not use Dice, IoU, or pixel annotations.

The reported margin of error is the half-width of the 95% confidence interval across 10 independently trained patient-level Monte Carlo runs. Statistical comparisons are paired across corresponding runs, and all reported Dice and IoU improvements satisfy pp<0.05. We will add the exact paired test, exact pp-values, and confidence-interval definition to the revised manuscript. Thus, the statistical evidence is already present; the required revision concerns reporting completeness rather than the absence of statistical validation.

3. The subset-matching assumption may introduce false-positive supervision. In positive WSIs, some subsets may contain only benign tissue but inherit the slide-level label. The paper does not explain how this is handled (8fLu).

This concern is clarified in Q4 of Reviewer 8fLu, and the reviewer’s follow-up indicates that the weakly supervised formulation has been addressed.

The positive slide label is not independently assigned to every subset. Individual subset CAMs are first restored to their original coordinates and reassembled into a complete slide-level CAM. Only the reassembled prediction receives the slide-level classification loss. Consequently, a benign-only subset can maintain low activation, while positive evidence is supplied by tumor-containing subsets after reassembly. The matching loss aligns the evidence of the same patch between the full-slide and restricted-context views. It does not create positive pseudo-labels for benign subsets. We will revise the method description and Figure 1 to make this supervision pathway explicit.

Authors · CommentOpenReview ↗

Response to Area Chair (Part 2 / 2)

4. Novelty is limited. The combination of sparse attention, CAM, and subset-matching/consistency regularization is relatively straightforward; the paper lacks theoretical insight into why it works and does not demonstrate fundamentally new modeling capabilities (4WJX, CoXx).

This concern was raised primarily by Reviewers CoXx and 4WJX. In response, we provided a detailed theoretical interpretation of Sparse-CAM, clarified the independent motivation and contribution of each component, and explained their joint modeling capability. Reviewer CoXx raised no further concern after the rebuttal and maintained a positive recommendation, suggesting that these explanations adequately addressed the requested theoretical and motivational clarification. Reviewer 4WJX’s remaining reservation concerns the assessed degree of novelty rather than a newly identified methodological flaw or contradictory experimental evidence. We respectfully emphasize that each component contributes a distinct innovation tailored to weakly supervised gigapixel WSI analysis.

Sparse-CAM advances sparse attention from an efficiency-oriented approximation to a pathology-aware multi-scale interaction mechanism. It introduces multiple sparse-attention configurations with different block sizes and sampling strides and adaptively integrates them to balance fine local morphology and spatially separated pathological evidence. The backbone ablation shows that Sparse-CAM outperforms both MLP+CAM and a single block-sparse-attention configuration, demonstrating that the proposed multi-scale construction provides capabilities beyond conventional sparse attention.

CAM is elevated from a post-hoc explanatory tool to a trainable spatial representation that directly drives slide-level prediction. The class-specific patch evidence is globally aggregated to produce the final diagnosis and is therefore optimized throughout training. CAM consequently becomes the explicit interface connecting inter-patch representation learning, slide classification, and spatial localization.

Subset matching reframes consistency regularization as coordinate-aligned evidence stabilization under controlled contextual perturbations. It compares the same patches under full-slide and restricted contexts, restores their outputs to identical coordinates, and aligns the resulting class-specific evidence. It therefore constrains both feature stability and the spatial location of diagnostic evidence, rather than merely matching slide-level logits or generic augmented views.

Collectively, these components establish a coherent modeling pipeline in which multi-scale contextual reasoning is transformed into directly supervised class evidence and subsequently stabilized across contextual views:

multi-scale contextual modeling→trainable class-specific evidence→context-stable localization.\text{multi-scale contextual modeling} \rightarrow \text{trainable class-specific evidence} \rightarrow \text{context-stable localization}.

The stepwise gains from MLP+CAM (AUC/Dice: 60.46/27.37) to block-sparse attention+CAM (93.38/29.16) and the proposed Sparse-CAM (96.57/34.03), followed by the improvement from L1+L2L_1+L_2 (96.83/38.89) to the complete WsiSSM with subset matching (97.44/81.98), provide complementary evidence that trainable CAM, multi-scale sparse contextual modeling, and coordinate-aligned evidence matching each introduce distinct capabilities. Their coordinated interaction, rather than any single component or a simple stacking of standard modules, drives the final classification and localization performance.

We would be sincerely grateful if the Area Chair could give our manuscript careful consideration in light of the clarifications and supporting evidence provided in the rebuttal.

Reviewer 8fLuOpenReview ↗
Rating
4/6
Confidence
5/5
Quality
2/4
Clarity
2/4
Significance
3/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes WsiSSM, a weakly supervised subset-matching framework for unified classification and segmentation of histopathology whole-slide images. The method introduces a Sparse-CAM backbone that combines sparse self-attention with CAM generation, aiming to improve both slide-level classification and weakly supervised localization. In addition, the paper proposes a subset-matching strategy, where each WSI is divided into spatial subsets and the CAMs from subset-level predictions are regularized to match the global CAM. The final objective combines slide-level classification loss, subset classification loss, and a reconstruction regularization term between global and subset CAMs.

Strengths and weaknesses

Strengths

  • The paper addresses an important problem in computational pathology that is improving weakly supervised WSI segmentation without requiring pixel-level annotations during training.

  • The proposed Sparse-CAM and subset-matching design is intuitive and attempts to make segmentation part of the training objective rather than only a post-hoc interpretability output.

  • The experimental scope is broad, covering multiple datasets, external validation cohorts, classification metrics, segmentation metrics, and ablation studies.

Weaknesses

  • The preprocessing uses a basic tissue-mask generation strategy, but it is unclear how artifact-containing regions such as pen marks, folds, bubbles, blur, staining artifacts, or debris are handled. Since subset matching may include such regions during training, the authors are recommended to clarify any artifact filtering or QC step and provide visual results on artifact-containing WSIs from the external datasets.

  • The weakly supervised segmentation protocol needs clear explanation. The authors should explicitly state whether pixel-level annotations are used only for final evaluation or also for threshold selection, model selection, or validation.

  • Patient-level splitting should be clearly confirmed, especially for datasets with multiple slides per patient. Without patient-level separation, the reported classification and segmentation performance may be inflated. Also, Early stopping with patience 5 is reported, but the criterion is not specified; the authors should clarify whether it used only slide-level validation metrics or any segmentation/pixel-level annotation-derived metric.

  • The segmentation masks depend strongly on CAM thresholding. Figure 2 shows clear threshold sensitivity, so the authors should clarify how the threshold of 0.5 was selected and whether it was fixed before test evaluation.

  • The subset-matching assumption may introduce false-positive supervision. In positive WSIs, some subsets may contain only benign tissue, but they appear to inherit the slide-level label. The authors should explain how this issue is handled.

  • Several baselines are evaluated by thresholding attention or heatmap scores, but not all were originally designed for segmentation. The authors should clarify whether each baseline was evaluated using its strongest available localization strategy.

  • Figure 1 is very difficult to understand. The overall pipeline, Sparse-CAM module, subset-matching module, CAM generation, and loss connections are all compressed into one figure, making the method visually confusing. The authors are suggested to split it into separate panels and clearly label the main training/inference flows.

  • The positional encoding equations are standard and may be moved to the appendix unless they are modified. More importantly, the sparse-attention formulation needs clearer notation: Eq. (7) is unclear after subsampling and scatter-back indexing, Eq. (9) has ambiguous indexing and unclear per-scale/per-token weighting, Eq. (11)--(12) appear to mix sigmoid prediction with multiclass cross-entropy, and Eq. (17) has a dimensional ambiguity in the CAM computation.

Questions
  1. Are train/validation/test splits performed at the patient level across all datasets?

  2. Were pixel-level annotations used only for final segmentation evaluation, or also for threshold/model selection?

  3. How was the CAM threshold of 0.5 selected?

  4. How does subset matching avoid false-positive supervision when positive slides contain benign-only subsets?

  5. Was the fully supervised comparison in Table 7 retrained under the same preprocessing, resolution, splits, and annotation setting?

  6. What exactly is represented by the reported margin of error: Monte Carlo splits, bootstrap over slides/patients, or repeated model initializations?

Minor comments

  • Table 2 appears to contain a reporting error: NCPDC segmentation accuracy for WsiSSM is shown as 6.00, while Dice and IoU are very high.

  • Table 4 appears to contain a formatting error: PANDA IoU for (L_1) is reported as (49.41 ± 5318).

  • The manuscript needs proofreading for grammar, notation consistency, and figure readability.

Limitations
  • The claim of micro-tumor sensitivity is not fully supported by Dice/IoU alone. Lesion-level metrics such as small-lesion recall, FROC, or tumor-size-stratified Dice/IoU would be needed further to better support this claim.

  • The method relies on CAM thresholding, and the robustness of the final segmentation masks to threshold selection is not fully established.

  • Pixel-level segmentation evaluation appears to rely on relatively small annotated subsets for some datasets, especially the external cohorts, which may limit the strength of the segmentation claims.

  • The method relies mainly on Prov-GigaPath features, so robustness to other pathology foundation-model feature extractors is not fully established.

Final justification

I thank the authors for the detailed rebuttal. The rebuttal addresses several of my major concerns, particularly regarding the evaluation protocol and weakly supervised setting. However, several of these clarifications are currently provided only in the rebuttal and should be explicitly incorporated into the manuscript.

The mathematical notation, Figure 1 presentation, table/reporting errors, and artifact robustness analysis still require revision. The segmentation baseline comparison also remains somewhat limited, as several baselines are not originally designed for segmentation.

Overall, the rebuttal improves my confidence in the technical validity of the work. I therefore update my recommendation to borderline accept, while noting that the final manuscript should clearly include the protocol clarifications and corrections discussed in the rebuttal.

Formatting concerns

I do not observe a clear major formatting or anonymity violation.

4 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the careful assessment and for recognizing the importance of annotation-free WSI segmentation. We address the questions and limitations first, followed by the remaining presentation and reproducibility concerns.

Responses to Questions

Q1: Are train/validation/test splits performed at the patient level across all datasets?

A1: Yes. Training, validation, and test partitions are constructed at the patient level for every dataset. All WSIs from the same patient are assigned to only one partition, including datasets containing multiple lymph-node or primary-tumor slides per patient. We will state this explicitly and report the numbers of patients and WSIs in each partition.

Q2: Were pixel-level annotations used only for final segmentation evaluation, or also for threshold/model selection?

A2: Pixel-level annotations are used only for final segmentation evaluation on held-out test WSIs. They are not used for training, validation, threshold selection, subset construction, hyperparameter tuning, or model selection. Early stopping with patience 5 monitors only the slide-level validation accuracy; no Dice, IoU, pixel-level loss, or annotation-derived quantity enters model selection. This separation preserves the weakly supervised setting.

Q3: How was the CAM threshold of 0.5 selected?

A3: CAM scores are min-max normalized to [0,1], and 0.5 was fixed as the common midpoint threshold before test evaluation. It is applied unchanged to WsiSSM and every baseline, dataset, split, and test slide. Figure 2 is a sensitivity analysis showing performance across alternative thresholds; it was not used to choose a test-optimal or method-specific threshold. We will clarify this distinction and add the full threshold-performance curves.

Q4: How does subset matching avoid false-positive supervision when positive slides contain benign-only subsets?

A4: The slide label is not independently assigned to each subset. Let A(k)A^{(k)} denote the CAM of subset SkS_k. The four subset CAMs are first restored to the original coordinates,

As=MΠ(A(1),…,A(K)),A^{s}=\mathcal{M}_{\Pi}\left(A^{(1)},\ldots,A^{(K)}\right),

and only the reassembled slide-level CAM is pooled:

Y^s=σ(GAP⁡(As)),L2=ℓ(Y,Y^s),L3=∥A−As∥1.\widehat{Y}^{s}=\sigma\left(\operatorname{GAP}(A^{s})\right),\qquad L_2=\ell\left(Y,\widehat{Y}^{s}\right),\qquad L_3=\left\lVert A-A^{s}\right\rVert_1.

There is no loss ℓ(Y,Y^(k))\ell(Y,\widehat{Y}^{(k)}) on an individual subset. A benign-only subset can therefore retain low activation; positive evidence may be supplied by other subsets when the reassembled slide is pooled. L3L_3 aligns the same patch under full and restricted context rather than imposing a positive pseudo-label on every region. We will revise the diagram and text to remove this possible misunderstanding.

Q5: Was the fully supervised comparison in Table 7 retrained under the same preprocessing, resolution, splits, and annotation setting?

A5: Yes. The fully supervised method in Table 7 was retrained and evaluated using the same tissue preprocessing, patch resolution of 0.5 MPP, patient-level partitions, held-out test slides, coordinate mapping, and mask metrics. The deliberate difference is supervision: the fully supervised model uses pixel masks during training, whereas WsiSSM uses only slide labels. We will state this protocol next to Table 7 and present the comparison as a reference to the weak-to-full supervision gap, not as a like-for-like training setting.

Q6: What exactly is represented by the reported margin of error: Monte Carlo splits, bootstrap over slides/patients, or repeated model initializations?

A6: It reflects variability across the 10 patient-level Monte Carlo runs, each involving a new split and complete model training; it is not a bootstrap over pixels or slides. We report the mean and the 95% confidence-interval margin of error,

MOE⁡=t0.975,9s10,\operatorname{MOE}=t_{0.975,9}\frac{s}{\sqrt{10}},

where ss is the standard deviation across the 10 runs. We will also report paired statistical tests on corresponding splits; the Dice and IoU improvements are significant with p<0.05p<0.05.

Responses to Questions

L1: The claim of micro-tumor sensitivity is not fully supported by Dice/IoU alone. Lesion-level metrics such as small-lesion recall, FROC, or tumor-size-stratified Dice/IoU would be needed further to better support this claim.

A1: We agree that aggregate Dice/IoU alone is insufficient to substantiate sensitivity to very small lesions. We therefore performed a tumor-size-stratified analysis on WSIs containing tumors smaller than 2 mm in held-out test set of CAMELYON. WsiSSM identifies more than 98.70% of these slides as high-risk. For localization, we additionally report sensitivity and specificity of the predicted masks, which directly quantify missed tumor tissue and false-positive normal tissue. WsiSSM improves micro-tumor sensitivity by 22.79 percentage points over the strongest compared baseline while maintaining 99.75% specificity.

R3-Table1: the comparison of various methods in segmentation of Micro-tumor

Method Sensitivity (%) Specificity (%)
CLAM 35.11±2.69 94.71±0.22
TransMIL 34.38±2.23 99.45±0.14
DSMIL 16.85±1.52 99.77±0.01
DTFD-MIL 12.82±1.55 99.85±0.03
2DMamba 42.37±1.51 99.92±0.28
ABMILX 38.50±2.03 99.70±0.14
C2MIL 33.32±1.91 99.80±0.68
BioX-CPath 55.37±1.70 99.51±0.07
WsiSSM 78.16±2.03 99.75±0.05

L2: The method relies on CAM thresholding, and the robustness of the final segmentation masks to threshold selection is not fully established.

A1: We agree that threshold dependence should be visible rather than summarized by one operating point. The primary results remain based on the pre-specified threshold 0.5. In the revision, Figure 2 will be expanded to report Dice, IoU, sensitivity, and specificity over thresholds from 0.1 to 0.9 for WsiSSM and representative baselines. We will also report the area under the threshold-performance curve, providing a threshold-agnostic summary while preserving the fixed-threshold primary comparison.

L3: Pixel-level segmentation evaluation appears to rely on relatively small annotated subsets for some datasets, especially the external cohorts, which may limit the strength of the segmentation claims.

A1: We acknowledge that dense expert annotation is limited in some external cohorts. Such masks require several hours per WSI and were reserved for held-out evaluation. We will report the exact annotated patient/slide counts beside each result, and moderate claims for the smallest cohorts. Importantly, the conclusion does not rely on one external subset: it is supported by the larger public dataset evaluations and multiple independent external cohorts. Future work will expand prospective, multi-center pixel-level annotation.

L4: The method relies mainly on Prov-GigaPath features, so robustness to other pathology foundation-model feature extractors is not fully established.

A1: We additionally replace the frozen Prov-GigaPath patch encoder with UNI while keeping WsiSSM, patient-level splits, training settings, and evaluation unchanged (Table2). The final revision will insert the completed UNI results to verify that the joint classification-localization capability is retained with a distinct pathology foundation model.

R3-Table2: the comparison of various feature extractors. The first three metrics are the classification results, and the last three metrics are the segmentation results.

Feature extractor Sensitivity Specificity AUC Accuracy Dice IoU
Prov-GigaPath 96.67±0.91 99.05±1.05 97.44±0.90 98.73±0.41 81.98±2.15 69.57±3.11
UNI 97.55±3.26 96.95±1.70 98.91±0.62 98.45±4.14 80.80±4.53 67.45±5.07

Remaining weaknesses and revisions

Artifact handling and quality control. All slides undergo pathologist-led quality review. Slides with severe blur, poor staining, folds, or scanning artifacts are excluded; color normalization reduces inter-center staining variation. The tissue mask removes background but is not claimed to detect every artifact. Mild artifacts in diagnostically acceptable slides remain part of the realistic test distribution. We will add external examples containing pen marks, folds, staining variation, and debris, and report failure cases rather than implying complete artifact immunity.

Baseline localization fairness. Each baseline uses its localization output available from its official implementation: native attention for CLAM/DSMIL/DTFD-MIL, averaged CLS attention for TransMIL, the official repeated sampling for Bayes-MIL, and aggregated node-importance scores for BioX-CPath. All maps use identical normalization, coordinate mapping, and thresholding. Methods without an extractable localization output are omitted.

Presentation and notation. Figure 1 will be separated into (a) the overall training/inference pipeline, (b) Sparse-CAM, and (c) subset matching and losses, with the training-only subset path shown by dashed arrows. Standard positional encoding will move to the appendix. We will also rewrite the scatter-back indexing and scale weights.

Corrections. The manuscript will be proofread for typos, grammar, notation, and figure readability.

Reviewer 8fLu · CommentOpenReview ↗

I thank the authors for the detailed rebuttal. The rebuttal addresses several of my major concerns, particularly regarding the evaluation protocol and weakly supervised setting. However, several of these clarifications are currently provided only in the rebuttal and should be explicitly incorporated into the manuscript.

The mathematical notation, Figure 1 presentation, table/reporting errors, and artifact robustness analysis still require revision. The segmentation baseline comparison also remains somewhat limited, as several baselines are not originally designed for segmentation.

Overall, the rebuttal improves my confidence in the technical validity of the work. I therefore update my recommendation to borderline accept, while noting that the final manuscript should clearly include the protocol clarifications and corrections discussed in the rebuttal.

Authors · CommentOpenReview ↗

We sincerely thank the reviewer for the reconsideration and for updating the recommendation. We are grateful that the reviewer found our rebuttal helpful in addressing the concerns regarding the technical validity and evaluation protocol. As the reviewer notes, the remaining points primarily concern ensuring that these resolved clarifications are fully incorporated into the revised manuscript. We will explicitly add the protocol details, improve the mathematical notation and Figure 1, correct the reporting errors, and include the artifact-robustness analysis. We will also clarify the scope of the localization comparison and the evaluation strategy used for each baseline. We are grateful for these constructive recommendations, which will help ensure that the final manuscript accurately and transparently reflects the clarified methodology and experiments.

Reviewer 8fLu · CommentOpenReview ↗

Thank you for the kind response. I appreciate the authors’ commitment to incorporating the clarified protocol details, improving the presentation and notation, correcting the reporting errors, and clarifying the baseline localization comparisons. I believe these revisions will substantially improve the clarity and transparency of the manuscript.

Reviewer 4WJXOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
2/4
Clarity
2/4
Significance
2/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes WsiSSM for weakly supervised classification and segmentation of whole-slide pathology images. The authors have conducted classification, segmentation, and ablation experiments on multiple datasets, demonstrating an experimental effort.This paper proposes WsiSSM for weakly supervised classification and segmentation of whole-slide pathology images. The authors have conducted classification, segmentation, and ablation experiments on multiple datasets, demonstrating an experimental effort.

Strengths and weaknesses

The problem addressed in this paper is of practical significance, particularly for improving WSI segmentation capabilities in the absence of pixel-level annotations, which is valuable for computational pathology applications.

However, I believe the current version does not yet meet the acceptance criteria for NeurIPS. First, the method’s innovation is limited. The combination of sparse attention, CAM, and subset-matching/consistency regularization is relatively straightforward, and the paper does not sufficiently demonstrate that this design introduces fundamentally new modeling capabilities. Second, the fairness and credibility of the segmentation experiments are insufficient. Many of the baselines are not segmentation methods themselves; directly binarizing the attention scores and comparing Dice and IoU may exaggerate the advantages of the proposed method. Additionally, key details such as threshold selection, data partitioning, statistical significance, and patient-level splits are not sufficiently explained.

Questions

Please see the Strengths And Weaknesses

Limitations

Please see the Strengths And Weaknesses

Final justification

Overall, the rebuttal has addressed most of my concerns, although I still have some reservations regarding the novelty of the proposed method, particularly given its relatively compositional design. Given the authors' constructive responses and efforts, I will increase my score. I also encourage the authors to incorporate the relevant clarifications and analyses provided in the rebuttal into the final manuscript.

Formatting concerns

No format issue found

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for recognizing the practical value of annotation-free WSI segmentation. Regarding the concern that WsiSSM may appear as a straightforward combination of existing components, we would like to offer a slightly different perspective. In our view, the main contribution is the introduction of a new training mechanism for gigapixel weak supervision: efficient inter-patch modeling is converted into explicit class-specific spatial evidence, and that evidence is then strengthened by requiring it to remain stable under controlled changes of context.

Q1:The method’s innovation is limited. The combination of sparse attention, CAM, and subset-matching/consistency regularization is relatively straightforward, and the paper does not sufficiently demonstrate that this design introduces fundamentally new modeling capabilities.

A1: Sparse-CAM. Conventional attention-based MIL assigns importance to individual patches but does not adequately model their interactions. Dense self-attention models such interactions but is unsuitable for ultra-long WSI sequences, while a single local sparse pattern can miss spatially separated lesions. Sparse-CAM addresses this specific local-global conflict using multiple sparse-attention configurations with different block sizes and sampling strides. Their outputs are adaptively fused, allowing the model to combine fine local morphology with broader pathological context. More importantly, sparse attention and CAM are not placed side by side. Sparse attention first produces contextualized patch features FiF_i, after which a shared class-specific classifier generates

Ai,c=θc⊤Fi+βc,Y^=σ(GAP⁡(A)).A_{i,c}=\theta_c^{\top}F_i+\beta_c, \qquad \widehat{Y}=\sigma\left(\operatorname{GAP}(A)\right).

Therefore, AA is both the localization map and the direct source of the slide prediction. Unlike post-hoc CAM or normalized attention weights, it is optimized throughout training by the classification objective. Sparse attention determines which tissue context contributes to each patch representation, while CAM determines how that contextualized representation supports a class. This changes CAM from an auxiliary explanation into a trainable spatial output of a long-sequence WSI backbone. The backbone ablation supports that these roles are not interchangeable. On CAMELYON, MLP+CAM obtains AUC/Dice of 60.46/27.37, block-sparse attention+CAM obtains 93.38/29.16, and Sparse-CAM obtains 96.57/34.03. Thus, CAM alone cannot replace inter-patch modeling, and one fixed sparse pattern cannot replace the proposed multi-scale construction.

Subset matching. Even an integrated Sparse-CAM remains underdetermined by slide labels: different spatial maps may yield the same aggregated prediction, and a patch may receive a different score when its surrounding tissue changes. Subset matching directly exposes this ambiguity. The same patches are evaluated once in the complete WSI and again in spatially restricted subsets; subset outputs are restored to their original coordinates and matched to the full-set CAM:

As=MΠ(A(1),…,A(K)),L3=∥A−As∥1.A^{s}=\mathcal{M}_{\Pi}\left(A^{(1)},\ldots,A^{(K)}\right),\qquad L_3=\left\lVert A-A^{s}\right\rVert_1.

Patch appearance is unchanged, while contextual support is altered. Consequently, L3L_3 suppresses features that depend on incidental distant tissue and reinforces features supported by stable pathological morphology. This is more specific than conventional prediction consistency: it aligns coordinate-corresponding class evidence rather than only matching slide logits or two generic augmentations. Sparse-CAM and subset matching therefore form one mechanism:

sparse multi-scale interaction→trainable class evidence→context-stable feature localization.\text{sparse multi-scale interaction}\rightarrow\text{trainable class evidence}\rightarrow\text{context-stable feature localization}.

Sparse-CAM makes subset matching possible by exposing a class-specific score at every patch coordinate; subset matching, in turn, prevents the contextual modeling of Sparse-CAM from drifting toward unstable or spurious regions. This interaction is reflected by the large Dice improvement from 38.89 to 81.98 after introducing L3L_3, compared with the more moderate AUC increase from 96.83 to 97.44.

We believe this design can influence three directions in computational pathology. First, it suggests that sparse attention for gigapixel images should be developed not only for efficiency, but also for multi-scale evidence preservation. Second, it establishes a practical route for making CAM a first-class training output in WSI models rather than a post-hoc visualization. Third, subset matching provides a general feature-strengthening principle for weak supervision: spatially corresponding instances can supervise one another through controlled context changes even when dense labels are unavailable. This principle may extend to other gigapixel or large-field weakly supervised tasks.

Q2:The fairness and credibility of the segmentation experiments are insufficient. Many of the baselines are not segmentation methods themselves; directly binarizing the attention scores and comparing Dice and IoU may exaggerate the advantages of the proposed method.

A2: We agree that most of the compared MIL baselines were not originally designed or evaluated as segmentation networks in the literature. However, we would like to note that MIL, by its nature, falls under the weakly supervised learning paradigm, which inherently carries the potential to capture spatial evidence, and in that sense, it is not unreasonable to expect that such models should be capable of reflecting lesion localization. Our experiment was designed precisely to examine this very question: how accurately does the spatial evidence learned at the slide level correspond to the true lesion regions? We hope this clarifies the rationale behind our comparison.

Binarizing model-native spatial scores is a common and scientifically meaningful weakly supervised localization protocol when all methods are trained without pixel annotations. For each baseline, we extract the spatial score supported by its official mechanism: attention scores for CLAM, DSMIL, and DTFD-MIL; averaged CLS-token attention for TransMIL; the official 16-sample average for Bayes-MIL; and node-importance scores for BioX-CPath. Methods without an extractable spatial output are not included in the segmentation comparison. All scores are mapped through the same patch coordinates, normalized to ([0,1]), and converted to masks with the same threshold. Thus, the comparison measures the localization information genuinely encoded by each MIL model under an identical post-processing rule; it does not give WsiSSM a method-specific decoder or threshold.

WsiSSM is also compared separately with a fully supervised segmentation method trained using pixel annotations. This comparison is presented as a reference for the remaining weak-to-full supervision gap, not as evidence that MIL baselines are dedicated segmentation models.

Q3:Key details such as threshold selection, data partitioning, statistical significance, and patient-level splits are not sufficiently explained.

A3: For threshold selection, all CAM or importance scores are first min-max normalized to ([0,1]) and then binarized using the same pre-specified threshold of (0.5) for every method, dataset, and test slide. Figure 2 reports a sensitivity analysis over alternative thresholds only to demonstrate the robustness of the segmentation behavior; it is not used to select a method-specific or test-optimal threshold. All primary results in Tables 2–7 are obtained at the fixed threshold of (0.5). Consequently, the reported advantage cannot be attributed to threshold tuning in favor of WsiSSM.

All data partitions are constructed at the patient level, meaning that every WSI from the same patient is assigned to only one of the training, validation, or test partitions. This prevents leakage caused by correlated slides from the same patient. Segmentation is evaluated only on annotated WSIs from held-out patients. Pixel-level annotations are used exclusively for final evaluation and are never used for model training, split construction, or threshold selection.

We use 10-fold Monte Carlo cross-validation and report each result as the mean together with the margin of error of its 95% confidence interval. Statistical comparisons are paired across the same patient-level splits, thereby controlling for variation caused by different test cohorts. All reported improvements in segmentation Dice and IoU are statistically significant with (pp<0.05). We will add the exact pp-values and the specification of the paired statistical test in the revision.

We will revise the paper to make these details explicit and moderate any wording that could be interpreted as treating all MIL baselines as dedicated segmentation architectures. The intended conclusion is that WsiSSM learns substantially stronger spatial evidence under the same slide-level supervision and evaluation protocol. This capability is central to clinical credibility: it evaluates not only whether a WSI is classified correctly, but also whether the model's decision is supported by the correct pathological region.

Reviewer 4WJX · CommentOpenReview ↗

Thank you for the detailed rebuttal. The additional explanations clarify the method and experimental setup, but my main concerns remain. In particular, I am still not fully convinced that the proposed combination of sparse attention, CAM, and consistency regularization provides sufficient methodological novelty. The fairness of comparing binarized spatial scores from models with different output mechanisms also remains uncertain, and the statistical evidence could be reported more clearly.

Authors · CommentOpenReview ↗

We thank the reviewer for the follow-up. Since the three remaining concerns concern distinct aspects of the work, we respond to them separately below.

1. On methodological novelty

We respectfully disagree that WsiSSM is merely a straightforward combination of sparse attention, CAM, and consistency regularization. The contribution lies not in claiming that these components are individually new, but in the specific training mechanism created by their functional coupling.

Sparse-CAM first constructs multi-scale contextualized patch representations for ultra-long WSI sequences and then converts them into class-specific spatial evidence that directly determines the slide prediction. The CAM is therefore not a post-hoc visualization attached to an existing MIL model. Subset matching subsequently evaluates the same patches under full-slide and restricted contexts and aligns their coordinate-corresponding class evidence, rather than merely enforcing consistency between slide-level logits.

These components are mutually dependent: Sparse-CAM exposes trainable spatial evidence at every patch coordinate, which makes subset-level evidence matching possible; subset matching, in turn, regularizes the contextual representations learned by Sparse-CAM against context-dependent activation drift. This provides a modeling capability, context-stable, class-specific localization from slide-level supervision, that none of the individual components provides independently.

The theoretical relation and ablations further support this distinction. The backbone ablation shows progressive improvements from MLP+CAM to single-pattern sparse attention and then to the complete Sparse-CAM design, while introducing subset matching increases Dice from 38.89 to 81.98, compared with the smaller AUC change from 96.83 to 97.44. This behavior is consistent with the proposed mechanism of strengthening spatial evidence, rather than with a simple accumulation of standard modules.

2. On the fairness of the spatial localization comparison

We respectfully maintain that the comparison is fair for the question it is designed to answer: how accurately does the spatial evidence learned by different slide-level MIL models correspond to the true pathological region?

The fact that different models produce spatial evidence through different native mechanisms is not an uncontrolled confound; it is precisely the capability being evaluated. For every baseline, we use the strongest spatial output defined by its official mechanism, such as native attention, CLS-token attention, repeated attention sampling, or node-importance scores. Methods without an extractable spatial output are excluded rather than equipped with an additional decoder.

All extracted scores are then processed through an identical protocol: the original patch coordinates, min-max normalization, and the same pre-specified threshold of 0.5. No method receives pixel-level supervision, a method-specific threshold, an additional segmentation decoder, or test-set tuning. Consequently, the protocol standardizes the conversion from model-native evidence to a binary localization map and does not introduce an advantage specific to WsiSSM. We do not interpret this experiment as a comparison among dedicated segmentation architectures. It is an evaluation of the localization information intrinsically learned by weakly supervised MIL models under the same slide-level supervision and post-processing conditions. We will state this scope explicitly in the revised manuscript, but we do not believe that the differing internal mechanisms invalidate the comparison.

3. On statistical evidence

We would like to distinguish insufficient statistical evidence from insufficiently detailed statistical reporting. The statistical comparisons have already been conducted using 10 independently trained patient-level Monte Carlo runs. Results are reported with the margin of error of the 95% confidence interval, and comparisons are paired across corresponding patient-level splits to control for test-cohort variation.

All reported improvements in segmentation Dice and IoU satisfy p<0.05. Therefore, the statistical support is present; the omission in the current manuscript concerns the reporting of the exact paired test and exact p-values. We will add these details, together with the explicit confidence-interval definition, in the revision.

Reviewer CoXxOpenReview ↗
Rating
4/6
Confidence
5/5
Quality
3/4
Clarity
3/4
Significance
2/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes a weakly supervised learning algorithm for unified classification and segmentation of histopathology whole slide images. Firstly, a Sparse-CAM backbone is proposed to capture the interconnection of image patches, where the self-attention mechanisms enable the automatic segmentation capability. Then, a subset-matching strategy is designed to improve both classification and segmentation performance. The experimental results across multiple datasets demonstrate the effectiveness of the proposed method.

Strengths and weaknesses

Strengths:

  1. The structure of this paper is clear.
  2. The proposed weakly supervised approach mitigates the scarcity of pixel-level annotations for medical images.
  3. The effectiveness of the proposed method can be validated.

Weaknesses:

  1. The method is overly empirical and lacks sufficient theoretical insights. Core mechanism analysis is missing throughout the paper.
  2. The logical flow and motivation of model design (e.g. the subset design) is not clear.
  3. The computation cost of the proposed whole slide segmentation should be analyzed.
  4. The feature visualization of the proposed method should be displayed to support the discussions and analyses in this paper.
Questions
  1. Provide theoretical interpretation for your empirical designs and supplement detailed analysis of the core working mechanism of your method.
  2. Clarify the research motivation and complete logical reasoning for each model component, especially the design of the subset module.
  3. Conduct quantitative computational cost analysis of your whole-slide segmentation pipeline and present related results.
  4. Add feature visualization experiments of your method and explain how these visualizations validate your core analysis.
Limitations

The existing rectangular subsets are too rigid. Please discuss the merits of content-adaptive irregular subsets and explore feasible improvement solutions.

Final justification

The authors have partially addressed my earlier comments. However, their provided mathematical derivations merely list computational procedures without rigorous theoretical proofs or in-depth theoretical analysis. Given this unresolved critical flaw, I retain my original review score.

Formatting concerns

No formatting or anonymity violations are found in this manuscript.

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the constructive comments. WsiSSM aims to learn class-discriminative patch evidence that is both context-aware and stable under controlled changes of contextual support. Sparse-CAM constructs this evidence, while subset matching regularizes its stability.

Q1:Provide theoretical interpretation for your empirical designs and supplement detailed analysis of the core working mechanism of your method.

A1: Let a WSI contain patch features X={xi}i=1NX=\left\lbrace x_i \right\rbrace_{i=1}^{N} and coordinates P={pi}i=1NP=\left\lbrace p_i \right\rbrace_{i=1}^{N}. After projection and positional encoding, H∈RN×EH\in\mathbb{R}^{N\times E} denotes the patch sequence.

Working mechanism of Sparse-CAM

Sparse-attention. Let branch bb denotes the bb-th sparse-attention configuration, with b∈{1,…,B}b\in\left\lbrace1,\ldots,B\right\rbrace, where BB is the number of configurations. Each receives the same patch sequence with one pair (ωb,γb)\left(\omega_b,\gamma_b\right): ωb\omega_b is the block size controlling contextual range, and γb\gamma_b is the output sampling stride. It is one contextual pathway within Sparse-CAM, not an independent model. With Q=HWQQ=HW_Q, K=HWKK=HW_K, and V=HWVV=HW_V, branch bb divides these sequences into Rb=⌈N/ωb⌉R_b=\left\lceil N/\omega_b\right\rceil contiguous blocks. For block rr,

Ob(r)=Softmax⁡(Qb(r)(Kb(r))⊤E)Vb(r).O_b^{(r)}=\operatorname{Softmax}\left(\frac{Q_b^{(r)}\left(K_b^{(r)}\right)^{\top}}{\sqrt{E}}\right)V_b^{(r)}.

The sampled outputs are scattered to their original positions and concatenated:

O~b=Concat⁡r=1Rb[Sγb(Ob(r))].\widetilde{O}_b=\operatorname{Concat}_{r=1}^{R_b}\left[\mathcal{S}_{\gamma_b}\left(O_b^{(r)}\right)\right].

where Sγb\mathcal{S}_{\gamma_b} is the stride-controlled sampling-and-scattering operator. Each patch therefore interacts only with patches in the same block for that branch. Small ωb\omega_b preserves local morphology, whereas large ωb\omega_b supplies broader context and can associate separated evidence. The block sizes yield complementary ranges. The branch outputs are adaptively fused:

F=∑b=1BπbO~b,πb≥0,∑b=1Bπb=1,F=\sum_{b=1}^{B}\pi_b\widetilde{O}b,\qquad\pi_b\geq0,\qquad\sum_{b=1}^{B}\pi_b=1,

where πb\pi_b is the learned normalized relevance of branch bb for the slide. This balances local interaction, which may miss multifocal lesions, and broad interaction, which may dilute sparse tumor evidence.

The necessary integration of Sparse attention and CAM. Sparse attention produces contextualized features, but its coefficients are not class-specific tumor evidence. Conversely, CAM on independent patch embeddings yields class-specific scores but ignores inter-patch relationships. Sparse-CAM combines the two operations:

Ai,c=θc⊤Fi+βc,Y^=σ(GAP⁡(A)).A_{i,c}=\theta_c^{\top}F_i+\beta_c,\qquad\widehat{Y}=\sigma\left(\operatorname{GAP}(A)\right).

For class cc, the pre-activation logit is

zc=1N∑i=1NAi,c=θc⊤(1N∑i=1NFi)+βc,∂zc∂Fi=1Nθc.z_c=\frac{1}{N}\sum_{i=1}^{N}A_{i,c}=\theta_c^{\top}(\frac{1}{N}\sum_{i=1}^{N}F_i)+\beta_c, \qquad\frac{\partial z_c}{\partial F_i}=\frac{1}{N}\theta_c.

Every final patch feature receives class-specific supervision through θc\theta_c. Here, θc\theta_c and βc\beta_c are the classifier weight and bias for class cc. Sparse attention determines which context contributes to FiF_i, while CAM determines how FiF_i supports class cc. The map is part of the classifier, not a post-hoc visualization.

Working mechanism of Subset matching

Slide-level supervision constrains only the spatially aggregated prediction. Different CAMs may yield the same diagnosis, while one patch score may change with its surroundings. We partition the WSI into Π={S1,…,SK}\Pi=\left\lbrace S_1,\ldots,S_K\right\rbrace, process each subset independently, and restore all scores to their original coordinates:

As=Mπ(A(1),...,A(K)),L3=∥A−As∥1.A^s=\mathcal{M}_\pi \left(A^{(1)},...,A^{(K)}\right),\qquad L_3=\left\lVert A-A^{s}\right\rVert_1.

Patch appearance is unchanged, but context is restricted. Thus, L3L_3 discourages evidence that depends excessively on incidental surrounding tissue and preserves evidence supported by patch morphology and stable local context. Subset matching therefore regularizes Sparse-CAM rather than acting as an unrelated module. For the full-set and reassembled-subset logits,

∣zc−zcs∣≤1N∥Ac−Acs∥1.\left|z_c-z_c^{s}\right|\leq\frac{1}{N}\left\lVert A_c-A_c^{s}\right\rVert_1.

Patch-level matching bounds prediction inconsistency and constrains where evidence occurs, unlike logit consistency alone. The complete objective is

L=L1+L2+αL3.L=L_1+L_2+\alpha L_3.

L1L_1 anchors the full-slide prediction; L2L_2 supervises the prediction after all subset CAMs are reassembled, rather than assigning the slide label to every subset; and L3L_3 aligns corresponding patch scores. Two-stage training first establishes meaningful CAMs with L1L_1 and then introduces L2L_2 and L3L_3, avoiding reinforcement of noisy early maps.

The existing Figure 3 (Supplementary Material), used as supporting evidence, illustrates this mechanism. After fine-tuning with L1+L2+L3L_1+L_2+L_3, the full-set and reassembled-subset CAMs become more coherent and better aligned with the lesion annotation.

Q2:Clarify the research motivation and complete logical reasoning for each model component, especially the design of the subset module.

A2: The motivation is continuous. Independent instance scoring cannot model interactions among dispersed lesions. Dense self-attention can model them but is impractical for ultra-long WSI sequences, while one local sparse pattern may miss distant evidence. Sparse-CAM therefore uses multiple block sizes to contextualize patches over complementary ranges and converts the resulting features into explicit class-specific evidence through CAM. This constructs evidence but does not ensure its stability. With only slide labels, Sparse-CAM may still rely on different regions when context changes. Subset matching addresses this remaining ambiguity by re-evaluating the same patches under restricted context and aligning their CAM scores with the full-slide CAM. The two components form one mechanism:

multi-scale sparse interaction→contextualized class evidence→context-consistent localization.\text{multi-scale sparse interaction}\rightarrow\text{contextualized class evidence}\rightarrow\text{context-consistent localization}.

Sparse-CAM makes subset matching meaningful by exposing a class-specific, coordinate-aligned score for every patch; subset matching prevents Sparse-CAM from drifting toward unstable or spurious regions, which is contiguous, deterministic, parameter-free, and exactly reassembled.

Q3:Conduct quantitative computational cost analysis of your whole-slide segmentation pipeline and present related results.

A3: Due to space limitations, the following table only reported the computational efficiency of context-aware (Mamba-based, GNN-based, and Transformer-based) MIL models, the complete table will be attached in the revised version.

R1-Table1: the comparison computational efficiency of context-aware methods

Method Tech Params GFLOPs Peak memory Inference time/Epoch
MambaMIL Mamba 4489987 89.54 2.03 GB 161s
2DMamba Mamba 447235 13.39 8.61 GB 351s
M3amba Mamba 25139214 190.48 2.68 GB 1094s
WiKG GNN 2365443 335.05 3.42 GB 120s
C2MIL GNN 3526863 189.11 8.09 GB 197s
BioX-CPath GNN 82010122 219.21 5.61 GB 593s
TransMIL Approximate Transformer 2934290 240.70 1.36 GB 948s
WsiSSM (Ours) Sparse Transformer 86332416 3851.94 5.16GB 380s

Q4:Add feature visualization experiments of your method and explain how these visualizations validate your core analysis.

A4: Due to display limitations, we are unable to include the UMAP visualizations in the rebuttal. We therefore report two complementary quantitative metrics: the tumor/benign silhouette score, which measures the class separability of patch representations, and the within-model same-patch full–subset cosine similarity ScosS_{\mathrm{cos}}, which measures representation consistency under restricted contextual support:

Scos=1N∑i=1N(Fifull)⊤Fisub∥Fifull∥2∥Fisub∥2.S_{\mathrm{cos}}=\frac{1}{N}\sum_{i=1}^{N} \frac{\left(F_i^{\mathrm{full}}\right)^{\top}F_i^{\mathrm{sub}}} {\left\lVert F_i^{\mathrm{full}}\right\rVert_2 \left\lVert F_i^{\mathrm{sub}}\right\rVert_2}.

Simultaneous improvement in class separation and same-patch consistency would show that Sparse-CAM learns discriminative representations and subset matching stabilizes them without feature collapse.

R1-Table2: the comparison of features discrepancies

Representation Silhouette ↑\uparrow Full/subset cosine ↑\uparrow Dice ↑\uparrow
Sparse-CAM with L1L_1 29.57 0.88 34.03
Full WsiSSM 38.96 0.93 81.98

Q5:The existing rectangular subsets are too rigid. Please discuss the merits of content-adaptive irregular subsets and explore feasible improvement solutions.

A5: To investigate this limitation, we attempted to implement a content-adaptive connected graph partitioning strategy. Using coordinates pip_i and frozen patch features gig_i, we define

wij=exp⁡(−∥pi−pj∥22σp2−∥gi−gj∥22σg2).w_{ij}=\exp\left( -\frac{\left\lVert p_i-p_j\right\rVert_2^2}{\sigma_p^2} -\frac{\left\lVert g_i-g_j\right\rVert_2^2}{\sigma_g^2} \right).

Balanced graph partitioning generates connected irregular subsets that better follow tissue morphology. However, it requires building a spatial-semantic graph, computing feature affinities, and enforcing connectivity and balance over tens of thousands of WSI patches, causing high memory cost. In our implementation, the experiment exceeded the 48 GB memory of an NVIDIA RTX A6000 and could not be completed. The fixed 2×22\times2 partition therefore remains the best practical choice: it uses coordinate-based assignment, adds no learnable parameters, guarantees complete coverage and exact reassembly, and preserves more pathological context than finer partitions. Memory-efficient adaptive partitioning remains future work.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…