1. Home
  2. Explore
  3. Environmental Science
  4. AI for Ocean and Climate Modeling

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

AI for Ocean and Climate Modeling

Transcript

then I think we have quorum. Oh yeah. Well hi everybody. I'd like to introduce Lorazana from NYU and she's been focusing on modeling while the the climate focusing on kind of like the atmosphere ocean interactions. You're welcome Laura. >> Laure Zanna: I Greg, thank you very much. Great for the invite and thanks everybody for joining, definitely very excited present to this audience. So I hope I give you a bit of a flavor. And so I'm gonna start with some movies. on how we've been using AI to try to accelerate ocean and climate model development. But basically trying to solve big challenges, in ocean and climates in general. So, trying to understand how kind of scale interrupt with one another. As you can see, kind of playing in those movies. So you know the effect of turbulence on large scale transporting the oceans and atmosphere is really kind of one of the Holy Grails that we're trying to tackle. So today what I'm gonna do is just kind of >> Greg Bronevetsky: oh, >> Laure Zanna: highlight a few examples

>> Greg Bronevetsky: I think we're seeing your editor view and you're usually present your presentation view. >> Laure Zanna: Okay, so let's try again. >> Greg Bronevetsky: If anything's, if you share one screen, doesn't mean you share the >> Laure Zanna: How about that? so >> Greg Bronevetsky: no, no, still see the address and yet you share. Conditions for you. >> Laure Zanna: Okay.

Okay, we'll see that. How is now >> Greg Bronevetsky: Perfect. I know I see. >> Laure Zanna: All right. Yeah, okay, great. Sorry everybody. So at least now I'm so kind of letting the the movies play for a second. But yes, so basically, what I'm gonna talk about is kind of this scale interaction we seeing and how to use different type of tools to work Saturday model developmental world. So I'm very lucky, of course, to be here and presenting, but this is actually teamwork, and it's just kind of a large group of scientists across multipoint institutions in the US and France. And that includes, you know, climate model developers, you know, people like Lee who are kind of you know, domen scientists to some extent and people will actually develop AI

tools so really all of us kind of working in concert, to try to, really imagine the way we do modeling with data and AI. Okay, so I'm sure I'll probably I'm preaching to the choir with this audience, right? So the AI whether revolution has been around, you can pick up any newspaper nowadays and you all see some something about breakthroughs in the AI for weather forecasting. And here is kind of a simulation coming out of ATM WF to center in Europe.

having their own AI forecast simulator that they now using, you know, routinely the same way they use their original numerical weather prediction. So you know, everything has been starting and accelerating and matter a few years. So it's actually a slide from Stefan. Rasp at Google showing the type of, you know AI weather model that I've been basically using what we call reanalysis which is basically a combination of observations and model to learn to fully emulate. You know, how the atmosphere is evolving and trying to make forecasts out of it. And so you can see it kind of started, kind of slowly, you know, 2018 2019 but then now you can see the number of ai whether model as kind of, you know, rapidly growing. But so is kind of the skill that you can get

kind of those models, but it's been really kind of incredible to see move so fast with such high skill to actually predict the weather over kind of a shortage time scales. So now I'm as mentioned at the start, right? I'm focusing on the oceans and the ocean is a lot slower than the weather time scale of days, two weeks, but I want to give you a little bit of context, right? Why do they matter in your system? So first if I look at the surface of the planet, right about 70% in the surface of the planet is actually ocean, right? So it's actually water, it's about, you know, four kilometer deep, right? It's kind of an interesting body of water, but just to put, you know, things in perspective, the top three meters of the ocean contains as much heat as the whole atmosphere and the top 50 meters contains as much carbon of the whole atmosphere. So it's a pretty massive reservoirs of heat Calvin, oxygen and so on. So it's a little bit of the lungs of the climate system, it can breathe in and out different

