OpenNashPodcasts

Latent Space: The AI Engineer Podcast

⚡️ Google's Open AI Strategy — Omar Sanseviero, Google DeepMind

24 May 2026 · 29m · Omar Sanseviero · 17 quoted facts

▶ Play episodeOriginal source ↗

In brief

Google DeepMind's Omar Sanseviero argues that open Gemma models are now strong enough to do real work on phones and laptops. Gemma 4 packs more capability into each parameter (a learned number inside the model), and clever design lets small models run on-device. Large closed Gemini models stay ahead on world knowledge, so the two lines complement rather than compete.

The tension runs between small and large. Small local models are good at agent tasks and following instructions but weak on obscure facts. Mixture-of-experts models (which switch on only part of the network per request) are fast but hard to fine-tune. Experimental text-diffusion models are quick but lower quality. Fine-tuning is fading as base models improve, and research is increasingly done with AI agents.

Key insights

  1. Gemma's small models keep half their parameters off the GPU

    Per-layer embedding tables are simple lookups, not heavy matrix math. So the E2B model loads about 2 billion parameters on the GPU while roughly 3 billion more can sit on CPU or disk, which speeds up on-device inference.

  2. Local models match old flagships but lack knowledge

    Sanseviero says Gemma 4 matches state-of-the-art from about a year to 18 months ago on agentic work like function calling. Factual and niche knowledge still needs larger models such as Gemini, so he does not expect cannibalization.

  3. Gemma 4's sizes were chosen for developer hardware

    The 31B dense model is the largest that fits on a consumer GPU once quantized (compressed). The 27B mixture-of-experts model, with 4 billion active parameters, is built for very fast inference.

  4. Fine-tuning demand is shrinking as base models improve

    Some of Gemma 4's launch partners planned to fine-tune and found the base model already worked well. Sanseviero says fine-tuning still pays off for specialized domains like finance or healthcare, and that general behavior can mostly be steered by prompting.

  5. Multiple LoRAs on phones create a maintenance problem

    If 20 apps each ship their own LoRA (a small add-on adapter), each one must be redone whenever the base model updates. Android and iOS also release on different cycles, and shipping 20 separate base models would drain batteries.

Questions

What does 'effective parameters' mean in Gemma 4's small models?

Sanseviero explains that the E2B model has almost 5 billion parameters, but only about 2 billion have to sit in GPU memory. The rest are lookup tables that can live on the CPU or disk, which makes it fast on phones.

Will small on-device models replace big cloud models like Gemini?

Sanseviero doesn't think so. Local models can handle many agent-style tasks, but big models still know far more facts and suit long, complex jobs. He expects phones to run something like Gemini 3 Pro in one to two years.

Why would anyone use Gemma instead of Gemini?

The main reasons are working offline and privacy, such as keeping all your code on your own machine and not sending it to an API. One example is using Gemma 4 inside Android Studio's agent mode through a local setup.

Is it still worth fine-tuning an open model?

Sanseviero says it matters less than it used to, because modern models work well out of the box and prompting can change their behavior. It is still worth doing for specialized fields like finance or healthcare that the model didn't see in training.

What is text diffusion and why does Google care?

It generates text the way image diffusion models make pictures, instead of one word at a time. Sanseviero says the main benefit is speed, especially for code, but quality is still a bit worse and the work is early-stage.

Facts

Stated by the speakers. Each quote matches the transcript, which shows what was said, not that it is true.

Sanseviero says the Gemma 4 E2B model effectively has 2 billion parameters loaded into the GPU.

“So the GEMA4 model is E2B, that means that it effectively has 2 billion parameters loaded into the GPU.”

0:00:31 · Omar Sanseviero · Effective parameters · 2026

The Gemma 4 E2B model has almost 5 billion parameters in total, and about 3 billion of them can be held on the CPU or disk.

“It actually has almost 5 billion parameters, but those 3 billion parameters can be in the CPU, they can be in the disk”

0:00:59 · Omar Sanseviero · Parameter offloading · 2026

Sanseviero says Pixel phones and high-end Samsung phones ship with Gemini Nano.

“if you buy a Pixel phone or a high-end Samsung, they come with a Gemini Nano.”

0:02:13 · Omar Sanseviero · On-device AI

Sanseviero says the Gemma team is relatively small, with two or three product managers and one marketing person plus engineers and researchers.

“The Gemma team is actually relatively small. We have like two or three PMs, we have one marketing person”

0:03:20 · Omar Sanseviero · Team size · 2026

Gemma 4 launched with almost 50 external partners and was described by Sanseviero as the team's most complex launch.

“So we have almost 50 external partners for the Yama 4 launch, which has been the most complex launch.”

0:03:48 · Omar Sanseviero · Gemma 4 launch · 2026

With the Gemma 4 launch, Google released an integration with Android Studio's agent mode that allows offline models to help write Android code.

“And with the launch of Yama 4, we released an integration with Android Studio.”

