HotCarbon 2023

Panel: Can AI be sustainable?

This transcript was made by AI. The open source speech recognition model Whisper (large-v3-turbo) transcribed the recording with faster-whisper. Names and technical terms were checked against the paper, but it can still contain mistakes. The recording is the reference.

0:00 You can have this mic, and then whenever it's needed, you can have a mic. Hi, my name is Eun Kyung Lee from IBM Research. So basically, we proposed or send out this panel discussion topic, which is about sustainability of the foundation models. As you know, this foundation model, large language models, and the system for training AI models, I think that is a really hot topic this day, so it got accepted. And initially, we were putting lots of IBMers inside of that, and then program managers are, okay. But you're discussing this about all the IBM guys. No, okay. So you're going to invite some other people. So I really appreciate Martha from Meta. I think Ramya, you're joining, Huamin, and Andrew, and Sanjay joining here. Thanks a lot for joining this discussion.

0:51 So we're going to have this discussion about the sustainability of the foundation models. So basically, we are discussing whole day about the sustainability of spec, about systems and computer system network, and all this different front. But so I want to focus on the what is different about this foundation model system. So there are different phases. And also, I think some of the topic already addressed that. So I may not need to revisit this diagram, but I think this data center itself consuming lots of energy, and then that is projected increasing over time, right? So, and also our capacity to increase our power production, actually, that is kept in the yellow line. But I think we are increasing this hyperscaler, and also AI models, and then, you know, energy consumption for increase in trend and hyperscalers in North America at 31%.

1:55 And also worldwide is a 10%. So basically, we have to do something about that. And the next chart is about the, you know, the Dennard scaling, or the Dennard scaling is kind of like kept in, and also the Moore's law is almost ending. So I think what we have to do, and also in the right-hand side chart is showing about, actually, all this like a newest models, and then AI models, actually, they are, you know, using more and more, you know, compute power over time. So, and then one of the clear examples, you know, GPT-4. So one-time training consumes like, you know, 7.5 megawatt hours, and then this is equivalent to, you know, 700 household annual energy consumption. So just one-time training, right? So if you can reuse them, that might be good, but actually, you have to retrain it, retrain it with the new data.

2:46 And then also, you know, model may not change, but actually data source might change, and you have to train the new data again, again, and then fine-tuning. Also, you know, OpenAI is not only one guy is doing that. Also, you know, Google is doing it, and also Microsoft. And then, you know, IBM, lots of other, you know, companies are doing, and then, you know, the annual consumption adds up. And then how we have to, you know, solve these issues. I think how we have to, you know, collectively think about addressing those issues. I want to discuss it for today. So basically, I want to have the roundtable from starting from Martha. And then, you know, we have a short presentation chart. And then have, so introduce themselves first.

3:27 And so maybe introduce their researches and the focus. Then, you know, later, after five minutes, you're expanding each other. And then we can move on to, you know, panel discussion. So. Okay. Sounds great. Over to, yeah. So, hello, everyone. My name is Martha Kim. I'm a faculty member at Columbia. And my research is in computer architecture. So, I've done a bunch of work on accelerators for analytic databases.

3:54 And this includes, you know, writing a SQL compiler to go with it. So, a lot of work right at the hardware-software boundary. And then in the cloud space, I have worked with Google on a benchmark for video transcoding used in YouTube and some storage platform design while I was there on sabbatical. So, that's just a tiny bit of background about me. I come at this very much from a hardware mindset and a systems mindset. And so, yeah, E.K. asked for some slides and some sort of position statements. So, I thought I'd pound a couple of stakes in the sand for future discussion. So, you know, posed as a question, can AI be sustainable? Personally, I resoundingly think yes. If only because, you know, it's way too early to say no.

4:40 Historically, when we have a new developing technology, it takes time to become efficient. And we never start out good at things. We start out sort of wobbly and gain our footing. As far as, you know, what I think is quite promising, you know, I see ample opportunity. And I think in this room, I'm probably preaching to the choir, given all the work that I've heard spoken about all day. But, oh, my lines came out funny here. Sorry about that. But I, coming at it with the architect's mindset, I'm reminded of a formula we use a lot that quantifies sort of performance for a given task, the performance of a processor. And it's the product of multiple components, the clock frequency, the number of cycles per instruction, and then the number of instructions you need to complete the task.

5:28 And you can sort of think about similar sort of mental models in the efficiency space. I put one up here where you can think about, you know, the carbon needed to complete a task as, well, you know, the energy you're actually demanding to do the work of the machines, then multiplied by the efficiency of the data center it's in. So if you need one joule to compute, but your data center needs to buy two joules in order to do that because of cooling and other things, that's factored in. And then finally, the third term there is carbon per joule supplied. That's sort of the carbon intensity. It's a metric that has been spoken about in terms of, well, where is this energy coming from? And so it sort of gives a model to think about, well, if I went after, if I did this or if I did that, what might happen, which of these terms am I impacting and to what extent?

6:22 And then I thought I'd give one quick example of an experiment I did a few years ago with one of my graduate students on providing some power feedback to the application software about, hey, this for loop, it took this much, well, in the example I'm about to show, this was the average power that this for loop is drawing. And then the application adapts according to that. So E.K., could you just flip the slide? So this was a paper we published at CGO in 2016. We called it Energy Loops. And there were essentially pragmas that exposed, well, that exposed calls to the RAPL interface to kind of query the power consumption. And what we were doing in this particular experiment was just adapting the number of threads used to do kind of a big substring search.

7:09 And we used these pragmas or these primitives to essentially impose a power cap from the application on the application. So to say, monitor its own power consumption and say, hey, if I'm below my cap, I can increase my thread count and vice versa. And we found it was substantially more effective than using the at the time power capping mechanism, the power governor that was right there on the hardware. So, you know, this is a very, I would say, somewhat preliminary experiment. But the idea of if you allow yourself to modify the software and the way the software operates and behaves, and even better, if you provide it some visibility as to its power consumption, I think that there are enormous opportunities. And I think my hypothesis is that they dwarf the power you can save by kind of twiddling with the knobs on the hardware.

