Phaidra’s Jim Gao on Building the Fourth Industrial Revolution with Reinforcement Learning

20 Aug 2024 · 51 min

Ask about this episode

Ask anything about it. ChatGPT or Claude reads this page and answers with the times it was said.

Connect VO and ask about every podcast you hear, including the moments you saved. Add to ChatGPT · Add to Claude

In short

Podcast Episode Notes: Phaidra’s Jim Gao on Building the Fourth Industrial Revolution with Reinforcement Learning

Podcast Overview Podcast Title: Training Data Description: A podcast exploring AI with leading builders and researchers, hosted by Sonya Huang, Pat Grady, and other Sequoia Capital partners. Discussions focus on the implications of evolving AI technologies across various sectors.

---

Episode Details Episode Title: Phaidra’s Jim Gao on Building the Fourth Industrial Revolution with Reinforcement Learning Episode Description: Jim Gao discusses his journey from Google to founding Phaidra, where he utilizes reinforcement learning for energy optimization in data centers. The episode dives into AI readiness in industrial settings and the potential for self-learning systems to combat climate change.

---

Key Participants

  • Jim Gao: Founder and CEO of Phaidra, previously led DeepMind Energy at Google.
  • Sonya Huang: Host and partner at Sequoia Capital.
  • Pat Grady: Host and partner at Sequoia Capital.

Mentioned Individuals

  • Mustafa Suleyman: Co-founder of DeepMind and Inflection AI, CEO of Microsoft AI.
  • Joe Kava: Google VP of Data Centers.
  • Vedavyas Panneershelvam: Co-founder and CTO of Phaidra, original engineer on AlphaGo.
  • Katie Hoffman: Co-founder, President, and COO of Phaidra.
  • Demis Hassabis: CEO of DeepMind.

---

Episode Highlights

Introduction to Jim Gao and Phaidra

  • Jim Gao shares his background in mechanical engineering and his role at Google focused on optimizing data centers.
  • Inspired by AlphaGo, Jim sent an email proposing the application of reinforcement learning to energy optimization in data centers.

Reinforcement Learning in Industrial Applications

  • Reinforcement Learning (RL): Jim emphasizes the potential of RL in controlling complex industrial systems.
  • Key Ingredients for RL:
  • Objective functions to optimize.
  • Actions that the system can perform.
  • Constraints to operate within.
  • Jim likens operating industrial facilities to playing complex games, stressing the significant room for optimization.

Journey from Google to Phaidra

  • Jim describes the pilot project that showcased a 40% energy savings using reinforcement learning.
  • The transition from making recommendations to fully autonomous AI control was crucial for operational efficiency.
  • Jim notes the importance of turning technology into a product for real-world impact.

Lessons Learned

  • AI Creativity: Jim highlights how AI can reveal new insights about systems, enhancing human understanding.
  • The distinction between automation and AI's potential for creative problem-solving.
  • The necessity of productizing technological advancements for broader utilization.

Challenges in Implementation

  • Many industrial facilities today still rely on outdated control systems from the 1980s.
  • Phaidra integrates a cloud intelligence layer on top of existing control systems, providing a modernized approach to complex environments without replacing hardware.

Real-World Applications

  • Phaidra’s successful case with Merck Pharmaceuticals resulted in 16% energy savings for a large vaccine manufacturing facility.
  • Jim discusses the broader potential of RL in logistics, grid balancing, and addressing climate change.

Future of AI and Reinforcement Learning

  • Jim expresses excitement over the rapid growth of AI applications, particularly in the physical world.
  • Reinforcement learning's potential touches diverse sectors, including logistics and energy management.
  • He recognizes the gap between current applications and the necessary data infrastructure for broader adoption.

Intersection of Reinforcement Learning and Transformers

  • Jim notes that transformers excel in data modeling, while reinforcement learning is more adept at planning and reasoning.
  • The challenge lies in integrating these technologies to enhance capabilities, especially in industrial applications where causality is critical.

---

Key Takeaways

  • AI's Promise: Beyond automation, AI can provide unprecedented insights and optimize complex systems.
  • Importance of Data: Robust data infrastructure is essential for the successful deployment of AI and RL applications.
  • Collaboration and Support: The journey of entrepreneurship is significantly aided by co-founders and a supportive network.
  • AI Readiness: Organizations must prioritize getting their systems AI-ready to leverage advanced technologies effectively.

---

Advice for Aspiring Founders

  1. Collaborate: Having co-founders can provide emotional and operational support during challenging times.
  2. Take Risks: The potential for personal and professional growth is significant when venturing into entrepreneurship.

---

This episode offers an insightful look into the application of reinforcement learning in industrial settings, emphasizing the importance of technology readiness and the broader implications for energy efficiency and climate change. Jim Gao’s experiences highlight both the challenges and the transformative potential of AI in contemporary industries.

Written by AI. May contain mistakes. Listen to the episode to check what was said.

Hear the part that matters, and keep it.Open this episode in VO. Double tap your headphones to save a moment as you listen.
Get VO free

Transcript

Automatic transcript. May contain errors.

0:00A lot of times when we talk about AI, both in the valley and elsewhere, I think there's a conflation between AI and automation. AI can absolutely automate things. There's no doubt about that, especially routine things. I think that, honestly, undersells the real promise of AI. I think the real promise of AI is what Demis Aceo of DeepMine calls AI creativity. right? It's the ability to acquire knowledge that did not exist for it, right? And I of course experienced this firsthand. The reason why I'm such a true believer in the technologies because, again, I was the expert who helped design the system, but this very AI agent that we created is telling me new things about the system that I didn't know about before, right?

