Back

PALMS: A Computational Implementation for Pavlovian Associative Learning Models Simulation

Fixman, M.; Abati, A.; Jimenez Nimo, J.; Lim, S.; Mondragon, E.

2026-05-08 animal behavior and cognition
10.64898/2026.05.05.722899 bioRxiv
Show abstract

In contrast to static formalisms, computational definitions describe the operational mechanisms of a model. Simulations are an essential part of the cycle of theory development and refinement, assisting researchers in formulating the precise definitions that models require, and making accurate predictions. This manuscript introduces a computational implementation of Pavlovian learning models in a Python environment, termed Pavlovian Associative Learning Models Simulation (PALMS). In addition to the canonical Rescorla-Wagner model, attentional approaches are implemented, including Pearce-Kaye-Hall, Mackintosh Extended, Le Pelleys Hybrid, and a novel extension of the Rescorla-Wagner model featuring a unified variable learning rate that synthesises Mackintoshs and Pearce and Halls opposing conceptualisations. To our knowledge, only the first attentional model has been previously specified computationally in a general design tool. PALMS integrates a graphical interface that permits the input of entire experimental designs in an alphanumeric format, akin to that used by experimental neuroscientists. It uniquely enables the simulation of experiments involving hundreds of stimuli, such as those used with human participants, and the computation of configural cues and configural-cue compounds across all models, thereby substantially broadening their predictive capabilities. A comprehensive description of the models implementation and the environment functionalities is provided in the paper; these include efficient and accurate operation and instant visualisation of predicted results across different models within a single architecture and environment. We evaluate PALMS by simulating five published experiments in the associative learning literature that assessed the predictive scope of existing models, and we show that this implementation provides neuroscientists with a useful tool for identifying critical variables, refining experimental designs, making precise predictions, comparing model fitness, and formulating new theoretical approaches. PALMS is licensed under the open-source GNU Lesser General Public License 3.0. The environment source code and the latest multiplatform release build are accessible as a GitHub repository at https://github.com/cal-r/PALMS-Simulator. Author summaryResearch on associative learning is multidisciplinary, encompassing disciplines such as neuroscience, AI, psychology, psychiatry, behavioural sciences, planning, and marketing. Unlike static formalisms, precise computational definitions specify how a model operates, enabling model simulation, swift and error-free prediction calculations, which are essential for testing theories, comparing predictions, holding models accountable, and providing a common language across fields. We introduce Pavlovian Associative Learning Models Simulation (PALMS), a user-friendly, open-source Python environment for simulating classical conditioning and studying the role of attention in learning. PALMS implements the prescriptive Rescorla-Wagner and attentional models: Pearce-Kaye-Hall, Mackintosh Extended, Le Pelleys Hybrid, and a new hybrid model with a unified variable learning rate that blends Mackintosh and Pearce-Halls conflicting views. Its graphical interface makes it easy for neuroscientists to enter experiments. Our computational implementation supports simulations with hundreds of stimuli, configural cues, and compounds, broadening the models predictive power. Designed for efficiency, it offers instant visual results and useful features. We evaluate PALMS by simulating five published experiments, highlighting its value for model comparison and refinement, and, more generally, as a tool to assist research.

Matching journals

The top 4 journals account for 50% of the predicted probability mass.

1
PLOS Computational Biology
1633 papers in training set
Top 0.2%
32.5%
2
PLOS ONE
4510 papers in training set
Top 24%
7.1%
3
Frontiers in Behavioral Neuroscience
46 papers in training set
Top 0.1%
6.2%
4
eneuro
389 papers in training set
Top 2%
4.8%
50% of probability mass above
5
SoftwareX
15 papers in training set
Top 0.1%
4.8%
6
Methods in Ecology and Evolution
160 papers in training set
Top 0.9%
3.5%
7
Frontiers in Artificial Intelligence
18 papers in training set
Top 0.1%
3.2%
8
iScience
1063 papers in training set
Top 10%
2.0%
9
Nature Communications
4913 papers in training set
Top 49%
1.9%
10
eLife
5422 papers in training set
Top 40%
1.8%
11
PLOS Biology
408 papers in training set
Top 10%
1.7%
12
Neural Computation
36 papers in training set
Top 0.4%
1.7%
13
Nature Human Behaviour
85 papers in training set
Top 2%
1.7%
14
Frontiers in Computational Neuroscience
53 papers in training set
Top 1%
1.5%
15
Bioinformatics
1061 papers in training set
Top 8%
1.3%
16
Scientific Reports
3102 papers in training set
Top 66%
1.2%
17
Behavioral Neuroscience
25 papers in training set
Top 0.2%
1.2%
18
Royal Society Open Science
193 papers in training set
Top 3%
1.2%
19
F1000Research
79 papers in training set
Top 3%
1.1%
20
Frontiers in Neuroscience
223 papers in training set
Top 8%
0.7%
21
Bioinformatics Advances
184 papers in training set
Top 5%
0.7%
22
Neural Networks
32 papers in training set
Top 0.9%
0.7%
23
Biology
43 papers in training set
Top 3%
0.7%
24
Behavior Research Methods
25 papers in training set
Top 0.3%
0.7%
25
Psychological Review
19 papers in training set
Top 0.2%
0.7%