# DARE: Dual-Level Adversarial Learning with Domain-Aware Regularization for Whole Slide Image Classification

*Yuxuan Jiang, Haichuan Dong, Manning Wang*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/154306) · [OpenReview](https://openreview.net/forum?id=Eh2LNe24lx) · [Open on the map](../papers.html#p154306)

Category: [Graphs, OOD Detection & Medical Imaging](../pcat/7.md) › [Virtual Staining and Molecular Mapping](../pgroup/228.md) · Type: new method · Keywords: domain adaptation, whole slide image classification, cross-domain generalization, adversarial alignment, pseudo-labeling

Areas: [Computer Vision & 3D](../areas/computer-vision.md) › Medical Visual Computing › Pathology Foundation Models; [Continual Learning & Adaptation](../areas/continual-adaptation.md) › Domain Shift Adaptation › Domain Generalization

## Summary
DARE introduces a dual-level adversarial learning framework with domain-aware regularization to improve cross-domain generalization in whole slide image classification.

## Explained to a 5-year-old
Doctors take pictures of tissue that are very big and detailed. Sometimes pictures from different hospitals look different, so a computer program that learned from one set of pictures doesn't work well on another. The researchers made a new way to help the computer learn to see both small parts and whole slides. They added a special mask to focus on important parts. This helps the computer understand tissue pictures no matter where they come from.

## Explained to a 5-year-old, longer
In pathology, doctors look at tiny pictures of tissue that are combined into huge images called whole slide images. These images can be very different depending on the machine that made them and how the tissue was prepared. When a computer program learns to recognize disease from one set of images, it often fails on images from another hospital. This problem is bigger for whole slide images because they contain many small patches and are extremely detailed. Existing methods that try to fix this often give wrong predictions or make things worse. The researchers created a new training idea that works on two levels: one for the tiny patches and one for the whole slide. They used a teacher-student pair to generate reliable labels for the new images without human annotation. The teacher gives the student guidance, and the student learns to match the patches and the whole slide together. They also added a special mask that tells the computer which parts of the image are most important. This mask helps the computer focus on the right areas and ignore irrelevant details. By combining these ideas, the computer can better understand tissue pictures from any hospital. As a result, diagnoses become more reliable across different clinics.

## For a technical reader
The paper tackles the issue that medical image classifiers trained on data from one hospital often break when used on data from another due to differences in scanning and staining. They propose a two-level alignment strategy that simultaneously matches small image patches and whole-slide embeddings using adversarial learning. A teacher-student pseudo-labeling scheme provides stable supervision for the target domain without needing human labels. Additionally, a domain-aware attention mask guides the model to focus on diagnostically relevant regions. Experiments on four public datasets show consistent gains over existing methods.

## Problem
Whole slide image classifiers trained on data from one hospital often perform poorly on data from other hospitals due to domain shifts caused by differences in scanning devices, staining protocols, and tissue preparation. This degradation is especially problematic in computational pathology because existing unsupervised domain adaptation methods are unstable and can cause negative transfer for WSI classification.

## Method
The approach uses an adaptive pseudo-labeling teacher-student framework to generate stable target supervision and applies adversarial alignment at both patch and slide levels. It also incorporates domain-aware attention masking to regularize attention and enhance cross-domain generalization.

## Results
The approach consistently outperforms state-of-the-art methods on multiple domain shifts in whole slide image classification.

## Contributions
A dual-level adversarial alignment framework with domain-aware attention masking for robust cross-domain WSI classification, and an adaptive pseudo-labeling teacher-student scheme that provides stable target supervision.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/154306)