0:47And that's a very, very powerful feeling.

1:06Hi and welcome to Training Data. Please welcome Jim Gow, founder and CEO of FADRA. Jim was previously the leader of DeepMine Energy, one of the first and only AlphaGo style reinforcement learning applications in the wild. DeepMine Energy used reinforcement learning to manage Google's data centers and drove some staggering metrics, including 40 % energy savings. We're excited to ask Jam about reinforcement learning in the industrial world and learn more from him about what other real world applications are poised to be transformed next by deep reinforcement learning. Thank you so much for joining us.

1:40Maybe before we get started, we're going to spend a lot of time today talking about your deep mind energy journey. But maybe can you give everyone one or two sentences on your background and what you're building? Yeah, of course. So, Fajr is an AI company, of course, fundamentally we are an AI automation company. So what we do is we use a type of AI known as reinforcement learning to directly control and operate our customers very large mission critical industrial facilities. So in practice, these AI agents, these AI agents, they act as virtual plan operators, virtual members of the plan operations team.

2:13Let's go back in time and talk about the journey that led to this journey. and I believe that you once said an email with the subject line, reinforcement learning plus data centers equals awesome. Can you, question mark, yes awesome. Sorry, sorry, they're sitting for me. Reinforce with learning plus data centers equals awesome. Can you, can you tell us, who did you send that email to? Why did you send that email? What was on your mind at the time and then of course, What did that lead to? Yeah, of course. So the reason why there was a question mark is because it was generally an unknown if the combination of reinforcement learning with industrial facilities would actually be awesome.

2:56So that was an email that I had sent to a person named Mustafa Suleiman who would later become my boss at DeepMine and really the impetus was something called AlphaGo. So to set the stage properly, I had been experimenting as part of my I famed the 20 % time at Google with machine learning technologies. And it was actually a very specific course, introduction to machine learning by Andrew Ingan Coursera that had just come out, this is back in 2013, I think I was like the second cohort or something. And that class had completely changed my life. I taught myself how to program and just started tinkering around with machine learning on the side, right?

3:36It was just, it was very interesting technology. And your background was mechanical engineers, That's right, an environmental system. Yes, that's absolutely right. So my responsibility at the time was to one, help Google design and operate the very large data centers. And once these very large data centers, which consume enormous amounts of energy were built, we've of course shifted our focus to operating these complex industrial systems in the most energy efficient way possible because they use billions of dollars in electricity. So that was kind of the background. I was already tinkering around with machine learning technologies on the side to analyze the enormous amounts of data that Google's data centers were generating.

4:11In 2016, AlphaGo came out and I was one of hundreds of millions of people around the world watching. It was like 3am in the Bay Area or something and I found it absolutely captivating. And to the point where I sent an email to Moose, describing this idea that if DeepMind could be the smartest, most intelligent people in the world at complex games like Go, then surely we can train the same AI agents to play a very different game that I'm familiar with called Let's Optimize the P .E. The Power Use of Repetiveness at Google's Data Centers. So that was the context for that email. And I remember internally the way I pitched it to Google's leadership, so specifically Joe Kaba, who leads Google's Data Centers and Ours, was I showed a picture of a Go board on one side and a video game control and like an Xbox controller and the other and I'm like look there are objective functions I were trying to minimize or maximize there are concrete to like knobs 11 so actions that we can control there are constraints that we have to stay within and all of this happens within a very measurable environment I think you know reinforcement learning and operating large complex industrial systems are actually one and the same thing right so that was the the original kernel of inside, I guess, that is spider.

5:32And I know Sonya has accused me of going rogue with some of the questions we ask here. I'm gonna go ahead and go rogue for a minute. Already, it's been like one minute. We're gonna come back. I wanna skip the story. This is using a brief diversion bear with me. The three things you mentioned that allowed you to see the parallel between reinforcement learning and control systems or control theory, objective function, actions, constraints. Yeah. Are those the three key ingredients for where reinforcement learning can be applied to real -world systems? Yes, absolutely. That is 100 % how we think of it, right?

6:05You know the Reinforcement learning systems they need like KPIs to optimize for they need to know how good or bad an action is, right? They obviously need things to control and they need to know what are the constraints they have to stay within so Really what we're saying is as long as we can map the problem we're trying to solve into a reinforcement learning framework, which really from a mathematical perspective, what we're saying is we're solving a constraint optimization problem. If you can map the constraint optimization problem, if you can define it and map it to the underlying data, then it should be able to be solved using reinforcement learning.

6:44So that's very much the lens through which we look at things at Phagear as well. And to take it one step further, we often talk about how reinforcement learning and controls and optimization are like two wildly different fields historically that have somehow independently converged to the same area. They're two very similar concepts. Well, we've been calling them by different names this whole time. So you've had almost these independent evolutions, a different ways of tackling the same problem. and the major is really kind of the intersection of both of these. Okay, let's get you back onto the story.

7:19So you said the email to Mustafa and then what happened? Yeah, so he said the email to Mustafa two weeks later, Moose had actually flown out to Mountiveview, whereas working at the time on Google campus with a team of D -Mind folks, and we actually started mapping out exactly how reinforcement learning could be used to control and optimize Google's data centers. So that actually kicked off the original partnership between Google and DeepMind around the application reinforcement learning for the data center work. It was very, very fascinating, but most importantly, it's actually also how I met one of my two other co -founders.

