Stop Throwing Away Discriminators! Re-using Adversaries for Test-Time Training

Gabriele Valvano, Andrea Leo, Sotirios A. Tsaftaris
8/26/2021
9 citations
eess.IVcs.CV

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

Abstract

Thanks to their ability to learn data distributions without requiring paired data, Generative Adversarial Networks (GANs) have become an integral part of many computer vision methods, including those developed for medical image segmentation. These methods jointly train a segmentor and an adversarial mask discriminator, which provides a data-driven shape prior.

Show full abstract

At inference, the discriminator is discarded, and only the segmentor is used to predict label maps on test images. But should we discard the discriminator? Here, we argue that the life cycle of adversarial discriminators should not end after training. On the contrary, training stable GANs produces powerful shape priors that we can use to correct segmentor mistakes at inference. To achieve this, we develop stable mask discriminators that do not overfit or catastrophically forget. At test time, we fine-tune the segmentor on each individual test instance until it satisfies the learned shape prior. Our method is simple to implement and increases model performance. Moreover, it opens new directions for re-using mask discriminators at inference. We release the code used for the experiments 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{valvano2021stop,
  title  = {Stop Throwing Away Discriminators! Re-using Adversaries for Test-Time Training},
  author = {Gabriele Valvano and Andrea Leo and Sotirios A. Tsaftaris},
  year   = {2021},
  eprint = {2108.12280},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.12280}
}

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

Discussion