Introduction
While it is widely understood that learning in the brain occurs through the strengthening and weakening of synapses—a process known as synaptic plasticity—researchers rarely have direct access to these microscopic changes in a living brain. Instead, experimental data typically consists of "outputs," such as the firing rates of neurons or the resulting behavior of an animal.
This presents a complex inverse problem: given a sequence of behaviors or neural spikes, how can we deduce the underlying "software" or plasticity rule that produced them? Existing methods often rely on simple "before-and-after" snapshots or assume highly specific, hand-tuned rules. To address this, researchers have developed a novel, gradient-based computational framework designed to "reverse-engineer" these biological algorithms directly from neural activity or behavioral data.
A Model-Based Inference Framework
The core of this new approach is model-based inference, which optimizes parameterized functions to match experimental trajectories over time. The workflow consists of four main steps:
- Parameterization: The unknown plasticity rule is represented using either a truncated Taylor series or a Multi-Layer Perceptron (MLP). The Taylor series offers high interpretability, as each term corresponds to a specific biological interaction (e.g., pre- and post-synaptic activity, reward signals, or current synaptic weight). The MLP provides greater flexibility for capturing complex, non-linear rules.
- Simulation: A differentiable neural network model is constructed incorporating this parameterized rule. The model processes the same stimuli as the biological subject and generates a "predicted" trajectory of neural activity or behavior.
- Optimization: Using Backpropagation Through Time (BPTT), the framework calculates the gradient of the error—the difference between the model's predicted output and the actual experimental data—with respect to the plasticity parameters.
- Inference: By minimizing this error via gradient descent, the model effectively "learns the learning rule," converging on the parameters that best explain the observed data.
By matching the entire path of learning rather than just the end state, this trajectory-matching approach provides a much richer signal for identifying the underlying rule.
Experimental Validation and Key Findings
The researchers validated their framework across multiple datasets, including synthetic neural data, synthetic behavioral data, and real biological behavioral data from Drosophila melanogaster (fruit flies).
Recovering Known Rules
To test the method's accuracy, the team simulated trajectories from a feedforward network governed by Oja’s rule, a classic unsupervised learning rule. The framework successfully recovered the exact coefficients of Oja’s rule with high precision. Furthermore, the method proved highly resilient to noise and "sparse" recordings (where only a fraction of neurons are observed), a common limitation in real-world neuroscience.
Discovering "Active Forgetting" in Fruit Flies
The framework was also applied to behavioral data from fruit flies performing a probabilistic reward-learning task. The flies were trained to choose between two odors, with rewards (optogenetic sugar stimulation) delivered at varying probabilities.
When optimizing the plasticity parameters to fit this real-world data, the model discovered that a negative weight-dependent term (synaptic decay) was essential to accurately explain the flies' behavior. This suggests that flies do not merely accumulate learned associations; they possess a built-in mechanism to actively "forget" or reset synapses. This active forgetting likely helps maintain neural stability or allows for behavioral flexibility in changing environments. Including this term significantly improved the model's predictive accuracy over previous models that only considered reward and pre-synaptic activity.
Scalability
Implemented in JAX, the framework is highly efficient. It can handle trajectories spanning thousands of time steps and models containing millions of synapses. For instance, fitting Taylor coefficients on a large network took approximately two hours on a single NVIDIA H100 GPU.
Limitations and Future Directions
While powerful, the current framework has a few limitations:
- Metaplasticity: The model assumes the learning rule itself is static over time. In biology, the "rules for changing the rules" (metaplasticity) can also evolve, which is not yet captured.
- Sloppiness: Different plasticity rules can sometimes produce very similar behaviors or neural outputs. Without sufficient data constraints, the inferred rule might not be entirely unique.
- Circuit Knowledge: The method currently requires a reasonably accurate map of the neural circuit (the connectome). As whole-brain connectomics advances, this will become less of a hurdle.
- Initial Conditions: The model's performance can be sensitive to assumed initial synaptic weights, which are typically unknown in biological experiments.
Overall, this gradient-based inference framework offers a promising new avenue for elucidating the computational principles of synaptic plasticity, bridging the gap between observable behavior and microscopic synaptic changes.
Summary updated