8:01right. So Veda was one of the original engineers on the AlphaGo project. So he had gone to go to, you know, he went to South Korea, right, and you know, he actually got to meet Lisa Do and later page and all, you know, all those fun stuff. And after AlphaGo, he came back to the season, you know, or rather to the UK and he was wondering, well, what is my next big thing going to be, right? And I managed to convince Veda like, hey, what if we applied self -learning frameworks like AlphaGo to control and optimize Google's data centers. So that's actually how I started working with my co -founder beta.

8:36Did people think he was going to work? Or was it like, this is a crazy moonshot? Let's just try. But I mean, I don't even know if it was going to work. Like, can this actually, it made sense to my mind, right? I'm like, hey, you know, this is, it's a operating a data center is just a different game to play, right? And there's all kinds of different games in the industrial world, right? Maybe the game is maximized energy efficiency. say maybe the game is minimized water consumption, maybe the game is maximized the yield of a factor, right? But there's all these games that were constantly playing, right?

9:07So in my mind, it made sense, but to ask your question directly, no, I had no idea if it was going to work. I still vividly remember to this day when we, you know, turn on the AI system and we watched the energy just drop. And it was so surprising for two reasons. Number one, well, we had designed a system. I played a role in designing that very mechanical system, right? That the AI was now controlling optimizing. So in theory, I'm literally supposed to be the subject matter expert who knows everything about these systems. But the AI is teaching me things that I didn't know about the system. I helped design in the first place, right?

9:45And to the moves that the AI was making, we're just very counter -tuitive. When we looked at the decisions that were coming out, we looked at the plan operators and we were sitting in a giant cornfield in Iowa where we were like to put its data centers. And we were looking at the decisions that we thought to ourselves, there's no way this is right. This AI sucks, they learned the wrong thing. But we're here anyway, so let's try what the AI is saying. And we tried it, and it worked. And we saw the energy plummet. So I think that was kind of when I became a believer in this technology that fundamentally this technology Is creative it helps us discover new knowledge that didn't exist before from raw data Was there performance trade -offers this to straight up Pareto game like performance hell then that's exactly No, it was it was it was expected exactly the same constraints and the plan operators and engineers had already put in place.

10:45So this is pure gain, right? Respecting exactly the same temperature profile is exactly the same constraints around how quickly you can turn on and off a chiller, minimum pump VFD speeds, all that sort of stuff. So this is pure optimization, pure gain, which I think is one of those crazy things like we don't really expect, like usually when you think about energy efficiency, for example, right? Like in the world that I come from, people usually think about expensive catbacks. Like, oh, we got to rip out the chillers. We got to buy a bunch of new chillers from Johnson Controls and trains or whatever, and then we have to install them.

11:17So they're like hardware efficiency gains, right? But you don't really think about like pure software, like data driven efficiency gains, right? And I think this part of all was surprising for us. Can you let this through the before and after? Maybe before what you all implemented was this industrial control systems? Was this manual plant operator is turning knobs? Like, how did this work before and then after? Yeah, it's a great question. So let me set the stage for, you know, for folks who are not as familiar with like large industrial facilities, right? So the very modern industrial facilities are very, very complex, right?

11:53There's all kinds of machines that people are operating and controlling, right? So, you know, I often, you know, tell folks to do like a simple thought experiment. So imagine you have just 10 machines you're controlling. So say they're like pumps, right? And each one of those machines has 10 possible set point values. So 10 modes associated with it. So think something like 10 % pump speed, 20 % pump speed, 30 % pump speed, et cetera. Then in this very simple toy example, you have 10 raised to the 10 or 10 billion different permutations for how you can operate your toy system. So then the question becomes, well, at any given point, what is the most optimal way of operating your toy system?

12:34And by the way, these are dynamic systems. So the IT load is changing, the weather is fluctuating, the people operating, these systems are changing, the pipes are crowding, the heat changes are fouling. So the point is these are very complex dynamic systems. Railroad systems have a lot more than 10 machines, and each machine has a lot more than 10 set points. So you can start seeing why technologies like AlphaGo, which manage to navigate MX complexity, are helpful over here. It also helps explain why there's often so much room for optimization in the first place. Because there's so much complexity, right?

13:09Like if you think about the total action space, right? Like all the possible actions within a modern data center, for example, right? Because of risk of verseness, but also because of hardcoded rules and heuristics, right? We've only ever explored like 0 .0001 % of all the possible ways that you could operate that system. So then the question becomes, what is in this 99 .999 % of the atro space we've never explored. Surely there are more optimal ways of operating the system than what we've done historically. So it's kind of an intuitive explanation, hopefully, of why there can be such large efficiency improvements in the first place that are undiscovered.

13:50And the way that we operate these facilities is constrained by a mixture of hard -coded controls logic. So don't give me around. These are automated systems today, I read it, right? They're just not opt - you know, automated intelligently. I would argue. Right? And you know, there is a healthy mixture of human intuition as well, right? Where we have people like myself or plant operators who are constantly monitoring the system who are like nudging the system by adjusting things or setting, adjusting the rules, right? For that system, the constraints of the system has to operate within, but fundamentally, human intuition plus hard coded controls logic is still limited when you talk about this degree of complexity, right?