tracers. But what it can do as well, it's actually move it around so we can move into heat carbon over a great distances. And so the simulations that you see here, show you a lot of small scale turbulence but also a lot of large scale, currents like the golf Stream. example, or tropical waves that actually can carry things over the entire basins in the Pacific. And this is really kind of a feature of the ocean. Is that transport can happen. Can be quite slow, but it happens over a wide range of scales. so again, just to give you context the type of scares for that we're talking about here. You know, when we talk about the large-cal currents, we're talking

about thousands of kilometers, right? And it's usually false by winds by fresh water fluxes by heat fluxes and the surface of the oceans, but those logical current usually break into kind of smaller scale turbulence and so some of those are called mesoscale. For example, just give you an idea, they tend to 100 kilometers in scale that they write their energy from the instability of the large scale. Then you go back to kind of smaller and smaller, you know, scale, So some of them again, are kind of generated through external forcing and through the turbulence of the fluids and we go down all the way down to meet her

scale and timescales of minutes. So what we're spanning, ears, meters and minutes all the way to thousands and kilometers with, you know, basically transport that text years to decades. So if you think about the type of simulation that you would need because all those scales interact with one another dissipation and small scale mixing actually. On the logical transport, right? So you really kind of need to stand wide range of scale and rose. Run your simulation for a very long time to actually understand how the ocean interacts, you know, with the atmosphere but also how it interact with different scales. And of course the fact that as we mentioned, right, the ocean can transport. And, you know, take a heat and calvin, it will have an impact on global scale, not just the local scans. so, how do we usually typically do climate modeling to actually capture all those scales where we take, you know, Newton's law. Thanks to Judge Gpt for the slow

schematic, right? And we can actually, you know, extract, all the processes that matter and then we discretize them on, you know, on a grid. And then when numerically solve, you know, the equations of motions for the ocean, for the atmosphere and all the other components of the Earth system. So here's a simulation from Dfdl, which is lab in Princeton has been developing climate models for very long time, part of Noah. And here, we're seeing a simulation of cis of this temperature in one twelfth of the degree and climate simulation. So, one to offer, the way for the ocean, that means that the great box size. So the horizontal grade of the ocean is about, you know, 10 kilometers something like this, right? Of course, it varies, it's latitude, but what you can see is the Gulfstream kind of detaching here from the USC skills, lots of turbulence and the turbulence again, kind of reject momentum. Energy into the large, scale transport accelerates the flow. And so

pretty, major current right as we know. And again, all the scales interact in different ways in different parts of the ocean, but that's really kind of the way we simulate, you know, the the ocean. But the ocean as part of climate in general and as I mentioned, right, I told you that this simulation which actually is, you know, maybe 15 years old, I think or something like this and maybe even a little more. It's it's extremely expensive, right? And you can only go down to 10 kilometers because again, it is extremely expensive. So we're missing a lot of scales, right? There's a lot of things that are happening below that scale, that we're not resolved.

And so why use simulations over, right? So one reason is because I'm trying to understand something, right? And that's usually, you know, in the academic world, one could say, and I think, in general, all of us want to understand how different parts of, you know, the climate system are working and there's a lot We don't know, right? Because to some extent we don't have enough observations because again, we need to stand a wide range of scales. Both temporal and spatial. And again it's a very complex non-linear, you know, fluid dynamics problem. So there's still a lot to understand and simulations and theory have been great to help us kind of advanced that Second reason is of course to make predictions, right? So given state today, what might be, you know, the prediction of familiar. So that's for example, one of those graphs that use different type of models that try to predict what will be the system of this temperature anomalies in the tropics? So, one of the big modes of

viability in the climate system, right? Which is kind of a little bit of a self-sustain coupled climate mode. So we use models to actually initialize prediction and see what might happen over the next few months. And then the other reason we use simulation in general, is to ask questions, What if a way to change, you know, the amount of greenhouse gases in the atmosphere? What if if I were to remove it and then we could actually figure out what would be the temperature anomalies as a function of time in those simulations, right? And you can think about other type of scenarios we like to think about what might have happened, you know, in the past if the glaciers didn't melt the way