0:03:48 · Omar Sanseviero · Android Studio · 2026

Sanseviero says Gemma 4 was built on the same research as Gemini 3.

“Gemini 4 was built on the same research as Gemini 3.”

0:06:34 · Omar Sanseviero · Gemma research · 2026

The smaller Gemma 4 models can understand audio, images and short videos of about 30 to 60 seconds.

“the smaller models can understand audio, images, and short videos, so 30 to 60 second videos and audios.”

0:06:34 · Omar Sanseviero · Multimodal input · 2026

Sanseviero says Gemma 4 does not support image segmentation, a feature many users have requested.

“We do not have in-mass segmentation, which we know is one thing that many people have been asking us.”

0:06:58 · Omar Sanseviero · Vision limits · 2026

Gemma's tokenizer is largely based on the Gemini tokenizer, and Sanseviero says it works well for adding new languages.

“So the tokenizer has been pretty much based on the Gemini tokenizer. It's extremely good.”

0:08:21 · Omar Sanseviero · Tokenizer

MedGemma 1.5 was released about three months before the interview and is based on Gemma 3.

“the last MedGemma, which we released three months ago, MedGemma 1.5, it's based on Gemma 3.”

0:15:07 · Omar Sanseviero · MedGemma · 2026

Sanseviero says the 31B dense Gemma 4 model is the largest size that fits on a consumer GPU when quantized.

“The 31B is really like the largest model size that a quantized would fit in a consumer GPU.”

0:17:06 · Omar Sanseviero · Model sizing · 2026

Sanseviero says the largest Gemma models have stayed at around 30 billion parameters across Gemma 2, 3 and 4 while their capability has risen.

“around 30 billion parameters for Gemma 2, 3, and 4. And the intelligence is much higher, right? We have not increased the model size.”

0:18:53 · Omar Sanseviero · Intelligence per parameter

Google released Gemma Scope in December of the previous year, a tool for analyzing activations across layers of Gemma 3 models.

“we released Gemma Scope. So Gemma Scope pretty much allows you to analyze the activations across different layers based on the tokens.”

0:20:10 · Omar Sanseviero · Gemma Scope · 2025

The host says Kaggle joined Google DeepMind a few weeks before the interview.

“Like a few weeks ago, Kaggle joined DeepMind. How's the org in general?”

0:28:05 · Speaker 3 · Kaggle · 2026

Sanseviero says Kaggle released an experimental agent evaluation system the week before, where agents take an exam and compete on a leaderboard.

“Last week they released a new system for agent evaluation. It's like a very like experimental initial benchmark”

0:28:16 · Omar Sanseviero · Kaggle benchmarks · 2026

Sanseviero says the developer relations team has people in Paris, London, Zurich, San Francisco and New York, and is growing in Singapore and India.

“So we have people in Paris, in London, in Zurich, in SF, New York, so all of these deep-mind hubs”

0:27:31 · Omar Sanseviero · DeepMind hubs · 2026

Chapters

  1. 0:00:31How Gemma 4's small models offload parameters

    This explains the trick behind the E2B model's 'effective' parameter count. It also says why the approach is aimed at phones and small devices, not at larger models.

    “This is pretty much a lookup table.”
  2. 0:03:48Shipping Gemma 4 with a small team and partners

    This describes how a small team pulls off a complex launch with dozens of outside partners. It also covers integrations like Android Studio.

    “we have almost 50 external partners for the Yama 4 launch”
  3. 0:05:14Small local models versus Gemini

    Sanseviero says local models now match older frontier systems on agent tasks but still fall short on knowledge. He expects this gap to keep narrowing.

    “Gemma 4 is matching state-of-the-art from one, one and a half years ago.”
  4. 0:08:07Multimodal abilities and 140 languages

    This lists what Gemma 4 can and cannot do with audio, images and video. It also covers why its Gemini-based tokenizer helps with many languages.

    “Gemma supports these 140 languages.”
  5. 0:12:26Text diffusion is promising but experimental

    This covers why DeepMind is researching diffusion for text and where it might fit. Its limits today are lower quality and harder maintenance.

    “I think at the moment it's still very experimental.”
  6. 0:14:12Why fine-tuning matters less now

    The guest explains that strong base models and prompting reduce the need to fine-tune. He also explains why on-device LoRAs are awkward.

    “the model works too well out of the box. We don't need to fine tune it.”
  7. 0:17:06Dense versus mixture-of-experts model choices

    This explains how the 31B dense and 27B mixture-of-experts sizes were picked. It also covers why mixture-of-experts models are hard to fine-tune.

    “MOEs are challenging to fine tune.”
  8. 0:20:45Gemma Scope and bringing researchers to engineers

    This covers interpretability research and why it is an easy entry point for engineers. It also covers how agents are changing research work.

    “it's an area where you don't need lots of compute to get started.”
  9. 0:26:54Hiring and DeepMind's growing product role

    This covers the team's hiring plans and DeepMind's expansion into products, including Kaggle joining.

    “high agency people excited to build things, to engage with the community”

