Histopath-C: Towards Realistic Domain Shifts for Histopathology Vision-Language Adaptation
About
Medical Vision-language models (VLMs) have shown remarkable performances in various medical imaging domains such as histo\-pathology by leveraging pre-trained, contrastive models that exploit visual and textual information. However, histopathology images may exhibit severe domain shifts, such as staining, contamination, blurring, and noise, which may severely degrade the VLM's downstream performance. In this work, we introduce Histopath-C, a new benchmark with realistic synthetic corruptions designed to mimic real-world distribution shifts observed in digital histopathology. Our framework dynamically applies corruptions to any available dataset and evaluates Test-Time Adaptation (TTA) mechanisms on the fly. We then propose LATTE, a transductive, low-rank adaptation strategy that exploits multiple text templates, mitigating the sensitivity of histopathology VLMs to diverse text inputs. Our approach outperforms state-of-the-art TTA methods originally designed for natural images across a breadth of histopathology datasets, demonstrating the effectiveness of our proposed design for robust adaptation in histopathology images. Code and data are available at https://github.com/Mehrdad-Noori/Histopath-C.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Pathology Image Classification | NCT7K clean (test) | Accuracy82.12 | 12 | |
| Pathology Image Classification | NCT7K corrupted (test) | Accuracy74.05 | 12 | |
| Pathology Image Classification | NCT100K clean (test) | Accuracy82.76 | 12 | |
| Pathology Image Classification | Skin-C corrupted (test) | Accuracy50.65 | 12 | |
| Pathology Image Classification | Renal clean (test) | Accuracy57.22 | 12 | |
| Pathology Image Classification | Renal-C corrupted (test) | Accuracy48.99 | 12 | |
| Pathology Image Classification | LC25K-Lung clean (test) | Accuracy97.02 | 10 | |
| Pathology Image Classification | LC25K Lung corrupted (test) | Accuracy89.37 | 10 | |
| Histopathology Image Classification | NCT7K | Accuracy69.24 | 6 | |
| Histopathology Image Classification | NCT7K-C | Stain Light65.26 | 6 |