14:36Can you talk to us about the key results? So you saw the energy levels drop immediately. But what results were you able to drive for Google? Initially, so there's two types of results for Google in particular. There was a results from the pilot. So in 2016 we released, we announced like the results of the pilot, right? Now the pilot was done on a couple of data centers, but fundamentally it was not an autonomous control system, right? So what I mean by this is it was the AI generating recommendations, right? Which for for human experts like myself to manually review and implement. And of course, you know, we didn't want to jump straight to taking our hands off the steering wheel, right?

15:18because it's a new novel technology, right? But also like, no one knew at the time like is it even possible to use AI from the cloud to control big -ass infrastructure, right? So step number one was do the pilot, right? The agenated recommendations, that's where we saw like really steep like 40 % energy savings, right? Now that experience taught us like, hey, we think there's something real over here, we should actually just let the AI control things directly to get the value automatically. And also quite frankly, the plan operators were getting tired of checking their email like every 15 minutes, waiting for the AI to tell them what to do, rather than manually from that thing, they had better things to do.

16:01So we actually decided, and rather, Ores and Joe decided like, hey, it's time to go to a fully automated system, right? This was total uncharted territory. At that point, like forget about can AI control things, we didn't even know, is it possible to control machines from the cloud, like huge industrial infrastructure in the cloud? Because to our knowledge, no one had done it before. Is it fair to assume that a lot of the hardware, a lot of those machines are things that Google built for scratch, or does Google use a decent amount of commercially available data or stuff? It's a mixture of built.

16:32So, you know, obviously, Google does a lot of things in houseware, but it doesn't manufacture shillers and that sort of hardware. So, Google does buy off -the -shelf hardware, But there's a lot of modifications on Google specific things that we did. For example, programming some of our own PLCs or making modifications to the building management system. The software control layer looked quite different. That was done in -house. But I still remember very vividly actually to this day, Vita and I, we were standing in a large 90 megawatt data center. It was a fairly large data center. And you know, Vita is like typing away in his MacBook, right?

17:13He, uh, he submits the PR, right? It's merged. And all of a sudden, this huge, honking huge chiller that is a size of a bus that we're there were sanding right next to, Roars to life. And as it's coming to life, right? Like the ground is shaking vigorously. I were like, oh my God. Like, with a few keystrokes on his MacBook, like we just turned on this enormous chiller. And that was like the very first data point to us, like yes, it is possible to control things from the cloud. So now the next question is how do we control things intelligently from the cloud, right? You know, where all the compute resources.

17:50What were your biggest takeaways from that experience? You mentioned the creativity of the machine. Any other big takeaways or learnings? Yeah, so the creativity is absolutely a big one. I think, you know, just a library of that briefly, you know, a lot of times like when we talk about AI, right? And it built in the valley and elsewhere. where I think there's a conflation between AI and automation. Like AI can absolutely automate things. There's no doubt about that, right? Especially like routine things, right? But I think that honestly undersells the real promise of AI, right? I think the real promise of AI is what Demis Aceo of DeepMine calls, you know, like AI creativity, right?

18:29It's the ability to acquire knowledge that did not exist for it, right? And I, of course, experienced this firsthand. The reason why I'm such a true believer in the technologies, because, again, I was the expert who helped design the system, but this very AI agent that we created is telling me new things about the system that I didn't know about before, right? And that's a very, very powerful feeling. It's kind of like when, you know, if you think back to AlphaGo, right? Like, Lisa Dole was the best in his field at Go. He was the world champion for a decade, right? He was at the top and his elo rating was just something outrageous.

19:07It was like 20 hundreds or something. It was outrageously high. But it had flat, you know, flatline, right? So for a full decade, his elo rating was the same. And there was no one to challenge him because he was at the top. So once he hit the top, he just kind of plateaued. And then after AlphaGo happened, and he actually got to play against AlphaGo, you know, privately a few more times because DeepMind, you know, had, you know, had let him continue reacting with the system. what happened for the first time in a decade his e -librating started climbing. And so this is what I mean when I say that, I think the real power of AI is helping us discover knowledge that we didn't didn't necessarily know about before.

19:44And where you're going to see the most gain from that, it's not going to be in routine automation things, like call centers, whatever, right. It's going to be, I think, in very, very complex areas, areas where human intuition is insufficient because of immense complexity, but that is yet underpinned by data. So that's why you're seeing such things like protein folding, for example. Maybe that's fucking extraordinary, right? And it's those areas are just massive permutational complexity underpinned by data. That's where I think we're going to see some of the most interesting companies and products.

20:25So that was a rather long tangent. But But so one creativity is something that I learned. The other one lesson that my co -founders and I learned is really around, you know, if you want real impact, you got to turn the technology into a product. And this is actually the more reason why we decided to leave D -Mine and Train Technologies to start a feature, right? Like over and over again, we were seeing the technologies that we were helping to develop that D -Mine were just extraordinary, right? I mean, they were achieving crazy things like with protein folding. But the problem is, in order for the technology to make the most impact, you have to get into the real world.

21:03People have to actually use it. That fundamentally means we're talking about a product. Turning a technology into product is like, you guys would know much better than myself. It's like 100 fold, 1000 fold more work. That for us, let us to the conclusion that it's time to leave. right is time to actually start a company that creates these intelligent virtual plan operators. These intelligent AI agents has a real product. Let's talk more about that. For what you're building now, how much of what you learned at Google D -Mind sort of translates directly into what you're doing now? How much is new because the environments are different, the customers are different, or something different about it.

