Back-to-Bones: Rediscovering the Role of Backbones in Domain Generalization

Simone Angarano, Mauro Martini, Francesco Salvetti, Vittorio Mazzia, Marcello Chiaberge
9/2/2022
cs.CVcs.LG

Official code: PIC4SeR/Back-to-Bones (6 stars, Python, last commit 2024-07-18).

Abstract

Domain Generalization (DG) studies the capability of a deep learning model to generalize to out-of-training distributions. In the last decade, literature has been massively filled with training methodologies that claim to obtain more abstract and robust data representations to tackle domain shifts.

Show full abstract

Recent research has provided a reproducible benchmark for DG, pointing out the effectiveness of naive empirical risk minimization (ERM) over existing algorithms. Nevertheless, researchers persist in using the same outdated feature extractors, and no attention has been given to the effects of different backbones yet. In this paper, we start back to the backbones proposing a comprehensive analysis of their intrinsic generalization capabilities, which so far have been ignored by the research community. We evaluate a wide variety of feature extractors, from standard residual solutions to transformer-based architectures, finding an evident linear correlation between large-scale single-domain classification accuracy and DG capability. Our extensive experimentation shows that by adopting competitive backbones in conjunction with effective data augmentation, plain ERM outperforms recent DG solutions and achieves state-of-the-art accuracy. Moreover, our additional qualitative studies reveal that novel backbones give more similar representations to same-class samples, separating different domains in the feature space. This boost in generalization capabilities leaves marginal room for DG algorithms. It suggests a new paradigm for investigating the problem, placing backbones in the spotlight and encouraging the development of consistent algorithms on top of them. The code is available at https://github.com/PIC4SeR/Back-to-Bones.

View on arXivView PDF

Code Implementations(1)

A testbed for backbones in DG. Repository for "Back-to-Bones: Rediscovering the Role of Backbones in Domain Generalization" (Angarano et al., 2022).

60Python, ShellOct 14, 20222 years ago
backbonebenchmarkcomputer-visiondomain-generalizationimage-classification

Similar Papers

Cite this paper

@article{angarano2022backtobones,
  title  = {Back-to-Bones: Rediscovering the Role of Backbones in Domain Generalization},
  author = {Simone Angarano and Mauro Martini and Francesco Salvetti and Vittorio Mazzia and Marcello Chiaberge},
  year   = {2022},
  eprint = {2209.01121},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.01121}
}

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

Discussion