# Poster 28570

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/28570

> 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.

is Oracle and today I want to talk about our work Neural Wave Equations for Irregularly Sampled Sequence Data done in collaboration with Anant and my guide Dr. Sujit Piket. Before diving into Neural Wave Equation, we like to start with a quick recap for Neural ODEs. In normal Neural Network, the input-output is mapped using a number of discrete transformations. In a Neural ODE setting, this input-output map is done via an ordinary differential equation. The ordinary differential equation is solved using a numerical solver.
Solver, and we calculate gradients by backpropagating through the solver or using the adjoint sensitivity method. However, there is a catch in the solver: we often opt for adaptive step-size solvers which can adjust their step-size based on local error. On the bottom left, an example of adaptive step-size solver is shown. The upside of this is that the adaptive step-size solver can take varying number of steps in a fixed interval making depth selection automatic and easier.
Next, we take a look at continuous variants of RNN model or the OD RNN model in general. Even though OD RNN uses the same framework as a neural ODE, the idea is very different. In an OD RNN model, inputs arrive at irregular time intervals. The hidden state is modeled in between these time intervals with the help of a neural ODE. The input is incorporated into the hidden state using a RNN cell.
In our case we ask two questions. Can continuous depth be incorporated into a continuous time series architecture and if yes how? One obvious answer to this is to model the depth separately as a separate OD. However, a more elegant method is to model depth and time continuously as a partial differential equation instead of an OD. As we will see later this also has certain advantages. This is just a diagram of how the neural evocation differs from a normal RNN.
RNN and the OD RNN. In case of a normal RNN both time and depth are modeled discretely. In case of an OD RNN the time is modeled continuously and in case of neural ovulation the time and depth are both modeled continuously.
In this slide, we show the neural wave equation formulation that we solved. Since we opt for an FDM method, the second equation shows the discretization of the wave equation. So one important point is that a homogeneous wave equation is linear in nature. So we do need to incorporate nonlinearity into a neural network to get better representation strength. So we use a non-homogeneous wave equation with a source term that captures interaction between the hidden states, both across time and depth. These source terms are often modeled as an MLP.
a GRU or a combination of both. The source term is pretty flexible and we experiment with a variety of source terms in our paper. So this is another interesting finding. We show the benefit of using partial differential equations in time series for modeling both time and depth continuously.
In case of a wave equation, the information can travel a long distance through depth which is sort of similar to a dipper skip connection. If we use a heat equation, the analytical solution incorporates a decay term with respect to depth, and then in discretized RNN it has got no skip connection that is no direct information can travel to the depth.
In this slide, we show the flow of our architecture. The raw input is first processed using a shallow MLP layer which is fed into the PDT-solve module. The output of this module is again passed to a neural network to get the final output. The PDT-solve module is a modification of the ODE -solve used to solve the PDT formulation. On the left side, we see a grid representing the boundary condition and basically which points are known or unknown to us. These boundary conditions are important because to solve an PDE, using an ODE solver or a PDE solver.
or what we do need to give the boundary conditions to the solver. In conclusion, partial differential equations can model time series continuously across depth and time. It alleviates the problem of depth selection in time series and outperforms other continuous time series variants. In our setup, we experiment with heat and wave equation mainly because of their analytical properties. In future, experiment with different PDs may yield better results for certain types of time series data. If you are interesting in using partial differential equations to model time series, we encourage you to read our work. Thank you.