Transcript

0:00:04
Speaker 3

We got so much. Gemma 4, Gemma 3.1, Gemma Scope, MedGemma. Give us the TLDR.

0:00:10
Omar Sanseviero

Yeah, so yeah, Gemma 4 is just out. It's the most capable open model we've released so far. We already tried to compact as much intelligence per parameter as we could, bring all of these multimodal capabilities. So yeah, that's Gemma 4.

0:00:22
Speaker 3

So one interesting thing, you have this thing with effective parameters, not active parameters. Can you explain what it is?

0:00:31
Omar Sanseviero

Yeah, so pretty much in the traditional transformer architecture, you have like this big embedding layer, right? And this new architecture is more of a small change in the transformer architecture in the transformer block. Pretty much we add a pair layer embedding, so at every layer we add an embedding table. What is exciting is that you don't need to do like the whole matrix multiplication. This is pretty much a lookup table. So the GEMA4 model is E2B, that means that it effectively has 2 billion parameters loaded into the GPU.

0:00:59

It actually has almost 5 billion parameters, but those 3 billion parameters can be in the CPU, they can be in the disk, which means that you can do inference extremely quickly. This is just a lookup table.

0:01:08
Speaker 3

And what's the con? Why don't we always do this? Can it scale? Is it open research? It seems very, okay, if I can just offload half the parameters to CPU.

0:01:18
Omar Sanseviero

Yeah, so pretty much here we did close of quality experimentation, and this is really optimized and designed for like on-device. And when I say on-device, I mean like running in a phone, Android, Raspberry Pi, and so on, right? When you go larger, you usually want to compact more, you want to have more like dense architectures or MOEs. So this research, these research decisions were very helpful for these small use cases.

0:01:43
Speaker 2

Yeah, something I learned from the run that you organized this morning. for our listeners, I think this is the first ever official run club at AIE. 6.30 a.m. Very rough, but at least I woke up for it. I met Cormac, and he was telling me that apparently in China, the super apps are shipping models in the app bundle for inference and just use among all their super app constituents. I don't know. Is that a target use case for you guys?

0:02:13
Omar Sanseviero

Yeah, so actually if you install, Well, like if you buy a Pixel phone or a high-end Samsung, they come with a Gemini Nano. And Gemini Nano is back into the operating system. And Gemini Nano is really built on top of Gemma. So last year, we released Gemma 3N, which was this architecture really designed for phone use cases. And they use Gemma 3N with some additional training, some additional adaptations to make the model good for, like, traditional on-device use cases, right?

0:02:38

So pretty much when you buy, like, these high-end phones, you can already use Gemini out of the box.

0:02:43
Speaker 2

Yeah, we actually covered the 3M paper in our paper club. And this idea of sort of parameter offloading or download on demand is very cool. Is it exactly the same in the Gemma 4 stuff? Yeah. Okay. For the smaller models. Yeah.

0:02:58
Speaker 3

And does it scale? Is there a potential? So for reference, Gemma 4 is a 29B and a 31B. One's MOE, one's dense. But have you scaled it? Have you pushed it up?

0:03:10
Omar Sanseviero

We are doing lots of experiments. Experiments? Yeah, yeah. Stay tuned. Yeah.

0:03:14
Speaker 2

What goes into shipping a mainline model like this? Like, what's the behind the scenes?

0:03:20
Omar Sanseviero

It's complex. The Gemma team is actually relatively small. We have like two or three PMs, we have one marketing person, and then there are like engineers and researchers working on shipping this. Of course, there's like the whole training part. How do we do the post-training, distillation, post-training techniques, and so on. What is quite exciting is that once we have the model, then we collaborate with a bunch of open source partners, right? So for example, we work with Lama CPP, Olama, MLX, Hogan Faces, BLM, NVIDIA, AMD.

0:03:48

So we have almost 50 external partners for the Yama 4 launch, which has been the most complex launch. And also internally, we collaborate with a bunch of different teams. So think of Google Cloud, Vertex, Vertex Model as a Service, ADK, and then Android as well. So we work, for example, with the Android team. And with the launch of Yama 4, we released an integration with Android Studio. So in Android Studio, there is this agent mode where you can have a model helping you buy code and do things within Android Studio.

0:04:18

And they should be integration with offline models using Lama CPP or BLM or any OpenAI compatible endpoint. So now you can use Gemma 4 to also buy code Android applications in Android Studio.

0:04:30
Speaker 3

Where's the difference? When would someone want to do that versus just Gemini? Outside of the obvious, you're offline or you want the privacy.

0:04:39
Speaker 2

You fly planes a lot or something.

0:04:40
Speaker 3

I did. Okay, I will say on my long 10-hour flight to Latina, I did use Gemini. I was on Gemma 4, though. Sorry, Gemma.

