Effect of Pre-Training Scale on Intra- and Inter-Domain Full and Few-Shot Transfer Learning for Natural and Medical X-Ray Chest Images

Mehdi Cherti, Jenia Jitsev
5/31/2021
cs.LGcs.AIcs.CV

Official code: SLAMPAI/large-scale-pretraining-transfer (19 stars, Jupyter Notebook, MIT, PyTorch, last commit 2022-05-29).

Abstract

Increasing model, data and compute budget scale in the pre-training has been shown to strongly improve model generalization and transfer learning in vast line of work done in language modeling and natural image recognition. However, most studies on the positive effect of larger scale were done in scope of in-domain setting, with source and target data being in close proximity.

Show full abstract

To study effect of larger scale for both in-domain and out-of-domain setting when performing full and few-shot transfer, we combine here for the first time large, openly available medical X-Ray chest imaging datasets to reach a scale for medical imaging domain comparable to ImageNet-1k, routinely used for pre-training in natural image domain. We then conduct supervised pre-training, while varying network size and source data scale and domain, being either large natural (ImageNet-1k/21k) or large medical chest X-Ray datasets, and transfer pre-trained models to different natural or medical targets. We observe strong improvement due to larger pre-training scale for intra-domain natural-natural and medical-medical transfer. For inter-domain natural-medical transfer, we find improvements due to larger pre-training scale on larger X-Ray targets in full shot regime, while for smaller targets and for few-shot regime the improvement is not visible. Remarkably, large networks pre-trained on very large natural ImageNet-21k are as good or better than networks pre-trained on largest available medical X-Ray data when performing transfer to large X-Ray targets. We conclude that substantially increasing model and generic, medical domain-agnostic natural image source data scale in the pre-training can enable high quality out-of-domain transfer to medical domain specific targets, removing dependency on large medical domain-specific source data often not available in the practice.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

Code for reproducing the experiments on large-scale pre-training and transfer learning for the paper "Effect of large-scale pre-training on full and few-shot transfer learning for natural and medical images" (https://arxiv.org/abs/2106.00116)

194Jupyter Notebook, PythonJun 9, 20214 years agoMIT
big-transferchest-x-ray14chest-xray-imageschexpert-datasetcovidx-dataset+15 more

Similar Papers

Cite this paper

@article{cherti2021effect,
  title  = {Effect of Pre-Training Scale on Intra- and Inter-Domain Full and Few-Shot Transfer Learning for Natural and Medical X-Ray Chest Images},
  author = {Mehdi Cherti and Jenia Jitsev},
  year   = {2021},
  eprint = {2106.00116},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.00116}
}

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

Discussion