English

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

Image and Video Processing 2021-09-07 v1 Computer Vision and Pattern Recognition

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. 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.

Keywords

Cite

@article{arxiv.2108.12280,
  title  = {Stop Throwing Away Discriminators! Re-using Adversaries for Test-Time Training},
  author = {Gabriele Valvano and Andrea Leo and Sotirios A. Tsaftaris},
  journal= {arXiv preprint arXiv:2108.12280},
  year   = {2021}
}

Comments

Accepted at: Domain Adaptation and Representation Transfer (DART) 2021

R2 v1 2026-06-24T05:28:14.574Z