they did. So it's really kind of trying to be you know, Hypothesis driven to some extent and explore the range of possibilities, you know, that the oceans and climate in general. Could, you know, could look Now, going back to the compute, right? Because computers still always a little bit of an imitation for us. So if we take Given climate model today, again out of gfdl but now whether than running it at one twelfth of a degree or one tenth of a degree. Sorry. the state of the art two days about a quarter of a degree, this is pretty much, you know, as much they can't afford in in climate modeling centers So if you were to run the ocean, only place you would simulate 12 years per day

and we need about, you know, close to 5,000 CPU, cores. If you wear running same resolution a quarter of a degree. So again, 25 kilometer by 25 kilometers horizontal resolution for the ocean atmosphere, land and ice. 16. Rights over, you know, more than 5,000 CPU cores. So, it's pretty expensive and why you are big, you know, cluster. It's just a little over 30,000 CPU core. So, would take a large chunk of NYU resources to to have a very short, you know, climate simulation if I wanted to do something like this. So It's quite limited in terms of computer, right? And of course one needs access to high performance computing. So, computational, custom actually access to hype to HPC is an

issue to run the simulations at higher resolution or to random longer. So, if I go back to my grand challenges, right? I still want to actually have simulations that are good enough so I can learn something new right. So I want simulations that, you know, I call them smart, right? They have to resolve the right scales and the right interactions so I can actually learn something new physics of the problem. I want them to be computationally. Expand to be a computationally cheap, right? The I have to be able to run them fast if I want to understand what's going on, I need to be able to play with the simulations or if I want to explore, you know, predictions or projection. So, trying to actually go through hypothetical scenarios. And then the last one is, you know, one that is also, you know, almost a given they have to generalize well meaning if I want to trust them in different conditions and different scenarios, then they have to be robust to, you know, my hypothetical scenarios and changes. I need to be able to trust the outcomes of the models.

So they have to be good, right? They have to be fast and hopefully robust enough that I can use them widely across a wide range of scenarios. Now, that's usually where kind of one of the issue comes about, right? Because I'm limited by the amount of compute that I have. When I discretized, you know, my equations of notions and my thermodynamics equation and so on. I'm gonna be limited by the number of grid boxes that I have right or the computer is going to be limited. So it's going to limits the resolution of the model and that's going to limit the type of physics I can resolve in those models. So here's kind of a little bit of a

cartoon the way kind of climate modeling works. Take the partial, differential equation, discretize them for the ocean, the atmosphere, and the rest of the Earth system component and everything that is happening below the grid box. Size of your climate, simulation has to be parametrized. So what does that mean? It means I need to come up with a way to represent all the processes that I can't resolve on that grid. In some ways, right? And so the way with traditionally have been doing, it is by coming up with what we call parameterization. So kind of, you know, terms that will represent the effect of clouds turbulence in the atmosphere in the ocean. It's gonna be processes like turbulence and mixing and try to represent their effect on say the large scale transport. That is what's resolved by the climate model at the grid. so,

a lot of processes and kind of models today, I'm not resolved, the outparameterized. And so, as I mentioned, so cloud turbulence and the atmosphere, and also tribal lens, you know, interaction with the eyes. you know, for the ocean and so on, right? So there's a lot of things that are too small to be resolved in this kind of 25 kilometer by 25 kilometer. resolution of the existing climate models today. So Departmentalizations are you know Dick parts of how we integrate simulations but unfortunately there are a little bit headache, right? So they are kind of a representation of some missing processes onto the large scale transport. And so the way that's been typically done in simulations, right? So that's kind of the way we run simulation. We start with forgiven state, we resolved, you know, our partial differential equations which are the physics.