0:04:47
Omar Sanseviero

Yeah, it's mostly offline just cases, right? Offline or privacy, like if you want to have all of your development set up locally and you don't want to send any code to any API, you will choose that.

0:04:59
Speaker 3

Do you see a future where, you know, small models get good enough? Like, does it cannibalize? It's an interesting position. You have big Gemini, you have Gemma, both get exponentially better over time. Like, current Gemma is much better than what we had closed source a few years ago.

0:05:14
Omar Sanseviero

Yeah, for me, it's quite exciting. I mean, if you look at Gemma, you compare to how we were one year ago, I would say Gemma 4 is matching state-of-the-art from one, one and a half years ago. For most things, with local models or models that you can run in your own hardware, you can get capabilities. So you can get agentic capabilities, function calling, system instructions, like conversational and that kind of stuff. Knowledge is much trickier.

0:05:38

So for knowledge, you do need a larger model, right? That's why if you compare Gemini to Gemma, Gemini has much better knowledge, understanding of the world, right? Like facts, information and so on. So it really depends. I do think we are heading towards a future in one, two years where imagine like you can run a Gemini 3 Pro powerful model directly in your phone, right? And I think once we get there, things will be quite exciting from a product integration, from which experiences we can enable to users.

0:06:09

I wouldn't say it cannibalizes. It's still like two very different things. Like if you want that flagship capabilities, like this super complex, long-running task, you would use Gemini if you need factuality and so on. But I do think for many of these agentic things, we'll get to a point in which we can do very powerful things directly on device.

0:06:26
Speaker 2

Yeah. Can we talk about the multimodality sides? Any advances there that you want to highlight or you've been getting good feedback on?

0:06:34
Omar Sanseviero

Yeah, so Gemini 4 was built on the same research as Gemini 3. which pretty much means that we benefited from all of the improvements that happened with MN3. Multimodal-wise, the smaller models can understand audio, images, and short videos, so 30 to 60 second videos and audios.

0:06:52
Speaker 3

It's actually quite long. And even the on-device, like the 4B2B can do very good.

0:06:58
Omar Sanseviero

Yeah, for audio, we have speech recognition, we have speech to translate the text, and then a bit of speech understanding. So you can ask questions about an audio file and so on. So use cases that are very optimized for on-device phone use cases. And then on the vision side, we also improve things quite a bit. So we have object detection, pointing, captioning. We do not have in-mass segmentation, which we know is one thing that many people have been asking us.

0:07:24

But otherwise, for many things, we do support that. The other thing we do not support yet is video with audio. so we can understand video input or audio input separately. But if you want to pass in the same from both the visual part and the audio part, we still need to do some improvements around that. And that's just a matter of more data? Probably some additional fine tuning could yield some very good baseline models for this.

0:07:49

Yeah. What about audio out? We're exploring some things here. Nothing I can share at the moment.

0:07:55
Speaker 2

I think everyone's excited about when you have native speech-to-speech, right? Yeah. But as far as I see, people always get excited and then the pipelines always win.

0:08:07
Omar Sanseviero

Yeah. Yeah, yeah. Gemma is quite important for the multilingual aspect as well. So Gemma supports these 140 languages.

0:08:15
Speaker 3

You did a lot of work on the multilingual encoder, the tokenizer, right? Or adding.

0:08:21
Omar Sanseviero

Yeah, exactly. So the tokenizer has been pretty much based on the Gemini tokenizer. It's extremely good. So independently of the Gemma capabilities, if you just pick base Gemma model and you find for an additional language, it actually works extremely well.

0:08:35
Speaker 2

So I didn't read that part. What are some insights on the tokenization?

0:08:38
Omar Sanseviero

And this comes from Gemma 3. This has been done already for over a year. But the tokenizer is pretty much the same as Gemini, which means that the tokenizer lends itself to capture the right tokens for different languages. It's like a very good multilingual tokenizer, which means that if you compare Gemma 3, so I'm going to the previous generation, if you compare Gemma 3 to other models from back then, maybe the other models were better than Gemma 3, like a general model.

0:09:04

But if you train all of these models for, I don't know, a specific Southeast Asian language, I don't know, Vietnamese, let's say, Gemma would get better results even if the other base models were potentially better. MARK MANDELAVYIERIENIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII in your conference, like Philips or other team members have been in some of this in the past. This is London. This is DeepMind's home. MARK MANDELAVYSCHIROVSKY - We have to. FRANCESC CAMPOYOVSKY - Yeah, we have to. We brought a bunch of researchers from the team to share about different things that we're working on.

0:09:55

We brought other teams from Google, not just from DeepMind, that are also using AI in one way or another. So we brought people that are doing on-device machine learning, people that are doing light RTs or optimizations to run models directly in phones or in the browser. We brought people from the Android team. we brought people that are working all over Google from robotics to research to Android. So yeah, it's quite exciting to come here and really show all of the things that the company is building, not just come and share the things that our team is doing, but really all of the overarching AI

