[KongchangAI]
· 4 min read· 2,022 words

How AI Is Giving Back to Neuroscience: Decoding the Brain's Decision-Making with Algorithms

How AI Is Giving Back to Neuroscience: Decoding the Brain's Decision-Making with Algorithms

AI and neuroscience have swapped roles—hybrid modeling and DataDiver now uncover the brain's decision mechanisms from data.

Based on a DeepMind podcast conversation, this article traces how the AI–neuroscience relationship has reversed: from brain-inspired AI to using AI to understand the brain. Using reward learning as a case study, it shows classical Q-learning barely beats chance, while neural networks reach a 68% ceiling as black boxes. Hybrid modeling and LLM-driven DataDiver independently converged on interpretable models with context-dependent, complex memory structures—matching neural network predictive power while remaining explainable, with cross-species findings across humans, rats, flies, and monkeys.

From "Learning from the Brain" to "Understanding the Brain with AI"

In the early days of artificial intelligence, researchers repeatedly drew inspiration from the brain—memory mechanisms, navigation abilities, and reward learning all once served as blueprints for AI algorithm design. But in a Google DeepMind podcast, senior research scientists Maria Eckstein and Kim Stachenfeld from the neuroscience team pointed out that this relationship has undergone a fundamental reversal: today, AI is becoming a tool for understanding the brain.

According to the conversation between the two researchers on the DeepMind podcast, back in 2019 AI was still in its "infancy," and neuroscience was an important source of knowledge driving AI progress. But today, AI has become complex enough that researchers' goal is no longer to make AI more human-like, but to make it collaborate better with humans. Correspondingly, neuroscience has begun leveraging AI's capabilities to discover mechanisms of brain function that human researchers would struggle to conceive of independently.

Podcast discussion on the trade-offs between AI and neuroscience

From "Predicting Answers" to "Discovering Mechanisms"

In the conversation, Eckstein distinguished between two types of AI-driven scientific breakthroughs. One is the protein-folding type of task: input a sequence, predict the structure—no need to understand "why." The other is what neuroscience truly pursues—discovering new mechanisms from data and gaining new understanding of how a system works. She said that AI is already very powerful at "prediction," but progress on "discovering new mechanisms" is limited—and that is precisely what neuroscience needs most.

Reward Learning: A "Poster Case" Studied for Decades

To understand how AI gives back to neuroscience, reward learning is the best entry point. The Q-learning model in classical reinforcement learning describes a mechanism that is intuitively easy to grasp: when facing multiple options, you assign a value to each; after experiencing the outcome, you compare the actual reward with your expectation; when the two diverge, you update your value estimate.

Eckstein used ordering at a restaurant as an example: if you repeatedly visit the same restaurant, your value estimates for each dish become increasingly precise. This comparison between "expectation and reality" is the core of reinforcement learning and one of the foundational principles behind training modern AI systems.

But the problem is that when researchers fit this classical model to human behavioral data, its predictive power is not ideal. In a four-option "slot machine" style experiment they designed, pure random choice achieved about 25% prediction accuracy, while the Q-learning model's goodness of fit was only about 30% to 40%—better than random, but far from explaining human behavior.

Neural networks as a predictive baseline

The "Ceiling" Set by Neural Networks

To determine just how predictable human behavior really is, the team used a large neural network as an "upper-bound baseline." As a universal function approximator, a neural network can capture arbitrary input-to-output mappings, and it ultimately predicted 68% of participants' choices. But it is a black box: strong predictive power, yet it cannot tell us what is happening inside the brain.

This is precisely the core tension researchers face—the trade-off between interpretability and predictive power.