8:04 So I think there's ample opportunity, and I'm happy to talk more about it with questions. All right. Thank you. So you can go next. Yep. Okay. So Ramya. Hi, everybody. I'm Ramya Raghavendra, and I work at Facebook Meta in the New York office. I'm in the infrastructure group, and I mostly look at our AI infrastructure. My work is on understanding, looking at our entire GPU fleet and understanding how well utilized they are and how to improve that utilization. And in the process of doing that, we started looking at a year, a couple of years ago, started looking at what are the ties to sustainability, how does power and energy translate to carbon emissions from our AI fleet, and did some analysis. So for today, I wanted to leave this group with some of the data analysis work that we did.

9:01 And there's a lot of details in the analysis paper last year, but I wanted three takeaways for you all to remember from here. First is that when we look at AI's carbon footprint, we looked at it from both the operational, the life cycle of machine learning, as well as the systems life cycle. And when we look at the machine learning life cycle, we looked at how training and inference carbon emissions are. What we saw was lacking previously is a look at, you know, I think one of, you know, E.K. mentioned it, we look at training once and report carbon emissions. But what we saw is that we are frequently retraining it. We are running some of these in production. And what we saw was that it all adds up significantly.

9:50 So we looked at some universal language models, or what you call foundation models, and some recommendation system models, which power some of our personalization and ads and so on. So we found that the language model consumes energy for training equivalent to about five homes for a year. And some of our largest recommendation systems models was about nine times of that. And when you look at the inference, language models was dominated by inference. They didn't take as much energy to train as much as inference. So we are, when we talk about, you know, how much GPT-3 takes, we are actually leaving a significant amount of emissions on the table when you look at some of these models in production. And for the recommendation systems models, they were roughly equal to the training.

10:43 So that's one takeaway. So there's a lot going on in the machine learning lifecycle. If we go to the next slide. The second takeaway was that we looked at operational and embodied carbon footprint. And I think looking at this holistically is important because a lot of people thought, hey, we are using renewable energy. This problem is solved. I can, I don't need to worry about it, but showing, you know, the life cycle of a server is four, five, six years. What is it amortized over that lifetime? And if you add up with the operational energy, we found that for the data center servers, they were about equal, half of it was coming from embodied. There's also analysis showing that this number is significantly different when you look at edge devices.

11:28 It was about 20, 80, where 80% was coming from embodied. So looking at this is important for people to at least be aware of what is the total life cycle. And the last thing, since we are here, I wanted to just note on the possibilities that exist when we start looking at reducing this, the figure here shows a foundational model that we compared with what would have been the energy and carbon emissions if they were deployed on CPUs versus a sequence of optimizations that were done at various levels, starting from the hardware they were deployed on, the overall fleet infrastructure as well as platform optimizations, and finally, the model-level algorithmic optimizations. And over the course of all this iterative optimizations, we found about 800 times savings.

12:26 So I want to sort of leave this note here that there's a lot we can be doing by focusing on the entire life cycle of the machine learning with that. All right. It's clear that we can do something about this sustainability on AI. The answer is yes. All right. Huamin Chen. Yeah. Thank you. My name is Huamin Chen. I come from Red Hat's office of CTO. So a couple of years ago, Red Hat decided to create this sustainability technology investigation, and I was assigned to lead the investment. So what I do is to work with IBM, obviously, and also with a larger community to create software technologies so we can put lots of research ideas into practice, and more importantly, these are the packages that can innovate more in this sustainability space.

13:18 So along that way, we created this project, Kepler, and that becomes one of these CNCF-hosted projects. So the Kepler was created in the idea that the research community has been doing this power attribution, workload-level power attribution for many years, but the end-user adoption is very low. People do not know how to use these tools, do not know how to use these methodologies, and more importantly, the production systems are not compatible with the software they developed. So what we do is to create this software or infrastructure that researchers have been using these algorithms to estimate how much energy they have been using to decrease how much energy used by the workloads. So we collect similar stats, and we use the same machine learning models, and we are able to visualize and attribute the energy by workload level.

14:13 This creates two opportunities. One is that for people who really want to know how much energy is used by their workload in production, they can use the software system to view the stats and to take actions to reduce it. The second of all, we come at the standards. So if you are not using the same standards, that's because people can report certain metrics while certain other people have different numbers, then these those reconcile. That's because it causes a lot of confusion. By having everything in a single software infrastructure and making it ubiquitously available in metal machines, virtual machines, and in future environments as well, that creates an opportunity for the research community to work with the end users to share their ideas, how much energy is used by their workloads.

15:06 So specifically for AI and foundation models, we using the Kepler and other metrics as well to investigate how much energy, again, also on the inference side, how much energy used by inference per query, per token, at that kind of level of granularity. So to our surprise, even though there's a lot of techniques, you can reduce the energy consumption, for example, by power capping at the NVIDIA level, NVIDIA GPU level, you may not always get the optimal savings because power capping as a technology invented by NVIDIA may skip a lot of details that the end user could tune. So you still get a lot of tuning space you can use by getting into the insights of how the GPU is using energy, you know, both in the computation level as well as the frequency level, and how the workload is running as the computation service all the time.

16:10 So if you are able to tune the fundamental tuning knobs, like the frequency and the computation units, you may be more capable of reducing energy than just using power capping alone. I think that is very interesting because everything we see nowadays, based on lots of fundamental research ideas, we are not able to converge on the usability as well as the end user adoption. Once we put together, Dask can actually create these impacts on the overall community as well. So I think if you can come up with good ideas, put them into the Kepler infrastructure, hopefully we can save the world. Thank you. Thank you. So I think I forgot to put the GitHub link here. So, but actually, if you type in Kepler and sustainability, I think the first link might be the one that, you know, Huamin was referring to.

