Gaurav Menghani (@GauravML) profile picture

Senior Staff Tech Lead Manager @ Google Research. Author of the Efficient Deep Learning book. Opinions are my own, obviously. Memento mori.

Bay Area, California.
Joined June 2019
Photo by Gaurav Menghani (@GauravML)Photo by Gaurav Menghani (@GauravML)Photo by Gaurav Menghani (@GauravML)Photo by Gaurav Menghani (@GauravML)Photo by Gaurav Menghani (@GauravML)Photo by Gaurav Menghani (@GauravML)Photo by Gaurav Menghani (@GauravML)Photo by Gaurav Menghani (@GauravML)Photo by Gaurav Menghani (@GauravML)Photo by Gaurav Menghani (@GauravML)
Nvidia played a 30+ yr game but not enough has been written about the 10+ yr game Google has played with TPUs. I still remember the 2016 Google i/o when it was launched. The internal funding for it was basically cobbled together from other failed projects that had leftover $s, and the core TPU team ran hard for 15mos from concept to tapeout which is incredibly fast. Even the core reason why TPUs were built in the first place was interesting - to support voice-first use cases on Android e.g. maps. Google was building for a voice first world a long time ago. My view on specialized ASICs remains the same: I think general purpose intelligence needs general purpose compute. But ASICs will continue to play a critical role in everything else specialized.
13
15
2
335
27,363
Gaurav Menghani retweeted
A fun conversation with the amazing @shripati and his team at @Primevp_in! Thanks a lot for hosting me.
What happens when one of @GoogleDeepMind's top scientists sits down to unpack AI’s past, present & future? The full episode with @jainprateek_ is here. 🎙 Topics you can’t miss: 🔹 Deep learning → transformers → generative AI 🔹 India’s once-in-a-generation chance to lead in deep AI research 🔹 The next big bottlenecks — and opportunities — in this space ▶️ Watch the full episode 👉 📺 YouTube: youtu.be/7pCILXw2_UY 🎧 Spotify: open.spotify.com/episode/7zb… Hosted by @shripati #ArtificialIntelligence #DeepLearning #GenerativeAI #GoogleDeepMind #PrimeVenturePartnersPodcast
2
1
12
3,070
Gaurav Menghani retweeted
Lina Khan deciding if you should be permitted to sell your startup or be forced to deliver additional shareholder value.
A great reminder that letting startups grow into independently successful businesses, rather than be bought up by existing giants, can generate enormous value. A win for employees, investors, innovation, and the public.
105
158
38
3,693
716,184
Gaurav Menghani retweeted
I don’t think he’s ever told the story, but it’s worth telling. When we were selling @Behance to Adobe many years ago, @scottbelsky made a spreadsheet of every employee (32 of us at the time) and personally negotiated each persons title, salary and incentive structure, and made that part of the overall deal terms. I heard the phone calls where he went to bat for each individual. He not only didn’t have to do this, but it actually complicated some of the other factors in the deal. It changed the trajectory of so many people’s lives, including my own. 2 years later, 100% of that original team was still at Adobe. Even today, a dozen years later, many of the core members are still there, building. I was inspired by it then, and I'm inspired by it now.
44
216
40
4,338
240,268
Gaurav Menghani retweeted
Want to learn about the research behind Gemma 3n? Altup - arxiv.org/abs/2301.13310 LAuReL - arxiv.org/abs/2411.07501 MatFormer - arxiv.org/abs/2310.07707 Activation sparsity - arxiv.org/abs/2506.06644 Universal Speech Model - arxiv.org/abs/2303.01037 Blog - developers.googleblog.com/en…
12
124
7
653
53,157
Gaurav Menghani retweeted
College students, you can now get all kinds of nice things for free! Try out Gemini Advanced, NotebookLM Plus, some exciting disk space, and more!
This school year AND next school year -> Free! This comes with Gemini Advanced and: * NotebookLM Plus * Gemini in Google Docs, Sheets and Slides * Whisk * 2TB of storage
17
20
2
360
68,052
Gaurav Menghani retweeted
I'm delighted to have joined my good friend and colleague @NoamShazeer for a 2+hour conversation with @dwarkesh_sp about a wide range of topics (early Google, ML hardware, training trillion token LLMs in 2007, model sparsity, continual learning, and more). Thanks for a fantastic conversation, Noam and Dwarkesh! 🙏
The @JeffDean & @NoamShazeer episode. We talk about 25 years at Google, from PageRank to MapReduce to the Transformer to MoEs to AlphaChip – and soon to ASI. My favorite part was Jeff's vision for AGI as one giant MoE that is grown in bits and pieces over time like a forest, rather than trained all at once. Specialization, distillation, inference time scaling all emerge organically rather than by design. Noam bites every bullet: 100x world GDP soon; let’s get a million automated researchers running in the Google datacenter; living to see the year 3000. Links below. Enjoy! Timestamps 0:00:00 - Intro 0:03:29 - Joining Google in 1999 0:06:20 - Future of Moore's Law 0:11:04 - Future TPUs 0:13:56 - Jeff’s undergrad thesis: parallel backprop 0:15:54 - LLMs in 2007 0:25:09 - “Holy shit” moments 0:27:28 - AI fulfills Google’s original mission 0:32:00 - Doing Search in-context 0:36:12 - The internal coding model 0:37:29 - What will 2027 models do? 0:43:20 - A new architecture every day? 0:49:10 - Automated chips and intelligence explosion 0:53:07 - Future of inference scaling 1:02:38 - Already doing multi-datacenter runs 1:08:15 - Debugging at scale 1:12:41 - Fast takeoff and superalignment 1:20:51 - A million evil Jeff Deans 1:24:22 - Fun times at Google 1:27:51 - World compute demand in 2030 1:34:37 - Getting back to modularity 1:44:48 - Keeping a giga-MoE in-memory 1:49:35 - All of Google in one model 1:57:59 - What’s missing from distillation 2:03:10 - Open research, pros and cons 2:09:58 - Going the distance
74
215
15
2,003
232,250
Gaurav Menghani retweeted
What a way to celebrate one year of incredible Gemini progress -- #1🥇across the board on overall ranking, as well as on hard prompts, coding, math, instruction following, and more, including with style control on. Thanks to the hard work of everyone in the Gemini team and elsewhere at Google! 🎊
Big news on Chatbot Arena 🔥 The new @GoogleDeepMind model gemini-exp-1206 is crushing it, and the race is heating up. Google is back in the #1 spot 🏆overall and tied with O1 for the top coding model! Highlights (improvement since gemini-exp-1121 in parentheses) - First place overall (2->1) - Tied with GPT-4o-1120 after style control (4->1) - Tied with O1 on coding leaderboard (3->1) - First place on hard prompts (2->1) Keep it up @GoogleDeepMind! The rate of progress is crazy. For analysis and to test the model, see below 👇
88
305
113
1,566
784,061
Gaurav Menghani retweeted
Roger Federer’s Commencement Address at Dartmouth yesterday might be the best speech he’s ever given. Amazingly articulate, funny, full of wisdom. Made me laugh and tear up. I’m so very proud to have had him as my idol for the past two decades. If you have 25 minutes to spare…
400
6,169
1,081
34,147
4,918,468
Gaurav Menghani retweeted
As I emerged from meditation it dawned on me that LLMs are just one array of floats and a while loop over some super simple arithmetic on its elements. It is entropy that is the root of suffering. It's by deleting the superfluous that we uncover truth. And thus I was enlightened.
2
6
1
71
3,548
subhashita du jour came unbidden to my mind, न चोरहार्यं न च राजहार्यं न भ्रातृभाज्यं न च भारकारी । व्यये कृते वर्धते एव नित्यं विद्याधनं सर्वधन प्रधानम् ॥ It cannot be stolen by a thief nor a king It is not diminished and divided for inheritance among brothers It is not a burden that weighs you down It only increases when it is shared everyday Thus is knowledge the foremost wealth and possession
3
4
12
1,038
Gaurav Menghani retweeted
"Inspiration is for amateurs". This description, from artist Chuck Close, of how the process of *doing* drives creativity, echos the underlying thesis behind Answer.AI's approach to R&D. themarginalian.org/2012/12/2…
7
64
5
449
45,114
Gaurav Menghani retweeted
I'm very excited that this paper is out, it has been over 2 years in the making! I started at Google Research speeding up neural net training, but was often frustrated when we didn't know how to declare a win over Adam 🚀
5
92
3
708
305,315
📉 "A Recipe for Training Large Models" 👉 Report: wandb.ai/craiyon/report/repo… I've been working for a while on this guide, sharing practical recommendations with my simple recipe for training models 🧑‍🍳
6
162
15
698
127,663
Gaurav Menghani retweeted
Personally I'd suggest a 6 month moratorium on people overreacting to LLMs (in either direction)
53
191
26
2,217
476,399
Gaurav Menghani retweeted
helpful links i am aware of for trending projects: 1. papers: papers.labml.ai/papers/weekl… 2. papers+code: paperswithcode.com 3. code: github.com/trending
46
402
11
2,633
353,428
Gaurav Menghani retweeted
Introduction to algorithms
35
456
76
4,014
751,084
Gaurav Menghani retweeted
fun problem in matrix algebra from last week's multivariable calculus class @penn given two parallelograms based at the origin, find a linear transformation taking one to the other... students tried combining rotations, rescaling, shears, but there is a better way...
4
30
3
243
57,980
Gaurav Menghani retweeted
Summary of great research progress on #GoogleAI, including language models, computer vision, multimodal models, generative ML. We're building it all into current and upcoming products + APIs, look forward to sharing more with everyone soon. Stay tuned! ai.googleblog.com/2023/01/go…
393
943
281
6,640
1,718,754
Gaurav Menghani retweeted
Efficiency is key in ML apps; be it training or inference And most critical decisions for efficiency are usually the initial key choices. Its much harder to stack improvements after, but its not impossible.
6
6
51
14,148