Basil Mustafa (@_basilM) profile picture

ML research @ google deepmind Zürich vision things in gemini opinions are mine but registered copyright of my mother

Zürich, Schweiz
Joined November 2019
SigLIP out in the open - these are some of the most capable discriminative image-text models around, give them a go! And most importantly, the test images feature this glorious unplanned accidental wardrobe coordination from @giffmana and I ☕🤗
Pleased to announce we are releasing checkpoints for our SigLIP models! These are very strong image-text ViTs. We release them along with a colab to play around with. Most are english, but we also release a good i18n one. Sorry, no magnet link mic drop. More in thread🧶
1
3
1
70
13,843
Ross has done it again! Try NaViT* style training next time you're training an open_clip/timm model, and experience freedom from the tyranny of square images 🤗 * arxiv.org/abs/2307.06304
Replying to @wightmanr
Packed vision transformer PR is github.com/huggingface/pytor… ... currently testing the model by (re)packing normal fixed size batches to iron out masking bugs. Still need to add variable size / aspect image support and pre-patching to the dataloader / collation pipeline...
2
8
69
10,033
Note that there's also a mutual information based auxiliary loss in LIMoE (see appendix B.1. or section 2.2.2), lovingly crafted by @RJenatton - big fan of this approach!
4
134
NaViT can be evaluated at many resolutions, giving a smooth compute/performance tradeoff. This is also evident after finetuning where a single NaViT finetuned at mixed resolutions matches fixed-res finetuning - no more single resolution adaptation!
1
1
7
1,916
Smaller images = fewer patches = shorter sequence lengths = less compute per image. Is it better to train on many small images, or fewer large/detailed images? NaViT says: Mix them both. Benefits of low compute on small images and high performance of large images.
1
1
7
1,881
This is enabled by packing multiple images into one sequence, a paradigm inspired by LLMs. One of the best features of this is the ability to process variable resolutions during training and inference, which I'll talk about here.
1
1
11
937
You’re training a computer vision model. Want improved efficiency? Or maybe arbitrary aspect ratios? Perhaps process any resolution? …why not all the above? We’re thrilled to present NaViT, so you can have your cake & eat it (at any size or aspect ratio) arxiv.org/abs/2307.06304
2
5
1
43
4,734
Replying to @sheggle_ @jmgilmer
remember to also put a layer norm on the scale and bias parameters of your layer norm
1
12
1,480
This hit us after scaling past 8B parameters, where the often used solution of reducing learning rate stopped helping. We found this works fantastically at all scales however, enabling much larger learning rates and consequently better performance (Ti ~6M params, L = ~300M)
2
1
30
4,319
Pop quiz: Why must we reduce learning rate as we scale transformers? @jmgilmer has the answer - and the solution! Attention logits can grow uncontrollably, destabilizing training. The fix: Layer norm on queries and keys! (Follow Justin and 👀 for upcoming paper on this topic!)
11
27
11
199
88,378
I'm in the Zürich @Google office where all the meeting rooms are named after youtubers and happen to have booked the @Kurz_Gesagt room while wearing a matching hoodie 🥰🤓
3
10
418
I guess they wanted to call it "moving average gated attention", but didn't want to wear the hat
Mega: Moving Average Equipped Gated Attention Mega outperforms Transformer and S4 over Long Range Area, NMT, ImageNet, Wikitext-103 and raw speech classification. arxiv.org/abs/2209.10655
2
37
I typically spend my day refreshing training loss curves (don't tell my manager) but TODAY i am obsessively refreshing my brother's kickstarter (? !) kck.st/3QQt7nK electric inline skates. madness? the future? I'm incredibly proud either way.
1
8
tag yourself
We're thrilled to share a plot from our upcoming paper "Scaling Laws for Consciousness of Artificial Neural Networks". We find that Artificial Neural Networks with greater than 10^15 parameters are more conscious than humans are:
1
7