17:03 All right, so next is Andrew. Hello, can you guys hear me? Yes. Yeah, I don't know how much I have to introduce myself. I'm at the University of Chicago in Argonne. I started working on sustainability back in 2015, when we discovered actually that crazy things were happening to the power grid because of renewable generation. And we have an entrepreneur who's associated with UChicago named William Polsky. I don't know if you guys know the name. He runs a firm called Invenergy and he was ranting at some meetings about he had these wind farms and they were not being allowed to put their electricity in the grid. So he was very upset. He's a businessman. So I got to thinking about this and I learned actually that there's these radical failures.

17:45 I would think of them as market failures that happened in the grid when they failed to close the market and actually allow electric energy or power into the grid. So that made me realize that there's actually a way to cheat this game of energy efficiency, that it is actually possible to have free power and it's actually possible to have zero carbon power by exploiting these inefficiencies or market failures. And that gave rise to this zero carbon cloud project that any of you have heard about. So that's one of the things that I work on. I also work on cloud software flexibility to try and support that. And Martha knows I've been working in computer architecture for many years. One of my focuses right now is large scale graph computations.

18:25 So super large graphs. But I have a couple of slides here to talk about what you proposed us to talk about, which was, I thought, foundation models and sustainability of AI. So I'll start out with the point of view that training of foundation models is not the problem, but inference is a major sustainability problem. So per the paper you saw presented earlier today by Rajini and Varsha,

18:50 or a successful foundation model that's used at large scale, even one application could be 25 times the cost of the training of that model. Of course, you know, models are incrementally trained and so on. That's the whole idea behind foundation models. But it looks like, you know, that use is just the tip of the iceberg, because there could perhaps be several orders of magnitude increase in use from Slack integration, you probably heard about Microsoft Office integration, all kinds of things that are happening, all presumably based on moderate additional training. We don't know the details of that, but some people in this room do, and perhaps can contribute that. So the question there, sorry, just want to go back in a second, is, you know, if that's true, and AI inferences become underneath everything, perhaps inference could be much, much larger, actually, than training costs, even with some retraining.

19:38 On the second point of view that I would bring to this is business balance and value engineering. So I spent five years as a VP at Intel, many of you know, and they pounded into me this whole idea of what's acceptable development costs, and then what the product has to return in terms of revenue for something to be sustainable. My favorite example of this is, why did we have a moonshot in the 60s and 70s, and go there for 10 years, but then never go back? Now we all hope we're going to get back, you know, with manned missions to the moon by next year, that's the Artemis plan. But the reason we didn't go there for like 30 years or 40 years is because the investment was unsustainable, and it was not supported by any kinds of financial returns.

20:16 So the training costs higher than inference costs for return, in my view, is sort of a similar form of a financially unsustainable. So it makes no business sense to spend more to build a product that can be earned back by its sales or use. That's how I think about it. So foundation models that capture large volume use will be sustained, and in the fullness of time, others will fail and training investment in them may perhaps decline, right? Perhaps maybe Facebook is training all these models internally. But if some other foundation models dominate, perhaps they'll begin using those models, right, externally, or maybe its model will take over. Facebook has been good about releasing some models and so on. So in order for this to be sustainable, then the inference revenue or the use has to be larger than training.

21:05 So my assertion is that inference costs will dominate increasingly in the future as the AI market matures. Now, the big wild card is how long does it take it to mature? And it could well be 10 or 20 years like it took for the whole moonshot thing to play in. So I'm sorry, I think there's one more. So could, oh, I have two more slides. Could there be a case where inference doesn't dominate? For it to happen, it would have to be really high value inferences, right? Like the inferences are so valuable that it's worth the third decimal point on accuracy or something like that. So I suppose such an application could exist. It's kind of hard to believe that generative AI is this application because generative AI is is rife with wrong answers and lots of low value answers, you know, that are coming.

21:47 And these, these generative AI models, they're doing sample, right? So they know that there's lots of wrong answers. So that's a summary. Inference cost dominates, inference carbon is the key problem. Foundation models are not the problem as their use is intended to reduce the embodied carbon in the models by reducing the and sharing training for application. And as unsustainable investment fades, inference costs will dominate.

22:11 Thank you, Andrew. I think you need like separate discussion about this topic, you know. So Sanjay. Great. So I'm Sanjay Krishnan. I'm a faculty member at the University of Chicago as well. And you can go to the next slide. It gives a pretty good overview.

22:29 Yeah. So, so my, my re I'm actually a database and machine learning researcher by training. So my group studies a lot of the data management foundations of large scale sensing. So we look at problems of distributed systems, problems of data compression. How do we avoid communication and type in these types of environments? How do we summarize large amounts of data? And you can think about distributed sensing in a general sense. It doesn't have to be IOT. It can also be sensing within a data center or sensing for cybersecurity applications, right? Tapping all the network switches you have to understand if the increase happening. So in general, these were the types of questions that my group is working on. And a few years ago, the next slide, we really stumbled on a simple, what I thought was going to be a simple research question.

23:12 And it turned out to be a really, really hairy thing. And Andrew has really helped us think through some of these questions. I, as a data management researcher, really wanted to understand this first mile of data collection. When we're using this in AI, all AI applications, whether inference or whether training, there is data movement from some point to your point of inference or some point to a data store that you're using for training. What is the cost of that in terms of its, and then how sustainable are the practices that we're doing today? And this question just has kind of framed how I think about the world of AI and the world of AI sustainability. Because clearly, we know that these models require a lot of data to train.

23:52 Clearly, we know that the compute is also really, really, really expensive. But if we're spending all this effort optimizing the compute, we sort of saw a dearth of work thinking about the sustainability of the data collection, the data curation, any data cleaning, the storage infrastructure needed to transmit this data to some central location. So that's kind of framed my thoughts on this problem.

