# Oral 31772

- Kind: Oral
- Talk page and recording: https://iclr.cc/virtual/2025/oral/31772

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

Hello everyone, my name is Tanya, and I am going to talk about our work on understanding the benefits of memory for modeling time-dependent PDEs on behalf of Riccardo Ries, Albert Gu, and Andrei Krzyzewski from Carnegie Mellon University. So time-dependent PDEs are used to describe many real-world phenomena, and they're used in applications ranging from molecular dynamics, weather forecasting, as well as fluid dynamics. And recently there has been a lot of work that tries to use data-driven machine learning techniques for modeling PDEs. And in this work, the setup that we're reconsidering is that given some initial condition, can you simulate how the PDE is going to evolve over time? Now, recall that a time-dependent PDE in particular can be effectively described using three sets of equations. The first is referred to as a governing equation, which tries to describe the evolution of the quantity of interest, in this case described using u, and how it evolves over time. And the operator L, in this case, kind of describes the dynamics. And since we're working with systems that are evolving over time, we also need initial as well as boundary conditions. And since these signals are usually continuous, we first kind of discretize them over space as well as time, and this gives us a sequence of functions that is evolving over time. Now, the task here that we are going to be interested in is can we approximate this operator L with a neural network, such that given the past states, can we predict the next state? And you iterate this over time, and you can potentially evolve the system. This is also referred to as the neural operator learning framework, that is you kind of collect a lot of data of these sequences and try to learn this operator L. Now, the architectures for PDE solvers can be broadly classified into two categories when it comes to how they treat the past sequences. The first is something that we refer to as a Markovian neural operator, wherein you predict the next state only using the information from the current state. Now, this has some advantages. First, it doesn't require a lot of memory, and also PDEs are technically a deterministic system. So if you have full access to the current state, you don't necessarily need the past to predict the next step. And the second is, of course, we treat this as a sequence modeling problem, wherein we take all the states that we've seen so far, or a window of them, to predict the next step. Now, in this work, we try to meticulously study when and under what conditions is memory of the past states helpful in modeling time-dependent PDEs. Now, note that whenever you're observing some kind of your system, especially in PDEs, you're not fully observing the system, but what you're observing is some kind of a projection of the true data. In this case, it could be in the form of the fact that you're observing the system on a low-resolution grid. You could also have observation noise, and you can potentially also have aliasing. That is, you're somehow only partially observing the state. And what we show is that when you are under this partial observability, the unobserved component can be compensated by memory of the past states. We base this on the following result, which says that if you have an input state that can be broken down into an observed and an unobserved state, the dynamics of what you can observe, which is all you can hope to model, takes the following form. This is a complicated-looking equation. This is actually a generalized Langevin equation, and this result is referred to as the Mori-Swanzig theory of model reduction. We don't have to go into the details of all of this. All this says is that the dynamics of what you're observing comprises of a Markov term, which only depends upon the past state, a memory term over time, and some noise that you cannot recover. So we operationalize this result, this intuition, architecturally in the following form. We take a Markovian operator, that is a model that predicts the next state only using the current state, and we add a memory layer, i.e. a layer that also models the time. And this is something that we refer to as a memory neural operator, where the fact that it uses the memory of the past state is made explicit. The architectures that we use in our work for the Markovian model is a factorized Fourier neural operator, and for the sequence mixer we use the S4 layer. Note that you can use any Markovian model or sequence mixer of your choice, so we have some additional results that say that our results still follow. We chose these models because they did extremely well in our initial set of experiments, and also S4 layers have some nice properties. First, they have a linear scaling with the sequence length, so that saves you up on a lot of memory, and also the structure of the S4 layer kind of matches the generalized non-Jama that I showed you in the previous slides. Now let's look at some results. The first set of results that we look at are on 1D Kuramoto-Shibosinsky equations. They take the following form. We don't have to again go into the details of it, just know that they're used a lot in chemical reaction dynamics and plasma equations, and they're used a lot in fluid dynamics. Here nu is a viscosity term, and the PDE takes the following form. You have these 1D signals that are evolving over time. Now note that lower the viscosity level, you can expect that your system is going to be a bit more shocky. That is, you can expect more high-frequency information in your data. Now let's look at some results. So here on the left, we are plotting the frequency information of your PDE as it evolves over time. And as you can see that as time progresses, the frequency component of the PDE increases. And on the right is something quite interesting. First, on the y-axis, we are plotting the normalized RMSE of the last time step of the rollout, because the error at the last step kind of up and bounds the previous ones. But on the x-axis is the resolution of the grid that we are working on. Now note that by virtue of Nyquist criteria, if you're working on a grid of size f, you can only predict the first f by 2 Fourier modes of your system. So all the high-frequency information is not observed. That is, you are in under partial observability in this case. And when you are in very low resolutions, you're actually not observing the high-frequency information, and we see here that models that maintain memory consistently outperform models that do not. Here the S4 FFNO is in red. This effect is even more pronounced as the viscosity goes down. As you recall, lower viscosity means more high-frequency information, and this gap in the performance increases. We also have some results on 2D Navier-Stokes equations, and this is in particular a study in observation noise. So 2D Navier-Stokes equations look like the following, i.e. a dataset looks like the following, not Navier-Stokes, I guess. This is the equation, and here what I'm actually showing you is the vorticity of the fluid. Again, nu is the viscosity term. Lower the value, more high-frequency information can be expected. And what we see here is that as you add more noise to the system, of course the performance of both types of models will decrease because there's more noise, but the models that maintain memory consistently outperform the models that do not. And again, this effect is even more pronounced at lower viscosity levels, that is when you have much more high frequency. So this led us to kind of ask ourselves some very simple questions. Can we come up with some kind of a quantity that types of tells us when is memory beneficial? And this is a sufficient, not necessary quantity that is described using omega f. And what omega f tells you is something very simple. It is the amount of frequency modes that you cannot observe to the overall energy of the system. And we plot this omega f value in all the 1D datasets in the literature, and we also have a result for 2D. And what this shows you is that you have to downsample the existing datasets to a 16 x 16 grid, like a very small grid, to be in under any considerable partial observability. That is, the current datasets are very smooth, and perhaps by virtue of that, a bit simple. And indeed, we show that as this omega value is increased and the resolution goes down, the difference in the performance of models that maintain memory to the ones that do not increases. Yeah, so that's about it. So in conclusion, we show that there are indeed clear benefits of maintaining memory state while modeling time-dependent PDEs. We also theoretically, we have a result that I did not get a chance to discuss today, where we theoretically show that even for very simple linear PDEs, where the operator L kind of mixes the low frequency and the high frequency modes, that is the unobserved and the observed subspace in some sense, maintaining memory can be arbitrarily better than the Markovian assumption. And also, I guess the final point is that perhaps this result was missed by previous works because the datasets that we are working with do not necessarily capture the complex dynamics that as a community we are interested in modeling. So yeah, that's about it. I'm happy to answer questions and also our poster session is today at 3 p.m. Poster number 617. Thank you. Do we have any questions? If not, then I have kind of a simple question, which is, are there any requirements or structure that you can sort of know about, you know, this sort of memory-dependent function? So I think you said you were just using sort of S4 as sort of a generic way to incorporate temporal, but if I want to make a simple analogy to something like