On the grid then we add a parameterization that represent the unresolved physics. We add some forcing obviously. Right? That represents kind of the external pacing of say, the usual. And then we predict the next state, right? This is kind of the cartoonish version of an ocean or climate simulation overall. So some resolved physics. Some parameterization for the unresolved processes. the fourth thing and then I predict what comes next and then we keep running the numerical integrators like this. >> Greg Bronevetsky: So question. >> Laure Zanna: Yes. Yes, please.

>> Greg Bronevetsky: for our context, when you say unresolved physics and parameterizations, what like his family of functions or models, are you referring to? >> Laure Zanna: Yes, okay. So here, for example, for, you know, ocean turbulence, we're gonna end up with something that's gonna be trying to actually represent mixing by turbulence on the large scale transport. So that's what we're thinking about. So we're gonna think about an ad hoc function that we can write it mathematically with some parameters that are trainable but it's gonna come, it's not gonna be learned from data, and it might be between with data, but it's usually basically kind of a way from, you know, dumb and scientists to try to represent the effect of and resolved calendar results scale. Does. >> Greg Bronevetsky: Right? I mean it does. Yeah. >> Laure Zanna: Yeah, great. So and that's kind of the crooks, right? Is that we need to come up with a simple theory which is usually an approximation of the effect of end resolved on the resolved scale.

And now that of course, it's imperfect, right? You don't have the right resolutions so you try to replace it with again some representation of the end result physics. Then you run your simulation and you try to compare say it's climatology. So it's, you know, time mean state could you absorbations as you can, imagine you end up with errors, one errors because your model is kind of a discretized version of the real world and two the because there's not enough resolution and a lot of approximation in a model so, if we compare the 40 year time mean, Temperature, observe temperature to that of the simulation. Then this is what it would look like. So we call that the model error the climatological model error,

when it's red, it means that the model is too warm compared to the observation where it's blue, that means that the model is too cold. Sorry, I actually forgot to put a color bar, but just to give you an order of magnitude the warming along the Gulf Stream would be several degrees and the same for the cooling in the North Atlantic. So the model are way too warm along the golf dream and way too cold in the North Atlantic and you can pick out the regions of the world. The models, have those biases? They have those errors Compare To the observations again in great parts because we're not resolving all the physics. And some of the representation of the end result physics on the large scale is and unfortunately inaccurate in some instances, right? So how can we make our model beds? How can we make, you know, the Gulf Stream not overly warm and the North Atlantic, not a very cold compared to observation, what is

missing. And so one of the key ingredient that is missing, is that the transport along the Gulf Stream and to the North Atlantic is actually too weak in existing climate simulation. So we missing the energy that comes from those turbulence scale that we inject momentum and energy into the flow to accelerate the flow. And again, one of the reasons because a lot of those parameterizations are a little bit too, diffusive on the large scale transport. So, one idea, obviously, in the age of AI, as can we use data to rather than approximate those function? Those parameterization. Can we just machine learn them, right? Can we use data and directly learn what's missing from the simulation using data to represent all this end results scale rather than just coming up with some again, you know, approximate family or function that we believe will be a good representation. And so that has been going on in this world of

what we call the hybrid physics. AI climate modeling. So you keep the physics model by itself and add a data driven economic realization. So I think Guys are a question, right? Yes. >> Greg Bronevetsky: yeah, the BO >> Laure Zanna: I, >> Nibodh Boddupalli: Oh, hi. Yes. So >> Laure Zanna: Should. >> Nibodh Boddupalli: I had a question about the unresolved physics. So for example, like, is that is that something like You take the smallest grid cell and have your love just Love this Eddie or largest vortex of data B of that size. so, are we talking about physics address smaller than The grid cell. >> Laure Zanna: Correct. Yeah, that's correct. So I mean I'm saying that in a kind of rather crude way. But yes, we're gonna think about the scale that are smaller than the effective scale of the grid box size that we have correct both in the horizontal and vertical to be honest. Yeah. >> Nibodh Boddupalli: Thank you.