21:51I think the most important thing that we learned from our Google D -Mine experience is that it's possible. Like this is not a crazy, and that isn't to like, you know, like downplay like what we learn. Like it's actually a huge thing, right? We learned that it is in fact possible to use, you know, closed loop learning systems like reinforcement learning, right? To drive very large improvements and complex industrial facilities. They hadn't been done before to our knowledge, right? And that was a massive proof point. I think the problem though is that like the real world is quite diverse. Every single customer is diverse and especially when you talk about industrial facilities, like every industrial facility is a snowflake, right?

22:34So for us, I mean, the learnings have just been like massive since we left Google and DeepMind, right? Because every time we onboard a new customer, we're learning something new about like how equipment are connected or some product gap that we didn't know about before that needs to be fixed, right? Or new ways that data can break at this point, I can tell you like a hundred different ways that data associated with mission critical cooling systems can break. Probably not the most interesting party topic for most folks, but I personally find it quite interesting. But yeah, data certainly being quite a lot of learnings in that regard.

23:09Are the folks you're talking to? Are they ready to let the technology take over the system and let the cooling system just start going? Yeah, I mean, yes and no, right? And that actually gets back, you know, to your early question pad as well, right, about like the specific learnings from Google. I mean, when I look back, you know, I think what we helped pioneer at Google and DeepMind could only have been done, right, at a company like Google. The reason why I say that is because Google is a very forward leaning company. Yeah, but also like one of the things I've learned right is that like Google is absolutely in anomaly when it comes to like how much data it has and the pristine quality of the data and the ease of access of the data right like Google is fundamentally a data analytics company, right and You know as such it invested all this like infrastructure in high quality high availability data on which you can do things like real -time intelligence applications like what we were doing and there are many other examples of this within Google and DeepMind.

24:17Having left the nest, one of our rude awakenings was Google is definitely anomaly. And I mean, gosh, like everyone is in various stages of their AI journey, right? Like Google is certainly on one extreme. We have customers who have encountered where like, you know, forget about real -time intelligence, they're like, they're not capturing the data in the first place, right? Or, you know, they may be sensorizing, in the industries we work like pharmaceuticals and distracooling and especially data centers, almost always the customer is sensorized, right? Because these are billing dollar facilities.

24:52Of course, it makes sense to throw a million dollars with the sensors on it. But that doesn't just because you sensorize, it doesn't mean that you're storing the data, right? A lot of customers of ours aren't necessarily storing the data beyond like 90 days or six months or a year, or whatever, right? And they might cite some reasons like, well, it's costly to store the data, right? Or like, well, we're the more commonly, we're not using the data for anything, which is a true statement, right? A lot of our industrial customers, they aren't using the data, right? It's more like a forensics thing where if something goes wrong, then we go back and we look at the logs to see what happened, right?

25:30Yeah. And then, you know, so if we think about it like Maslow's higher key of data needs is something, right? you got your sensitization, you got your storage, then you have to invest in making sure that the data is cleaned. Right. There's a lot of effort as we all know here, you know, around making sure the data is actually cleaned and usable, right? And you know, that requires you to know what bad data looks like, what good data looks like, and how to convert bad data into good data. So it's actually useful. And then once you have clean data, you also need to make it accessible in a streaming and like batch historical manner, right?

26:05So there's different gradients, I guess, is what I'm trying to say of AR, right? And it's the customers whom we work with are all over the spectrum. But, you know, like Fager today is at the point where we are autonomously controlling data centers for our customers, right? So I was gonna ask you, if the basic workflow or the basic loop is data goes in, which is a lot of what you just talked about, getting the data into the system step one. Step two, decision is made. Step three, action is taken as a result of the decision that was made. Step four, action is evaluated against the objective function of the system, and then the loop continues.

Read the full transcript

26:44So, the front end of that process, which is data goes in, sounds like there's a lot of work to get some real world data ready to go. We call it the AI readiness journey, right? So, like, if you think about our work with customers, like, there is a chunk of upfront work, or it's just like, hey, we're going to get your facility, we're going to get you and your facility, AI ready. How about how about on the action is taken piece of that are the systems ready to be controlled by some sort of autonomous system? Or is there work that needs to happen there too? Yeah, it's a really good question Yes, and though right now elaborate on what I mean by that right control systems today were like designed in like the 1980s You saw was I Well, it meets you for that matter There we go.

27:31But you know, this, like what I mean by that is, you know, that was the, the, some of these in 80s was the third industrial revolution. Right. So with that, you know, was the shift from analog to digital and the, the advent of the first automation systems, right. In order to automate, you fundamentally first have to sensitize, but these are simple automation systems, right. The fourth industrial revolution, right. right, you know, is, you know, we're biased, but the fact that we think the fourth industrial revolution means intelligent infrastructure, right? Infrastructure that can operate itself and fundamentally get better over time at doing self -improving infrastructure, right?

28:08But right now, we're shoe -horning intelligence into systems from the third industrial revolution, right? So they certainly weren't designed for this. But what we do instead is most importantly, we ride on top of the existing control system. So there is a hard -coded layer of rules and shewers, so millions of lines that if then statements programmed into what we would typically call the BMS, the building management system or a skit system, right? That defines how the facilities should operate. The problem with hard -coded systems is that because they're hard -coded, they operate the same way today as they did yesterday or a year ago or five years ago, more like 10 years ago because people don't very frequently go into the backend programming to update that control logic.

