Transcript
0:05 GTC enthusiasts, please welcome to the stage Google Chief Scientist Jeff Dean and NVIDIA Chief Scientist Bill Dally. So Jeff, it's been an exciting year for machine learning. What's the most exciting development you've seen in the past year in machine learning? Yeah, what do you expect to see next year also?
0:41 Yeah, I mean I think everyone in this field has seen really rapid progress in what these models can do and what the capabilities are and also how people are applying them. So that's been really interesting and exciting. You know, I think for the last year or so, I would say reflect on a couple of different things. One is I feel like the models have gotten way, way better at problems with verifiable rewards, so things like math and coding. And you know, three or four years ago, we were super excited when our models could solve eighth-grade math problems. You know, Fred has four rabbits and gets two more rabbits, and then they would get that 40 or 50% of the time and everyone was like, “Yeah, that's great.” But in the last few years and particularly in the last year, we've really accelerated how effectively these models can do mathematics. And so you saw our Gemini model entered the IMO contest and got a gold medal.
1:42 In coding contests, the ICPC contest, we also got a gold medal there. So I think the capabilities in those domains are really impressive. And then maybe a little bit even more recently than that, we've started to see really agent-based workflows work extremely well for longer-running kinds of things. You know, it used to be you could ask your model to do some stuff and it would go off and do it and a few minutes later you'd have to now say, “Okay, great. It finished that, and what's the next thing it can do?” But now you can actually give these models tasks that take hours or perhaps even days, and they will go off and independently do a bunch of things, correct themselves, do some more things. And I think that's a pretty exciting transition because now it leads to the ability to have these models operate fairly autonomously for longer periods. And that I think is a very different thing, whereas before you'd kind of have to sit there not quite interactively but supervising them fairly closely. So that seems like a pretty exciting change.
2:49 I mean, speaking of this, it seems like we're going to have a lot more of these agents operating in the background and that one of the things that's really going to be important is how do we get ultra-low-latency inference so that these systems can do their work autonomously faster, because I think that's a really rapid driver of how effectively they can solve problems. How do you see the next architectures you at NVIDIA are working on delivering major latency reductions? How do we think about getting to, instead of hundreds of tokens per second, thousands or tens of thousands? Yeah, I actually talked about this in my talk at 10 o'clock this morning, which I think was recorded if you missed it. And there are a bunch of answers to that question. When you look at the performance curve for inference, it's a trade-off between, at one extreme, if you're willing to give up latency you can get very high throughput in tokens per second per dollar or tokens per second per watt. Then you can move down that curve and basically, running smaller batch sizes, you can optimize more for interactivity, more single-user tokens per second, at the expense of that throughput. As you get down to the right side of that curve where you're really optimizing for latency, it turns out that the bulk of the delay is communication latency. And so we're working on developing architectures where we drive that latency down to what, at NVIDIA, we always refer to as “speed of light.” If you look at a typical LLM where you're doing a bunch of feed-forward stages, then a bunch of attention stages, and that's one layer, and you do that for anywhere between 50 and a couple hundred layers, every time you finish one of those stages, there's usually an on-chip communication to get to the next stage. And then after you finish a layer, it's often an off-chip communication to get to the next layer, and sometimes even between stages within a layer, depending on how you've partitioned the problem. On-chip, we've got trial designs whereby statically scheduling things so that there's no routing overhead, there's no queueing, there's no arbitration.
5:00 We basically can achieve two millimeters per nanosecond, basically the time of flight over wires on the chip, and get from one corner of the chip to another corner of the chip in 30 nanoseconds. That really drives the latency down from what is several hundred nanoseconds today. And then off-chip, a lot of the latency is actually in our PHY, because for years we have optimized these PHYs for the maximum bandwidth without too much consideration for latency. And so to push the extremes, we wind up with heroic digital signal processing, trying to pull this super noisy signal off the wire and run all sorts of fancy math to figure out what the bit is. And even then, the bit's kind of noisy. So then we do heroic forward error correction to pull the right bit out. It turns out if you back off in the bandwidth just a little bit, go from, say, 400 gigabits per second per pair to 200, all of a sudden all that goes away. You can just detect the voltage on the wire, you get the bit, and it's just serialization latency at that point. It's a couple of clock cycles going on and off chip. So we see our way to build whole routers, similar to the routers I built at Cray 20 years ago in 2006 when we did the Black Widow. The router was less than 50 nanoseconds pin to pin. I think we can do that again. And by doing that, I can see us running relatively big models at 10,000 to 20,000 tokens per second per user.
6:20 Yeah, I mean that's super exciting. I think this is really important to be able to run the largest-scale models at these scales, at these low latencies. So you talked about these agentic systems getting to the point where you could give them a task, then they'd run off with it for a while. How close do you think we are to the point where we can take one of these agentic systems and just have it do the next version of itself? You take whatever the current version of Gemini is, give it a long-running task, maybe a month, and it goes off, it basically experiments around, comes up with the right model, comes up with the right data curation strategy, runs the data through there, decides how it's going to acquire more data, maybe writes a couple of contracts to do that, and trains the next version of itself.
7:04 Yeah, I mean I think the whole thing you described is not quite there yet, but I do think we are starting to see signs of that emerging. You can ask the model at a very high level, “Please explore ideas in this rough space for improving the performance of the model,” and it'll go off and run 50 experiments. It'll dismiss 40 of them. It'll hone in on 10 that seem promising, do follow-up experiments. I think one way I've been characterizing this kind of work is, for a while, there's been meta-learning. For example, in 2017, some people in the Google Brain team did some work on neural architecture search where you can specify a search space of potential architectures, then run lots of experiments at small scale to find the architectures that seem to learn the best on a particular set of problems you care about. We've done that with learned optimizers and learned activation functions and so on. In those cases, eight or nine years ago now, people were specifying those search spaces as code. But I think one of the really nice things that we now have is the ability to specify interesting research spaces in natural language.
8:16 It's like, “Please go make yourself better. Please explore interesting new distillation algorithms and try to use information we're not currently using,” and it will go off and do those experiments. I think that's a powerful natural language NAS. It's basically a super powerful multiplier for researcher productivity because all of a sudden it's really easy to think research-y thoughts. It's actually harder to run the experiments and get the results and interpret them, and if the agent can do a lot of that work, that's really going to be a great partnership between super-capable researchers and super-capable agents.
8:56 Mhm. So let's see. One of the challenges that always exists when you're building hardware, especially in a fast-moving field like machine learning, is if you start a new hardware project today, it might pop out the other end and actually be in data centers in two years if you're lucky. We'd like that to be shorter, but then it has to live for a certain number of years. And so you're really trying to predict where the machine learning field and AI fields are headed in the two- to five-year time window. That's always been a super hard thing to predict well. I'm wondering if you've come up with good tools or mechanisms to help do this kind of crystal ball reading effectively.
9:47 Yeah. So we try our best, and part of the way we do that is by trying to develop our own models, both LLMs like NeMo, and world models like Cosmos, or robotic foundation models like GR00T. But as hard as we try to do that, we're trying to look out ahead, developing a model that's not yet the one that people have. We get surprised there. There's lots of people out there working on this. They're super clever. They're coming up with great ideas every day. And so we kind of have to future-proof our hardware. We do that in a number of ways.
10:17 First, there are things you do that are just good for all models. If we can come up with a way of doing math more efficiently, perhaps due to better number representations, that makes everything better. Similarly, if we can organize our on-chip communication to reduce data movement, that makes everything better. Where we tend to run into places that we really wish we knew what was coming down the pike is when people change the model in a way that changes the provisioning, sort of how much math you have versus how much memory bandwidth versus how much memory capacity versus how much communication, because even if you make each of those four ingredients really efficient, you’ve got to decide how much of each to have. Then when somebody comes up with a different model, like going from grouped-query attention to multi-latent attention, it changes some of those ratios pretty significantly, and all of a sudden you're leaving some pieces of hardware idle and others busy. There's really no way around that. Except perhaps in the future, if we see a bunch of different models needing different sorts of provisioning and the volumes are large enough, we may just do different SKUs provisioned in different ways and kind of hedge our bets against that kind of future. Yeah. Yeah, it makes sense.
11:32 I guess it's my turn. Not yet. Okay. So historically, at least in recent history, we tend to scale our models according to the Chinchilla scaling laws. If we had a certain amount of compute, from that we would decide we would have so many parameters and usually about 20 times that number of tokens. But now we've gotten into this realm where it's really hard to get more tokens, but we'd still like to continue scaling our models, use more compute to do the training. What do you see filling that gap? With data mined out, how can we use more compute to get more accurate models?
12:14 Yeah, I mean I think first I'll clarify, Chinchilla scaling laws are optimal for training. If you start to consider inference performance of the trained model, then it may be that you don't necessarily want to follow exactly that. I also kind of disagree with the assertion that we're running out of data. I feel like there's an awful lot of data in the world that is not yet being used to train these models. Where do you see the data?
12:39 Well, we train on some video data, but I think there's a lot more video data, and associated audio data, that we aren't necessarily training on yet. I think real-world robotics or autonomous vehicle data is going to be fairly plentiful. Synthetic data is another recourse for how do you generate really interesting high-quality data. You inject more compute, you can get synthetically more data for training your models. Don't you wind up sort of regurgitating the same stuff after a while? If you trained on some data and then use that to generate synthetic data, it's sort of another version of the same stuff. Yeah, but it still seems to help the model sometimes, because if your model is very powerful, the one that's generating the synthetic data, then it actually does seem to help quite a bit. Yeah.
13:33 So I think that's where, and then there's all kinds of techniques we're not yet using that were in vogue for, say, image models, convolutional image models, years ago. So I think things like data augmentation, of which you can think synthetic data is a little bit of that, techniques to prevent overfitting are interesting. You can use dropout or distillation as ways of regularizing the model. So I think there's a lot of opportunity there to really make models better with more compute and more passes over the data, where you won't overfit necessarily.
14:11 Do you ever see the LLMs getting to the point where we train them the way we trained AlphaGo, just to have the LLMs kind of conversing with each other and somehow improving their performance by doing that? Yeah, I mean I do think the current pre-training regime is sort of like you take your model, you throw your random number generator at it to initialize it, you strap it to a board, and then you stream all the internet data past it and it learns what it can from that observation, but it's not actually taking actions in the world.
14:44 It seems like we want to interleave some of that with something where the model gets to take actions in some environment, be it simulated robotics environments or trying to predict answers to questions or things like that, and then going back to learning. Maybe it's also a bit more directed in how it chooses what data to see next, as opposed to a predetermined ordering of the data. I think that would actually be quite interesting as a way to dramatically improve essentially the learning efficiency. For a given number of tokens, how much can the model get out of it? I feel like taking actions in the world is going to be super useful for that. We do that in post-training, but that's a very limited form of that. I think interleaving that kind of thing much more at the pre-training stage makes sense. At the pre-training stage, I mean, we sort of have this artificial distinction now and it doesn't seem like that should exist for the long term.
15:44 I guess it has to get smart enough where that makes sense. When you start out with a random number generator, it probably can't do that, but after you've thrown some number of tokens at it, show it 10 billion tokens and it can probably do something. Yeah. So scaling of training workloads has been a really big focus for the whole community for the last few years. But we're starting to see, as these models have much more influence in the real world, that inference workloads are becoming much more important. Traditionally we've tried to build chips that are good at both of these things.
16:21 NVIDIA recently acquired Groq, which has nice low-latency inference hardware, and I saw you made some announcements combining the Groq hardware with your latest-generation GPUs. How do you think about the differences between hardware needed for training and hardware needed for inference? Yeah, so that's a really good question. I'll go further. I think it's not just that inference is starting to become important. Inference is the job now. It's easily 90% of the power in data centers that is going into inference. The good news is there's a lot of similarities between both. It's interesting that, for example, number formats like NVFP4 that we developed originally for inference have proven to be remarkably effective at doing training as well. But it's still a very different task in terms of what the demands are, particularly in terms of the memory system, because with training you've got to keep all the activations around for the backprop step, and in inference you just throw them away as soon as you're done with them. So there's a larger need for memory capacity, and it drives, like what I said before, a different amount of provisioning between memory capacity, memory bandwidth, math, and communication.
17:31 We see that same difference in need for provisioning even in different stages of inference. For example, the prefill stage is a lot like training in that you get all these tokens you can operate on in parallel. So it tends to be very, very math heavy and dominated by communication energy if you're not careful about localizing your data. Then you get to the decode stage of inference and you now are doing, especially if you're latency optimized, matrix–vector or matrix very skinny matrix products, and you're extremely memory-bandwidth-limited and latency-limited. Even that is broken into the feed-forward and the attention stages that do different things. I think that it's a natural division over time to build different components provisioned for these different stages. I suspect you'll see at least three flavors: one that's good at training and prefill, one that's good at attention, and one that's good at decode. That one that's good at decode may even bifurcate into the attention decode and the feed-forward decode. Yeah. Yeah, it makes sense. I do agree that prefill looks more like training than the decode stage, which looks quite different.
18:38 Yeah. It's so sequential. You've got one token, you've got to run it through everything. Yeah. I mean, I think one thing that helps is speculative decoding can give you, instead of a vector, you get a slightly skinnier matrix. Instead of one, you get eight. Yeah. Right. And diffusion LM can do even better, possibly doing blocks up to a few hundred. Mhm. Yep. Yeah. Oh, I've got to somehow queue up the next one in my head while I'm answering yours.
19:06 Where are my darn questions here? Okay. Okay. Yeah, so I'm going to skip that one. We're skipping questions, that's why this is challenging. Yes. Yeah. Yes. So new models are appearing on a regular basis with new forms of attention, diffusion transformers, hybrid state-space transformer models. What do you see on the horizon for models? What excites you most in the model zoo at present, particularly in attention, across the board? Yeah, well I think clearly we've been moving more towards larger parameter count, sparser models. So that has a huge impact on what the memory footprint of these models looks like, how you activate the right pieces of them.
19:54 Typically you're activating a tiny fraction of the overall parameter count. And when you have a batch of things, typically you're activating different ones of those, which is a bit annoying and destroys some of that batching because now they're going different places. You had a huge batch and now you made it a tiny batch. In the attention space, there's a lot of interesting potential improvements to the naive quadratic attention. The quadratic attention algorithm works extremely well for quality, but it's extremely expensive once you start getting to large token counts. So you do need to do something to scale beyond, say, a million tokens. I think there's a bunch of possibilities that have been proven out at modest scales and look quite promising. One I’ll categorize as things that reduce the constant factor of the quadratic attention substantially. You can pay attention to chunks of tokens and then identify which chunks seem most interesting and then delve into those chunks only and not the full thing.
21:04 Right? That's not just constant factor. That's changing it from n squared to some n log n or something. Well, no, it's still n squared because the chunks might be 128 in length and you're still doing quadratic attention to those chunks. Okay. But what you do for each chunk can be much smaller. So that helps. Then there's some interesting things where you can, for example, cluster the attention state and then only look at the clusters that are near the thing you're trying to do, and those actually can be sort of n log n or perhaps even better. So that seems quite promising as well. I think the trade-off there is generally you lose a little bit of quality relative to the full quadratic attention. So it's a question of whether that’s useful.
21:52 Then I think there's also a notion of the models being very good when you put the right information in the context window because they can pay attention to it, but the attention window is not big enough to be what you would really want, which is: I would like to attend to all information, all the documents on the internet, or for me personally, all my email and photos and so on. That's much, much bigger than a million tokens. So I think the right way to give you the illusion of attending to, say, a trillion tokens instead of a million is to have staged forms of much lighter-weight retrieval mechanisms that then identify what are the documents you really need, pull them in, and then attend to that. You don't need all trillion at once for a particular task. You'd like to somehow identify which million of those trillion you really need, pull them in, and then attend to that. Maybe at that stage you don't go from a trillion to a million. You go from a trillion to 10,000 documents or 10 million tokens. That's maybe 10 or 20 million tokens. Then you look at them with a much lighter-weight mechanism to identify what are the million-ish tokens you're going to put in. I'm pretty excited about that, because I think that kind of hierarchical attention mechanism will enable you to do things that just the attention window size won't permit. So I'm a big believer in the use of AI for various aspects of chip design, both if you think about the chip design phases: there's high-level architectural explorations, there's more automated synthesis of high-level designs into lower-level things, there's automating verification, and then there's automating placement and layout and routing. I've done some work on AlphaChip as one example, helping with placement and routing.
23:46 Very great Nature paper, by the way. Oh, thank you. And that's been really useful for a bunch of generations of TPUs that we've designed. How do you think – and I've seen some really nice work from NVIDIA on various kinds of gradient-based methods for placement and routing. How do you think about the use of AI in the actual hardware design process? Do you think tackling these different stages with different AI-based approaches is the right thing? Do you think a much more end-to-end thing is possible? How do you see this evolving?
24:19 So we're trying to use AI wherever we can in our design process, and there are a number of examples. For example, every time we have a new semiconductor process, we have to port our standard cell library to it. It's about 2,500–3,000 cells. That used to take a team of eight people about 10 months, so 80 person-months. Then we developed a program based on reinforcement learning called NVCell. I think we're up to NVCell 2 or 3 now. It's overnight on one GPU. The results are actually better than the human designs in measures of goodness of size of the cells, power dissipation, delay. It matches or exceeds the human design. So it's a huge productivity gain and eliminates an obstacle to moving to new processes because now we can move cell libraries over very quickly. Then we have this program called PrefixRL, which applies reinforcement learning to a really age-old problem in computer design, which is where to put the look-ahead stages in a carry look-ahead chain. This is a problem that's been studied since the 1950s. This RL program goes at it like it was an Atari video game. It puts something in here and it grades itself. It's not trying to make the fastest adder. It's trying to make the adder that barely meets timing and is as small and low power as possible. It comes up with totally bizarre designs that no human would ever come up with, but they're actually 20 or 30% better than the human designs by those metrics. At a more holistic stage, for a number of years we've had a series of LLMs that we called Chip NeMo and Bug NeMo. What we did is we took a generic LLM and then we fine-tuned it by feeding it all of the design documents proprietary to NVIDIA. So this is stuff that you can't get outside the company. It's all the RTL hardware design docs, all of the RTL for every GPU ever designed at NVIDIA, all of the architecture specs for those, all sorts of stuff. Now you have this LLM that's actually very smart about GPU design.
26:16 One of the biggest gains of this is when you have a junior designer. It turns out the senior designers spend an enormous amount of their time explaining to the junior designers simple things like, how does a texture unit work? And in particular, this texture unit. Now they don't have to ask the senior designers that. They can ask Chip NeMo that. Chip NeMo will explain to them in great detail how the texture unit works. They have a follow-up question, it will answer the follow-up question. So it improves productivity that way. A very patient mentor.
26:42 Yeah. And the same thing when we have bugs, we can have it summarize bug reports and try to do attribution on bugs, say which module is this bug in, who do we ARB? We always ARB somebody for a bug, “action required by,” and so we'll decide what designer gets ARBed for a particular bug. Then, at the more exploration level, and particularly in NVIDIA Research, we're now using agentic systems to try to do a bunch of thought experiments where we say, “Okay, here's a bunch of different ways we could go. Figure out what this parameter space looks like, suggest new ways of doing things, run simple architecture experiments, and whittle the design space down to a smaller number of things that we can look at.” We're trying to collapse the time from when, at NVIDIA, there's a stage when we're kind of done with the exploration effort that we call we have the F-model. It's basically an executable model of the GPU. To where we tape out the design, we have all the geometry done, it goes out to TSMC to make chips. We'd like to collapse that space. It turns out what the really long pole in that space is design verification, and so we're particularly looking at how we can use AI to prove the designs work more quickly.
27:58 There are also a couple stages in there where we have to refactor the design because we have the RTL design done, but then we've repartitioned things for floorplanning and now we have to move parts of the logic from one module to another and make sure everything still works. Those are the kind of things that I think we ought to be able to automate, and we should be able to collapse that time period down. But all that said, I'd love to have the end-to-end stage where I could simply say, “Design me the new GPU,” and I'll go out skiing for a couple of days and I'll come back and it's done. But I think we're a long way from that, although it is making us much more productive.
28:32 Yeah. I mean, I think making every stage of that automated process fast enough that it can actually explore this enormous design space is super, super challenging. I think even when we get to the end-to-end, it's going to be the master agent calling on these agents who are specialized in the different parts of that pipeline to carry out their parts and then perhaps to iterate when it's not happy with the quality of the result. Yeah, and potentially even split up in the same way we split up human chip design teams, where you have this agent focusing on this part of the chip and then this one over here with some well-known interfaces between them, and then they have to negotiate changes to those interfaces. They'll have the same kind of meetings we have, but between agents. Yes, inter-agency meetings.
29:16 Okay, I have to ask a question now. I should have organized this in two columns or something. Okay, let's see what we've got here. Yeah. So on that topic of agents, if you have teams of virtual engineers and swarms of agents collaborating on complex projects, what are the biggest orchestration and continual learning challenges that hardware innovations could dramatically accelerate? Things like hierarchical rewards, sparse activations, dynamic model growth. What do you see happening there? Yeah, I mean I think one of the big challenges in ML these days is how do you get systems working where the reward signal is sparse and maybe not as verifiable as, say, math or coding. If you can really crack that, then I think you can learn to do a whole bunch of different tasks from dramatically expanding out the set of capabilities, the areas of expertise, of these models. I do think there's some challenging things because as we get these agent-based systems, they typically look like they have a whole bunch of trajectories that they're rolling out. You'd like those to be as low-latency as possible in the models, to generate the next bit of code or the next set of actions the model's going to take. Then they're going to interact with some environment. Often the way they interact with that environment is they use tools that were designed for human-speed interaction and often run on CPUs.
30:59 So the startup time of your C compiler is not necessarily something that people pay – they pay some attention to – but they need to pay a lot more attention to it in this world where you have an agent that is operating 50 times faster than a human. The startup time of all your tools is going to start to be an Amdahl's-law-like bottleneck, because if you make your model infinitely fast you're going to get, depending on what you're doing, a factor of two or three reduction in latency if your tools are a pretty significant fraction of what you're doing. So I think we're going to need to start to really re-engineer a lot of the tools that these models use.
31:38 Do you see this happening right now for coding tools? Yeah, it's happening for coding tools. It's happening for even being able to manipulate your spreadsheets and your documents. The tools that can extract that information programmatically are not necessarily the things that are super, super speedy at doing that. I think we'll need new forms of tools. Let me see. So energy is something I've seen you talk about in a bunch of your talks and slides. The thing that really sticks with me is what we ultimately are trying to do is a multiply-add operation or something, which is a fraction or a few picojoules depending on the precision. Then in order to actually make that happen, we have to bring that data from some part of the memory system, and that's a factor of a thousand more in many cases, more energy. Given the fact that we're really pushing and trying to make these systems as energy efficient as possible, I'm curious what you think are going to be the big improvements. I mean, you spoke to some of these, like shrinking the distance that things have to go across the chip; that can help. But maybe you have a more broadly characterized status: put the numbers straight. To put the numbers straight, typically doing a multiply-add, say for NVFP4, it's like 10 femtojoules. To pull those four and a half bits in from HBM4 at on the order of maybe three or four picojoules per bit, you're talking about 15 picojoules. It's a thousand times more energy to read one NVFP4 number from external memory than it is to do a multiply-add. But reading a simple SRAM bank is also on the order of about 10 femtojoules. So the key thing you can do to reduce energy is to just don't move data.
33:43 And people are laughing, but I'm serious. No, that's how you do it. That's absolutely what you have to do. For example, we're looking at designs where, for where we can put things in SRAM, we have an SRAM. We can read a row of a matrix out of that SRAM, have a row of an activation vector, and do a dot product right there. We've done two things: we've done a thousand multiply-adds with no data movement, we just read the SRAM, everything is there in place, we do a thousand reads from your left hand and a thousand from your right, and then we've reduced the data from being a thousand long to one by doing the dot product. We're trying to look at a lot of techniques like that. The problem then is that SRAM is expensive in terms of area per bit. It's an order of magnitude more expensive than DRAM. The technology we're really excited about but it's not quite ready is where we can stack the DRAM on top of the chip that's doing the computation. Then we can basically cycle the DRAM mat, as they call it, sense the bit, and bring it straight down. It turns out most of the read energy of reading the DRAM isn't actually reading the DRAM; it's moving the bit from where you read the DRAM over to where the pins to the GPU are. By putting this DRAM directly on top of the GPU, we can get an order of magnitude more bandwidth with an order of magnitude less energy per bit, which winds up being the same power but with way, way more performance. Those are really the things we're looking at doing. Of course, more efficient models will help also. If you can get the same accuracy with less work, that reduces energy also.
35:26 Yeah. The one place there that I think can really help a lot is with sparsity. We've already done a lot with sparsity, starting with the 2:1 structured sparsity, but these models are just very naturally sparse. But it's also the case that other than the 2:1 structured sparsity and the very coarse sparsity of experts, it's hard to exploit sparsity in a way that wins, because once you start exploiting it in a more general sense, you create a lot of irregularity – or I should say you destroy the regularity – and the regularity is a lot of what makes a computation efficient, because you get all the bits kind of marching along in regular order. When you disrupt that, you now need to do much more control-oriented and data-routing-oriented things to deal with the irregular nature. So I think it's really an interesting open question how to push to the next level on sparsity.
36:18 Yeah, definitely. I mean I think models that kind of reuse their parameters many times are kind of nice in some ways. Yeah, reuse is good. But reuse is, again, part of that curve trading off optimum throughput, optimum tokens per watt against optimum interactivity. When you're really worried about interactivity or when you're only running a single model and you've got one token, it's got to see every weight, the reuse is one.
36:51 Unless it's like a convolutional model, in which case you get quite a bit of reuse. You get the spread of the convolution, yeah. But for LLMs, it's a matrix–vector. Mhm. Okay. That's right. My turn. Somebody needs to flash a little light: “Bill, your turn.” Okay. So your TPU co-design loop, where you predict ML research directions two to six years ahead, bake them into silicon, has been remarkably successful over, I forget what generation you're on now.
37:22 What are the top hardware–software friction points you're seeing at Google today, especially in the mixed GPU–TPU or multi-cloud environments, that the broader industry should be solving? Yeah, I mean I think yes, we definitely do quite a lot of co-design, because I think you really do want to get your hardware designers and your ML researchers talking to each other and into the same room fairly often so that they can bounce ideas off each other. Often what happens is an ML researcher will say, “I think we're going to be doing a lot of this in a year or two or three,” and the hardware people will kind of look at that and they'll be like, “Oh, that's interesting.” Then they'll be like, “Oh, well, we can't quite make that really fast.
38:15 What if we could make this thing that's not quite that? Would that work for you?” The ML researchers then sort of say, “Oh, well, maybe we could prototype this,” and realize what is possible and what is easy and what is hard. I think that kind of interaction is really, really important. We sort of, because we design the hardware and we do a lot of modeling and ML research, we do have a nice window into where we think the field might go. One of the things we sometimes can do is put a little bit of experimental things that we think will be useful two to four years from now into the silicon. We obviously hopefully bet correctly, but if we don't, it's not a huge disaster because then that just means that little bit of the chip will be underused or only used in certain circumstances. But if it actually does work, then it pays off big and you can suddenly accelerate something like 10–20x in the hardware. It's kind of like our CUDA tax in all of our GPUs used for graphics. Mhm. Yeah.
39:22 You just put a little bit in there, and if you can use it, it's great. If not, it's not a big deal. Yeah. So one of the things that is a big trend right now is having much more continual learning systems. One possibility for how those might evolve is instead of a fixed model with a set of parameters, you have some more organically growing model architectures that add parameters or maybe prune parameters away or compress existing sets of parameters into smaller sets so you free up some memory for other things. What hardware features do you think would be helpful for that, or are there features that won't tank utilization if we have these really weirdly organic model structures?
40:15 Yeah, I think it's a real question of what the granularity of that irregularity is. As long as you have a big enough block that you can schedule something very efficiently to run and then you can dynamically select what is the next block – it might be bigger, it might be smaller – then I think you can still do it very efficiently because we can apply all the techniques we know today to make those individual blocks run efficiently. Then the really critical thing in any parallel computing system is synchronization and communication.
40:43 We've been working very hard, and I think we have lightning-fast synchronization mechanisms these days. So when one block is done, you can detect it's done and fire the next one off. Then it will be a little bit of a question in that your communication will probably be less choreographed than it is in a very regular computation. But again, if we can apply the principles that give us speed-of-light latency and minimum energy, we should be able to communicate from the output of one block to the input of the next block very effectively. So I think we can do a pretty good job of handling dynamic computations.
41:13 Yeah, I kind of agree. As long as things are a minimum size. That's right. As long as you don't try to push it down to one op. Yeah. Then it'll be maybe 10,000 ops. Yeah, 10,000 ops is good. Yeah. Otherwise, we're back to a CPU. Yeah. Okay. We're running out of questions, so we're going to have to open it up to the audience. I know. And we didn't think we'd get through these questions. We should have made more.
41:36 Okay. It's true. So to hit that 10,000-plus tokens per second regime for reasoning-heavy agent workloads, which algorithmic techniques – advanced speculative decoding, routing at massive scale, ultra-low-precision inference – do you think will require the biggest corresponding hardware changes, like deeper support for per-vector quantization, optimal clipping, or logarithmic representations? Yeah, I mean I think to really make low-latency inference effective for very large models, you have to think from first principles about what we can do to minimize the data movement, minimize the energy, and minimize the time to go from an input to the output of a block or a layer, attention calculation, or whatever. Those things really are probably about rethinking how that entire hardware pipeline looks, not about a particular numeric format here or there. I think it really requires rethinking quite a lot about the inference hardware, because really you don't want anything to move. Someone laughed when we said that earlier, but I think that's really the key: don't move anything and it'll be super efficient and super low energy.
42:59 You could do that if you put everything in SRAM, but then it becomes super expensive. Yeah. So new memory technologies are always welcome, I would say. I think the stackable DRAM on top of a chip is probably a pretty interesting direction, because then you can get much more capacity and cheaper cost per bit and still have the “don't move the data very much” property. It's like a Pachinko machine where you just drop the bit you want down into the operation. So I think those are probably really exciting directions: how do you make incredibly large models very low-latency. That I think will improve the whole use of agents, assuming we make our tools fast enough as well. That will really dramatically improve the energy usage of these systems.
43:53 Yeah. On the numeric front, at NVIDIA, we're down to NVFP4 and a lot of people are copying that or doing similar block-scaling formats. Do you see any more really exciting developments in data representation, again to get these energies down? What are the things on the horizon there? Yeah. I mean I think having something where you have a representation that is very few bits and then you have scaling factors that are applied to chunks of many of those units is probably a pretty effective way of dealing with the very low precision that you might have in each individual thing, but then enabling you to pretend like they're all much higher precision.
44:38 That seems like a very effective technique, and we've been doing quite a bit of that as well. Yeah. Have you looked into things like using lookup tables? You can put each symbol exactly where you want it, but you only get a few of them. Yeah. I mean that's definitely something we've been thinking about a little bit, because I think it does mean your computation logic becomes a little more complicated. Yeah. But it can be worth it sometimes. So maybe we can, I'll ask you something not in our doc.
45:08 oh, I'm unprepared. So one of the things about our TPU designs is they have custom networks that tend to be 2D or 3D tori, sort of point-to-point things, but they scale to very large numbers of chips, thousands of chips. That is a different approach than, say, a fully switchable network fabric that enables you to scale to larger than just a machine worth of chips. How do you think about the trade-offs in these two designs?
45:45 Well, that's a great question. You realize that one of my major academic research areas was interconnection networks, and I literally wrote the book on this subject. It turns out that 2D and 3D torus networks are really great for a lot of things. In fact, I kind of led a revolution in the late 1980s and early ’90s to have a whole series of supercomputers designed with almost all 3D torus networks, the Cray T3D being the big example. Then into the 2000s, what happened is we got so much pin bandwidth on chips that when you're building a router chip, you couldn't really effectively use it if you only had six connections, which is what you get with a three-dimensional bidirectional network. So we moved into this area where we built what we call high-radix routers, and we moved to a whole series of new topologies like folded-Clos networks, which are often called fat trees, and dragonfly networks and things like that.
46:43 For picking, you can't say one is better than the other because it really has to do with what is the workload and what is the traffic pattern. If you have a very local workload, a direct-connected network with relatively low radix, like a 3D torus, is really ideal because you can map your problem so part of the problem is on this TPU and part of the problem is on this TPU and you have to go one hop to get your data over there. But there are other cases where, for example, you have a one model and you've got a lot of experts and they're scattered all over the place, and now you're having to take many hops to get to a given expert. So it would be more efficient to do one hop up to a switch and one hop down to the expert that you really want to be at.
47:24 When we've played around with some of these trade-offs, we've often come up with a hybrid one. We had one experimental inference system that will never see the light of day that we did in NVIDIA Research, where the local communication to allow things right next to each other to communicate was a direct connection, no switches, but with a flattened butterfly topology. So you had a little bit more reach than you have with a torus. Then all of those chips were also connected to a switch, and all the more global communication was done through a hierarchy of switches.
47:57 Mhm. Yeah. Yeah. Yeah. I mean, I totally agree. It depends on exactly what your workload is. That's right. Given a traffic pattern, you can come up with an optimum network. But there's no network that is good for all traffic patterns. Yes, indeed. Indeed. Well, I've got to come up with one now, and I've used all of mine. So I have to think of something clever. As we build these wonderful machines that run wonderful models that do things that become even more amazing every day, what do you think is going to be the most positive impact on human existence out of this? Is it in education, or medicine, or business productivity? What are you most excited about the fruits of our labors improving for humankind?
48:43 Yeah, I mean I think this is a really good question. There's obviously a whole range of things that AI can be applied to, and some are incredibly beneficial to society – education, healthcare. Some are potentially things we maybe don't want a lot of use of. I and a bunch of co-authors got together about a year ago and looked at a whole bunch of different areas. It's my only paper with its own website, shapingai.com. Wow.
49:16 We looked at seven different domains that would be potentially heavily affected by AI. Education was one of them. Healthcare was one. Labor and employment was another. Science was one. I think the ability to accelerate scientific discovery is a potentially really interesting one. Media, and both generation of media with video generation models and image generation models, but also misinformation as a potentially negative consequence. Those were some of the areas.
49:48 I'm particularly excited about healthcare and education, because I think, if you think about education, we know that when people have an individualized tutor who knows what they know, knows what the material is they're trying to learn, and knows how that person learns best, that is much more effective than a more group education setting. Educational outcomes I think are one to two standard deviations higher when you have a personalized tutor than when you have a more group setting. Everybody can have a personalized AI.
50:25 So if everyone can have a personalized tutor that knows how they learn best – and I think one of the cool things about these models these days is they can actually turn one modality into another. That really helps people who learn best by maybe listening to a podcast about the biology chapter rather than reading it sequentially, or who want to play an interactive game to explore gravity rather than read the equations in the physics textbook because they get more intuition and feel for it. I think that's within reach in the next few years, to have these amazing educational tutors that don't give the answer away but help people learn the concepts better and more efficiently and more effectively. It's interesting because in a lot of the schools these days, people are trying to restrict the use of AI.
51:15 Yeah. Where instead they ought to be encouraging students to learn how to work effectively with AI. Yeah. And the tutor is almost even orthogonal to that. Yeah. I mean, if you think back to when calculators were first introduced into math classes, there were some math teachers who said, “Oh no, we can't use calculators. People will never know how to add or multiply.” But instead it just meant that we could teach mathematics where the calculation wasn't the bottleneck and instead move up to a higher level much more quickly. I think educators should really be leaning into the fact that these tools exist and will do interesting things.
51:50 Maybe I can turn it around to you and say, what application areas of AI excite you the most and where do you think we'll have the most impact? Well, the two that excite me are, first of all, AI for hardware design, since I'm fundamentally a hardware designer. I'm interested in being able to get my job done in about 15 minutes, then go out and do something fun for the rest of the day. I think that we've talked about this, there's a lot of really productive stuff there.
52:17 A lot of it is just keeping track of all the documentation with the project and being able to query information you need quickly and summarize bug reports and stuff like that. I think we're also getting very close there to being able to ask it to design a texture unit. If you've explained to it enough what a texture unit is, it can probably come up with a pretty good design. What's harder though is to say, “Take the texture unit that we have in the Blackwell generation and here are the new things that it has to do for the Rubin generation. Here are the features we've deprecated. Make the minimum change to move the code from one tree to the other one.” The other one for me is also education. I'm a recovering educator. I was a professor for 26 years. I think it really is – I'm hoping somebody is doing this, maybe I should quit my day job and go do it myself – having a personalized tutor. Another thing which is of a similar vein is to have a personalized health coach. Think of this as a little angel sitting on your shoulder. I went to Jensen's panel today. When I got to the lounge, all the food was gone, but they had all the dessert there. So my lunch was dessert. But if I had had my little health coach on my shoulder, it would have talked me out of that. Or it would have deserted you.
53:38 And I think that a lot of the nation's health problems are issues with diet and exercise. If we all had personal health coaches, I think just like being able to reach a student and understand what motivates them, they could interact with us and we have this shared goal of not dying, and they would encourage us along that path. This is the health setting, not the education setting, right? Yeah. Calculus class is not that genetic. Yeah. I mean, I'm particularly excited about health as well. I feel like, first, there's so much information that is not used in healthcare settings that is relevant to people's health. I wear a heart-rate-monitoring watch, but does my clinician use that information? We could easily sequence everybody, and then have very personalized healthcare based on what mutations you have that may indicate your susceptibility to particular diseases or response to certain drugs. A lot of that is even known, but it's being completely ignored by most healthcare providers. Yeah.
54:43 Your little health coach I think is a really good idea, because I think the healthcare system – one thing they could do is talk to the doctor and say, “Well, did you consider the fact that Professor Dally has this mutation and that drug may not work well?” I see you're at McDonald's for the fourth time this week. Did you know there's a great salad place around the corner? Yeah, so I think the use of AI for healthcare is going to be really impactful. It's a complicated environment because of very real privacy and regulatory concerns. But I think we should aspirationally try to get to the world's past healthcare decisions being used to inform future healthcare decisions. And if we can get as close as we can to that, it would be amazing.
55:32 Yeah. All right. I will ask you a more philosophical question. NVIDIA has been incredibly successful in the last decade. How do you think – you've probably hired a lot more people, the company is a lot bigger, you have a bigger footprint in the world – what has changed that you miss, and what used to work well and now no longer works at a larger scale? Yeah, so it's interesting. I started consulting for NVIDIA in 2003, when I was still on the faculty at Stanford. We were definitely right around 1,000, maybe a little bit less than that at that point. Everybody kind of knew – you didn't know everybody – but you knew sort of everybody you needed to know. Decisions just happened very quickly. There was zero bureaucracy. There's a lot of things I miss about those days because there is now bureaucracy. You grow to be a 40,000-plus – we're still a relatively small company in terms of number of people – but a 40,000-plus-person company, all of a sudden there are lots of rules, and there are various bureaucrats that get in the way of doing the right thing at the speed of light. But I think that's needed, because as you grow, at a small size, people do the right thing because it's part of a community and you would never want to do something that your fellow community members would be displeased with you about. But as the company grows and you lose that sense of community a little bit, that's when you start needing the rules. I guess probably the thing I miss the most is losing a little bit of that sense of community. What's amazing is Jensen has been able to create an environment where even at 40,000 people it still, to first order, feels like a startup, and I really like that. The thing you get is that there are things that are possible now because of the size and the scale and the resources available that we just couldn't do back then. I think that we need to take advantage of that, make sure we chart our future using that capability to do the most good. Yeah. I mean, I've had a similar experience.
57:38 Joining Google when we were quite small. We were all wedged in above what's now a T-Mobile store in downtown Palo Alto, and now we're, I don't know, 180,000 people or something. That's like four NVIDIAs. Yeah. I feel like every doubling in company size – and that's like many doublings – every doubling caused something that used to work to no longer quite work as well. You have to figure out how to navigate that as an organization, to instill just the right amount of new ways of doing things but without making things overly bureaucratic. So yeah, it's a challenge. Yeah, I've seen Maggie standing in the wings there, so it must be about time for us to – Yeah. Thank you so much everybody for coming.
58:25 It was a real pleasure. Jeff, awesome. You’re awesome. Thank you. We're going to take a quick selfie with the crowd. If you could just stand. Oh, okay. Turn around. Here we go. We're going to take a selfie with the crowd. One, two, three. GTC. Thanks everybody. Thank you. Well, thanks so much for doing this. Thanks everyone. This was a blast, and I liked the back and forth with questions.