>> Laure Zanna: okay great. Yeah yeah. Feel free to interrupt our. By the way, this is great. So you know being on online as as always interesting so I I welcome the interruptions. Um, okay, so indeed, so we're gonna actually kind of try to represent from data The effect of those again unresolved skeleton to the large scale but yeah, rather than approximating them by yourself, we're just going to let you know Ai machine learning basically kind of figure this out. And so I want to point out that obviously, you know, there's a lot of efforts going on in one of them, actually, at Google, right? So you all gcm really kind of, you know, as kind of

the same spirit of building a physics, AI client model. And so what, you know, I miss doing, which is a little bit different than what we're trying to do. And I'll explain the difference later, but it's the same flavor we start with an initial state. There is the dynamical core that solves again, kind of the fluid dynamics, there's a new network that represents all the subgrade physics Everything goes into the solver and then we get the next time step. So here. Again, the workflow so to speak is the same. but rather than thinking about all the own result processes in one go,

We actually try to separate the impact of different type of, you know, unresolved scale onto the large scale transport because we're trying to actually understand as well. The type of physics that is missing and what it's doing on the logical transport. So really kind of going back to the understanding So we pick one. Subgrid physics process. Those are called mesoscale eddies. They have 10 200 kilometer horizontal scale, roughly derived from, you know, the instability of the currents. And again, they have this properties that they can re-inject the energy and momentum into the large scale transport.

And so we're going to take data. Now, that's a big part of what I'm talking about is the data is not going to come from observations. And one of the issues because actually, in the ocean, we don't have enough observations to actually calculate this. Those kind of end results scale on to the large scale transport. So, what we're gonna do is we're gonna take simulations run at High resolution. I'm going to take many of them. And I'm gonna filter them, cause grain them and diagnosed, kind of the missing turbulence. That of course, resolution model would be missing and that's what we machine learn. So we take data that comes out of simulators. So out of numerical models run at much higher resolution than, you know, the climate climate models that we're trying to implementing out. So you know we're hoping to ingest observations one day, but again, we're pretty limited right now with what we have. So we use ground truth. very high resolution simulations. And that's what we do. So we're

gonna take, you know, we're gonna basically machine learn the effect of ocean mesoscale, eddies on the LOUD-CAL transport using a neural network. The input is going to come from a state variables, but kind of slightly modified. So we are going to use Basically I would say viables or functions of the state variables that are relevant for the turbulence and it's gonna be stress trained and volticity. So they are just basically you can think about you know first although the relatives of the velocities they gave me a they give me an indication on basically the direction of momentum and energy transports locally.

Put a new network, right? And then output the parameterization. But again, in this case, it's a neural network so I don't know exactly what the function looks like, but it's a function with a lot of parameters, we try to build them locally by the way. So we use a very simple neural network. In this case, we don't many of them, right? We went from, you know, cnns or all the way to Multi-layer Perceptron Because the effect is actually relatively local. Anything that is actually on a small stencil. They give us a pretty good job. Give us a pretty good result. And did a good job in a simulation.

But what I wanted to highlight is that and like regular kind of machine learning tasks where usually you take your inputs right and output. You're trying to train a neural network on it. All you have to do is to you know, basically standardize your input and output by just removing the mean and and scanning by standard deviation. for the type of problem that we doing, if we want them to generalize across different scales, different resolution different depth, different type of turbulence regime that's usually not enough and that has been kind of one of the big ingredients that we've been trying to push forward, which is trying to think about the way we do the dimensional scaling and for that we've been you know

being inspired by what we call Buckingham by theorem which is basically using the units of the different variables that we care about to do a local non-dimensionalization. So here's the truth diagnosed from a high resolution model of the effect of turbulentees on the large calcium. this is what would be inside and the one on the right would be, what would be predicted without the dynamical scaling. So the typical way that you would do a simple machine learning, you know, input outputs normalization. So, the pattern looks quite similar, right? But the magnitude is a little bit often, there are several region where it's not, if we use what we call our kind of physical rescaling. So you can see that already, you know, the prediction. There's a lot better than without it. but what's interesting is that if we try to translate our prediction

