We present a combined scaling method - named BASIC - that achieves 85.7% top-1 accuracy on the ImageNet ILSVRC-2012 validation set without learning from any labeled ImageNet example. This accuracy surpasses best published similar models - CLIP and ALIGN - by 9.3%. Our BASIC model also shows significant improvements in robustness benchmarks. For instance, on 5 test sets with natural distribution shifts such as ImageNet-{A,R,V2,Sketch} and ObjectNet, our model achieves 84.3% top-1 average accuracy, only a small drop from its original ImageNet accuracy. To achieve these results, we scale up the contrastive learning framework of CLIP and ALIGN in three dimensions: data size, model size, and batch size. Our dataset has 6.6B noisy image-text pairs, which is 4x larger than ALIGN, and 16x larger than CLIP. Our largest model has 3B weights, which is 3.75x larger in parameters and 8x larger in FLOPs than ALIGN and CLIP. Finally, our batch size is 65536 which is 2x more than CLIP and 4x more than ALIGN. We encountered two main challenges with the scaling rules of BASIC. First, the main challenge with implementing the combined scaling rules of BASIC is the limited memory of accelerators, such as GPUs and TPUs. To overcome the memory limit, we propose two simple methods which make use of gradient checkpointing and model parallelism. Second, while increasing the dataset size and the model size has been the defacto method to improve the performance of deep learning models like BASIC, the effect of a large contrastive batch size on such contrastive-trained image-text models is not well-understood. To shed light on the benefits of large contrastive batch sizes, we develop a theoretical framework which shows that larger contrastive batch sizes lead to smaller generalization gaps for image-text models such as BASIC.
Cross-Domain Few-Shot Learning with Coalescent Projections and Latent Space Reservation
STEM, University of South Australia(南澳大利亚大学STEM学院);Systems Research Institute, Polish Academy of Sciences(波兰科学院系统研究所);Departement of Informatics, Institut Teknologi Sepuluh Nopember(十月份十号技术大学信息学院)
Zero-Shot Performance Prediction for Probabilistic Scaling Laws
School of Computing and Information Systems, The University of Melbourne(墨尔本大学计算与信息系统学院);School of Computing Technologies, Royal Melbourne Institute of Technology(皇家墨尔本理工学院计算技术学院);Google Australia(澳大利亚谷歌)
The case for 4-bit precision: k-bit Inference Scaling Laws
University of Washington(华盛顿大学)
量化方法减少了表示模型中每个参数所需的位数,以更小的内存占用和推理延迟换取准确性。然而,最终的模型大小取决于原始模型的参数数量和压缩率。例如,30 B 8位模型和60 B 4位模型具有相同的位数,但可能具有非常不同的zero-shot精度。在这项工作中,我们研究了这种权衡,通过开发大语言模型(LLM)中的zero-shot性能的推理缩放定律,以确定最大化zero-shot性能的位精度和模型大小。我们使用16位输入和k位参数运行了超过35,000个实验,以检查哪些zero-shot量化方法在LLM系列BLOOM、OPT、NeoX/Pythia和GPT-2中在19 M至176 B参数的尺度下提高了3至8位精度的缩放。我们发现,改进比特级缩放权衡是具有挑战性的,仅有的改进是使用小的块大小-将参数分割成小的独立量化的块-以及使用量化数据类型(例如,Int vs Float)。总的来说,我们的研究结果表明,{4位}精度几乎是普遍最佳的总模型位和zero-shot精度。
Scaling behavior of large language models in emotional safety classification across sizes and tasks
Leibniz Institute for Resilience Research(莱比锡韧性研究所);University Medical Center Halle(哈雷医学院);German Center for Mental Health (DZPG)(德国心理健康中心(DZPG));University Medical Center of the Johannes Gutenberg-University Mainz(美因茨约瑟夫·冯·拉贝大学医学院)
It's Not Just Size That Matters: Small Language Models Are Also Few-Shot Learners
LMU Munich(慕尼黑大学);Sulzer GmbH(苏尔寿有限公司)
当缩放到数千亿个参数时,预训练的语言模型,例如GPT-3(Brown et al.,2020)实现了卓越的Few-Shot性能。然而,训练和应用这些大型模型需要大量的计算,导致大量的碳足迹,使研究人员和从业人员难以使用它们。我们表明,可以获得类似于GPT-3的性能与语言模型,是“绿色”,因为他们的参数计数是几个数量级小。这是通过将文本输入转换为包含任务描述的完形填空题,结合基于梯度的优化来实现的;利用未标记的数据可以进一步改进。我们确定成功的自然语言理解所需的关键因素与小语言模型。
Improved Multi-Shot Diffusion-Weighted MRI with Zero-Shot Self-Supervised Learning Reconstruction
Athinoula A. Martinos Center for Biomedical Imaging(阿瑟诺拉·A·马蒂诺斯生物医学成像中心);Harvard Medical School(哈佛医学院);University of São Paulo(圣保罗大学);Technische Universität München(慕尼黑工业大学);Harvard-MIT Health Sciences and Technology(哈佛-麻省理工健康科学与技术部)