# Poster 30735

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

> 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, my name is Roussel Desmond Soyem. I'm a PhD student at the University of Bristol. I'm happy to present our recent work on neural context rules for mental learning of dynamic ecosystems.
We are interested in modeling physical systems which are omnipresent in nature. These physical systems are typically modeled with differential equations and the response of these dynamical systems depends on their physical parameters. For instance, the simple pendulum that we observe here has a frequency of oscillation that depends on the gravity.
of the planet in which the system is evolving. Another common example is the Lord Cabaltera dynamical system in our setting when environment corresponds to
One of these underlying physical parameter values. When learning systems that can perform well across several of these environments, we are faced with a generalization problem. In this work, we opt for the more sophisticated meta -learning approach where a single model is trained to leverage shared knowledge across these environments while also accounting for the individuality of these.
these environments. Current methods for tackling this problem typically do not leverage information from related environments. They have a complex optimization landscape or a parameter inefficient. They lack interpretability and uncertainty estimation. Our goal is to provide all of these benefits in a single framework. Our solution, neural context flow, introduces a learnable context vector xi.
One context vector for each environment. This context vector conditions and modulates the behavior of a vector field parameterized as a neural network with weights theta. While this is a common approach, it doesn't perform as well as state-of-the-art in this field. So we replace the vector field f with a Taylor expansion of itself around other context vectors.
Xi here indicates a context vector taken from a dynamic learning pool of neighboring context vectors. Doing Taylor expansion forces the context to cluster by a process that we call contextual self-modulation, that is, for the Taylor expansion to be accurate, the context vectors need to be close to each other at the same time.
These context vectors are pushed apart by the diversity in the training data, so this regularization mechanism causes friction that leads on hubs with generalization. Candidate trajectories can be used for uncertainty estimation as we will discuss later on. Last but not least, these Taylor approximation, especially for Taylor order 1, are easy to compute with Jacobean vector products. We know that higher order Taylor expansions with JVPs can efficiently be
NLP obtained with Taylor mode automatic differentiation. We summarize our training and optimization procedure as follows. Given an initial condition, neighboring latent context vectors z0, zi, e all the way to possibly zm will yield an equal number of candidate trajectories. These candidate trajectories are all compared to the ground truth in a single loss function. We note that
During metatraining, we shared weights theta and context vectors z_e for all environments are optimized in an alternating manner. But during adaptation, only a new context vector is fine-tuned under shared weights are untouched. Importantly, Taylor expansion is disabled during this stage. We now present some of our results. First, we test our method on a simple pendulum interpolation problem.
Neuro-context flow approach
Performance for boardroom training and adaptation. We also test our method on more common data sets like the Lotka-Volterra ordinary differential equation and the Navier-Stokes partial differential equation. We find that our method achieves excellent reconstruction quality. We also provide quantitative results for extrapolation experiments. We show that a variant of neural context flows seen here in gray always outperforms base lines either in domain or out of domain.
in or out of domain across data sets as I tested except on the grayscale problem.
When analyzing the loss landscapes, we see that the context vectors are aligned in a way that mimics the underlying physical parameters. This prompts us to investigate interpretability and identifiability on the underlying physical parameters. We do this theoretically, and when we inject increasing levels of Gaussian noise in the single adaptation trajectory, our method is still able to.
recover the underlying physical parameters especially in the convex hole of the training environment. Our method is also able to provide uncertainty estimation on the trajectories it produces. Our final contribution is with the Gen Dynamics Initiative. Our poster will be on the 25th of April.
feel free to visit our poster for more. We provide code both in JAX and in PyTorch and please do reach out if you have any questions. Thank you.