24:18 And so I guess I'll end with where, I'll end with my sort of last word before we move on to a discussion. So is AI sustainable today, right? And I think that, like everybody on this panel has kind of echoed, the answer is I don't think we have enough information to answer this question right now, right? If everybody was to do a ChatGPT style LLM in the way that open AI is done, clearly the answer is no, right? But we are going to increasingly see an economy of model sharing, data set sharing, different types of fine tuning, and different use cases, right? That like you're going to have some amount of market differentiation. They're going to, you're going to naturally have certain types of models that are used in certain domains and certain types of models that are in other domains.

25:07 What are the effects of this, right? Does that decrease sustainability? Does that increase sustainability? And I think that my perspective as a database researcher, every time we've seen a change in the world of information retrieval, at least, we've not seen a replacement of the ecosystem. We've seen a widening of the ecosystem. When search engines came around, they didn't replace classical databases. When we saw cloud-based databases, they actually did not fully replace on-prem databases, right? So we've seen this widening of the ecosystem. And we've seen interesting mixes and matches with these technologies. Now, what does a world look like where we have large language models that are integrated with a search engine or a database? Is that going to maybe reduce the scope of learning that you need in your large language model?

25:48 Those are the interesting questions that my group is now thinking about. What is the link between these models and traditional data storage information retrieval technologies? Because I think that that's going to be a crucial question when we think about sustainability. It's really, what is the use case for these things? People are today using them in search engines, but at the end, they clearly make mistakes, right? So you can't use it the same way you use Google. So now, what are those use cases? How does it fit into a healthy, well-balanced breakfast for tech companies? How do we think about what the impact on the data ecosystem is going to be? And I think that that's going to be the key question to answer, to answer this question is AI sustainable.

26:28 Thank you. Thank you so much for your introduction. So I think it takes some time, but actually, this is a really good way to, you know, set, you know, point of view and their point of view right now. So you can have a more free style of discussion. So if you have any questions, you can raise your hand and then, you know, ask those questions. Yeah, sure. I think basically, I want to draw some of the topics one by one. And then if your question is enclosed in that question, I think you can have that question. Is that okay? All right, sure. So I try to prepare some of the questions. So I think this is a problem real or how serious, right? So do we really see that, you know, foundation model system?

27:05 Maybe some of the economists may say that this is just 1% of the energy. And this is may not grow at the hardware technology will take care of it. No, some might, some might say that, right? So I think, do you think that this problem is, you know, a good enough problem? It's a big enough so that we can tackle this problem at this point. And then it will see clearly that, you know, chat GPT, although all this, you know, revolutionized all this, our AI systems and stuff. Do you see that this is a real problem? And then, you know, any of you want to comment it or any of you can say anything about this? Andrew? Yeah, well, so I'm not sure what you define as a problem.

27:44 But there's, after many, many years of hype, there's now some good hard data that shows that sort of massive growth is happening, right? Other than the chat GPT kinds of numbers. One of the numbers I recently quoted in a piece I wrote is that Microsoft, Google, and Amazon have upped their capital expenditure budget by 50% for 2023 over 2022. Yeah. And we all know NVIDIA's, you know, stock has gone through the roof because they doubled their guidance. So it's pretty clear that there's a very significant increase in investment and therefore embodied carbon and probably some model training and other things like that that's happening now that didn't happen a year ago. Okay, I see. All right. I can add some hard numbers to that. So between 2019 and 2021, when we did the analysis at Meta, we saw that the data infrastructure had doubled in those two years, and both the AI training and inference infrastructure had more than doubled, close to 3x in those two years.

28:47 And this was before Gen AI and chat GPT explosion happened. And those numbers are not public, but I can imagine those numbers are not looking any smaller than they did in 2021. So is the problem real? Yes. In the sense that it's growing. It's growing. Yeah. Yeah, it's clear. So to calibrate, right? 2x in two years and maybe 3x in two years is faster than Moore's Law ever was. Yeah, we clearly see that, you know, this issue is really increasing. And also a lot of people and the companies are investing in here. So, okay. So if you have any question about the comment on top of, Amar?

29:51 Yeah, I see. I totally, I think I need the mic because there's some online audience. All right. I'd like to comment to one other dimension of sustainability, which is, I don't think as Min mentioned today, there's only a handful of organizations that are actually doing this kind of foundation models and huge MLs. And they're the only one that could sustain the trend so far, right? Even if you had the budget today, good luck getting 10,000 or 20,000 GPUs anytime soon.

30:27 So there is this dimension, right? Which is, well, many of us here, I would say, are academics, right? But we're not embedded in infrastructure. We don't understand what the companies exactly are doing, but we're not in a position to replicate what is going on. Yet we're looking at this problem, potentially considering that there will be more organization, there will be more democratized ways of tapping into foundation models, even though it's unlikely everybody will ever be able to generate one of these things for now. But we haven't mentioned this. So I wonder if anyone on the panel or anyone else cares to comment on this dimension. I'm not against what you are saying, but I'm not sure why it has to be true. I mean, a band of us can't go off into a corner and design a new jet engine today.

31:18 So it doesn't have to be the future outcome that somehow we're all democratized and able to build metaclass image segmentation machine learning models or something like that, right? So like I said, I'm sympathetic, but I don't know that that's the only possible future we're going into.

31:38 I also think that there are, like we're looking at, yeah, I think we're also looking at this as a binary choice, whether you're using a foundational model or not. And I think that there are a lot of companies that are not the large tech companies that are effectively training very large models for their own tasks, right? Because we've seen this across many different domains, from time series analysis to computer vision, have also now consolidated on transformer-based architectures. And I bet that you have a company that is doing time series prediction. Before they were using a simple autoregressive model, they probably moved to a million parameter transformer. And I think that that's a trend that we should also kind of acknowledge here because it's all part of the same trend, right? That there is, it might be that all of us can go into a corner and build a jet engine, but this is kind of like a world where one of us could build a 10th of a jet engine, right? So it's like, I think it's kind of worse than we think in that. I just want to add a point that it may not necessarily be a bad thing to have your own GPT model. Because as you see, it's the information we get either from GP or from the LLM or from other

