Comparing neural dynamics with MARBLE
Continuing down the neural population dynamics rabbit hole, today I explored MARBLE, a geometric deep learning framework for learning representations of neural dynamics.
Neural population activity often evolves along low-dimensional manifolds, but the geometry of these manifolds doesn’t fully describe the computations occurring within them.
Two neural populations can exhibit similar state-space geometry while following different dynamics. Conversely, similar underlying dynamics can appear very different depending on how neural activity is recorded.
MARBLE approaches this by analyzing local flow fields, which describe not only the velocity of neural activity at a particular state, but also how that velocity changes across neighboring states.
Using geometric differential operators and contrastive learning, MARBLE maps these local dynamical patterns into a shared latent space, allowing researchers to compare the dynamics of different systems.
After reading the paper, I wanted to get some hands-on experience with MARBLE, so I put together a small experiment using the Van der Pol oscillator, a nonlinear dynamical system whose behavior depends on a parameter controlling its stability.
I simulated the same oscillator under different observation coordinates by rotating its trajectories without changing the underlying dynamics. I then modified its governing parameter to produce a genuine change in the system’s dynamics.
This allowed me to explore whether MARBLE could recognize equivalent dynamical systems under different coordinate representations while distinguishing systems with different underlying dynamics.
In my experiments, MARBLE was able to distinguish the altered dynamics across all five runs. The coordinate transformation experiments also helped me better understand how geometric representations can account for differences in how the same dynamical system is observed.
One of my biggest takeaways was that comparing neural dynamics involves more than aligning trajectories. The local structure of the vector field contains information about how a system evolves, which may provide a useful basis for comparing neural populations across recordings.
I see these approaches eventually being applied to help distinguish recording drift from genuine changes in neural computation, an important challenge for building stable, long-term BCIs.