28:53Now what Fager does is we insert a new cloud intelligence layer at the very top of the control stack. So we're not, we don't do sending hardware, we don't do sending new sensitization, right? We actually ride on top of the existing control stack. That's really, really critical, right? You can think of it as a general in the battlefield, the general, has a global view of everything that's happening across the system, right? And it's issuing command signals to the troops on the ground for actual execution. So the AI is looking, in our case, at 10 ,000 trends a minute in real time, and it's issuing decisions like which pumps to turn on or what their pump speeds should be, right, to the local BMS system and or the PLCs for automatic implementation and execution.

29:42So that's why I said it's a mixture of yes and no. What are they designed for this in the first place? No, right? There is a lot of work that we have to do with our customers to be able to accept this type of external intelligence. There's a lot of work that we do in defining the safety nets and guardrails, right, to ensure that the AI can do bad things to the customer system, right? But fundamentally, we are still riding on top of the existing control's architecture. And to be clear, we always want to do that, right? Like, you don't want AI controlling things like how fast a valve opens and shuts, right?

30:18Like, there's a terrible application of AI. Like, hard code of Rosencueer 6 will do great there. So if you were to look at the, you know, like the overall system, like 90 % of it is fine with just, you know, hard code of Rosencueer 6 because it's like granular controls logic that doesn't need non -deterministic, crazy -powered intelligence behind it, right? But it's the higher level thinking and reasoning. That's where you want the AI. It's the global optimization Have you seen any of your customers at Fajora kind of get the deep mind or their magnitude results? So I'm glad you asked so the real one of the things are really excited about is actually Just actually literally this week earlier this week Murg Pharmaceuticals became our first public customer.

31:07So we're pretty proud about that. We've been actually been working with them for two years now. They've been using FADRA for over two years. The full like autonomous AI system to control a massive 500 acre vaccine manufacturing facility in Pennsylvania. I like this is, this is the definition of mission critical complex, right? They've got 62 ,000 tons of cooling. So they've got four very large -shadow plants interconnected with each other across 500 miles of manufacturing space, right? Hundreds of machines interacting with each other. Like this is where the AI really shines. And yeah, the results that we saw with them were quite strong, right?

31:47Like, you know, I think Merck actually just shared some data at a conference we were at, we know, which showed 16 % energy savings when we first, you know, traveled the system and wanted their children to plan so. But you know, what I always tell our customers, right is don't over index on the magnitude of the energy savings initially. Like we honestly have no idea what the energy savings are going to be right or the liability improvements are going to be ahead of time right because these are non -determinist as sixers and by definition if I could tell you what things you're not doing in order to get energy savings like why do you need the AI in the first place.

32:25But what we do know is that the unique thing about this technology, about failure and about reinforcement learning in particular is that it is a closed loop system. It is a self -learning system. It can learn because it's able to take actions and it can measure the impact of its actions against its predictions. That means it gets better over time. So maybe we start off at 1 % energy savings. Maybe we start off at 5%, maybe we start off at 10%. right, but fundamentally it will learn and it will get better over time, right? Not infinitely because there are so -are laws of physics, right? But it will get better over time, and once it reaches optimal, it will stay at optimal, right?

33:10That's super important because with heart -coded rules and heuristics, right, when you tune a system as you were commissioning it, so when you're turning it on for the first time, right? That system today no longer performs the same way that it did 10 years ago when you first commissioned that system, right? Because the pipes have corroded and the heating changes have fouled and the cooling towers have scaled whatever, right? And when you ripped out equipment, so, but the promise of an adaptive self -learning system is that it will change with you, right? As your customers are, for example, now putting in a bunch of H100 and soon H200 GPUs, right?

33:45Well, the system will learn and adapt on the fly with you, right? So it can stay optimal. I'd love to transition from it beyond industrial controls. Yes, totally. And get your opinion on, I mean, you were one of the first, and maybe one of the only real world applications of reinforcement learning. Yeah, we're definitely not the only. Not the only. I'd love to get your thoughts on the not the only. So, I mean, what else is, what else are people doing with reinforcement learning in the wild today? Yeah, absolutely. So, you know, unfortunately, my knowledge which is very heavily indexed on the Google and DeepMind space, because that's what we spent so much time.

34:23But even within Google and DeepMind, there were other very cool reinforcement learning applications. For example, the team that set right next to us, they used RL systems to help prolong battery life, for example. So you may notice that your Android phone, like the battery life has been increasing. And yes, there are hardware changes associated with that, but there are also intelligence software changes behind the scenes that proactively manage your battery life. There were reinforcement learning systems for YouTube video recommendations, for example, and a whole lot of other things. So, absolutely, there are reinforcement learning applications in the wild.

35:08To your point though, I wouldn't say that there are a whole lot of them. right? And I think that it's not a coincidence that you tend to see them at more of like the big tech companies where they've already invested in the data infrastructure, right? So that the underlying infrastructure so that they can benefit from this technology, right? Like outside of the big tech companies, there are very few applications of like real world reinforcement learning, like in production at least. Yeah. And do you think that's because of kind of low applicability, you know, you started this podcast by talking about unnecessary ingredients for RL to be a good solution.

35:45Do you think it's just there's not that many applications where RL is a good solution? Or do you think it's just tech readiness? I'm not. I don't know. I think the applications for reinforcement learning are freaking massive and where we're there. Fade right is one of many examples that we're just scratching the surface as an industry of what we can do with this technology. Right? Like fundamentally, the power of the technologies that it is a self -learning system, AlphaGo and its successor Alpha0 taught itself to become the best in the world at Go, Chess and Shogi, three vastly different games, same learning framework, and it taught itself.