32:48 search engines could be equivalent to comparable in terms of usability. So before the ChatGPT days, we do all the search engines and search engine also generates energy and the results may not be optimal because once you click the search engine result, you go to a different location to retrieve the information. So you are counting both the data center in the Google search engine, as well as the data center that's hosting the actual information. With the ChatGPT, everything goes to the same cloud, that is an open AI cloud, which may be more efficient in terms of data center PUE. And the amounts of energy used to generate the end results may be more efficient, then go to the search engine first, then to the actual information hosting. So I'm just looking at the alternatives which one is more efficient in terms of the net carbon production. So that's probably give you some different ideas, how we look at the things from different angles. Unless you have any other question, I will move on to the next topic. Okay, so okay, this is something. Yeah, so we have been discussing about this embodied cooperation, the operational carbon for many times, right? So there might be some of the, you know, question you want to ask to the panelists over here. So of course, you know, so

34:14 many saying, you know, the embodied carbon for me, you know, this operational carbon for me, and which is more, you know, big part of, you know, the equation or not, right? So we have to add up or not. So a lot of, you know, questions and discussion you have been doing today. But if you have any additional comment, or if you need any input from here, reduce them both, I just have one observation to offer on this sort of dichotomy, dichotomy, which is that I think the value in it is it provides a way for a cloud provider to, to reason about kind of their, their impact. So apart from, you know, a global solution of a carbon tax across the board, for any individual party to say, well, I personally want to reduce my carbon footprint.

35:06 And it sort of comes in two steps, there's this non recurring upfront hit, and then, and then there's the, the operational hit. And if I want to go after that first term, I might seek ways to increase the lifetime of the devices I deploy in my data center. And so there are indirect impacts down the supply chain, if the lifetimes increase, and I therefore am purchasing fewer. So I think at the end of the day, yes, carbon is carbon, but I think the value here is for what an individual player, like a company can control. It is a useful framework to reason about choices they can make.

35:50 I, I have a question that is slightly different than what we have been discussing in terms of embodied and operational, but it still relates to that. Can I comment then before you change the topic? No, the topic is same. Okay. Okay. Yeah. So question is this, that in some of recent papers, people have compared grid electricity, and it has some operational carbon emission depending on fuel mix and renewable energy. So renewable energy, when they do that, they consider operational as zero and embodied is the cost of batteries and solar. So for example, carbon explorer paper from Meta did that. But I was wondering that grid also has an embodied carbon in terms of its infrastructure, its transmission lines, all of that. So if you are comparing and, and carbon explorer paper basically says that renewable energy may not be the best way to go in all cases, but that seems like an unfair comparison where you are accounting for the embodied carbon of one thing, but not the other one.

37:04 So if you have any comments on that and Andrew, how, how do you wrap around, wrap your head around basically embodied carbon of grid? Well, I can respond to that. I mean, I think this is the whole problem with embodied carbon. So embodied carbon is somewhat ill-defined because you can sort of dig as deep through as many layers as you would like, right? So you can go to the, the, the wind turbines and you can say, well, there's the embodied carbon energy or the energy embodied energy that was required to build them. You can go back and you can say, well, there's the embodied energy for the movement of the, of the wind turbines to the site. You can go back and say, well, you know, and then we'll go back to the embodied carbon in the factory that was designed to manufacture these things. And you go on and back and you get to a caveman or cave woman, right? Putting a stake in the ground and so on. So, you know, in some sense, that's one of the, the fundamental problems with using embodied carbon for anything as a, as a stable metric. I was going to say, and I just wrote a piece that hopefully will appear in print soon, that looks at, you know, embodied carbon computing systems. And I'm really worried that the

38:18 computer architecture community has embraced embodied carbon as a stable metric, when in fact, it's a very unstable metric. You know, I was talking with some other folks in the room today about, you know, Intel has put out in its sustainability report that 93% of the electricity used inside of Intel for all the manufacturing and all that is, is renewable worldwide and a hundred percent in their US facilities. So if you compare that to what some of their, you know, competitors and other kinds of leading edge silicon foundries are doing, that's day and night in terms of embodied carbon. So it's a tough, tough space to apply, say, architecture or engineering kind of design optimization across. And I think that's just one of the fundamental challenges. We can get a long ways with operational carbon alone. Right. I'm not saying we shouldn't do embodied carbon, but it's a, it's a treacherous metric to use. Oh yeah. Yeah. I think that one way to make sense of this dichotomy or this problem is to attack it in a different way, which is to think about the persona, who is the persona, what kind of decisions or decision power do that persona have? And what is going to be the impact? What is he or she going to

39:41 impact with the decisions? So, and it's very different. Obviously we need to separate if we can separate, but sometimes things are coupled. We need to understand when they are coupled. Okay. So a DevOps person has a decision power over how a system is configured and where to place things or when to run things. And that will obviously affect the operational efficiency. It's very different to think about a semiconductor researcher that is trying to optimize the fabrication process and may have a choice over what materials to use and how to optimize the processes. It's very different. So we can look at them differently. Now, when do they come together? So let's think about something. A semiconductor researcher came up with a new design, architectural design for a chip with much less carbon, carbon, embodied carbon. Okay. But it's less efficient. If that's the case, then we must unify it so that we can start investigating the trade-offs. Okay. So this is carbon, embodied carbon is much less, but it's less efficient at one time. How do we unify? How do we come up with a unified metric so that we can, um, explore these trade-offs? So I would say separate it if you can and focus on the persona, unless there is a trade-off and you want to explore the trade-off.

41:09 Hill explanation. Do you want to add on top of that or we can move on? Okay. I was going to say, we should probably add use phase carbon to this dichotomy to make it a trichotomy, at least. Okay. All right. So, um, I think we have a lot of, okay. Last question.

