An Inverse Scaling Law for CLIP Training

AI-generated keywords: CLIP Training Cost Inverse Scaling Law ImageNet Accuracy Computer Vision

AI-generated Key Points

The license of the paper does not allow us to build upon its content and the key points are generated using the paper metadata rather than the full article.

  • Xianhang Li, Zeyu Wang, and Cihang Xie present a groundbreaking finding that could significantly reduce the training cost of CLIP
  • CLIP has enabled many recent breakthroughs in computer vision but its associated training cost is prohibitively high
  • The authors discovered an inverse scaling law for CLIP training, whereby using larger image/text encoders leads to shorter sequence lengths of image/text tokens that can be applied in training
  • The strategy for reducing image/text token length plays a crucial role in determining the quality of this scaling law
  • The authors were able to train CLIP successfully even using academic resources
  • On an A100 eight-GPU server, their CLIP models achieved zero-shot top-1 ImageNet accuracies of 63.2% in approximately two days, 67.8% in about three days, and 69.3% in roughly four days
  • This research could have significant implications for computer vision researchers who may now be able to explore the full potential of CLIP without being hindered by high training costs
  • The authors' code is available at https://github.com/UCSC-VLAA/CLIPA for anyone interested in exploring this further
Also access our AI generated: Comprehensive summary, Lay summary, Blog-like article; or ask questions about this paper to our AI assistant.

Authors: Xianhang Li, Zeyu Wang, Cihang Xie

Technical report

Abstract: CLIP, the first foundation model that connects images and text, has enabled many recent breakthroughs in computer vision. However, its associated training cost is prohibitively high, imposing a significant barrier to its widespread exploration. In this paper, we present a surprising finding that there exists an inverse scaling law for CLIP training, whereby the larger the image/text encoders used, the shorter the sequence length of image/text tokens that can be applied in training. Moreover, we showcase that the strategy for reducing image/text token length plays a crucial role in determining the quality of this scaling law. As a result of this finding, we are able to successfully train CLIP even by using academic resources. For example, on an A100 eight-GPU server, our CLIP models achieve zero-shot top-1 ImageNet accuracies of 63.2% in ~2 days, 67.8% in ~3 days, and 69.3% in ~4 days. By reducing the computation barrier associated with CLIP, we hope to inspire more research in this field, particularly from academics. Our code is available at https://github.com/UCSC-VLAA/CLIPA.

Submitted to arXiv on 11 May. 2023

Ask questions about this paper to our AI assistant

You can also chat with multiple papers at once here.

The license of the paper does not allow us to build upon its content and the AI assistant only knows about the paper metadata rather than the full article.

AI assistant instructions?

Results of the summarizing process for the arXiv paper: 2305.07017v1

This paper's license doesn't allow us to build upon its content and the summarizing process is here made with the paper's metadata rather than the article.

In their paper titled "An Inverse Scaling Law for CLIP Training," Xianhang Li, Zeyu Wang, and Cihang Xie present a groundbreaking finding that could significantly reduce the training cost of CLIP, the first foundation model that connects images and text. While CLIP has enabled many recent breakthroughs in computer vision, its associated training cost is prohibitively high, making it challenging to explore its full potential. The authors discovered an inverse scaling law for CLIP training, whereby using larger image/text encoders leads to shorter sequence lengths of image/text tokens that can be applied in training. They also found that the strategy for reducing image/text token length plays a crucial role in determining the quality of this scaling law. As a result of this discovery, the authors were able to train CLIP successfully even using academic resources. For instance, on an A100 eight-GPU server, their CLIP models achieved zero-shot top-1 ImageNet accuracies of 63.2% in approximately two days, 67.8% in about three days, and 69.3% in roughly four days. This research could have significant implications for computer vision researchers who may now be able to explore the full potential of CLIP without being hindered by high training costs. By reducing the computation barrier associated with CLIP through this finding, they hope to inspire more research in this field from academics. The authors' code is available at https://github.com/UCSC-VLAA/CLIPA for anyone interested in exploring this further.
Created on 14 May. 2023

Assess the quality of the AI-generated content by voting

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.

The license of this specific paper does not allow us to build upon its content and the summarizing tools will be run using the paper metadata rather than the full article. However, it still does a good job, and you can also try our tools on papers with more open licenses.

Similar papers summarized with our AI tools

Navigate through even more similar papers through a

tree representation

Look for similar papers (in beta version)

By clicking on the button above, our algorithm will scan all papers in our database to find the closest based on the contents of the full papers and not just on metadata. Please note that it only works for papers that we have generated summaries for and you can rerun it from time to time to get a more accurate result while our database grows.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.