into a model at different resolution, For a different targets so that would be the truth. That would be the prediction without, you know, we're training, right? And that's and that's the one with the simple normalization. So overall, I mean, hopefully you can see that that with the dynamic or scaling. The generalization is much better than without And so that has been something that came from, you know, multiple projects by the way. It's not just to us, right? So they've been kind of several of us and this kind of intel phase between physics and AI showing that the way we use, you know, the local information for the non-dimensionalization is actually absolutely critical when it comes to generalization a lot more than the type of architecture, you're going to use the type function that you're going to use. And so that has been kind of a big that's been kind of a big revelation. Some extent baby was trivial but, you know, compared to a lot of the typical

machine learning whether they're standardization is relatively straightforward for us. When it comes to generalization being able to actually collapse the conditional probability in the way that is less sensitive to changes in regimes as really kind of been massively beneficial overall. So then we can >> Greg Bronevetsky: Surplus. >> Laure Zanna: translate that across different scales. Yes, please. Yeah. >> Greg Bronevetsky: Yeah, just clarify what the ideas. I mean, as the the very standard idea, where you want to put squish all values between zero and one just in neural nets are happy but it's >> Laure Zanna: Yes. Yes. >> Greg Bronevetsky: only just talking about dynamic scaling. So it sounds like what you have is a if I may see crudely a base model, it says with normal is and you scale everything relative to normal all the time but the base model is dynamic. Now model of normality. >> Laure Zanna: That's correct. Yes. And so the dynamics come

basically, from the local variables that keep changing. So the normal change relative to the local conditions that you have. >> Greg Bronevetsky: so, now stability question if >> Laure Zanna: Yes. >> Greg Bronevetsky: I hear the way you're saying it right now, it sounds like you're running a simulation figuring out. What's normal adjusting? All values to fit within that normal and keep going, which is a sickle process that they can go unstable. Or you can say a separate simulation is just course, and cheap and use that for normalization. And that's at least a stable anchor, but it's course so, >> Laure Zanna: Yeah. >> Greg Bronevetsky: Maybe it's not. >> Laure Zanna: Okay.

Yeah, so or I told me clarify that so right now all the normalization is done offline. So all the training is done offline, all of it is done with simulation for which we do it. So, that's where we at, then. We plug it into a climate model. And so now we actually using the local Viables that are changing and actually yeah, it's very stable. So when we plug it into a climate model and we look at the response on the large cow transport safe, for example, this used to be our big error in temperature. The Gulf Stream was too, warm. The then in the north Atlantic too cold. So we run our new simulation with our machine learning. Again, the input outputs are normalized based on the local value of the course. Resolution model in

which, we inputting the new parameterization. And this is the response that we get. So not nearby us so where it was too warm. Now the response of our, you know, neural network is to cool the Gulfstream and then to warm it, where it was too cold. So if you sum them up basically the error is being reduced and one of the reason is because the large scale transport in the Atlantic is actually improved who energetics that comes from those unresolved physics that. I'm now better captured by the data-driven models that they were before. But Um, you know numerical solver plus the parameterization. Yes please.

>> Nibodh Boddupalli: Actually, I sorry, again, it's a little noisy here. Probably I wanted to I was curious about How like when you add, when you add closure using a needle network? Do you impose like, kind of staying so continuity or >> Laure Zanna: Yes. >> Nibodh Boddupalli: Incompressive. >> Laure Zanna: Yes, that's a wonderful question. Yeah, I kind of skipped a little bit of the details but the way we dealt the enem is actually by design. non divergence. So it's actually conservative So what we do? I mean just go back. I kind of didn't mention it but we take the divergence of a stress tensor so the tensor is going to be symmetric. So that means actually we actually you know, basically are already imposing some consolation laws and again the divergence makes it also kind of locally conservative. So we build them in this, in this framework by itself. Yeah.