41:32 Uh, I have a question mainly directed at Meta. Um, today we heard that, uh, Microsoft had a carbon tax, uh, implemented, and we also heard that the real world won't implement one, uh, at least in the US. So what's your perspective? Do you think it's a good tool or, yeah, what's, what's your perspective on that? Okay. Um, so I think what, so there's a number of incentives that we can, uh, provide people to lower their, um, overall energy and, and carbon emissions. So internally we do use a number of metrics. Um, we look at, you know, power consumption, energy consumption, and carbon consumption of models and, and, and make awareness. Um, carbon tax. Um, I suppose you could, you could use that word because some people are sort of being, um, there is awareness being created of, about how much energy is being used in carbon emissions are coming out. But, um, you know, perspective, I think ideally, um, absolutely, there should be, you know, if, if, if it's possible to implement, uh, carbon tax, um, we should go ahead.

42:44 But I think it's really important to sort of, uh, think about it in terms of like, where are we in terms of growth of AI and, and being able to, um, say, this is what the carbon tax should be. Are we at that, are we at that place where we are able to say that, you know, you are required to reduce carbon, um, when you're in a growth mode, for example. So I think, um, there's, there's overall a sense of what is the return on investment in terms of how much energy is being spent, how much infrastructure, uh, costs, and what is the output we are getting out of it. And I think there's this holistic perspective before we start telling people, um, to place limits on energy and carbon. I think that's how we are looking at it. All right. Thanks for the question and also the answer. So let's try to stay with those topics. So at the last of the slide, we have, you know, asking any, we can ask any question. So, so let's keep your question, uh, in mind. Uh, so I think this, uh, next topic I want to discuss is would standardization be helpful? So I think we also have discussed about the standardization about, you know, maybe carbon quantification so that we can,

43:58 um, if we don't, uh, the compare, you know, apples and oranges, right? So I think how we can do standardization and then also, uh, that goes down to, you know, accuracy validation, right? So you cannot just stay on one model. So I rely on some of the measurement that we can just rely on that. So I think how we can validate it and then also accuracy discussion we can about this. Huamin? Yeah, I can go with that one. Uh, so that's kind of use one of the examples. Um, every year, uh, every company will receive the questionnaires for different consulting or just management companies asking you questions about, uh, sustainability, give you a number of metrics you want to answer. Typically these questions are not recognized the facts that are different companies using different ways to measure everything. And they are forced to align with the analyst ideas to answer these questions. Uh, I just want to, um, have a step back. So the many years ago, when we have these accounting scandals, the U.S. accounting board invented this best practices and standards to unify every activities in financial accounting. So that's the process we should take. So we have to make sure people are using the same concepts, same definition, and same methodology to measure everything. So they can use these, uh, with confidence, apple to apple to

45:20 comparisons, and then companies can use them as, um, results to report to external entities how much carbon impacts they have in their internal activity. So that's going to be the step one. So if you are looking at the, uh, the true chance that's making that happen, you will find out not all the methodologies making sense, and they're actually using different fundamental factors to estimate, give you, uh, give you estimation how much energy you use or how much carbon you generate. So that should be a barrier we should conquer, uh, without standardization in terms of reporting metrics and methodology, then things could go very ugly. So then why are the leading IT associations and many of the large computing companies fighting, uh, regulations from the SEC on standardized reporting for climate risk? Because the standardization is going to come, it either has to come from the industry or it has to come from the government, right? Yeah. So you want to add? I think the software industry is not, uh, does not have any, uh, uh, standards from EPA standards. So EPA give you a lot of metrics how to estimate manufacturing, uh, mining, or certain activities, but there's no standards on software developments or consumption yet. So this is the time for the community and for the research communities and the

46:44 end-user industries to work together to define the standards. I think as far as I know, there's, uh, one of the activities, you know, Google, uh, as I think Amazon, I think they are doing some sort of, you know, standardization method, you know, developing underneath. I'm not sure how established, you know, that model would be, but I think there are some activities. I'm sorry. Uh, well, um, I think if they agree on just like one methodology, maybe, maybe, yeah. So it's, it might be pretty hard. Yeah. Yeah, green, green.

47:41 Okay. I see. I think that is, um, definitely a state of art, uh, but there were some of silver linings and we have seen, for example, and some other organizations are working together to consolidate the space in terms of standardization. Uh, there's a certain proposals has been circling around and, uh, Kepler is also in this project proposal. So the idea is of working with a different cloud provider and come up with a solution so everybody can agree with each other. Hopefully we can see some standardization come from that. I see. The other word on the slide says validation. Is there validation associated with those standards? Well, that's why we have the auditing problems, content auditing. So in similar fashion, I think that's going to be validated, um, to, um, but that is again a research problem as well. How can we have the methodology to validate? Another point to add is that I, I found out that Open Compute Project OCP has a sustainability track in which many of these individual pieces, um, uh, there's an effort to standardize some of them. I think PUEs was one of those, um, were extremes. Um, and I know embodied cost, I think was one of them. And I think there are certain areas where standardization is easier than the others. Personally, we tried to look at something as simple as operational carbon

49:04 emissions, um, and, and trying to have a standard for meta at least, but we found out that we don't fully understand how to measure GPU utilization. It went off and we're spending the last year trying to like come up with metrics. So I feel like we are quite at the initial stages of how do we even understand it? I think there are still a lot of discussion has to happen because, uh, there's like a multi-tenancy or one of the issues and then how to separate it and idle power. And then all this question has to be answered. So speaking of standardization and, and validation, um, revisiting a topic earlier today, there there's sustainable technology and then there's technology to make things more sustainable. Do you think that standardization is a prerequisite to some of this AI for climate change? Like, can we quantify like how helpful AI is right now towards solving global things versus how much the environmental cost of like developing and using some of these models are, or do we still need to, um, you know, standardize, uh, to validate, uh, you know, some of these claims?