36:21So I think there's a lot of very interesting application areas, I think the data infrastructure is missing in a lot of them, but just to list off a few, obviously we've already talked about the protein folding, right? But there's an entire untath fueled around the logistics, right? That is such a gnarly computational challenge. When you start looking at operations research, operations research underlies trillions of dollars worth worth of industrial activities, not just industrial, but other sorts of activities, right? Like shipping, airplanes, FedEx, driving routes, these are all applications of operations research, grid balancing, right?

37:03I mean, I think grid balancing is probably the single most important way that AI can fight climate change. I generally believe that is where AI will have the most impact on climate. If you had a guess, you deployed, first time you deployed this into a data center at Google, you saw 40 % energy savings. If we had just killer AI doing load balancing on the grid, what sort of energy savings do you think we could see? I mean, that would be wild. I think it's not so much about the magnitude of the energy savings per se, but rather about the potential cost savings because then you could start shifting your lows around to when it's most cost effective to do compute.

37:47Or if you had CO2 signals, you could start scheduling loads around when it's the least is carbon intensive to do your non -legancy sensitive workloads, which I think Google has already been experimenting a bit with, right? But honestly, I think it's really more around the global system level optimization, right? We have to keep in mind that data centers already are, but increasingly, you know, are just massive, massive load banks, right? Like data centers, like they were 1 .5 % of US energy consumption. that's about increased to 4 % right? I like this year I think. And then by the end of the decade it's projected to get up to like 9 % of the US.

38:29In Ireland right now Ireland is 22 % of Ireland's national energy electricity consumption goes to data centers alone. The international energy agency predicts that that's going to increase to 37 % by the end of the decade right? Like just mind -boggling numbers. But the point, the reason why I mentioned this is because these are massive load banks on the grid, right? There is an actual opportunity if you could somehow coordinate the data centers together, right, to, to help balance the grid, right? And that is such a gnarly, gnarly challenge. And it is what is holding the energy transition back.

39:08Because, you know, as more and more renewable energy starts coming onto the grid, right? The supply side becomes increasingly stochastic. We used to have this perfectly deterministic system, at least on the supply side, where good operator can call someone who operates a coal -fired power plant and say, hey, ramp up or down your power production, it's deterministic. But now... ramp up or down the sun. Yeah, totally. So now, you get more and more renewable penetration, coming onto the grid, you have a somewhat non -deterministic demand side. It's somewhat predictable, but there are definitely spikes and a massively non -deterministic supply side.

39:46And what is the problem with that? The problem is that because we do not know how much energy we're going to generate, you now have all this wasted excess capacity in reserve. So there is a concept of spinning reserves on the grid where there are peaker plants, like giant natural gas turbines, right that as we speak are just sitting there idling just like your car idols at a stoplight right In case we need that power right as a buffer against the uncertainty and as renewable penetration increases Ironically the amount of buffer you need also increases if you look at Germany's failed energy transition Right they decommissioned their nuclear base load while wrapping up their their renewable energy penetration right Good motivation on the surface although I first think we need a lot of new more nuclear on the grid but that's another topic.

40:38But it ended up backfiring, right? Because Germany actually ended up needing to build more fossil fuel power plants to buffer against all the renewing energy that was coming onto their grid now. Right? So that's why I think AI for grid balancing, we need it. And it's probably the single most impactful thing that AI can do to solve climate change. Let's talk a bit about some of the limitations of reinforcement learning and also where you see it intersecting with transformers. Yeah. So I should state that, first of all, my co -founder Veda is by far the expert on this topic. He knows way, way more than me.

41:21I'm just a simple mechanical engineer who happened to learn a bit about AI. I think the intersection is really interesting. Like very, very, very potentially complimentary strengths and weaknesses is how I would describe it, right? It's only not mutually exclusive. Like what I mean by that is, and I was just talking with beta about this earlier, right? So beta will tell you that like, you know, all intelligence systems have certain hallmarks, right, of intelligence so that we can say they're intelligence. is they need to deeply understand the world environment that they're modeling. There needs to be some element of memory, so remembering things.

42:06Very importantly, there needs to be the ability to plan and be very interlinked. Transformers are clearly quite good at the first one, in the sense that they can take can huge amounts of structured and unstructured data, to learn quite good models of the world. But it is limited in the sense that these models are primarily through correlation and not causation. That makes a challenging for, at least for what Fager does, because we work with real world systems, we have to have causality. We have to understand why is the AI doing certain things? right? Like why is it not doing other things? How do we force a certain behavior, right?

42:51That we know has to exist in our system, right? So these are mission critical systems, what I'm trying to say. There has to be causality. So that's where the limitation is, right? With reinforcement learning systems, I mean, the power of RL -based systems is very, you know, much in the planning and reasoning part, right? Where, you know, you're able to plan long trajectories of actions and learn really intricate policies. I think where it gets really interesting is the intersection, where potentially transformer architectures can learn models, like value functions, or models of the world that the AI can learn policies against.

43:37But without that causality piece, right, it's going to be quite tricky to cut it over into at least industrial control applications like what phager this. Should we move into a rapid fire around yet? What are you most excited about in the world of AI in the next five or 10 years? So in the very near future, right, I'm excited about just the absolute explosion, right, of AI applications, right? It feels kind of like a pre -cambrian explosion of sorts where there's like a primordial soup And like all these AI startups and services are all of a sudden springing up, right? So it's quite exciting But when I look at where that Where that activity is happening where that research and that entrepreneur activities happening is very clearly focused on like around LLMs and even more specifically around like natural language interactions, right, text -based interactions.

