DARE: Dual-Level Adversarial Learning with Domain-Aware Regularization for Whole Slide Image Classification
Yuxuan Jiang, Haichuan Dong, Manning Wang
NeurIPS 2026
TL;DR. We propose DARE, a unsupervised framework tailored to the unique structure of pathological images for robust cross-domain whole slide image classification.
Abstract. Pathological whole slide images (WSIs) exhibit substantial domain shifts across hospitals due to variations in scanning devices, staining protocols, and tissue preparation procedures, leading to significant performance degradation when models are applied to data from different sources. Although unsupervised domain adaptation (UDA) has shown strong performance in transferring models from a labeled source domain to an unlabeled target domain in natural images, it remains relatively underexplored in computational pathology. The ultra-high resolution of WSIs and their pronounced inter-slide and intra-slide heterogeneity pose unique challenges for domain adaptation, often rendering existing UDA methods unstable and susceptible to negative transfer. To address these challenges, we propose Dual-level Adversarial learning with domain-aware REgularization (DARE), a plug-and-play UDA framework for WSI classification. DARE incorporates adaptive pseudo-labeling within a teacher-student architecture to provide stable supervision for the target domain, alongside adversarial alignment of both patch-level and slide-level embeddings. Together, these components enable the joint optimization of semantic representations at both levels for cross-domain alignment. We further introduce domain-aware attention masking to regularize attention and improve cross-domain generalization. Extensive experiments on four public WSI datasets demonstrate that DARE consistently outperforms state-of-the-art approaches across various domain shifts.
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 paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:43 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
In this manuscript, the authors address the challenge of improving cross-domain whole-slide image classification under unsupervised domain adaptation by proposing a framework that jointly aligns patch- and slide-level representations. The strengths of the paper lie in tackling an clinical problem, presenting a well-motivated multi-level adaptation framework, and providing extensive experiments across multiple datasets, pathology foundation models, and ablation settings that consistently demonstrate competitive performance. The claims of the paper are generally supported by the empirical evaluation, although the technical novelty is less compelling because many components build upon established UDA techniques, and several important design choices within the pseudo-labeling framework remain insufficiently justified. Additional comparisons with stronger recent baselines, clearer methodological presentation, and more qualitative analysis of the attention masking mechanism are required.
Final justification
The rebuttal and discussion substantially improve the submission, with final ratings of 5/3/4 compared with the initial 5/2/3. The authors added ablations for adaptive thresholding and class-balanced weighting, compared KL-divergence pseudo-labeling with cross-entropy, analyzed key hyperparameters, introduced stronger recent baselines including SimProF and HASD, and clarified the patch- and slide-level adversarial objectives and teacher-student design. Reviewer 15Rk considers the design concerns resolved and maintains an accept rating. Reviewer 3WAY raised the score to borderline accept after several concerns were addressed, while still requesting clearer discussion of the teacher model's prior knowledge and the relationship between feature/domain shift and the decision boundary. Reviewer nmkp raised the score to borderline reject but remains concerned that DARE combines established UDA components, depends on attention-based MIL, lacks qualitative evidence of which patches are suppressed or retained, and may have limited clinical practicality and generalizability. These are valid limitations, but the coupled local-to-global adaptation design is well motivated, and the expanded experiments provide consistent evidence across datasets and pathology foundation models. On balance, I recommend acceptance. The final revision should moderate novelty claims, add the promised attention heatmaps and patch visualizations, and explicitly discuss the assumptions and deployment limitations of the UDA setting.
Read meta-review
Meta-review
In this manuscript, the authors address the challenge of improving cross-domain whole-slide image classification under unsupervised domain adaptation by proposing a framework that jointly aligns patch- and slide-level representations. The strengths of the paper lie in tackling an clinical problem, presenting a well-motivated multi-level adaptation framework, and providing extensive experiments across multiple datasets, pathology foundation models, and ablation settings that consistently demonstrate competitive performance. The claims of the paper are generally supported by the empirical evaluation, although the technical novelty is less compelling because many components build upon established UDA techniques, and several important design choices within the pseudo-labeling framework remain insufficiently justified. Additional comparisons with stronger recent baselines, clearer methodological presentation, and more qualitative analysis of the attention masking mechanism are required.
Final justification
The rebuttal and discussion substantially improve the submission, with final ratings of 5/3/4 compared with the initial 5/2/3. The authors added ablations for adaptive thresholding and class-balanced weighting, compared KL-divergence pseudo-labeling with cross-entropy, analyzed key hyperparameters, introduced stronger recent baselines including SimProF and HASD, and clarified the patch- and slide-level adversarial objectives and teacher-student design. Reviewer 15Rk considers the design concerns resolved and maintains an accept rating. Reviewer 3WAY raised the score to borderline accept after several concerns were addressed, while still requesting clearer discussion of the teacher model's prior knowledge and the relationship between feature/domain shift and the decision boundary. Reviewer nmkp raised the score to borderline reject but remains concerned that DARE combines established UDA components, depends on attention-based MIL, lacks qualitative evidence of which patches are suppressed or retained, and may have limited clinical practicality and generalizability. These are valid limitations, but the coupled local-to-global adaptation design is well motivated, and the expanded experiments provide consistent evidence across datasets and pathology foundation models. On balance, I recommend acceptance. The final revision should moderate novelty claims, add the promised attention heatmaps and patch visualizations, and explicitly discuss the assumptions and deployment limitations of the UDA setting.
1 comment
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper first investigates how domain shifts can exist at both the patch and slide levels in WSIs. To address this problem, an adversarial technique at multiple scales is first performed, followed by domain-aware attention masking and a teacher-student pseudo-labeling strategy. Finally, experiments are conducted to validate the proposed method.
Strengths and weaknesses
Strengths
- The paper address timely problem on specific WSI domain i.e., distribution shifts across domain.
- In terms of technical novelty, it seems technically sound. It presents a dual-level adversarial alignment approach at both the patch and slide levels, and its performance has been verified by comparison to DANN. Hard mining and a teacher-student framework are then used as regularization techniques.
- Empirical results show that the method achieves state-of-the-art performance.
Major Weakness
- Intuitively, the utility of the attention score depends on the robustness of the teacher model. If the teacher model yields suboptimal predictions, the attention-masking mechanism becomes ineffective. How the papers address it?
- The main concepts used in this paper: the teacher-student/ hard negative mining/EMA updates—are already well-established in the literature ([1, 2]). The authors need to clarify their specific technical novelty compared to these existing methods.
- The paper lacks an verification of the trade-off between the degree of domain mismatch (e.g. FID score) and the model's final performance. What is the lower-bound of distribution mismatch when the proposed method remains effective.
- TCGA is naturally compiled from multiple different source institution [3] so that the domain shifts already exist during TCGA' training.
- Multi-Centric Benchmarking: The Camelyon16 and Camelyon17 datasets natively consist of five different hospital domains. the authors are strongly encouraged to evaluate their method on this standard multi-centric benchmark.
Minor Weakness
- Add the attention heatmap visualization before and after utilized DARE
References:
- Qu, Linhao, Manning Wang, and Zhijian Song. "Bi-directional weakly supervised knowledge distillation for whole slide image classification." Advances in Neural Information Processing Systems 35 (2022): 15368-15381.
- Tang, Wenhao, et al. "Multiple instance learning framework with masked hard instance mining for whole slide image classification." Proceedings of the IEEE/CVF international conference on computer vision. 2023.
- Lu, Ming Y., et al. "Federated learning for computational pathology on gigapixel whole slide images." Medical image analysis 76 (2022): 102298.
Questions
See Major Weaknesses.
Limitations
See Major Weaknesses.
Final justification
the authors have addressed several of my concerns.
Overall, I find the paper interesting. However, a clearer discussion regarding the prior knowledge required for the teacher model is still needed. Furthermore, the authors should carefully clarify in the future how factors such as FFD or feature shift affect the task-relevant decision boundary can impacts overall performance.
Formatting concerns
None
3 comments
Rebuttal
Thank you for your review. We address each concern below.
W1: Intuitively, the utility of the attention score depends on the robustness of the teacher model. If the teacher model yields suboptimal predictions, the attention-masking mechanism becomes ineffective. How do the authors address this issue?
A1: DARE does not require a teacher that already predicts target-domain samples accurately at the beginning of training. Its robustness comes from four designs: attention masking and pseudo-label learning are disabled during warm-up; the teacher is updated by EMA to stabilize attention estimates; masking is jointly determined by teacher attention and the patch-level domain classifier rather than by attention alone; and class-adaptive thresholds, EMA-smoothed threshold updates, and soft-label KL distillation are used to control pseudo-label noise.
The CPTAC-NSCLC TCGA-NSCLC experiment provides empirical evidence: the initial Source-only model achieves a target-domain AUC of only 57.46%, whereas DARE reaches 87.39%. Thus, DARE remains effective even when the initial target-domain predictions are poor.
W2: The main concepts used in this paper—the teacher-student framework, hard negative mining, and EMA updates—are already well established in the literature [1,2]. The authors need to clarify their specific technical novelty compared with these existing methods.
A2: The core innovation of DARE consists of two coupled designs tailored to WSI domain adaptation: domain-aware attention-based instance selection and cross-level patch–slide adaptation. First, DARE jointly uses the teacher’s slide-level attention and patch-level domain predictions to identify and preferentially mask patches that are important for slide classification but strongly source-specific. Unlike hard-instance mining based only on attention, this mechanism further determines whether the discriminative information in high-attention patches is transferable across domains.
Second, the remaining patches are re-aggregated, and the resulting slide representation is directly used for slide-level domain alignment. Patch-level domain information therefore not only determines which instances should be suppressed but also influences the alignment of the global WSI representation, connecting local instance selection with global domain adaptation. Slide-level soft pseudo-labels from the unmasked teacher constrain the masked student to preserve class semantics and encourage it to discover morphological evidence that is more relevant to the target domain. This cross-level mechanism, in which domain information guides instance selection and its effect is propagated to slide-level alignment through re-aggregation, is the key distinction between DARE and existing methods.
The teacher-student mechanism in WENO [1] transfers bag-level supervision to instances in single-domain weakly supervised learning, whereas DARE uses an unmasked teacher to generate slide-level soft pseudo-labels for a masked student in the unlabeled target domain. MHIM-MIL [2] performs single-domain hard-instance mining using teacher attention but does not explicitly distinguish transferable information from source-specific cues among high-attention instances. DARE addresses this ambiguity by introducing explicit domain information.
W3: The paper lacks verification of the trade-off between the degree of domain mismatch (e.g., FID score) and the model's final performance. What is the lower bound of distribution mismatch for which the proposed method remains effective?
W5: Multi-Centric Benchmarking: The CAMELYON16 and CAMELYON17 datasets natively consist of five different hospital domains. The authors are strongly encouraged to evaluate their method on this standard multi-centric benchmark.
A3 & A5: We thank the reviewer for suggesting that we quantify the degree of domain mismatch and analyze its relationship with model performance, as well as evaluate DARE on the multi-center CAMELYON17 benchmark. Our new five-center CAMELYON17 experiments show that DARE maintains performance comparable to the strong Source-only baseline under mild center shifts and provides larger gains as domain discrepancy increases. The smallest discrepancy range covered by our experiments is FFD 0.0796–0.2469 (mean 0.1591).
Since the reviewer mentioned FID as an example metric, we clarify that FID can be viewed as a Fréchet-distance metric computed in the Inception feature space. In our pathology experiments, we follow the same Fréchet-distance formulation but compute it in the CONCH feature space, which is also the representation space used by our downstream models. We therefore refer to this metric as Fréchet Feature Distance (FFD). This allows the measured discrepancy to be aligned with the representation space used in our pathology experiments. The results are shown below.
| Adaptation setting | FFD | Source-only AUC (avg.) | DARE AUC (avg.) | Gain |
|---|---|---|---|---|
| CAMELYON17 center pairs | 0.0796–0.2469 (mean 0.1591) | 96.10% | 96.14% | +0.04 pp |
| TCGA-GBMLGG IPD-Brain | 0.3708 | 77.11% | 83.67% | +6.56 pp |
| TCGA-NSCLC CPTAC-NSCLC | 0.7133 | 72.45% | 92.61% | +20.16 pp |
We attribute the smaller improvement of DARE on CAMELYON17 primarily to the relatively mild domain discrepancies among its centers, as confirmed by the FFD results. In addition, the strong cross-center generalizability of CONCH features enables the Source-only baseline to achieve an AUC of 96.10%. In contrast, DARE provides substantially larger gains in the cross-cohort settings with higher FFD values. Because adaptation effectiveness also depends on whether the shift affects the task-relevant decision boundary, we report 0.0796–0.2469 as the smallest discrepancy range covered by our experiments.
W4: TCGA is naturally compiled from multiple source institutions [3], so domain shifts already exist during TCGA training.
A4: TCGA's internal multi-institutional heterogeneity may benefit generalization, but it does not eliminate systematic shifts to independent external cohorts. Cohorts may still differ in patient populations, geography, inclusion criteria, tissue processing, staining protocols, scanners, and collection periods.
This is supported by both discrepancy measurements and external generalization results. TCGA-GBMLGG versus IPD-Brain has an FFD of 0.3708, and DARE improves AUC from 73.74% to 83.89% for TCGA-GBMLGG IPD-Brain. TCGA-NSCLC versus CPTAC-NSCLC has an FFD of 0.7133, and DARE improves AUC from 87.43% to 97.83% for TCGA-NSCLC CPTAC-NSCLC. Thus, TCGA's internal diversity does not imply coverage of an independent target-cohort distribution.
Minor Weakness: Add the attention heatmap visualization before and after utilizing DARE.
A6: As additional figures cannot be included during the rebuttal stage, we cannot provide this visualization here. We will include paired attention heatmaps for the same representative target-domain WSIs before adaptation (Source-only) and after applying DARE in the camera-ready version.
Thank you for your detailed response and the experimental updates.
First, the response clearly states that the attention score is updated once warm-up is complete, which requires prior knowledge of the teacher model. Second, quantified the relationship between FFD and the AUC score; however, further clarification on why this relationship is important—or what other variables make this method promising—would strengthen the paper.
Overall, I am raising my score to recommend acceptance. However, I encourage the authors to include further clarification regarding similar approaches and the constraints of the teacher model
We sincerely thank the reviewer for raising the score and recommending acceptance. In response to the reviewer’s further comments, we provide the following clarifications.
First, we agree that effective attention masking requires the attention module to have learned basic task-relevant cues from labeled source-domain data. Specifically, the teacher model relies on two conditions: (1) the source and target domains share the same prediction task and label space, which is a standard assumption in UDA; and (2) source-domain supervision enables the attention module to identify basic task-relevant patches. The teacher is initialized from the source-trained student and continuously updated through EMA. Therefore, DARE requires neither target-domain labels, a teacher pretrained on the target domain, nor other target-domain prior knowledge, and it does not assume that the teacher has high initial accuracy on the target domain. It is worth noting that under strong domain shifts, if the source-trained attention cannot sufficiently localize task-relevant patches in the target domain, the reliability of masking may be affected. Incorporating patch-level domain predictions prevents masking from being determined solely by attention and helps alleviate this issue, although effective masking still requires the attention module to provide basic task-relevant information.
Second, FFD measures the Fréchet distance between two domain distributions in the feature space of the same CONCH pathology foundation model, thereby quantifying their representation-level discrepancy. Our experiments reveal an empirical trend: as FFD increases, the performance gain of DARE over Source-only becomes more pronounced. This trend helps characterize when explicit domain adaptation can provide additional benefits, but it does not imply that FFD is the sole predictor of performance. Beyond FFD, the benefit of DARE also depends on factors such as whether the domain shift affects the task-relevant decision boundary. Therefore, DARE is particularly applicable when the source and target domains share the same prediction task and label space, but the target domain still exhibits representation shifts that cannot be fully mitigated by the pathology foundation model alone.
Finally, WENO primarily focuses on bag-to-instance knowledge transfer in single-domain weakly supervised learning, while MHIM-MIL mainly performs teacher-attention-based hard-instance mining within a single domain. In contrast, DARE jointly uses teacher attention and patch-level domain predictions for instance selection and propagates the effect of this selection to slide-level domain alignment through re-aggregation. We will further clarify these applicability conditions, potential limitations, and distinctions from related work in the camera-ready version.
- Rating
- 3/6
- Confidence
- 4/5
- Quality
- 2/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
The study addresses unsupervised domain adaptation in computational pathology, which is an important problem with clear practical relevance. However, the current manuscript has limited novelty and lacks a sufficiently strong motivation. The proposed framework appears to be a combination of several existing components, and the key contribution is not clearly distinguished from prior work. While the idea may have some potential, the paper requires stronger justification, more solid analysis, and clearer empirical evidence to make the contribution convincing. Moreover, the overall writing and organization need substantial improvement, particularly in the method section.
Strengths and weaknesses
Strength
- The paper tackles a very important and timely issue of UDA in CPath.
- The domain-aware attention masking strategy has the potential to be interesting, as it tries to explicitly consider both patch importance and domain similarity.
- 4 datasets were used for evaluation, which covers different types of organs and disease types.
- Extensive evaluations were conducted for each proposed components.
Weakness: Please check the ‘Questions’ section for details.
Questions
- The proposed framework mainly combines several existing components, including a teacher–student model, adversarial domain alignment, pseudo-label learning, and attention masking. While the combination may be practically useful, the paper does not clearly explain which part constitutes the core technical novelty. The whole methods, reads to me, is more like an arbitrary combination of exisiting methods.
- Since a major source of domain shift in WSI analysis is staining variation, such shifts can often be alleviated by stain normalization approaches. Although the paper briefly reviews some stain normalization methods, the cited methods appear relatively outdated, and no empirical comparison with representative or recent stain normalization approaches is provided.
- Figure 1 is intended to motivate the proposed method, but it uses DANN, a very early adversarial UDA method from 2016, as the main baseline. This comparison may not convincingly demonstrate the limitations of current UDA methods. The authors should consider comparing against more recent and stronger UDA approaches to better support the motivation.
- The paper mainly discusses limitations of attention-based MIL aggregation. However, WSI classification can also be performed using other aggregation strategies, such as graph-based learning methods that model patch-level spatial or contextual relationships. It would be useful for the authors to discuss whether the proposed framework is applicable to non-attention aggregation methods, and how it compares with graph-based WSI classification approaches under domain shift.
- The notation is sometimes inconsistent and confusing. For example, in Section 3.1, (D) is used with superscripts/subscripts to indicate source or target domain, while around line 140 it appears to be used in a way that may suggest the dimensionality or size of (h). If dimensionality is intended, notation such as (|D|) or (d_h) would be clearer. In addition, (D \in {s,t}) is used for domain indexing, while (D_{\text{ins}}) and (D_{\text{slide}}) are used for domain discriminators, which may confuse readers. The paper also uses (h) for patch features in Section 3.1 but switches to (x) in Section 3.4.
- The current method description is difficult to understand, partly due to poor organization and unclear writing. For example, Section 3.3 introduces the projector (P(\cdot)), but its role is not clearly reflected in the equations, making it hard to understand how adversarial learning is implemented between (P(\cdot)) and (D_{\text{ins}}). The use of the gradient reversal layer should also be properly cited. Furthermore, while slide-level adversarial learning is described conceptually, the paper does not provide an explicit equation for (L_{\text{slide}}), nor does it clearly explain whether a GRL is also used at the slide level. These details are necessary for reproducibility and conceptual clarity.
- For WSI classification, it is important to show how the model makes predictions, especially when attention-based aggregation and attention masking are central to the proposed method. The paper should provide attention visualization maps or patch-level heatmaps to demonstrate which regions contribute to the prediction and which patches are selected or masked by the proposed strategy.
- Most of the compared UDA baselines, except for DRL, appear to be relatively outdated. To convincingly demonstrate the effectiveness of the proposed method, the authors should include more recent and stronger UDA baselines, especially methods designed for medical imaging, histopathology, or weakly supervised/domain-adaptive WSI classification.
Limitations
Yes
Final justification
After considering the rebuttal and discussion, I agree that domain shift is an important problem in WSI analysis, but I remain unconvinced that UDA is the most necessary or clinically practical solution. Alternatives such as PEFT with pathology foundation models, cross-domain self-supervised learning, and federated learning may offer greater flexibility. Moreover, the UDA setting assumes a shared feature pipeline and model architecture across source and target domains, which may limit feasibility in heterogeneous clinical environments. I also remain concerned about novelty. DARE mainly combines established components and its reliance on attention-based MIL further limits generalisability. In addition, the paper lacks qualitative evidence showing how the proposed patch- and slide-level regularisation affects predictions. The t-SNE plots are insufficient; attention heatmaps and representative selected or suppressed patches are needed to demonstrate that the model focuses on clinically meaningful tissue rather than domain-specific artefacts. Overall, the rebuttal improves the paper but does not fully resolve my concerns regarding necessity, novelty, generalisability, and interpretability. I believe the work may be better suited to MICCAI or Medical Image Analysis, where its clinical motivation and practical contribution could be more strongly emphasised. I therefore raise my score to borderline reject, but cannot support acceptance.
Formatting concerns
No
3 comments
Rebuttal
Thank you for the detailed and constructive comments.
Q1: Technical novelty
A1: The core innovation of DARE lies in two coupled designs tailored to WSI domain adaptation: (1) domain-aware patch selection guided by slide-level MIL attention and (2) cross-level adaptation between patch and slide representations. Unlike standard image-level UDA, which aligns one global representation per image, weakly supervised WSIs contain numerous heterogeneous patches but only slide-level labels. Local domain-specific information can affect the global slide representation through attention aggregation, creating a patch–slide dependency absent from standard image-level UDA.
-
First, DARE combines patch importance estimated by slide-level MIL attention with patch-level domain predictions to identify and suppress patches that are important for slide classification but strongly source-specific. Existing attention-masking methods typically select instances using attention alone, whereas conventional adversarial UDA uses domain predictions only for feature alignment. DARE uses domain evidence to condition attention-based patch selection, thereby distinguishing transferable pathological evidence from source-specific cues among highly attended patches.
-
Second, DARE explicitly connects patch-level selection with slide-level alignment. The retained target-domain patches are re-aggregated into the target slide representation , which is adversarially aligned with the source slide representation through the slide-level domain discriminator. Patch-level domain predictions therefore not only guide local selection but also directly change the composition of the target slide representation and the input to slide-level alignment. The unmasked EMA teacher generates a confidence-filtered slide-level soft pseudo-label from the complete target WSI and supervises the student prediction based on the retained patches, preserving class semantics before and after patch selection.
Thus, DARE forms a coupled local-to-global adaptation process rather than a set of independent modules.
Q2: Stain normalization
A2: We attempted the recent stain-normalization method Stain-SAN [1]. In this experiment, we applied Stain-SAN to all patches from 1040 target-domain slides in TCGA-NSCLC, normalizing them to the central source-domain staining style in CPTAC-NSCLC. Based on the current processing progress, completing stain normalization for these target-domain patches is estimated to take approximately 106.5 hours. Because this process could not be completed within the rebuttal period, we were unable to extract features from the normalized patches and complete the subsequent performance evaluation. In our WSI analysis pipeline, both evaluating the stain-normalized data and training DARE require patch features to be extracted using the same pathology foundation model. The two experimental settings therefore have the same feature-extraction cost. Stain-SAN adds an estimated 106.5 hours of stain normalization before feature extraction, whereas DARE requires less than 0.5 hours for domain-adaptation training after feature extraction.
As a preprocessing method, Stain-SAN can normalize the target-domain patches once before feature extraction and is therefore compatible with MIL pipelines based on pathology foundation-model features. However, the 1040 target-domain slides contain millions of patches, and normalizing all of them introduces substantial additional computational cost. In contrast, some methods align source and target staining styles during adaptation and thus require repeated access to and transformation of raw images. They are not directly compatible with the prevailing pipeline based on fixed foundation-model features, which has achieved strong performance.
Moreover, cross-cohort domain shifts can also arise from patient populations, tissue preparation, scanners, and pathological morphology. Stain normalization primarily addresses differences in color or staining style, whereas DARE adapts the feature-space shift jointly induced by these factors.
Q3: Comparison with recent and stronger UDA methods in Figure 1
A3: We regenerated the feature visualizations using our baseline method RAM-MIL and the recent UDA method SimProF [3], which is additionally evaluated in A8. Although different methods produce different feature distributions, both t-SNE visualizations reproduce the key observation in the current Figure 1: domain discrepancies at the patch and slide levels are not simultaneously eliminated. We will update Figure 1 with the RAM-MIL and SimProF visualizations in the final revision.
Q4: Graph-based aggregation
A4: DARE currently applies to attention-based aggregators that provide patch-importance scores and cannot be directly applied to non-attention graph models. Table 1 in our manuscript already includes DETA, a graph-based domain-adaptation baseline method. Under the same settings, DARE achieves higher AUC than DETA in all four transfer directions. DETA requires approximately the training time of DARE, mainly due to graph construction; the runtime comparison is reported in Table 5 of the supplementary material.
To verify that DARE can transfer to another attention-based MIL backbone within its intended scope, we further implemented DARE and all compared methods using CLAM as the shared backbone. The AUC results are shown below (mean ± standard deviation, %).
| Method | TCGA→IPD | IPD→TCGA | CPTAC→TCGA | TCGA→CPTAC |
|---|---|---|---|---|
| CLAM (Source-only) | 80.85 ± 0.74 | 82.17 ± 1.93 | 41.41 ± 1.92 | 89.43 ± 3.11 |
| DANN | 80.49 ± 4.92 | 80.77 ± 2.94 | 50.00 ± 0.00 | 95.70 ± 7.58 |
| DANN-P | 72.64 ± 4.26 | 75.64 ± 1.85 | 62.24 ± 5.01 | 35.34 ± 7.02 |
| MCD | 80.33 ± 3.05 | 81.24 ± 1.62 | 50.43 ± 0.44 | 85.40 ± 29.44 |
| CORAL | 77.57 ± 2.43 | 82.28 ± 1.67 | 62.42 ± 10.77 | 60.36 ± 24.37 |
| RAM-MIL | 80.27 ± 1.20 | 82.42 ± 1.97 | 37.42 ± 2.29 | 88.67 ± 2.94 |
| DARE (CLAM) | 84.83 ± 1.65 | 83.01 ± 2.52 | 84.11 ± 9.92 | 99.57 ± 0.33 |
DARE achieves the highest AUC in all four transfer directions under the shared CLAM backbone, showing that it is not tied to DTFD-MIL and can transfer to other attention-based MIL backbones. Extending DARE to non-attention graph models is outside the scope of this work, and we will investigate its adaptation to graph-based aggregation in future work.
Q5: Notation
A5: Here, and are not an accidental notation switch: denotes the original patch feature from the frozen foundation model, whereas denotes the patch embedding from the trainable projector. Other ambiguous notation will be corrected in the final revision.
Q6: Method clarity and adversarial learning
A6: The projector maps the frozen feature to the embedding used for adversarial learning, and GRLs are used at both the patch and slide levels. Let denote the domain, the -th patch of slide , and the frozen pathology foundation model:
Let denote the gradient reversal layer (GRL) [2], and let and be the domain labels. The patch-level adversarial loss is
The GRL is an identity mapping in the forward pass and multiplies the gradient propagated to by in the backward pass. Thus, discriminates the domains, whereas learns domain-invariant patch embeddings.
A GRL is also used at the slide level. Let denote the source slide embedding and the target slide embedding re-aggregated after domain-aware masking. The slide-level adversarial loss is
In the final revision, we will add the original GRL reference and the definitions above.
Q7: Attention visualization
A7: We will add WSI attention heatmaps and visualizations of the masked patches in the final revision. The rebuttal format does not allow high-resolution WSI heatmaps to be adequately presented here.
Q8: Recent UDA baselines
A8: We added the recent general UDA method SimProF [3] and the pathology domain-adaptation method HASD [4]; DARE achieves higher AUC than both methods in all four transfer directions. The original manuscript also includes the pathology WSI method RAM-MIL and the graph-based method DETA. The additional AUC results are shown below (mean ± standard deviation, %).
| Method | TCGA→IPD | IPD→TCGA | CPTAC→TCGA | TCGA→CPTAC |
|---|---|---|---|---|
| SimProF [3] | 79.13 ± 2.98 | 80.99 ± 2.43 | 78.41 ± 13.82 | 92.76 ± 2.77 |
| HASD [4] | 78.10 ± 0.58 | 81.51 ± 2.64 | 56.72 ± 1.21 | 88.12 ± 2.53 |
| DARE | 83.89 ± 1.42 | 83.45 ± 0.68 | 87.39 ± 6.01 | 97.83 ± 1.10 |
References
[1] T. Kim, Y. Li, B. C. Calhoun, et al., “Stain SAN: Simultaneous Augmentation and Normalization for Histopathology Images,” Journal of Medical Imaging, 11(4), 044006, 2024.
[2] Y. Ganin, E. Ustinova, H. Ajakan, et al., “Domain-Adversarial Training of Neural Networks,” Journal of Machine Learning Research, 17(59), 1–35, 2016.
[3] M. Wang, “SimProF: A Simple Probabilistic Framework for Unsupervised Domain Adaptation,” Proceedings of the AAAI Conference on Artificial Intelligence, 39(20), 21153–21161, 2025.
[4] J. Liu, H. Li, C. Yang, et al., “HASD: Hierarchical Adaption for Pathology Slide-Level Domain-Shift,” MICCAI, 332–342, 2025.
Thank you for the detailed response and additional experiments. The rebuttal clarifies how the proposed components interact, and the new comparisons strengthen the empirical contribution of the paper. However, my main concern regarding methodological novelty remains only partially addressed. DARE still appears to integrate several established techniques, including domain-guided attention masking, adversarial alignment, and teacher–student pseudo-label supervision. Although their coupling is well motivated for WSI domain adaptation, I am not fully convinced that it constitutes a sufficiently novel methodological contribution for NeurIPS. In addition, the reliance on attention-based MIL limits the generalisability of the framework to other WSI learning paradigms.
Thank you for your prompt feedback and for noting that our rebuttal clarifies the interactions among the components and strengthens the empirical contribution.
Domain shift is an important practical problem in WSI analysis. Current computational pathology follows a pathology-foundation-model-based analysis paradigm, in which foundation models extract patch features and MIL models produce slide-level predictions. However, to our knowledge, very few studies have investigated domain adaptation specifically within this feature-based framework. This research gap and the WSI-specific patch-slide hierarchy jointly motivated DARE.
We agree with the reviewer that DARE currently relies on patch-importance scores and therefore cannot be directly applied to non-attention aggregation methods. A recent systematic study [1] evaluates 11 representative MIL architectures, nine of which incorporate attention mechanisms or learned instance weighting, indicating that such aggregation is a principal technical approach in current WSI analysis. Therefore, although DARE does not yet apply to every WSI learning paradigm, it covers a broad range of widely used MIL models. Extending DARE to non-attention models, particularly graph-based aggregation, is an important direction for our future work.
[1] Shao D, Chen R J, Song A H, et al. Do Multiple Instance Learning Models Transfer? arXiv preprint arXiv:2506.09022, 2025.
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 4/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
In this paper, the authors aim to tackle the challenge of unsupervised domain adaptation (UDA) in whole slide image classification. They proposed DARE, a novel framework for UDA for whole slide images. DARE applies DANN on both patch-level representations and slide-level representations. In addition, they performed attention masking on target domain patches based on the patch-level domain classifier's output for each patch, and passed the slide level representation from masked patches through a student classifier while passing the unmasked slide-level representation through an EMA teacher classifier for pseudo-label learning over the target domain. DARE was evaluated using 2 frozen pretrained patch feature extraction models: UNI and CONCH. DARE was evaluated against lots of UDA baselines, and DARE outperformed all of them. Further analysis showed that DARE is robust to low target domain data and ablation studies justified the necessity of each component of DARE.
Strengths and weaknesses
Strength:
-
The proposed method seems reasonable and original.
-
The proposed method was evaluated against many UDA baselines, and the proposed method achieves better performance than all baselines, often by significant margins. Experiments were also conducted on both UNI and CONCH embeddings, demonstrating that DARE generalizes across patch encoders.
-
Existing ablation studies clearly show benefit from each of the 4 main design choices.
-
DARE is robust to limited target domain data, as supported by the experiments in section 4.5.
-
T-SNE visualization clearly shows that DARE reduces domain discrepancy while maintaining class distinguishability.
Weaknesses:
Although ablation studies justified that the pseudo loss improves performance, there seems to be a lot of designs and hyperparameters within the pseudo-label learning process that requires further analysis and justification. See "Questions" section for suggested additional ablations and analysis. While the paper is quite strong in its current state, adding these additional ablations and analysis could further improve the robustness of the paper.
Questions
(Following up on weakness) An ablation study may be needed to justify the necessity of adaptive threshold selection or class-balanced weighting. The KL-divergence-based objective can be justified by having a comparison between the current KL-divergence based pseudo loss against a simple cross entropy loss against a one-hot teacher label. Analysis on hyperparameters like would further improve the robustness of the paper.
Limitations
Yes
Final justification
The authors have addressed my concern regarding hyperparameters and design ablations. Therefore, my score remains positive and recommend acceptance.
Formatting concerns
N/A
2 comments
Rebuttal
Thank you for the positive assessment of DARE's soundness and originality, and for noting its comparison with multiple UDA baselines using both UNI and CONCH embeddings. We also appreciate the specific suggestions for further analyzing the pseudo-label learning module.
- Additional ablations of pseudo-label learning and comparison with cross-entropy against a one-hot teacher label
Following the reviewer’s suggestion, we added two ablation studies on adaptive threshold selection and class-balanced weighting, together with a comparison between our KL-divergence-based pseudo-label loss and a simple cross-entropy loss against a one-hot teacher label. We conducted these experiments on the five-class TCGA-GBMLGG and IPD-Brain datasets. The results are reported in the table below as AUC (%, mean ± std) and support our design choices in both transfer directions.
| Method | TCGA-GBMLGG → IPD-Brain | IPD-Brain → TCGA-GBMLGG |
|---|---|---|
| DARE (full) | 83.89 ± 1.42 | 83.45 ± 0.68 |
| w/o adaptive threshold selection | 82.11 ± 4.25 | 81.41 ± 3.76 |
| w/o class-balanced weighting | 79.07 ± 5.33 | 78.84 ± 1.93 |
| Simple cross-entropy loss against a one-hot teacher label | 82.71 ± 3.97 | 82.58 ± 2.02 |
Removing adaptive threshold selection, removing class-balanced weighting, and using a simple cross-entropy loss against a one-hot teacher label all reduce AUC in both transfer directions. The full DARE model achieves the best performance.
- Hyperparameter analysis
Following the reviewer’s suggestion, we evaluated four hyperparameters, , , , and , with the results reported in the table below. These experiments show that the default configuration achieves the best or near-best results in the vast majority of cases, supporting its use as the default setting. We varied one parameter at a time while keeping all other settings fixed. The reported AUCs (%) are averaged over multiple random seeds using the same protocol as the main experiments.
| Parameter | Value | TCGA-GBMLGG → IPD-Brain | IPD-Brain → TCGA-GBMLGG |
|---|---|---|---|
| 0.60 | 82.34 | 82.11 | |
| 0.64 | 84.72 | 82.81 | |
| 0.67 | 83.47 | 82.69 | |
| 0.70 (default) | 83.89 | 83.45 | |
| 0.74 | 84.21 | 83.16 | |
| 0.77 | 84.26 | 82.45 | |
| 0.80 | 85.45 | 81.99 | |
| 0.80 | 81.35 | 81.39 | |
| 0.90 | 84.12 | 80.36 | |
| 0.93 | 83.89 | 83.12 | |
| 0.95 (default) | 83.89 | 83.45 | |
| 0.99 | 83.89 | 83.02 | |
| 0.75 | 84.33 | 82.72 | |
| 0.80 (default) | 83.89 | 83.45 | |
| 0.85 | 83.06 | 82.27 | |
| 0.90 | 85.28 | 82.36 | |
| 0.00 | 82.11 | 81.41 | |
| 0.05 (default) | 83.89 | 83.45 | |
| 0.10 | 81.97 | 83.06 |
For , both transfer directions maintain high AUCs over the range of 0.64–0.77. The default value of 0.70 achieves the highest result on IPD-Brain → TCGA-GBMLGG while retaining strong performance in the reverse direction. For , TCGA-GBMLGG → IPD-Brain remains nearly unchanged over the range of 0.93–0.99, with only small variations on IPD-Brain → TCGA-GBMLGG.
For , the settings from 0.75 to 0.90 maintain high overall performance, with different values favoring different transfer directions. The default value of 0.80 provides a more balanced result across both directions, suggesting that moderate historical smoothing helps stabilize the class-wise threshold updates.
For , increasing its value from 0 to 0.05 improves AUC in both directions, directly demonstrating the effectiveness of allowing the thresholds to adapt to changes in the pseudo-label distribution.
Overall, these results support , , , and as the default configuration for the pseudo-label learning module, rather than reflecting an isolated optimum for a particular transfer direction.
Thank you very much for your clarifications on hyperparameter selection! My score remains positive.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Dear Area Chair,
Thank you for summarizing the main strengths of our work and the key issues relevant to the final decision. We would like to briefly explain how the concerns raised in the meta-review have been addressed in our rebuttal.
Regarding technical novelty, standard image-level UDA methods typically align a single global representation and therefore do not jointly adapt patch- and slide-level representations in WSIs. Existing attention-masking methods such as MHIM-MIL select instances based solely on attention, while WENO performs bag-to-instance knowledge transfer within a single domain; neither uses patch-level domain evidence to connect instance selection with slide-level domain alignment. DARE addresses this gap through two coupled innovations: (1) domain-aware patch selection guided by slide-level MIL attention and (2) cross-level adaptation between patch and slide representations. Specifically, DARE suppresses highly attended but source-specific patches and re-aggregates the retained patches for slide-level alignment, while teacher--student learning preserves class semantics. This establishes a coupled local-to-global adaptation process that is absent from existing methods. These innovations are detailed in our responses to Reviewer nmkp, Q1, and Reviewer 3WAY, W2.
Regarding the pseudo-labeling design, following Reviewer 15Rk's suggestions, we added two ablation studies on adaptive threshold selection and class-balanced weighting, together with a comparison between our KL-divergence-based pseudo-label loss and a cross-entropy loss using one-hot teacher labels. For TCGA-GBMLGG ↔ IPD-Brain adaptation, full DARE achieves AUCs of 83.89 and 83.45, compared with 82.11 and 81.41 without adaptive threshold selection and 79.07 and 78.84 without class-balanced weighting. Replacing the KL-divergence loss with cross-entropy results in AUCs of 82.71 and 82.58. We also analyzed four key hyperparameters, showing that the default configuration provides balanced performance across both transfer directions and that most parameters are robust within reasonable ranges (Reviewer 15Rk).
Regarding recent baselines, we added SimProF (AAAI 2025) and the pathology-specific method HASD (MICCAI 2025). DARE outperforms SimProF by 2.46--8.98 AUC points and HASD by 1.94--30.67 AUC points across the four transfer directions (Reviewer nmkp, Q8).
Regarding methodological clarity, we clarified the role of the projector, explicitly formulated the patch- and slide-level adversarial losses, and confirmed that GRLs are used at both levels. In the final revision, we will also correct the ambiguous notation, add the original GRL reference, and improve the organization and presentation of the method section (Reviewer nmkp, Q5--Q6).
Finally, regarding the qualitative analysis of attention masking, in the final revision, we will add paired attention heatmaps for representative target-domain WSIs before and after adaptation with DARE, together with visualizations of the masked and retained patches, to illustrate how DARE changes the regions attended to by the model (Reviewer nmkp, Q7; Reviewer 3WAY, Minor Weakness).
We hope that these additional experiments, analyses, and clarifications address the concerns identified in the meta-review. We will respond promptly to any further questions during the discussion.
Thank you for your consideration.