English

Fitting Reinforcement Learning Model to Behavioral Data under Bandits

Computational Engineering, Finance, and Science 2026-03-27 v2 Machine Learning Optimization and Control Neurons and Cognition

Abstract

We consider the problem of fitting a reinforcement learning (RL) model to some given behavioral data under a multi-armed bandit environment. These models have received much attention in recent years for characterizing human and animal decision making behavior. We provide a generic mathematical optimization problem formulation for the fitting problem of a wide range of RL models that appear frequently in scientific research applications. We then provide a detailed theoretical analysis of its convexity properties. Based on the theoretical results, we introduce a novel solution method for the fitting problem of RL models based on convex relaxation and optimization. Our method is then evaluated in several simulated and real-world bandit environments to compare with some benchmark methods that appear in the literature. Numerical results indicate that our method achieves comparable performance to the state-of-the-art, while significantly reducing computation time. We also provide an open-source Python package for our proposed method to empower researchers to apply it in the analysis of their datasets directly, without prior knowledge of convex optimization.

Keywords

Cite

@article{arxiv.2511.04454,
  title  = {Fitting Reinforcement Learning Model to Behavioral Data under Bandits},
  author = {Hao Zhu and Jasper Hoffmann and Baohe Zhang and Joschka Boedecker},
  journal= {arXiv preprint arXiv:2511.04454},
  year   = {2026}
}
R2 v1 2026-07-01T07:24:42.710Z