Abstract
Cognitive models are widely used in psychology and neuroscience to formulate and test hypotheses about cognitive processes. These processes are characterized by model parameters, which are then used for scientific inference. The reliability of scientific conclusions from cognitive modeling depends critically on the reliability of parameter estimation, yet estimating parameters remains a universal challenge particularly when data are too limited to constrain them. In such cases, multiple sets of parameters may explain the experimental data equally well within the same model, raising the question of which parameters are scientifically meaningful. We refer to this problem as parameter ambiguity. In this paper, we investigate parameter ambiguity in reinforcement learning under two optimization methods. We employ the de facto Nelder-Mead method (fminsearch) and a neural network trained to estimate parameters using a modern deep learning pipeline, which has seen limited application in cognitive modeling. Across ten decision-making datasets, we consistently find that the two methods produce substantially different parameter estimates despite achieving nearly identical fitting performance. To address this ambiguity, we introduce a systematic evaluation framework that goes beyond predictive accuracy to assess generalizability, robustness, identifiability, and test-retest reliability, thereby offering principled guidance on which parameter estimates should inform scientific inference. Applying this framework reveals that the neural network with a deep learning pipeline outperforms across these metrics. Our study establishes parameter ambiguity as an underappreciated challenge with significant implications for scientific replicability, highlighting that the choice of optimization method is a critical factor shaping scientific conclusions. We advocate for our multi-faceted evaluation approach to ensure reliable scientific inference and for broader integration of modern deep learning pipelines into cognitive modeling.
Introduction
In psychology and neuroscience, researchers use Reinforcement Learning (RL) models to quantify how humans and animals learn from rewards. These models rely on "free parameters"—such as learning rates ($\alpha$) or decision noise ($\beta$)—to describe individual cognitive strategies. However, estimating these parameters is notoriously difficult. Experimental data is often limited and noisy, leading to "sharp" loss landscapes where many different parameter combinations appear to fit the data equally well. This phenomenon, termed parameter ambiguity, poses a significant threat to scientific replicability: if two different optimization methods yield different parameters that fit the data equally well, which one should inform scientific inference?
Historically, the field has relied on the Nelder-Mead simplex method (fminsearch). However, this approach is often prone to overfitting and produces inconsistent results. This paper investigates whether a modern deep learning pipeline can mitigate these issues.
Methods
The authors compare two optimization approaches across a standard RL model framework applied to ten distinct decision-making datasets.
- Nelder-Mead (Baseline): A derivative-free local search algorithm that is the de facto standard in cognitive science.
- Deep Learning Pipeline (Proposed): A simple neural network with one hidden layer that takes subject and experimental condition identifiers as inputs to output RL parameters.
The deep learning pipeline leverages a modern optimization ecosystem, including the AdamW optimizer (gradient-based with decoupled weight decay), regularization techniques like early stopping, and backpropagation-through-time to compute gradients through the recursive RL process.
Results and Key Insights
The Generalization Advantage
A primary finding is that while both methods achieve nearly identical predictive accuracy on held-out test data, the deep learning pipeline demonstrates a significantly smaller generalization gap. This indicates that the neural network approach is less prone to overfitting the training data.
Robustness and Reliability
The evaluation framework introduced in this study goes beyond simple goodness-of-fit, assessing robustness, identifiability, and test-retest reliability:
- Robustness: When noise was injected into the estimated parameters, the loss for Nelder-Mead estimates increased significantly faster than for deep learning estimates, suggesting the neural network finds "flatter," more stable minima in the loss landscape.
- Identifiability: In simulation-recovery tests, the deep learning pipeline consistently achieved higher correlations between "true" and estimated parameters, particularly in trial-limited regimes (160–800 trials) common in human behavioral experiments.
- Test-Retest Reliability: Using a 12-week longitudinal dataset, the authors found that deep learning produced more consistent parameter estimates for the same individuals over time compared to the traditional baseline.
Conclusion
This study demonstrates that the choice of optimization method is a critical factor in cognitive modeling. Predictive power alone is an insufficient metric for choosing a method; instead, researchers should adopt a multi-faceted evaluation framework. The superior performance of the deep learning pipeline—especially in data-scarce regimes—suggests that modern machine learning techniques can significantly enhance the reliability of scientific inferences in psychology and neuroscience. Future work should explore whether these benefits extend to more complex, high-dimensional, or hierarchical cognitive models.
Summary updated