Understanding the intricate relationship between neural activity and behavior is a cornerstone of computational neuroscience. While researchers can often record both simultaneously in a laboratory setting, real-world applications—such as brain-computer interfaces or resting-state brain activity studies—frequently lack perfectly paired behavioral data.
A new paper introduces BLEND (Behavior-guided neuraL population dynamics modElling via privileged kNowledge Distillation), a model-agnostic framework that leverages behavioral data during training to help models learn superior neural representations, even when that behavioral data is entirely absent during actual deployment.
The Missing Link in Neural Modeling
Existing neural dynamics models typically fall into two categories: those that rely strictly on neural activity (missing out on valuable behavioral context) and those that jointly model both (often requiring complex, specialized architectures or relying on oversimplified assumptions).
The authors identify a critical gap: how can we build a model that benefits from behavioral signals during training but remains flexible enough to operate using only neural data during inference? This capability is vital for scenarios where behavioral data is partial, limited, or unavailable, such as in clinical settings.
The BLEND Framework
To bridge this gap, BLEND employs a two-stage teacher-student distillation paradigm, treating behavior as "privileged information" that is only accessible during the training phase.
- Stage 1 (Teacher Training): A "teacher" model is trained on a composite dataset of neural activity (e.g., spikes) and behavioral signals (e.g., hand velocity).
- Stage 2 (Student Distillation): A "student" model is trained using only neural activity. Crucially, it is distilled from the teacher, meaning it is explicitly guided to mimic the teacher’s superior, behavior-informed understanding of the neural dynamics.
Because BLEND is model-agnostic, it can enhance existing architectures—like Neural Data Transformers (NDT) or LFADS—without requiring researchers to redesign them from scratch. The framework supports various distillation strategies, including matching final outputs (Hard), probability distributions (Soft), intermediate features, and the correlation structure between neurons.
Key Insights and Performance Gains
The framework was rigorously tested across multiple datasets, including the Neural Latents Benchmark ’21 (NLB’21) for macaque reaching tasks, multi-modal calcium imaging for mouse visual cortex, and custom synthetic datasets.
- Massive Decoding Gains: BLEND improved behavioral decoding (measured by $R^2$) by over 50% on the Area2-Bump dataset compared to the base NDT model. Decoded hand trajectories from BLEND were significantly smoother and more aligned with ground truth compared to the erratic predictions of baseline models.
- Better Identity Prediction: In transcriptomic tasks, BLEND achieved a 15.7% improvement in predicting inhibitory neuron subclasses.
- Behavior as a Manifold Constraint: Visualizations of the learned latent spaces showed that BLEND’s representations form much more cohesive, organized clusters compared to baseline models. This suggests that behavioral guidance helps "constrain" neural activity into biologically meaningful manifolds.
- Strategy Matters: The optimal distillation strategy depends heavily on the base model's architecture. For instance, LFADS (which features strong internal regularization) performed best with "Hard" distillation, while the more flexible NDT benefited most from "Correlation" distillation.
Future Directions
While BLEND sets a new state-of-the-art across multiple benchmarks, the authors note room for expansion. Currently, BLEND integrates behavior by concatenating it with neural features; more advanced methods like cross-attention might better capture non-linear relationships. Additionally, extending the framework to handle discrete behavioral states (like sleep stages) or non-temporal metadata (like animal age or genotype) could further refine these powerful brain models.
Summary updated