thanks for the question. >> Nibodh Boddupalli: Okay. >> Laure Zanna: Yeah, right. Okay. So here I mean again you know I kind of give you a flavor on the way we do it we do it for multiple type of kind of subgrid physics and what we're trying to build is model, right? That are climate models that are coastal resolution without better, the more representative of the physics, because, rather than making an assumption about what the mystic physics look like, I just learn it directly from data. but, of course not many challenges, right, that remains for this type of hybrid simulation, so you may call stability. So, one of the question came up, sometimes we are lucky. When we plug those kind of annual network into the model itself and the model remains stable. Sometimes we are unlucky but it's also true if you have physics based parameterizations, by the way, I didn't talk about until fortification here, but as you can imagine, I'm learning

something from data that is, you know, not necessarily the ground truth. So we should have a way to quantify that. Tradition. Even though we have a better, you know, way to represent the physics. I can't model every single scale, interaction in the world, and every single type of regime, right? So challenges. Now many of them, I'm happy to talk about it. some more, you know, in the Q&A. But I would say the other big challenge is the development cycle is super slow, right? And the models are not accessible to all It is super computer or you need a climate modeling center, the develops. It and again then you need to implement, you know, your parameterization in legacy model and all of that takes a long time. So we've been trying to think about this kind of the other side of the coin that comes with AI, which is can we

build full AI? And latest of those climate models, Let's assume I made them better but I still am limited with compute. Can I try to fully emulate them and to where they, I kind of, you know, input to output. No, physical solver in the middle. I'm just trying to emulate the full trajectory of it, and we hope that we'll have actually with model development, but also scientific discover the other thing is, of course, after we train them, anyone can use them because, you know, you just need a single GPU, or even a CPU, to some extent to be able to run it. So, I'm gonna give you a couple of examples of the type of emulators We've been building in kind of the way we're thinking about it again. A lot of it is working progress and same for the hybrid modeling. By the way, I like to talk about things that we're working on because it's a little care questions for people helps us rethink as well. The way we, we are building those So we go back to this kind of diagram,

right? The way we run and ocean kind of models, take a notion states, we solve the PDS, we add our parameterization, Whether the physics-based or ML based, we have some forcing, we predict the next step. So now what we're going to do is the data is still going to come from the numerical simulator, but we're gonna fully replace the solver and the time it realization with a big neural network, right? So that's going to be the goal. given, you know, input output, which are the prediction states, just replace the entire core with a machine learning model. The advantages of those kind of t-pain RELATORS right. One day. Cheap even though they have a lot of parameters, they're still, you know, kind of reduced all their models. So I can do an exploration of mechanisms and many scout because that can run many of them. I can run very long simulations, right? Can have large ensemble size, if I want to do extreme event, or if I want to do data, simulation where I'm merge, you know,

simulations and data together. And so we've been building those Emulators now for you know two years or something like this. And so I'll show you a couple of examples. So we want to start with an ocean, only model kind of the same one that we've been using for the hybrid simulations. We're going to use the data that comes, you know, directly from that simulation. Which basically for the ocean solve spousal, differential equations for Cisco fast height. You which is the horizontal u and v, which are the horizontal velocity components of the ocean at every single depth in the model temperature and salinity, same thing at every single depth in the ocean. At a given time as mentioned, we're gonna have some forcing of the surface that kind of you know, drives the ocean the simulation is 60 years and again, the prediction of the state viables are the next time step. So here's just the global mean temperature of the ocean to just show you the

train validation and test sets that we're using. So the ocean usually kind of the start of the simulation kind of adjust to its own climate and then fills the four saying so you can see basically, you know, kind of the annual cycle and then some variability and some trends. So we're gonna train and validate over this portion here, and we're gonna test in the latest parts where the ocean warming is a bit more. Okay, so a little bit more granular view of what we're doing. So, our full ocean emulators called samudra. So as I mentioned, we're going to use the state variables of the oceans themselves, but our input is going to be the current time step and the previous one, and the output is going to be the next two time step so we call it two in two out prediction and we can think about it as kind of learning the rate of change of the variables and predicting, right? Given the

