Article complete

Google Scales Vision Transformers to 22 Billion Parameters

Google incorporated text models like PaLM to make the scaling possible.

A stylized portrait of a man in a suit with the Google logo covering his face, framed against a bright background.

Key takeaways

  • Google has introduced 'ViT-22B', a vision transformer model with 22 billion parameters, significantly larger than its predecessor.
  • The scaling of ViT-22B was facilitated by methods from text models like PaLM, enhancing training efficiency.
  • ViT-22B employs frozen representations and fine-tuning to excel in various vision tasks and integrate with language models.
  • Innovative parallel layers and sharding techniques have improved training time and model utilisation significantly.
  • The model's architecture allows for simultaneous communication of activations and weights, optimising computational efficiency.

Takeaways drafted with AI from the article text.

Google incorporated scaling methods from text models like PaLM to make the scaling possible. Owing to its modified design, efficient sharding recipe, and implementation, ViT-22B was able to be trained on Cloud TPUs with high hardware utilisation.

ViT-22B uses frozen representations or complete fine-tuning to advance the state-of-the-art on a variety of vision tasks. Additionally, the model was effectively applied in PaLM-e, which shows how the state-of-the-art for robotics tasks can be considerably advanced by a large model combining ViT-22B with a language model.

Instead of the typical Transformer's sequential execution of the attention and MLP blocks, Google implemented parallel layers method—which was applied in PaLM and saved 15% training time.

The model’s utilisation has also been upscaled by 3% by omitting biases in the QKV projections, part of the self-attention mechanism, and in the LayerNorms.

'Sharding'—which basically means the process distributing the model parameters in different compute devices—was needed as the model was this big. In addition, Google also shards the activations.

Communications of activations and weights between devices occur at the same time as computations in the matrix multiply unit due to an approach called 'asynchronous parallel linear operations'. Using this asynchronous approach reduces the wait time for incoming communication, thereby enhancing device efficiency.

Google claims that ViT-22B offers increased fairness and robustness when compared to existing models. The tech giant also asserts that it demonstrates increased similarities to human visual perception regarding shape and texture bias.

Published Updated

Spotted an error? Tell our editors. Read our editorial standards and corrections.

Selling to AI teams? Put your brand in front of the 5M+ people who read AIM every month. Plan a campaign

More in this story

Generative Pre-Trained Transformer · 4 stories
  1. What is Google's New Benchmark For Efficient Transformers?
  2. Hands-on guide to using Vision transformer for Image classification
  3. You are here: Google Scales Vision Transformers to 22 Billion Parameters
  4. Google Unveils RecurrentGemma, Moves Away From Transformer Based Models 
About the author

Contributor

All stories
Belamy · Daily

The day’s AI news, before your first meeting.