Q-learning is a classical model-free algorithm in reinforcement learning. Its core is maintaining a state-action value table (Q-table), iteratively updated via the Bellman equation: Q(s,a) ← Q(s,a) + α[r + γ·max Q(s',a') − Q(s,a)]. Here α is the learning rate, γ is the discount factor, and the term in brackets is the "reward prediction error" (RPE)—the difference between the actual reward plus future expected value and the current value estimate. The algorithm does not rely on an environment model; it is computationally simple with theoretical convergence guarantees, but it requires an enumerable state space. In neuroscience, the RPE term of Q-learning closely matches the firing patterns of dopamine neurons, making it an important bridge between computational models and neural mechanisms—and thus it is widely used as a baseline model for human and animal decision-making behavior.

A universal function approximator refers to a class of models capable of approximating any continuous function on a compact set to arbitrary precision, with multi-layer feedforward neural networks being the typical example (the universal approximation theorem). In behavioral modeling, this means that as long as the network is large enough and sufficiently trained, it can in principle fit any mapping from experimental stimuli to behavioral choices without presupposing any assumptions about internal mechanisms. Therefore, neural networks are often used as an "upper-bound baseline": the prediction accuracy they achieve represents the maximum variance in the data that can be explained by the input information. If an interpretable model can match the neural network's predictive power, it shows that the model has captured almost all the explainable structure in the data, with the remainder attributable to noise or unobserved variables.

Hybrid Modeling: Automating a "PhD" with AI

In the past, researchers improved the Q-learning model by manually adding correction terms: incorporating forgetting mechanisms, separate systems for processing rewards versus punishments, and so on. Eckstein joked that many people spend their entire PhD just finding a better correction term for this algorithm.

Her team's approach was to automate this manual process: retain the structural framework of Q-learning but replace the hand-written equations with a neural network. After fitting, the network automatically identifies the algorithm variant that makes the model perform best.

The results were unexpected. No matter what corrections were added to this type of Q-learning model, predictive power did not improve significantly. The entire class of Q-learning algorithms failed to capture participant behavior well.

The Mechanism Found After Breaking Assumptions

The team then progressively relaxed Q-learning's assumptions, designing broader model classes and testing one by one which assumptions could be discarded and which had to be retained. The eventual winning model deviated from the classical framework on two key points:

  • Context specificity: A score of 50 is a good outcome when the other options are only worth 10, but not when the other options are worth 90. Human value judgments depend on context.
  • Complex memory structure: The classical model maintains only one value per option—four options means four variables. But human behavior requires more latent variables and more complex update rules.

The final model matched the neural network in predictive power—reaching the "ceiling" of all explainable variance in the data—while retaining full interpretability.

Research directions and application potential

Two Paths, One Answer: DataDiver's Cross-Validation

Kim Stachenfeld's team took a different route. They used large language models rather than neural networks to explore the model space, with Alpha Evolve as the core tool—a system originally designed to find problem-solving programs. They built a pipeline called DataDiver: have a large language model generate a large number of programs, filter for those that can fit animal and human choice behavior, then optimize program simplicity under the constraint of not significantly degrading fit.

This approach is data-driven and does not presuppose any theory. Eckstein's approach, by contrast, is theory-driven—starting from Q-learning and only arriving at a more accurate model after falsification. Both paths reached broadly consistent conclusions on the same dataset: both discovered more complex memory structures than classical Q-learning, and both found that strict reward prediction error computation is not the optimal description.

Stachenfeld mentioned a intriguing detail: among the programs DataDiver found, replacing the prediction error term with "directly overwrite with the most recent reward" did not degrade performance at all. This points to a working memory strategy—the most recent outcome dominates the value judgment of the chosen option.

