Reproducible scaling laws for contrastive language-image learning

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Cherti, Mehdi, Beaumont, Romain, Wightman, Ross, Wortsman, Mitchell, Ilharco, Gabriel, Gordon, Cade, Schuhmann, Christoph, Schmidt, Ludwig, Jitsev, Jenia
Format: Preprint
Publié: 2022
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866916321097154560
author Cherti, Mehdi
Beaumont, Romain
Wightman, Ross
Wortsman, Mitchell
Ilharco, Gabriel
Gordon, Cade
Schuhmann, Christoph
Schmidt, Ludwig
Jitsev, Jenia
author_facet Cherti, Mehdi
Beaumont, Romain
Wightman, Ross
Wortsman, Mitchell
Ilharco, Gabriel
Gordon, Cade
Schuhmann, Christoph
Schmidt, Ludwig
Jitsev, Jenia
contents Scaling up neural networks has led to remarkable performance across a wide range of tasks. Moreover, performance often follows reliable scaling laws as a function of training set size, model size, and compute, which offers valuable guidance as large-scale experiments are becoming increasingly expensive. However, previous work on scaling laws has primarily used private data \& models or focused on uni-modal language or vision learning. To address these limitations, we investigate scaling laws for contrastive language-image pre-training (CLIP) with the public LAION dataset and the open-source OpenCLIP repository. Our large-scale experiments involve models trained on up to two billion image-text pairs and identify power law scaling for multiple downstream tasks including zero-shot classification, retrieval, linear probing, and end-to-end fine-tuning. We find that the training distribution plays a key role in scaling laws as the OpenAI and OpenCLIP models exhibit different scaling behavior despite identical model architectures and similar training recipes. We open-source our evaluation workflow and all models, including the largest public CLIP models, to ensure reproducibility and make scaling laws research more accessible. Source code and instructions to reproduce this study will be available at https://github.com/LAION-AI/scaling-laws-openclip
format Preprint
id arxiv_https___arxiv_org_abs_2212_07143
institution arXiv
publishDate 2022
record_format arxiv
spellingShingle Reproducible scaling laws for contrastive language-image learning
Cherti, Mehdi
Beaumont, Romain
Wightman, Ross
Wortsman, Mitchell
Ilharco, Gabriel
Gordon, Cade
Schuhmann, Christoph
Schmidt, Ludwig
Jitsev, Jenia
Machine Learning
Artificial Intelligence
Computer Vision and Pattern Recognition
Scaling up neural networks has led to remarkable performance across a wide range of tasks. Moreover, performance often follows reliable scaling laws as a function of training set size, model size, and compute, which offers valuable guidance as large-scale experiments are becoming increasingly expensive. However, previous work on scaling laws has primarily used private data \& models or focused on uni-modal language or vision learning. To address these limitations, we investigate scaling laws for contrastive language-image pre-training (CLIP) with the public LAION dataset and the open-source OpenCLIP repository. Our large-scale experiments involve models trained on up to two billion image-text pairs and identify power law scaling for multiple downstream tasks including zero-shot classification, retrieval, linear probing, and end-to-end fine-tuning. We find that the training distribution plays a key role in scaling laws as the OpenAI and OpenCLIP models exhibit different scaling behavior despite identical model architectures and similar training recipes. We open-source our evaluation workflow and all models, including the largest public CLIP models, to ensure reproducibility and make scaling laws research more accessible. Source code and instructions to reproduce this study will be available at https://github.com/LAION-AI/scaling-laws-openclip
title Reproducible scaling laws for contrastive language-image learning
topic Machine Learning
Artificial Intelligence
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2212.07143