44:38And that certainly is a large part of the economy. It is very exciting, but in the five to ten year frame to answer a question, I'm most excited about when we can start getting some of this technology into real world physical applications. It's the intersection of this technology with the real world infrastructure that we live in, right? like big industrial systems, cars, homes, like, you know, physical things, I think that's where we're going to see some really interesting things in the future. Who do you admire most in the field of AI? Gosh. A tricky question. I admire a lot of people. You've worked with some of the greats, and so it's going to be hard.

45:22Of course my mind jumps immediately to a lot of the people who might work the way it's right. I admire very much the D -Mine researchers whom we work very closely with. I often tell people working at D -Mine, it's kind of like being a kid in a candy shop if you're a technologist like myself. It's like you get to see years in the future. I had all this cool technology on the forefront and it just makes your head spin as to like all the possible applications of that technology. I admire Moose a lot, right? My old boss who has, of course, since moved over to Microsoft. I was saying earlier, one of the biggest lessons I learned on my co -founders learned that deep mind is that making a technology like what we did for Google's data centers versus making a product like what we're doing at Featured, is totally different things, wildly, wildly different things.

46:16and there are few people as good in the world as Moose at like taking technologies and turning them into real products. I remember my co -founder, Katie, and I, you know, we were sitting there, we were grabbing drinks with Moose at like at some random dive bar in Seattle, right? He happened to be up there. And this is before, you know, open AI like release chat GPT -2 and just like ushered in like a world of craziness, right? And he was raving to myself on Katie about the applications of LLMs and how powerful these systems are. We were like, okay, Moose, but let's tell you about Fager. We had no idea what he was talking about.

47:02But I mean, he was prescient. He saw this ages in advance, right? What the technology, the technology that was being developed and the capabilities that it would usher in. And then of course, he went off and he started inflections. So I admire him a lot for the ability to turn technology to actual products. All right, last question. You are building a very ambitious business, very hard business to build. You've been at it for a while in the context of the new way that AI startups, what advice do you have for other founders or would -be founders who are trying to build companies here? I mean, I'm not sure I'm even qualified because one, I hope I hope you ask again in you know in order to yours when hopefully you know, Fager is is is wildly successful.

47:48We certainly didn't choose the easy path by focusing on with a little infrastructure.

47:56Honestly, my mind gravitates towards more like would be founders, right? Like people like my co -founders and I who were thinking about leaving to start something new, right? And my advice there is twofold. One, make sure you have co -founders. Like, my God is so stressful. There's so many things that can go wrong and you're constantly on this emotional rollercoaster of up and downs. Having co -founders betoo lean on, both for the workload but also just for the emotional support and mental sanity. So important, Right. Advice number two would be the risk is less than you think it is. Hmm. Right.

48:42I am biased, but I think people should take the jump. Right. A lot of times when I talk with my former colleagues and other people who are thinking about making the jump, right, you know, they say things like, well, but I've got a nice job over here. You know, they pay me well. I'm on a rising trajectory. But my point to these folks is always like no matter, you know, like how valuable and successful you are today in the organization, like you will only be more valuable and successful for that organization or other organizations or to society in general if you learn new skill sets. Right? Like, take the plunge, go out, start a company, learn what it's like to turn technologies into products, right?

49:26And if that fails for whatever reason, hopefully it doesn't, right? But if you fail, then the Google is the Microsoft's whatever the world, they will only want to hire you back at an even higher pre -get. So why not take the pledge, right? It's the biggest best investment, and obviously, much smarter people have than me have said this for a really long time. But the best investment you can make in yourself, right, is you, right? Upleveling yourself, learning new skill sets, that's always the best thing you could do. Thank you, Jim. This is a fascinating conversation. Yeah, thank you very much for having me, you guys.

50:00I'm really enjoyed it. Thank you.

From the publisher

After AlphaGo beat Lee Sedol, a young mechanical engineer at Google thought of another game reinforcement learning could win: energy optimization at data centers. Jim Gao convinced his bosses at the Google data center team to let him work with the DeepMind team to try. The initial pilot resulted in a 40% energy savings and led he and his co-founders to start Phaidra to turn this technology into a product.

Jim discusses the challenges of AI readiness in industrial settings and how we have to build on top of the control systems of the 70s and 80s to achieve the promise of the Fourth Industrial Revolution. He believes this new world of self-learning systems and self-improving infrastructure is a key factor in addressing global climate change.

Hosted by: Sonya Huang and Pat Grady, Sequoia Capital 

Mentioned in this episode:

Mustafa Suleyman: Co-founder of DeepMind and Inflection AI and currently CEO of Microsoft AI, known to his friends as “Moose”

Joe Kava: Google VP of data centers who Jim sent his initial email to pitching the idea that would eventually become Phaidra

Constrained optimization: the class of problem that reinforcement learning can be applied to in real world systems 

Vedavyas Panneershelvam: co-founder and CTO of Phaidra; one of the original engineers on the AlphaGo project

Katie Hoffman: co-founder, President and COO of Phaidra 

Demis Hassabis: CEO of DeepMind

More from Training Data

All 110 episodes
Phaidra’s Jim Gao on Building the Fourth Industrial Revolution with Reinforcement LearningTraining Data · 51 min
Listen in VO