TL;DR
Researchers have developed a new metric called Causal Optimal Transport (OT) distance to compare neural population activity that is both noisy and time-varying. Unlike previous methods that ignore noise or treat time points as independent, this metric respects the "arrow of time" and captures how fluctuations in activity correlate across different moments. This allows for a much deeper, more accurate comparison of biological and artificial brains.
What Problem Does This Paper Address?
In neuroscience and artificial intelligence, researchers often want to know if two different systems—say, a biological motor cortex and a recurrent neural network—are "doing the same thing" internally. To answer this, they use "representational similarity" metrics to compare the geometry of the systems' internal representations.
However, most standard tools (like Procrustes distance or Centered Kernel Alignment) make two significant simplifications: they assume neural activity is deterministic (ignoring trial-to-trial noise) and static (ignoring how activity unfolds over time).
This is a critical blind spot because noise isn't just "garbage" in the brain; the structure of trial-to-trial variability is often essential to how we perceive and move. Furthermore, two systems might have the exact same average trajectory but wildly different underlying dynamics. If a metric only looks at the average, it will conclude the systems are identical when they are actually governed by completely different rules. This paper fills that gap by providing a mathematically rigorous way to compare systems that are both stochastic (noisy) and dynamical.
Methods: The $\alpha$-Causal OT Distance
The authors propose the $\alpha$-Causal OT distance. This metric is an extension of Optimal Transport—a mathematical framework for finding the most efficient way to "move" one probability distribution to match another.
The "secret sauce" of this approach is the causality condition. Standard Optimal Transport (like the Wasserstein distance) treats all time points as a single pool of data; it doesn't care if a data point happened at $t=1$ or $t=10$. The authors use Causal OT, which enforces a temporal constraint: the mapping between two trajectories at time $t$ can only depend on the past, not the future.
Technically, the metric operates through several key steps:
- Modeling: It models neural trajectories as Gaussian Processes.
- Comparison: It uses an Adapted Bures distance to compare the covariance matrices of these processes.
- Alignment: It includes an alignment step (similar to Procrustes) to account for the fact that different neural populations might use different "coordinate systems" (rotations) to represent the same information.
- Computation: It provides an alternating minimization algorithm to compute this distance efficiently.
Datasets and Validation
The paper validates the metric across three distinct domains:
- Synthetic Toy Models: 1D autoregressive processes and 2D dynamical systems (Saddle, Line Attractor, and Point Attractor) designed to have identical mean trajectories but different noise structures.
- Motor System Models: Simulated data based on the primate motor cortex, specifically focusing on "preparatory" activity (activity that happens before a movement starts) versus the movement itself.
- Latent Diffusion Models: The authors used Stable Diffusion (v1-1 and v1-2), generating latent trajectories for 10 different text prompts (e.g., "bird," "car," "robot") across multiple random seeds to see if the metric could distinguish the "shape" of the generation process.
Key Insights and Results
- The "Mean" is Not Enough: The authors demonstrate that you can "adversarially tune" two different dynamical systems to have the exact same average behavior. Traditional metrics like Procrustes distance see these as identical, but Causal OT successfully pulls them apart by analyzing noise correlations over time.
- Preserving the Arrow of Time: By enforcing the causality condition, the metric captures the flow of information. It can distinguish between a system that gains information early in a trajectory versus one that gains it late, even if their final states are identical.
- Sensitivity to Preparatory Activity: In motor cortex simulations, Causal OT could distinguish between a system with preparatory dynamics and one without, even when the preparatory signal was extremely faint—a scenario where previous metrics failed.
- Semantic Clustering in Diffusion: One of the most striking findings was that in Stable Diffusion, the "shape" of the latent trajectory is determined more by the prompt than the specific version of the model. Using Multi-Dimensional Scaling (MDS), the authors showed that Causal OT creates clear, semantically meaningful clusters of diffusion trajectories. Trajectories for "bird" in v1-1 looked more like "bird" in v1-2 than they looked like "car" in v1-1. It also proved more robust than Dynamical Similarity Analysis (DSA), which was highly sensitive to hyperparameter choices.
Limitations and Future Work
While powerful, the proposed metric has a few limitations. First, the current formulation relies on first- and second-order moments (means and covariances). While sufficient for Gaussian processes, it might miss important information in systems with highly non-Gaussian or "multi-modal" noise.
Second, estimating a full $NT \times NT$ covariance matrix (where $N$ is neurons and $T$ is time points) requires a large number of experimental trials. This sample complexity might be a hurdle for some biological datasets where trials are limited. For future work, the authors suggest that imposing "priors" on the stochastic processes could help reduce the number of trials needed, making the tool more practical for real-world electrophysiology.
Summary updated