0:10:28
Speaker 2

that work. I think you are, I mean, it is the lab with the biggest scope, right? You do everything, including dolphins. It's very impressive. Like, yeah, so you brought Sander. Can we talk a little bit about the researchers that you brought?

0:10:41
Omar Sanseviero

SANDER BASTIANI - We brought researchers in a couple of different topics. So we brought one of the researchers that worked in the GEMA development, in the development of GEMA 4. We brought a researcher that works in diffusion models as well, diffusion transformer models, so diffusion as text generation, not image generation. SANDER BASTIANI - Which was announced, but not released. SANDER BASTIANI - Exactly. We did a Geminine diffusion last year at I.O., which is very cool because you can generate code extremely quickly, right?

0:11:09
Speaker 2

So the main page is speed. But other than speed, is there a secondary, what can we do with a diffusion model that we cannot do with autoregressive? It's mostly speed. OK. I feel like in terms of code structure, there may be some things where you're like, OK, I want the brackets here. And then you fill in the blanks. So fill in the middle is a common code problem. But this is extended fill in the middle, or extended, like, oh, help me upscale or put a LoRa.

0:11:35

I don't know. You know, translate the image analogy to text.

0:11:39
Omar Sanseviero

I think in the past, fill in the middle was like this task that many companies were trying to tackle as an additional generation task. And now people are just assuming that the model can do fill in the middle with a general... Autoregressiveness. Exactly.

0:11:53
Speaker 2

Yeah, yeah. No tricks about special tokenization or anything like that. Exactly.

0:11:58
Speaker 3

It used to be a, you know, mass language modeling. you're trained to predict, fill in the middle.

0:12:03
Speaker 2

You have to rearrange your data set as well in order to do FIM.

0:12:06
Omar Sanseviero

Yeah, it was a bit tricky. People were always getting the prompt in the tokens wrong. And yeah, if you deviated in any way from the training format, it didn't get good results. Now we have very good out-of-the-box capabilities for that.

0:12:19
Speaker 2

What's the idea about investing in text diffusion? Is there a world in which this overtakes autoregressive?

0:12:26
Omar Sanseviero

Yeah, that's a good question. I think at the moment it's still very experimental. I think we'll be releasing and sharing a bit more research of the things that we have been doing around diffusion, text generation models in that space. I would say it's still very early stage. I think especially the model quality is still a bit worse from what you would get from a normal autoregressive model.

0:12:45
Speaker 3

Yeah. A lot of what you were mentioning earlier about it for, you know, okay, fill in this code lock, this stuff, it seems different to how we're building agents these days of, you know, sequential tool calling this, that. But I guess if it's just speed, it's speed. If it's in the harnesses.

0:13:00
Speaker 2

I could see a world where there's like system one, system two. System one is the diffusion one. System two is a lot of regressive. System one is the planner. System two is the executor. I don't know. Maybe it's too hypothetical at this point. Yeah.

0:13:16
Omar Sanseviero

Diffusion transformer models are difficult to maintain as well. So there's also like a point in which how much flexibility. Yeah. I could see a word in which, yeah, You have a very strong agent manager kind of setup, and then you have executors, diffusion-based executors that do specific coding.

0:13:36
Speaker 3

Are people fine-tuning? Outside of, you know, we see a few big companies do, okay, like Cursor has a really good consistent URL. There's a few that have done fine-tuning, but it seems like it's not picking up as, you know.

0:13:47
Omar Sanseviero

Yeah, so there was this period, 2024, in which there was like this, maybe 2023, like there were all of these fine-tuning communities, And I think it's been changing quite a bit over the last two years because models are getting very good out of the box. So as I was saying, like for Gemma 4, we had 50 to 60 partners. And some of them were like, oh, yeah, we're going to try and fine tune the 27B model for this vision task.

0:14:12

And they were like, oh, actually, the model works too well out of the box. We don't need to fine tune it. Yeah, we saw lots of those things. So I'm seeing this excitement around fine tuning nowadays as general conversational models. There is still quite a bit of excitement around fine tuning for specific domains like finance, healthcare, specific types of data that the model didn't see. But as general conversational, like just changing how the model behaves, you can do most of that via prompting nowadays.

0:14:42

And in terms of capabilities, the models are very good out of the box. So it's been changing quite a bit. There's still like the onslaught people. I don't know if you know Daniel Han and...

0:14:50
Speaker 2

Every year I get them a three-hour workshop to just talk about...

0:14:53
Omar Sanseviero

Yeah, yeah, they are the goals. They still do like amazing tools for the community to fine-tune and the community use those tools. But I'm seeing like some changes in the trends. I think people are not fine-tuning that much anymore.

0:15:03
Speaker 3

And you guys put out a version of your own. MedGemma is a fine-tune of...

0:15:07
Omar Sanseviero

