PLoS ONENeurosciencePeer-reviewed journal article
GLAMbox: A Python toolbox for investigating the association between gaze allocation and decision behaviour
Felix MolteriD, Armin W. ThomasiD, Hauke R. HeekereniD, Peter N. C. MohriD
Abstract
Recent empirical findings have indicated that gaze allocation plays a crucial role in simple decision behaviour. Many of these findings point towards an influence of gaze allocation onto the speed of evidence accumulation in an accumulation-to-bound decision process (resulting in generally higher choice probabilities for items that have been looked at longer). Further, researchers have shown that the strength of the association between gaze and choice behaviour is highly variable between individuals, encouraging future work to study this association on the individual level. However, only few decision models exist that easily allow studying the gaze-choice association on the individual level, due to the high cost of developing and implementing them. The model space is particularly scarce for choice sets with more than two choice alternatives. Here, we present GLAMbox, a Python-based toolbox that is built upon PyMC3 and allows the easy application of the gaze-weighted linear accumulator model (GLAM) to experimental choice data. The GLAM assumes gaze-dependent evidence accumulation in a linear stochastic race that extends to decision scenarios with many choice alternatives. GLAMbox enables Bayesian parameter estimation of the GLAM for individual, pooled or hierarchical models, provides an easy-to-use interface to predict choice behaviour and visualize choice data, and benefits from all of PyMC3s Bayesian statistical modeling functionality. Further documentation, resources and the toolbox itself are available at https://github.com/glamlab/glambox.
- Citations
- 12
- FWCI
- 1.41
- Field percentile
- top 19%
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Gaze Bias Differences Capture Individual Choice Behavior
Armin W. Thomas, Felix Molter, … Peter N. C. Mohr·Nature Human BehaviourPeer-reviewed·Apr 15, 2019
- A Reinforcement Learning and Sequential Sampling Model Constrained by Gaze Data
William M. Hayes, Melanie Touchard·PLoS Computational BiologyPeer-reviewed·Mar 6, 2026
- A Mathematical Model of Exploration and Exploitation in Natural Scene Viewing
Noa Malem-Shinitski, Manfred Opper, … Ralf Engbert·PLoS Computational BiologyPeer-reviewed·Dec 14, 2020
- Overt visual attention modulates decision-related signals in the frontal cortex
Blair R. K. Shevlin, Rachael Gwinn, … Ian M. Krajbich·bioRxiv·Oct 25, 2024
- Behavioral Signatures of Post-Decisional Attention in Preferential Choice
Ariel D Zylberberg, Ian M. Krajbich, Michael Neil Shadlen·bioRxiv·Jun 17, 2026
- Choice anticipation as gated accumulation of sensory predictions
Brandon Caie, Dominik Endres, … Gunnar Blohm·Journal of NeurophysiologyPeer-reviewed·Feb 19, 2025