50:19 Um, just my personal take is, uh, standardization, uh, is, um, step number one. So once we have a way to measure everything and everybody agree on, then it becomes a natural, the next step to optimize. Uh, uh, without seeing it, uh, people have no idea, uh, uh, what's the, uh, uh, what kind of impact they are generating at the moment, uh, with the same things in front of their face, everybody can see then it becomes easier to compare. Uh, back to my, um, the story again, once we receive the same questionnaire next year and they are based on standard, um, that we can all recognize then we probably can answer the questions in more, with more confidence and take more actions based on that role. I have a quick comment to add there. I, you know, personally, I think of standardization as playing a role when two different parties need to kind of compare or agree or transfer information.

51:17 And I think prior to standardization, I think an individual party can still perform some optimization with a perhaps imperfect, but still directionally a correct metric. So, um, you know, if I'm using a ruler and I'm trying to shorten something, as long as my ruler, generally says shorter is look shorter on my ruler, I will be making progress. And the standardization comes in when I want to compare, compare with Andrew, like our rulers better have the same numbers on them. Um, so I, I, I take a slightly different view, um, that I think there is opportunity to optimize before we have kind of the perfect metric or everyone agrees. Um, and I, and I think given the nature of optimization that it, it takes time and it's iterative and it's hard, I think it's the sort of thing that you don't want to wait for this ideal before you start. I think you got to just dive in with whatever you got. How does the computing and internet industry resist regulation? The answer is they say we're fast moving. It's early. We don't really understand how to do this after we figure it out. Well, accept regulation. That's what was said around 2000 for the internet, right? So we have to be kind of honest about this and figure out if we need to start, you know, some regulation now, right? So

52:32 that we can shape, right? The right way of reporting underneath that, or, you know, you know, I mean, is this, is this honestly saying we're not ready or is this honestly, you know, a game, right? To avoid regulation.

52:47 Yeah. Thanks for the comments. So I'll go to the next topic. So, uh, basically there are, um, you know, topics about training carbon footprint and also inferencing carbon footprint. So I know for sure, uh, the Andrew was for, you know, inferencing carbon footprint, but much more important later on. So I kind of partially agree with that, but actually, do you have any question about this topic or? Yeah. I mean, I want to comment that I think the jury is still out, uh, out about foundation models. And, um, I'm not sure that I agree with inferencing versus training, because I think that we are not factoring in the cost of continuously training these models. So the problem is that when a model is deployed, it's not the end of the journey, it's being continuously trained, like on a daily basis, which is a huge amount of energy. So I think the jury is still out. Also, when it comes to foundation models, you've got these foundation models, then to adapt them or to, to adapt them to your own task. It's not clear that it's better than producing your own optimized model based on a much smaller dataset that is specific to your company. And, uh, you can get very good results this way, um, more accurate models and so on. So just saying, I think it's

54:06 still an open question. So I think we need more data point too. Okay. Thank you. Yeah. Um, just to follow onto that. Um, I, I very much agree with, uh, what Andrew said, um, that training is the investment part of the equation, um, and inference is the money making part of the equation. So by definition, in order for any of this to scale, uh, the inference part has to hugely outweigh the, the training part. Even if we repeat training, the training doesn't make any money. It's the inference that makes the money. Uh, and I was wondering, um, we already said quite a bit about how to, um, improve the carbon footprint of training. Um, and I feel like with all the accelerators that are out there in particular, Google has been making a lot of progress with TPUs and training. Um, I wonder, um, what the state of the art is, or if the panel could comment, um, on that, uh, with regards to inference, uh, it seems to be in many ways a more difficult problem because there are latency constraints. Uh, it's not such an easily lift and shift workload as, as training is any insights. So, uh, let's, let's actually focus on these foundational NLP models.

55:24 It's an example. And, uh, one of the, my, at least my intuition on, on this problem is we should ask ourselves, why are these models so big in the first place? Right. And, uh, and I, and I think that there's actually a relatively clear answer. We've taken a lot of textual data that we know that is sitting on the internet. We've taken all this textual data and we've completely changed its data format at the least. We've turned it into floating point numbers. And now you can play games as a float 32 is a float 16, or are we playing games? And it's like actually like an eight bit float, right? It's like, it is still, we've taken data out of its native format. We've effectively memorized it and put it into a new, into a new form. So I think that that, that, that should give us a little bit of a beachhead on where we would start making these models a little bit more efficient. Right. I think that these, uh, the new tools coming out of open AI, where you're synthesizing queries to an API, I think are going to start getting into that direction of making inference more efficient. I think that the future of these types of models are going to be much more

56:19 federated where you have effectively a model acting as a layer of indirection that takes in some kind of a textual prompt or some sort of a natural language input and synthesizes code that is hitting a database or hitting as some sort of an API, which is under the hood, much more optimized for what the type of data that it's storing. You're storing XML data, you're storing textual data, you're storing web pages. It is a format that is optimized for that native format. The second that you've centralized everything as floating point numbers, you've kind of lost already, right? We, we know that this would be a horrible idea if you're building a storage system like this. So I think that that's, I think that that's my intuition on where this is going, that, uh, look, like in inference under latency constraints, we've immediately lost a lot of flexibility. We've lost flexibility for moving things around. We've lost flexibility for, uh, before like delaying, delaying stuff. I think the way that we need to look at it is what are these models doing? People are using them as a tool for information retrieval. We should start exploiting them, try to keep data in its native format as long as possible, and having these models orchestrate data movement from optimized systems. So I think due to the time, so I want to go to the next question.

57:28 So if that is important, I think that you can ask a question later. So I think we can go to some of the solution domain. So I think what might be the feasible hardware software solution? I mean, maybe, you know, your question might fall into this, um, uh, as well, but I think you want to have any comment about that? Hardware or software solution, you know, even like someone saying about this, you know, coupling this hardware software solution together so that we can do something about it. Well, one comment I would make and, you know, uh, speaking with an architect hat on is that we're already seeing lots of distortions and the kinds of model architectures that people use because they're being trained on GPUs, right? So there's a lot of push that dense layers are used much more heavily because they run better on GPUs and so on. So, so I think that there's certainly opportunity if we had better engines, right, to have better model architectures. Um, there's certainly been a huge amount of work, both on the training side and on the inference side, right? I mean, you all are carrying around phones that have highly optimized inference engines. In some cases, a very large fraction of the SoC that your phone is running is actually a neural processor or some

