Lune

NeurIPS2023顶会

Getting ViT in Shape: Scaling Laws for Compute-Optimal Model Design

Ibrahim M. Alabdulmohsin, Xiaohua Zhai, Alexander Kolesnikov, Lucas Beyer

摘要

Scaling laws have been recently employed to derive compute-optimal model size (number of parameters) for a given compute duration. We advance and refine such methods to infer compute-optimal model shapes, such as width and depth, and successfully implement this in vision transformers. Our shape-optimized vision transformer, SoViT, achieves results competitive with models that exceed twice its size, despite being pre-trained with an equivalent amount of compute. For example, SoViT-400m/14 achieves 90.3% fine-tuning accuracy on ILSRCV2012, surpassing the much larger ViT-g/14 and approaching ViT-G/14 under identical settings, with also less than half the inference cost. We conduct a thorough evaluation across multiple tasks, such as image classification, captioning, VQA and zero-shot transfer, demonstrating the effectiveness of our model across a broad range of domains and identifying limitations. Overall, our findings challenge the prevailing approach of blindly scaling up vision models and pave a path for a more informed scaling.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 50 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • CoAtNet: Marrying Convolution and Attention for All Data Sizes 引用了 Language Models are Few-Shot Learners
  • CoAtNet: Marrying Convolution and Attention for All Data Sizes 引用了 Training data-efficient image transformers & distillation through attention
  • Locality-Attending Vision Transformer 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • Locality-Attending Vision Transformer 引用了 Training data-efficient image transformers & distillation through attention
  • Data Filtering Networks 引用了 Sigmoid Loss for Language Image Pre-Training
  • Data Filtering Networks 引用了 Language Models are Few-Shot Learners
  • Data Filtering Networks 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • Sigmoid Loss for Language Image Pre-Training 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • Prismatic VLMs: Investigating the Design Space of Visually-Conditioned Language Models 引用了 Sigmoid Loss for Language Image Pre-Training
  • Prismatic VLMs: Investigating the Design Space of Visually-Conditioned Language Models 引用了 Language Models are Few-Shot Learners
  • Prismatic VLMs: Investigating the Design Space of Visually-Conditioned Language Models 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • Learning Transferable Visual Models From Natural Language Supervision 引用了 Language Models are Few-Shot Learners
  • Resolving Discrepancies in Compute-Optimal Scaling of Language Models 引用了 Language Models are Few-Shot Learners
  • Swin Transformer V2: Scaling Up Capacity and Resolution 引用了 CoAtNet: Marrying Convolution and Attention for All Data Sizes
  • Swin Transformer V2: Scaling Up Capacity and Resolution 引用了 Language Models are Few-Shot Learners
  • Swin Transformer V2: Scaling Up Capacity and Resolution 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • Swin Transformer V2: Scaling Up Capacity and Resolution 引用了 Training data-efficient image transformers & distillation through attention
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper50

  1. Sigmoid Loss for Language Image Pre-TrainingXiaohua Zhai, Basil Mustafa, Alexander Kolesnikov, Lucas BeyerICCV 2023 · 2,932 次引用
  2. Locality-Attending Vision TransformerSina Hajimiri, Farzad Beizaee, Fereshteh Shakeri, Christian Desrosiers 等ICLR 2026 · 427 次引用
  3. Prismatic VLMs: Investigating the Design Space of Visually-Conditioned Language ModelsSiddharth Karamcheti, Suraj Nair, Ashwin Balakrishna, Percy Liang 等ICML 2024 · 306 次引用
  4. Data Filtering NetworksAlex Fang, Albin Madappally Jose, Amit Jain, Ludwig Schmidt 等ICLR 2024 · 251 次引用
  5. Resolving Discrepancies in Compute-Optimal Scaling of Language ModelsTomer Porian, Mitchell Wortsman, Jenia Jitsev, Ludwig Schmidt 等NeurIPS 2024 · 94 次引用

它引用的 Paper17

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh 等ICML 2021 · 47,906 次引用
  3. Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa 等ICML 2021 · 8,974 次引用
  4. Swin Transformer V2: Scaling Up Capacity and ResolutionZe Liu, Han Hu, Yutong Lin, Zhuliang Yao 等CVPR 2022 · 2,138 次引用
  5. CoAtNet: Marrying Convolution and Attention for All Data SizesZihang Dai, Hanxiao Liu, Quoc V. Le, Mingxing TanNeurIPS 2021 · 1,747 次引用

相关 Paper

  1. Scaling Vision TransformersXiaohua Zhai, Alexander Kolesnikov, Neil Houlsby, Lucas BeyerCVPR 2022 · 767 次引用
  2. Scaling Vision Transformers to 22 Billion ParametersMostafa Dehghani, Josip Djolonga, Basil Mustafa, Piotr Padlewski 等ICML 2023 · 848 次引用
  3. Patch n' Pack: NaViT, a Vision Transformer for any Aspect Ratio and ResolutionMostafa Dehghani, Basil Mustafa, Josip Djolonga, Jonathan Heek 等NeurIPS 2023 · 303 次引用
  4. Navigating Scaling Laws: Compute Optimality in Adaptive Model TrainingSotiris Anagnostidis, Gregor Bachmann, Imanol Schlag, Thomas HofmannICML 2024 · 2 次引用
  5. FlexiViT: One Model for All Patch SizesLucas Beyer, Pavel Izmailov, Alexander Kolesnikov, Mathilde Caron 等CVPR 2023
黄昏的海面,两侧是细线勾勒的悬崖