Alpha Evolve is a program search system developed by DeepMind, whose approach stems from combining evolutionary algorithms with program synthesis: the system maintains a population of programs and, through mutation, crossover, and selection pressure, gradually improves their performance on a given task. Unlike training neural networks, Alpha Evolve searches over discrete symbolic programs (such as Python code snippets), so its outputs are inherently readable and interpretable. In the DataDiver pipeline, the large language model acts as a program generator, responsible for producing candidate behavioral model code, while Alpha Evolve handles the search and optimization direction; subsequently, goodness of fit serves as the selection criterion, with a simplicity penalty (akin to Occam's razor) applied as long as it does not significantly reduce fit, ultimately yielding behavioral programs that are both accurate and concise. This combination of "LLM generation + evolutionary search + simplicity constraint" enables researchers to automatically discover candidate mechanisms from data without presupposing theoretical assumptions.

Cross-Species Experiments: Algorithms Vary by Environment

DataDiver was tested on five datasets across four species: humans, rats, fruit flies, and monkeys. According to Stachenfeld, the algorithms ultimately found for each species were quite different.

Cross-species reinforcement learning tasks

In the monkey dataset—from Vinny Costa's lab—the program discovered an unexpected structure related to novelty preference. The classical modeling approach adds a "novelty bonus" to option values; but the program found maintained a separate novelty variable rather than a simple bonus. Stachenfeld noted that this suggests the brain may have two separate neural substrates—one tracking reward and one tracking novelty—merged at some stage. This provides a concrete direction for follow-up experimental validation.

Cross-species comparison is particularly valuable in computational neuroscience: if the same algorithm is independently discovered across different species, it suggests a potentially evolutionarily conserved basic mechanism; if algorithms vary with species' ecological niches, it indicates that behavioral strategies are highly environment-adaptive. Invertebrates like fruit flies have small, highly accessible neural networks, making them suitable for causal interventions at the mechanistic level; rats and monkeys are closer to humans in higher-order cognition, making them suitable for studying complex decision-making. Notably, experimental paradigms across species (such as number of options, reward types, training duration) often differ, which itself can affect the form of the optimal algorithm. Therefore, cross-species differences may reflect genuine differences in neural mechanisms, but may also partly stem from differences in task design—this needs to be distinguished when interpreting results.

How Far to the "E=mc² of the Brain"?

Eckstein acknowledged that the brain is the most complex system in the known universe, and even writing down all the equations might not make it comprehensible to humans. What researchers can do is approach it from different angles: examining both the physiological mechanisms of individual neurons and computational functions at higher levels.

Stachenfeld, meanwhile, sees current limitations as a sign of the frontier: different datasets yielding different models—a problem that exists throughout the literature—precisely shows that they have touched on genuinely unsolved hard problems.

Next steps include: connecting behavioral models with neural data (fMRI, electrode recordings) to validate mechanistic hypotheses; improving data collection efficiency; and attempting to find ways of organizing interpretability and predictive power that don't force a binary choice.

As host Hannah Fry said at the end, seven years ago researchers were still looking to biology for clues to give AI a "head start"; now they have reversed course and are using powerful AI to explain how the mind works. These models are no longer built solely from human imagination and bias—data can speak for itself.

One-line Summary

AI and neuroscience have reversed roles, with hybrid modeling and DataDiver discovering the brain's decision-making mechanisms from data.

Paragraph Summary

Based on a conversation between two neuroscientists on the DeepMind podcast, this article traces the fundamental reversal in the relationship between AI and neuroscience: from the early days when the brain inspired AI to today's use of AI to understand the brain. Using reward learning as the entry point, it notes that classical Q-learning models predict human decisions only slightly better than chance, while neural networks can reach a 68% prediction ceiling but remain black boxes. By retaining Q-learning's structure and replacing hand-written equations with neural networks, the team found that the entire Q-learning class of algorithms is inadequate, and after relaxing assumptions they arrived at an interpretable model relying on context and complex memory structures, matching the neural network's predictive power. Another team used LLM-driven DataDiver to automatically search for programs, and the two paths cross-validated broadly consistent conclusions on the same data, while finding that algorithms vary by environment across humans, rats, flies, and monkeys. The article concludes by discussing the limitations and next steps toward the "E=mc² of the brain."

#AI neuroscience#reinforcement learning#Q-learning#DataDiver#DeepMind#decision-making#interpretability#cross-species research
Share:

Related articles