Re-using Adversarial Mask Discriminators for Test-time Training under Distribution Shifts
Not on the map. Why?
Abstract (arXiv)
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. 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 textitcorrect 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.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 49 of its 78 references that are in the map. First posted on arXiv 26 Aug 2021.
Builds on
49 of 78 references.
References · 49
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
- 2017On Calibration of Modern Neural Networkscited by 4,860
- 2016Overcoming catastrophic forgetting in neural networkscited by 4,718
- 2016DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFscited by 3,239
- 2017Improved Training of Wasserstein GANscited by 2,223
- 2015Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networkscited by 2,048
- 2018Spectral Normalization for Generative Adversarial Networkscited by 1,618
- 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,337
- 2017Continual Learning with Deep Generative Replaycited by 1,152
- 2019When Does Label Smoothing Help?cited by 985
37 more
- 2021Domain Generalization: A Surveycited by 760
- 2019Domain Generalization via Model-Agnostic Learning of Semantic Featurescited by 405
- 2021Domain Adaptation for Medical Image Analysis: A Surveycited by 351
- 2016Adversarial Feature Learningcited by 350
- 2017Variational Continual Learningcited by 335
- 2020CHAOS Challenge -- Combined (CT-MR) Healthy Abdominal Organ Segmentationcited by 307
- 2016Learning from Simulated and Unsupervised Images through Adversarial Trainingcited by 287
- 2019Embracing Imperfect Datasets: A Review of Deep Learning Solutions for Medical Image Segmentationcited by 258
- 2018Generative Adversarial Network in Medical Imaging: A Reviewcited by 257
- 2021Online Continual Learning in Image Classification: An Empirical Surveycited by 242
- 2015Conditional Random Fields as Recurrent Neural Networkscited by 213
- 2018Do CIFAR-10 Classifiers Generalize to CIFAR-10?cited by 197
- 2019Causality matters in medical imagingcited by 193
- 2018Not-so-supervised: a survey of semi-supervised, multi-instance, and transfer learning in medical image analysiscited by 178
- 2019A Meta-Transfer Objective for Learning to Disentangle Causal Mechanismscited by 158
- 2019A Topological Loss Function for Deep-Learning based Image Segmentation using Persistent Homologycited by 134
- 2018Adversarially Learned Anomaly Detectioncited by 115
- 2017Anatomically Constrained Neural Networks (ACNN): Application to Cardiac Image Enhancement and Segmentationcited by 109
- 2020Test-Time Adaptable Neural Networks for Robust Medical Image Segmentationcited by 102
- 2019A critical analysis of self-supervision, or what we can learn from a single imagecited by 75
- 2019Disentangled Representation Learning in Cardiac Image Analysiscited by 69
- 2016Amortised MAP Inference for Image Super-resolutioncited by 68
- 2021MT3: Meta Test-Time Training for Self-Supervised Test-Time Adaptioncited by 65
- 2018Constrained-CNN losses for weakly supervised segmentationcited by 62
- 2021Negative Data Augmentationcited by 46
- 2019Anatomical Priors in Convolutional Networks for Unsupervised Biomedical Segmentationcited by 40
- 2020Post-DAE: Anatomically Plausible Segmentation via Post-Processing with Denoising Autoencoderscited by 38
- 2019Fence GAN: Towards Better Anomaly Detectioncited by 32
- 2020High-level Prior-based Loss Functions for Medical Image Segmentation: A Surveycited by 28
- 2020Smoothness and Stability in GANscited by 27
- 2019Unsupervised Deep Learning for Bayesian Brain MRI Segmentationcited by 20
- 2017On the Effectiveness of Least Squares Generative Adversarial Networkscited by 18
- 2019Cardiac MRI Segmentation with Strong Anatomical Guaranteescited by 14
- 2016Incorporating prior knowledge in medical image segmentation: a surveycited by 13
- 2018Memorization Precedes Generation: Learning Unsupervised GANs with Memory Networkscited by 12
- 2019Collaborative Sampling in Generative Adversarial Networkscited by 7
- 2019Is Discriminator a Good Feature Extractor?cited by 4
Built on by
Citing papers per year: 2022: 2; 2023: 3; 2024: 0; 2025: 1; 2026: 1.
7 papers.
- 2023A Comprehensive Survey on Test-Time Adaptation under Distribution Shiftscited by 353
- 2022A Review of Causality for Learning Algorithms in Medical Image Analysiscited by 18
- 2022vMFNet: Compositionality Meets Domain-generalised Segmentationcited by 11
- 2023Learning with Noisy labels via Self-supervised Adversarial Noisy Maskingcited by 10
- 2023Single Image Test-Time Adaptation for Segmentationcited by 3
- 2025Sample-Aware Test-Time Adaptation for Medical Image-to-Image Translationcited by 1
- 2026Causal Transfer in Medical Image Analysiscited by 0
- 2026Causal Transfer in Medical Image Analysis25 Mar 2026
- 2025Sample-Aware Test-Time Adaptation for Medical Image-to-Image Translation1 Aug 2025
- 2023Single Image Test-Time Adaptation for Segmentation25 Sep 2023
- 2023A Comprehensive Survey on Test-Time Adaptation under Distribution Shifts27 Mar 2023
- 2023Learning with Noisy labels via Self-supervised Adversarial Noisy Masking14 Feb 2023
- 2022vMFNet: Compositionality Meets Domain-generalised Segmentation29 Jun 2022
- 2022A Review of Causality for Learning Algorithms in Medical Image Analysis11 Jun 2022