58:38 similar sounding kind of kind of term. So, so I think the, the, the investment in more efficient, right, has, has, has been made and continues to grow and there's lots of opportunities. Yeah, I see. Since this is almost the last slide. So I want to keep like all of you and then having some sort of, you know, the research directions. So I think, you know, here, uh, a lot of students and also faculties that might be sharing, you know, lots of research direction altogether might be helpful for all of us. So can you have a, you know, small, small comment about the research directions? Yeah, sure. I, I, so I guess I'll, I almost always wear an architect hat, um, but I, you know, I, I, because we're seeing such a proliferative proliferation of accelerators, um, I think there's a lot of opportunity to investigate, um, some more, um, different accelerator architectures. I think we're still sort of on the early stages of what we're seeing for ML acceleration. Um, I can elaborate later, but I'll pass the mic. Thank you. Um, I think there's opportunities at every layer of the stack when we looked at it. Um, you know, how do we design, uh, accelerators that have carbon efficiency in mind and not just efficient and not just energy efficiency. And we had a talk earlier

59:51 that showed that there may not be the same thing. Um, there's a ton of optimizations that can be done at the fleet level. When you're talking about large companies like Meta and Google running, um, things in a cloud, um, how do we make sure that we extract optimal performance out of these, um, machines? Um, and I think learning paradigms are an important, um, research direction. So we've, you know, at Meta, we've been looking at JEPA world models, essentially, how do we use a lot less data, um, the way humans learn, um, with, with a lot less data and, um, how do we design efficient learning paradigms, um, so that we don't need to train these for, um, hundreds and thousands of, of, um, GPU hours. Um, so I think those are all very promising research directions. And, and honestly, I think having access to a large data center sort of, um, gives us a tunnel vision, um, and, and, you know, coming from a world where, you know, if, if, if, um, we collaborate with academia better and say that let's assume we don't have these hundreds and thousands of GPUs that are available, what are things we can be doing to achieve the same, um, performance, um, is, is a question I think we need to think deeper about. All right. Thank you.

1:01:05 Uh, from my perspective, uh, so because Red Hat is mostly working with enterprise customers, uh, so the enterprise customers, uh, they have their own respect for data privacy. Um, the other use cases I would think of is that the edge, right now, the foundation models, as they are hosted on OpenAI runs on tens of thousands of machines, uh, this is not the scale we see as the edge. So how can we make the edge available to using these, uh, models more efficiently? And specifically, we are able to run for special real-time use cases. Um, if you are best for it, maybe your, your next generation of car or phone may have this, uh, large language models running inside to operate for you. So what's going to be the use case and what's going to be the software and architectural model, um, in that environment as well, make the models portable across the board and recognize your personal needs without having to go to the cloud. That's potentially a use case.

1:02:04 I forgot. I was going to say something about this feasible hardware and software solutions and research direction. So, um, one of the areas where there's already a lot of activity happening and remains to be seen, whether it's a continuing sort of promising thread is people don't really know very well how to serve these large language models, right? And we're seeing new GPU models introduced and new hardware architectures being introduced. So if you believe these models get bigger and bigger, and some people believe that and some people don't, right? Um, there's a whole interesting sort of hardware innovation direction there. Um, but if, um, I take Eun's, uh, uh, question to be, you know, what would you like to contribute to people to live in their thinking for interesting research problems? I would say, uh, one thing that's worth thinking about is that computing always acts like it's the center of the world and it gets to control everything. But one of the realities of being not just energy efficient, but say carbon efficient or sustainable is that you have to harmonize with some other larger dynamics in the world. That's one way to think of working well with renewables. Um, so, so I was asked to write a Microsoft developers blog, uh, some, some months ago.

1:03:07 Um, and I thought really hard about what is it that you could tell people that think about either software development or software architecture that would be generically helpful. And it's really a hard question in my mind. So after a lot of thought, I came up with the, the, the, the idea that really what you want to do is to train people to not think microscopically, but think macroscopically about whatever it is they're architecting and try to create flexibility in the computational structure, things that can be done later, things that can be done offline versus online. Uh, and those kinds of flexibilities, I think are what will allow us to build much, much more sustainable applications and systems in the future. Thank you. Great. So, uh, just, just ending on two, uh, two research directions that I think are, are interesting. One's kind of an optimist view in the world and one's like a pessimist view on the world. Uh, so the first one is, uh, I, as I've mentioned a few times, I think that they're going to be interesting hybrid solutions between large language models and information retrieval systems, be them search engines, other knowledge bases or good old SQL databases. I think that that's going to be a really interesting and exciting area. And that'll help cut some of this cost down where there's been a little bit of

1:04:19 mission creep on these large language models where they're literally solving every problem, but, uh, specializing them and thinking about creative hybrid solutions is going to be, I think a really exciting area. That's kind of my optimist view on the pessimist view of the world is I think that there's a looming world of AR VR self-driving cars and robots that are going to be not only insisting on us synthesizing language, but synthesizing things like videos and messing with simulators. And I think that's just, that's just going to blow up the amount of compute that we're dealing with because at least with large language models, that data collection cost, we had this one third, one third, one third rule. You talk now about a simulator or a robot doing reinforcement learning later. Suddenly I'm not sure that we can say that any, the data collection costs just go through the roof. So two exciting problems. One, I think that they're going to be these interesting interactions with the rest of the data ecosystem that I think are going to be fun and maybe make things not as scary than the looming specter of robotics, I think is going to, is going to change, change how we think about this.

1:05:17 Thanks a lot for all this, you know, briefful comments, you know, give them like a really big cloud. Thank you so much. Due to the luxury of the last session, I think I spent like five more minutes. Thanks a lot for organizing everything. So you want to have a final comment?