Yeah, yeah, so MedGemma, the last MedGemma, which we released three months ago, MedGemma 1.5, it's based on Gemma 3. Yeah, Gemma 3. So it's pretty much geometry and then additional training with some of our medical data sets.

0:15:19
Speaker 3

How do you see, if I'm not mistaken, Apple foundation models on device were a bunch of LORAs for different tasks. And when you're constrained to running on device small efficient models, you guys did an offload. So you're like caring about efficiency. But, you know, do you see a world of multi LORAs for tasks? Should people be fine tuning the small one?

0:15:40
Omar Sanseviero

I think this is a big challenge in general in the whole developer ecosystem. because let's say that you want to have 20 apps in your phone, right? And let's say that each of those apps comes with its own LoRa, right? What happens when you update the base model? You also need to update all of these LoRa's. So from a developer point of view, I think it will be very tricky because one, you don't want to have 20 different base models in the phone of the users.

0:16:01

The battery will just die. You also don't want to have to update 20 LoRa's every time you update the base model, right? So the release cycles in the Android world and in the iOS world are very different. So yeah, I think it's more of a general industry challenge that we need to figure out how we think that people should build on-device, phone, power experiences. It's more of a product and developer experience kind of challenge.

0:16:28
Speaker 3

I have a question about the bigger Gemma models. So you have two models that are pretty similar size. One is dense. One is MOE. Can you talk a bit about, okay, say you have 27B you're putting out. How do you think about, should I build an MOE outside of inference and using it? How do you think about when to do MOE versus dense? What are the trade-offs? Of course it's inference. What else is there? But then there's two at the same size.

0:16:53
Omar Sanseviero

No, yeah, but I mean, one is 31B, which is dense, right? And that's like the most raw intelligence. And then you have the 27B with 4 billion activated parameters.

0:17:01
Speaker 3

But like, you know, why not a 31B, 5B active, for example? You can just fit more in dense?

0:17:06
Omar Sanseviero

Yeah, I mean, we did quite a bit of experimentation and like research on like, which would be the best sizes that would be friendly to developers. And we chose we made decisions around that, right? The 31B is really like the largest model size that a quantized would fit in a consumer GPU. The 27B is more like an extremely fast inference within those constraints. MOEs are challenging to fine tune. I don't know if we've talked about that in the past, but MOEs in general are like an extremely good architecture.

0:17:34

They work great for inference. But when people fine tune them, they struggle a bit. They are not as easy to fine tune for instruction following. The standard recipes and hyperparameters that you have may not work out of the box for MOEs. The intuition is the routing kills the backprop? I think so. I don't have a very strong intuition on it either, to be honest.

0:17:55
Speaker 2

People always say this, but I'm trying to say why. Because if you can train it, you can fine tune it. Fine tuning is just training.

0:18:02
Omar Sanseviero

Yeah, I think it's a mix of the routing and just having different distributions. and the distribution may affect the routing in a different way than a dense model where you just change things. That's kind of my intuition, but also I think there are many different variables here, like how many experts do you trigger, or there are a bunch of different parameters that you could move, whether you freeze or you don't freeze the router, a bunch of things that you need to think about.

0:18:30
Speaker 2

To me, the most important asymptotes that I'm looking for are what is the minimum sparsity level that we can reach? And then what is the most, let's call it ELO per byte?

0:18:43
Omar Sanseviero

Yeah. That's the thing that we discussed quite a bit. Like what's the intelligence per parameter, right? Like how do we maximize this intelligence per parameter? There has to be a number, right?

0:18:51
Speaker 2

Then we can stop, right?

0:18:53
Omar Sanseviero

Yeah, because if you compare like that, I mean, Gemma, we have done that same size, right? 27, like almost 30 billion, around 30 billion parameters for Gemma 2, 3, and 4. And the intelligence is much higher, right? We have not increased the model size.

0:19:04
Speaker 3

It was an easier number when everything was dense. Then you have to add in sparsity. Now you have offloading.

0:19:11
Omar Sanseviero

You cannot compare MOEs to dense models. There are some napkin calculations you can do to compare, but it's not apples to apples. That's a good question. I don't know where we'll be in three years from now. I would assume a 30B parameter model could be extremely powerful. I still think there are limitations in terms of knowledge. So maybe the model will be able to do like super wild, agantic stuff, but it will not know like who was the president of X country 25.

0:19:39

I mean, maybe yes, but like very niche knowledge, probably the model will not have.

0:19:43
Speaker 2

Yeah, this is just information theory, right? Like you're using the model as a database. So of course, there's going to be limits. The other thing is also I always think about when we talk about this topic, superposition, right? Anthropic has this concept of superposition where you can store information in the smaller weights because it compounds with the other weights as well. Yeah. And so not that much research on it since then, but maybe this is my segue into McInturf.

0:20:08
Speaker 3

Gemma Scope.

0:20:10
Omar Sanseviero

