Are nuclear masks all you need for improved out-of-domain generalisation? A closer look at cancer classification in histopathology

Dhananjay Tomar, Alexander Binder, Andreas Kleppe
11/14/2024
eess.IVcs.CVcs.LG

Official code: undercutspiky/SFL (5 stars, MIT, last commit 2025-02-11).

Abstract

Domain generalisation in computational histopathology is challenging because the images are substantially affected by differences among hospitals due to factors like fixation and staining of tissue and imaging equipment. We hypothesise that focusing on nuclei can improve the out-of-domain (OOD) generalisation in cancer detection. We propose a simple approach to improve OOD generalisation for cancer detection by focusing on nuclear morphology and organisation, as these are domain-invariant features critical in cancer detection. Our approach integrates original images with nuclear segmentation masks during training, encouraging the model to prioritise nuclei and their spatial arrangement. Going beyond mere data augmentation, we introduce a regularisation technique that aligns the representations of masks and original images. We show, using multiple datasets, that our method improves OOD generalisation and also leads to increased robustness to image corruptions and adversarial attacks. The source code is available at https://github.com/undercutspiky/SFL/

View on arXivView PDF

Code Implementations(1)

undercutspiky/SFLOfficial100%
MIT

Official repository for my NeurIPS 2024 paper: Are nuclear masks all you need for improved out-of-domain generalisation? A closer look at cancer classification in histopathology.

53PythonOct 22, 20241 years agoMIT

Cite this paper

@article{tomar2024nuclear,
  title  = {Are nuclear masks all you need for improved out-of-domain generalisation? A closer look at cancer classification in histopathology},
  author = {Dhananjay Tomar and Alexander Binder and Andreas Kleppe},
  year   = {2024},
  eprint = {2411.09373},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2411.09373},
  url    = {http://arxiv.org/abs/2411.09373v1},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.09373.svg)](https://codeofpaper.com/paper/2411.09373)

Discussion