rate of change before. So I can think about this as acceleration so tendencies of the models. now, we wear faced with two challenges, one is, you know, even though I keep telling you, Oh, those calls for resolutions are bad. And our course, it's still a lot of data, right? It's quarter of a degree simulations that I need six, you know 60 years of simulations for. So we had to actually downsize the data because there's actually no where for us to to say that. So the data was cause grain onto an horizontal grade of one degree and then,

we take five days averages of the valuable, right? So it's a massive kind of, you know, model reduction already. And then we went down to 19 vertical levels from now I forgot if it's 4273. Sorry we're using so many models. Now that I forgot, but still also a pretty big downsize in the number of the article levels and we do that in the conservative reading because we want to make sure that all the quantities that we care about. Conserved right? That this is important to the end of the day but it's a big model reduction size in terms of the state vectors that we have. and then, in the middle, the machine learning architecture that we've been using and that would published with us. Basically a unit slightly modified. So, it comes next unite number of parameters or 135 million. I should mention that, we've tried several other architectures. We've tried swing transformers as well. We tried different type of you names or cnns.

We saw marginal changes. I must admits depending on the type of architecture. We believe it, you know, one of the reason is we kind of limited with the amount of data that we have. and as I mentioned before, we basically have a training set 75 to 2012 validation and inference. Yes. Hey. >> Nibodh Boddupalli: Hi. So in the state variables, that are being simulated in the model. What are all the state variables? >> Laure Zanna: Those are so for the oceans, that's all the state variables. So they are those that I'm listing here and that we also emulating they are the one for which we would have a powerful differential equation. That is >> Nibodh Boddupalli: Mm-hmm. >> Laure Zanna: the in time step in. Yeah, that has been time, stepped. Everything else is being inferred. So let's say vertical velocity will be inferred from the horizontal velocity using continuity.

Yeah, the other ones are all inferred and those are the ones that are really time stepped in the model as well. Yes. >> Greg Bronevetsky: Asia, can you name those? >> Nibodh Boddupalli: Well. Yeah. >> Laure Zanna: Yeah, so ssh cease of sites. You and V are the horizontal velocity components. T. Temperature, s salinity. >> Greg Bronevetsky: Got it. >> Laure Zanna: Yeah, sure thing. >> Nibodh Boddupalli: So are you, are you modeling? So, you have the convection, the heat and flow equations. And then you also have the transport for salinity. >> Laure Zanna: Yeah, that's correct. So basically in terms of the dynamically equations that we have, so we have basically Newton's law, right? So the momentum equations, for unv, then we're gonna have an it equation, a heat equation for temperature, it's an entity equation right system. Has height comes from continuity. Basically, you can think about it in this form so kind of mass

conservation as well. We have one additional equation basically which is the equation of states that's >> Nibodh Boddupalli: Hmm. >> Laure Zanna: not being time stepped. And it's a relationship between pressure temperatures salinity density. >> Nibodh Boddupalli: Oh so is that like a like an additional constraint that these solutions have to >> Laure Zanna: Yes, that's correct. >> Nibodh Boddupalli: obey? Okay. >> Laure Zanna: that's correct. So for the atmosphere solution, it's a little bit weird because we don't really have a formal equation of >> Nibodh Boddupalli: Mmm. >> Laure Zanna: state for the atmosphere. You can think about the ideal gas law, for example, right, that's usually the equation we would use. Yeah.

That makes sense. >> Nibodh Boddupalli: oh, >> Laure Zanna: Great. Yeah, thanks for your questions. Okay, good. So I'm glad that life is and so yeah basically unit architectures, lots of parameters So this is kind of the model again, just written very simply mathematically. This is our two, you know, our kind of two model out. F is neural network previews to time step? How is the atmospheric forcing that we're using?

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent