Harnessing the flexibility of neural networks to predict dynamic theoretical parameters underlying human choice behavior

Yoav Ger, Eliya Nachmani, Lior Wolf, Nitzan Shahar

TL;DR

This paper introduces a novel framework called "theoretical-RNN" (t-RNN) that combines the predictive power of neural networks with the interpretability of reinforcement learning (RL) models. By training an RNN on simulated RL agent data, t-RNN can dynamically predict human behavior and infer underlying, time-varying theoretical RL parameters, outperforming traditional methods in action prediction.

What Problem Does This Paper Address?

Traditional reinforcement learning (RL) models are excellent for understanding the theoretical underpinnings of decision-making, offering interpretable parameters like learning rates. However, they often struggle with predictive accuracy when applied to real-world human behavior, partly due to simplifying assumptions like stationary parameters. On the other hand, deep neural networks (like standard RNNs) excel at predicting behavior but lack clear theoretical interpretations of the underlying cognitive processes. This creates a trade-off between predictability and interpretability. The authors aim to bridge this gap by developing a method that leverages the flexibility and predictive power of neural networks to dynamically estimate interpretable theoretical parameters of human behavior.

Methods

The core innovation is the theoretical-RNN (t-RNN) framework. Here's how it works:

  1. Synthetic Data Generation: The process begins by simulating numerous artificial RL agents performing a task (specifically, a two-armed bandit task). These agents are programmed with known, theoretical RL parameters (e.g., learning rate, exploration rate, action preservation).
  2. t-RNN Training: A recurrent neural network (RNN), specifically using Gated Recurrent Units (GRUs), is trained on this synthetic data. The RNN learns to predict two things simultaneously:
  3. The agent's future action.
  4. The agent's underlying theoretical RL parameters at each trial. The training involves a combined loss function that penalizes errors in both action prediction and parameter estimation.

  5. Parameter Inference on Human Data: After training, the RNN's weights are frozen. This trained network is then applied to real human behavioral data. The t-RNN uses the observed action-reward history to predict future actions and, crucially, to infer the time-varying theoretical RL parameters that best explain the human's choices at each moment.

This approach allows the RNN to learn the mapping between observed behavior and theoretical parameters from a controlled environment (synthetic data) and then apply that learned mapping to complex, real-world human data.

Datasets

The paper uses two types of data:

  1. Synthetic Data: Generated by simulating artificial RL agents (specifically, Q-learning agents with varying parameter dynamics) performing a two-armed bandit task. This data is used for training the t-RNN.
  2. Empirical Human Datasets:
    • Dezfouli et al. (2019) dataset: N=101 individuals (33 bipolar disorder, 34 depression, 34 healthy controls) performing a two-armed bandit task. This dataset was used to study differences in parameter dynamics across clinical groups.
  3. Gershman (2018) dataset: N=44 individuals performing a two-armed bandit task to examine human exploration strategies. This dataset was used to study how exploration parameters change with task difficulty and phase.

Key Insights and Ideas

  • Bridging the Predictability-Interpretability Gap: The t-RNN framework offers a powerful way to get the best of both worlds: high predictive accuracy from neural networks and interpretable theoretical parameters from RL models.
  • Dynamic Parameter Estimation: The t-RNN can track how theoretical parameters (like learning rate or exploration tendency) change over time within an individual, which is a significant limitation of traditional stationary RL models. This allows for a much richer understanding of dynamic decision-making.
  • Synthetic Data as a Powerful Training Tool: Training a complex neural network on synthetic data generated from known theoretical models is an effective way to teach it to infer those theoretical parameters from real-world, noisy human data.
  • Clinical Relevance: The t-RNN framework revealed differences in the volatility of theoretical parameters (specifically, action preservation) between psychiatric patients and healthy controls, suggesting potential clinical applications.
  • Exploration Strategies are Dynamic: The study showed that human exploration strategies are not fixed but dynamically adapt to task difficulty and phase, a finding captured by the t-RNN's parameter estimates.

Key Results

  • Improved Action Prediction: Across both empirical datasets, the t-RNN consistently outperformed stationary maximum-likelihood RL models in predicting human actions. For example, in the Dezfouli dataset, t-RNN showed significantly lower prediction error (BCE) compared to QP-stationary and Bayesian models.
  • Accurate Parameter Recovery: The t-RNN successfully recovered known RL parameters from synthetic data, even for agents with non-stationary (time-varying) parameters.
  • Clinical Group Differences: In the psychiatric dataset, the t-RNN revealed that individuals with bipolar disorder exhibited lower values and greater volatility in their action preservation parameter estimates compared to healthy controls.
  • Task-Dependent Exploration: In the exploration dataset, t-RNN showed that random exploration increased in "hard" blocks (low value difference) and decreased in "easy" blocks (high value difference), mirroring changes in directed exploration as well.
  • Correlation with Behavior: The t-RNN's estimated parameters (like action preservation $\kappa$) showed strong correlations with model-agnostic measures of behavior (like stay probability), validating their interpretability.

Limitations and Future Work

  • Model Misspecification: The t-RNN's ability to predict parameters is contingent on the accuracy of the underlying theoretical RL model used for training. If human behavior is governed by a substantially different model, t-RNN might struggle. The authors suggest future work could involve training t-RNN on data from agents using multiple models to dynamically predict both parameters and the governing model.
  • Underlying Nature of Parameter Changes: While t-RNN can capture when parameters change, it doesn't inherently explain why. Future research could integrate t-RNN with biological measurements (e.g., fMRI) to link parameter dynamics to neural correlates.
  • Training Settings and Model Complexity: The authors acknowledge that training settings can influence performance and that further work is needed to test the impact of different settings and the framework's scalability to more complex theoretical models. They hypothesize that t-RNN might be particularly advantageous for more complex models.
  • Online Prediction: The framework holds promise for real-time, online monitoring of behavior and parameter estimation, facilitating personalized interventions.

Summary updated

BibTeX
@article{ger2024harnessing,
  author = {Yoav Ger and Eliya Nachmani and Lior Wolf and Nitzan Shahar},
  title = {{Harnessing the flexibility of neural networks to predict dynamic theoretical parameters underlying human choice behavior}},
  journal = {PLOS Computational Biology},
  year = {2024},
  doi = {10.1371/journal.pcbi.1011678},
}
Figure