Semantic Self-adaptation: Enhancing Generalization with a Single Sample

Sherwin Bahmani, Oliver Hahn, Eduard Zamfir, Nikita Araslanov, Daniel Cremers +1 more
8/10/2022
cs.CV

Official code: visinf/self-adaptive (18 stars, Python, Apache-2.0, last commit 2023-07-21).

Abstract

The lack of out-of-domain generalization is a critical weakness of deep networks for semantic segmentation. Previous studies relied on the assumption of a static model, i. e., once the training process is complete, model parameters remain fixed at test time.

Show full abstract

In this work, we challenge this premise with a self-adaptive approach for semantic segmentation that adjusts the inference process to each input sample. Self-adaptation operates on two levels. First, it fine-tunes the parameters of convolutional layers to the input image using consistency regularization. Second, in Batch Normalization layers, self-adaptation interpolates between the training and the reference distribution derived from a single test sample. Despite both techniques being well known in the literature, their combination sets new state-of-the-art accuracy on synthetic-to-real generalization benchmarks. Our empirical study suggests that self-adaptation may complement the established practice of model regularization at training time for improving deep network generalization to out-of-domain data. Our code and pre-trained models are available at https://github.com/visinf/self-adaptive.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Semantic Self-adaptation: Enhancing Generalization with a Single Sample (TMLR 2023)

180Python, ShellAug 10, 20223 years agoApache-2.0

Similar Papers

Cite this paper

@article{bahmani2022semantic,
  title  = {Semantic Self-adaptation: Enhancing Generalization with a Single Sample},
  author = {Sherwin Bahmani and Oliver Hahn and Eduard Zamfir and Nikita Araslanov and Daniel Cremers and Stefan Roth},
  year   = {2022},
  eprint = {2208.05788},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2208.05788}
}

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

Discussion