Yeah. So last year in December, we released Gemma Scope. So Gemma Scope pretty much allows you to analyze the activations across different layers based on the tokens. Yeah, it's fantastic. And yeah, the team released, I don't know if it was a couple of terabytes, maybe even up to like one petabyte of data that we had to store because we did that for every single layer across all of the Jema 3 models. So it's a very competing...

0:20:33

And Lama as well? We did it just for Jema 3.

0:20:35
Speaker 2

Oh, okay. I think Neuronpedia had some others. Could be, could be. There's a few other teams... I was like, wow, it's like, yeah, it's very, very close to the CrossLab partnership.

0:20:45
Omar Sanseviero

Yeah, yeah. There are a couple of open source tools as well that you can just create your own, yeah, your own activation networks. Yeah. It's a niche field. I think it's a good opportunity. I think we were talking about this earlier, right? Like it's an area where you don't need lots of compute to get started. That allows you to understand like how the model works. You can experiment, you can get a bit of a sense of how, yeah, how transformer architectures work.

0:21:10

So yeah, it's a good area. Okay. The context of this is

0:21:12
Speaker 2

really like why bring researchers to AI engineer, which is an engineering applied AI conference. One to me, it is actually very important that you bring the researchers because engineers want to learn about how the models that they use were trained, even if they never ever trained it themselves, right? Because I think they just feel more trusting of the model if you peel back the curtains a little bit. And also, I think there's some prestige that people want to feel like they can go home and talk about it intelligently, even if they don't actually know how to train it.

0:21:43

The other thing is, I do think that research and engineering are closer than people think. I mean, there's research engineers. And Mac Interp is probably the easiest, single easiest way that engineers can get into research if they want to.

0:21:55
Omar Sanseviero

Yeah, I think in big part, so many researchers are doing ablations. They are just moving the pieces around and seeing what works and what doesn't work. Of course, there's a branch within research that is much more like architectural design and much deeper. But there's lots of very empirical experimentation and seeing what works, what doesn't work, moving things around. Which for me is more engineering rather than I have for research unless we are creating new activation functions maybe.

0:22:23
Speaker 2

I think this maybe is a change in your career as well. It used to be a joke like, ha ha, researchers are terrible at coming. And then they throw it across the wall to some engineer that will clean up the code. But now everyone has their own personal research engineer, right?

0:22:38
Omar Sanseviero

Yeah. And something that is cool that is happening is also how researchers begin to adopt some of the cool agentic tools now. So, for example, within the team, we are building skills to do experiments and ablations and evaluations and how their research team can use all of these agentic tools as part of their research process is also quite interesting.

0:22:55
Speaker 2

Yeah, yeah. I had Yitay on my podcast who led the post-training for the IMO Golds model. I think it was DeepLink. And he was notably, he was an AI researcher that doesn't use AI. Yeah. Until this year.

0:23:07
Speaker 3

It's gone even further. People making novel math research, like some of the Erdos problems. Yeah, yeah, yeah. They're engineers, not researchers, with no background in math, just, you know, using coding agents.

0:23:19
Speaker 2

The math guys.

0:23:20
Speaker 3

Yeah, just not math, not research, but, you know, solving some of the most, you know, unsolved problems. Unsolved problems.

0:23:27
Omar Sanseviero

But even in the model architecture side of things, like two years ago, when all of these people started to fine-tune models and to do experiments and do model merging, there was quite a bit of research that was happening in GitHub and in Reddit and in LocalLama. People were actually, like, inventing new things, and then there were papers.

0:23:43
Speaker 2

Yeah, Frankenmergers.

0:23:44
Omar Sanseviero

Yeah, like all of the FrankenMoe stuff, like all of the Axolotl library, like all of these tools. And there were papers published by different companies and research labs one or two years later that were rediscovering what was already done by the Reddit or Discord people without anyone noticing.

0:24:00
Speaker 2

Yeah. Do you ever take on auto research? Every AI wave has an auto ML wave. Yeah. And this is the auto ML wave of this wave.

0:24:07
Omar Sanseviero

Always been a bit skeptical. I mean, auto ML, a few years ago, was mostly like just a search. Yeah, yeah. Pretty much like really searching in this, yeah, parameter space. I don't know. like with Carpathia experiments, it's been quite interesting to see like how things are evolving. I don't know what's your take on this.

0:24:24
Speaker 2

Things are just cooler when he does it. I do think some part of this is you are just speed running experiments agentically, right? The coding agent is more autonomous. You can actually go to sleep and it will do the things that you would have done anyway. So you're just kind of automating things that you would have done.

0:24:38
Speaker 3

I see it differently. I think, okay, it will be a very exciting time if we have a Move 37 from an auto research. If you make an impactful discovery that someone wouldn't have thought of, right? So there's the side of, okay, I have these ideas, go run them in the background, that's fine. But the interesting side is actually when you're shooting off not just paths that you wouldn't have thought about, but trajectories that people wouldn't think about and they work and you make new discoveries.

