Re-using Adversarial Mask Discriminators for Test-time Training under Distribution Shifts

Gabriele Valvano, Andrea Leo, Sotirios A. Tsaftaris
8/26/2021
9 citations
cs.CVeess.IV

Official code: gvalvano/adversarial-test-time-training (10 stars, Python, TensorFlow, last commit 2022-01-20).

Abstract

Thanks to their ability to learn flexible data-driven losses, Generative Adversarial Networks (GANs) are an integral part of many semi- and weakly-supervised methods for medical image segmentation. GANs jointly optimise a generator and an adversarial discriminator on a set of training data.

Show full abstract

After training is complete, the discriminator is usually discarded, and only the generator is used for inference. But should we discard discriminators? In this work, we argue that training stable discriminators produces expressive loss functions that we can re-use at inference to detect and \textit{correct} segmentation mistakes. First, we identify key challenges and suggest possible solutions to make discriminators re-usable at inference. Then, we show that we can combine discriminators with image reconstruction costs (via decoders) to endow a causal perspective to test-time training and further improve the model. Our method is simple and improves the test-time performance of pre-trained GANs. Moreover, we show that it is compatible with standard post-processing techniques and it has the potential to be used for Online Continual Learning. With our work, we open new research avenues for re-using adversarial discriminators at inference. Our code is available at https://vios-s.github.io/adversarial-test-time-training.

View on arXivView PDF

Code Implementations(1)

TensorFlow

Code for the papers: "Stop Throwing Away Discriminators! Re-using Adversaries for Test-Time Training", Valvano et al., DART 2021; and "Re-using Adversarial Mask Discriminators for Test-time Training under Distribution Shifts", Valvano et al., ArXiv

101Python, ShellAug 30, 20214 years ago
deep-learninggangenerative-adversarial-networkmachine-learningmedical-imaging+4 more

Similar Papers

Cite this paper

@article{valvano2021reusing,
  title  = {Re-using Adversarial Mask Discriminators for Test-time Training under Distribution Shifts},
  author = {Gabriele Valvano and Andrea Leo and Sotirios A. Tsaftaris},
  year   = {2021},
  eprint = {2108.11926},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.11926}
}

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/2108.11926.svg)](https://codeofpaper.com/paper/2108.11926)

Discussion