articleOct 1, 2023Closed access
Sigmoid Loss for Language Image Pre-Training
Indexed incrossref
Abstract
We propose a simple pairwise sigmoid loss for imagetext pre-training. Unlike standard contrastive learning with softmax normalization, the sigmoid loss operates solely on image-text pairs and does not require a global view of the pairwise similarities for normalization. The sigmoid loss simultaneously allows further scaling up the batch size, while also performing better at smaller batch sizes. With only four TPUv4 chips, we can train a Base CLIP model at 4k batch size and a Large LiT model at 20k batch size, the latter achieves 84.5% ImageNet zero-shot accuracy in two days. This disentanglement of the batch size from the loss further allows us to study the impact of examples vs pairs and negative to positive…
Citation impact
605
total citations
- FWCI
- 68.72
- Percentile
- 100%
- References
- 67
Citations per year
Authors
4Topics & keywords
Topics
Keywords
- Softmax function
- Sigmoid function
- Normalization (sociology)
- Computer science
- Pairwise comparison
- Image (mathematics)
- Approx
- Artificial intelligence
UN Sustainable Development Goals
- Quality Education
No related works found for this paper.