0:25:04

That's the very exciting thing. I think when you have more approach to just token spend and send off, hopefully that becomes possible.

0:25:13
Omar Sanseviero

Yeah, I do think the next generation of fine tuners will not be, I mean, will be people that are not coding at all, right? Like one year ago, we had to write like our own code lab with Transformers or Oncelot or whichever library of your choice. I do think as we like keep evolving, like most people will be fine-tuning with a couple of skills, right? Like Hogan Face has skills, like all of these libraries have skills.

0:25:33

They will just prompt their agent to kick off like some experiments and see what works, what doesn't work.

0:25:39
Speaker 3

And honestly, it's a good middle ground right now. Like all the tools you've mentioned, they let you fine-tune in minutes. You don't need to know what's happening in the loader.

0:25:46
Omar Sanseviero

Yeah, so I think that's where the direction will be like people that just want to do fine tunes to improve the capabilities for certain domain or like add some new behavior. They will not be coding the fine tuning code. But of course, if you want to do like deeper research in the architecture, my hunch is that most likely this will not be like automatable, at least in the next one or two years.

0:26:05
Speaker 2

OK, we got to wrap up soon. I just wanted to end a little bit on your growth in your team and Paige is here, Logan is over in SF, and you've been hiring all my friends, Thor and Ivan and all these. What does the team look like? Where are you looking to grow? It's been quite exciting. We are

0:26:26
Omar Sanseviero

hiring lots of very high agency people. I think maybe three, four years ago, we did a nice interview about how I was growing DevX at FoggingFace and how we were thinking DevRel should look like. DevRel is also interesting. It's redefining what DevRel should be in an AI, very AI-centric organization at the frontier. It's a research lab at the end of the day, and we are in this AI era. So it's also rethinking what DevRel should look like in 2026.

0:26:54

We are having pretty much high agency people excited to build things, to engage with the community and so on. Right now we are growing in Singapore, so we are looking to hire someone in Singapore. MARK MANDELAVYIERIENOVICIENCIA.

0:27:04
Speaker 2

AIE Singapore.

0:27:06
Omar Sanseviero

Yeah, and to hire someone in India. So those are like two locations with huge...

0:27:09
Speaker 2

Why is Singapore so important?

0:27:10
Omar Sanseviero

So Singapore is interesting. Singapore has a relatively small but very high, like very dense, high talent community. Now we have a property in the office as well. It's small, but it's growing quite quickly as well. MARK MANDELAVYIERIENCIA.

0:27:24
Speaker 2

Mostly because Yitay doesn't want to move. MARK MANDELAVYIERIENCIA. It's a huge win for Singapore. We don't have research in Singapore usually.

0:27:31
Omar Sanseviero

Yeah, so we're trying to grow the team in places co-located to people doing traditional deep-minded research activities. We don't want to have people that are in a single town that is not connected to anyone in person from deep-mind. So ideally, if they go to the office, they can talk with researchers. Even if it's a different project, they can be part of the more deep-minded side of things. So we have people in Paris, in London, in Zurich, in SF, New York, so all of these deep-mind hubs and Singapore now is becoming a very small but very exciting hub as well.

0:28:05
Speaker 3

Good. This is all the DevRel, DevX team in DeepMind, right? Yeah. DeepMind has also expanded a lot here. Like a few weeks ago, Kaggle joined DeepMind. How's the org in general?

0:28:16
Omar Sanseviero

DeepMind in the past didn't do that much product. And yeah, now we have like AI Studio, the Gemini API, Kaggle is part of the team. Actually Kaggle is also here. There are two members here talking about it. Very excited. Yeah, talking about evaluations. Last week they released a new system for agent evaluation. It's like a very like experimental initial benchmark, but pretty much allowing agents to take an exam and compete in a leaderboard, which is always fun.

0:28:42

Yeah, with Kaggle joining us, I think there are a couple of exciting things. There's a whole Kaggle community hackathon things that enables the community to build hackathons, but there is also the Kaggle benchmarks. And I think Kaggle benchmarks can connect very well with how we think about Gemini and the capabilities. And if you're in the evil space, many benchmarks can be benchmarks, many people are gaming the benchmarks, and we want to identify which are these capabilities that maybe we are not aware that we have or that maybe we could improve and bring all of that feedback from the benchmarks created by the community in an organic way and bring all of that feedback back to the model itself.

0:29:18

I mean, the way we are doing Gemma, Gemini, and all of our tools is really based on the feedback from the startups, the community, the developers. That's why you see like Logan, Paige, everyone in the team talking with the community, social media, forums, events, and really understanding what people are building with our tools and bringing all of that feedback to the modeling things, which is very cool as being part of the team.

0:29:41
Speaker 2

Yeah, yeah. Well, you guys are doing amazing work. Thank you so much for joining us here. Yeah, thank you. Can't wait to see what's next.

0:29:48
Omar Sanseviero

Yeah, thank you for having us here.