Competing value signals impair reward-learning via dopaminergic mechanisms and increase exploration.
Paper
Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
Stan · 138 lines · 3.9 KB · CC-BY-4.0
- functions {
- real partial_log_lik(array[,] int choice_slice,
- int start, int end,
- array[,] int reward,
- array[] real persev,
- array[] real alpha,
- array[] real beta,
- int nTrials) {
- real lp = 0;
- for (s in start:end) {
- vector[2] v = rep_vector(0.0, 2);
- vector[2] pb;
- for (t in 1:nTrials) {
- pb = rep_vector(0.0, 2);
- if (t > 1) {
- pb[ choice_slice[s, t-1] ] = persev[s];
- }
- lp += categorical_logit_lpmf(
- choice_slice[s, t] |
- beta[s] * (v + pb)
- );
- real pe = reward[s, t] - v[ choice_slice[s, t] ];
- v[ choice_slice[s, t] ] += alpha[s] * pe;
- }
- }
- return lp;
- }
- }
- data {
- int<lower=1> nSubjects;
- int<lower=1> nTrials;
- int<lower=1> nConditions;
- int<lower=1> nSessions;
- array[nSessions, nConditions, nSubjects, nTrials] int<lower=1, upper=2> choice;
- array[nSessions, nConditions, nSubjects, nTrials] int<lower=-1, upper=1> reward;
- }
- parameters {
- array[nSessions, nConditions] real persev_mu;
- array[nSessions, nConditions] real<lower=0> persev_sd;
- array[nSessions, nConditions] real<lower=0, upper=1> alpha_mu;
- array[nSessions, nConditions] real<lower=0> alpha_kappa;
- array[nSessions, nConditions] real beta_mu_log;
- array[nSessions, nConditions] real<lower=0> beta_sd_log;
- array[nSessions, nConditions, nSubjects] real persev_z;
- array[nSessions, nConditions, nSubjects] real beta_z;
- array[nSessions, nConditions, nSubjects] real<lower=0, upper=1> alpha;
- }
- transformed parameters {
- array[nSessions, nConditions, nSubjects] real persev;
- array[nSessions, nConditions, nSubjects] real<lower=0> beta;
- array[nSessions, nConditions] real<lower=0> alpha_a;
- array[nSessions, nConditions] real<lower=0> alpha_b;
- for (m in 1:nSessions) {
- for (c in 1:nConditions) {
- alpha_a[m, c] = alpha_mu[m, c] * alpha_kappa[m, c];
- alpha_b[m, c] = (1 - alpha_mu[m, c]) * alpha_kappa[m, c];
- for (s in 1:nSubjects) {
- persev[m, c, s] = persev_mu[m, c] + persev_sd[m, c] * persev_z[m, c, s];
- real log_beta = beta_mu_log[m, c] + beta_sd_log[m, c] * beta_z[m, c, s];
- beta[m, c, s] = exp(log_beta);
- }
- }
- }
- }
- model {
- for (m in 1:nSessions) {
- for (c in 1:nConditions) {
- alpha_mu[m, c] ~ beta(2, 2);
- alpha_kappa[m, c] ~ lognormal(log(10), 0.25);
- beta_mu_log[m, c] ~ normal(log(3), 0.25);
- beta_sd_log[m, c] ~ normal(0.2, 0.1) T[0, ];
- persev_mu[m, c] ~ normal(0.0, 0.5);
- persev_sd[m, c] ~ normal(0.5, 0.25) T[0, ];
- for (s in 1:nSubjects) {
- persev_z[m, c, s] ~ normal(0, 1);
- beta_z[m, c, s] ~ normal(0, 1);
- alpha[m, c, s] ~ beta(alpha_a[m, c], alpha_b[m, c]);
- }
- target += reduce_sum(
- partial_log_lik,
- choice[m, c],
- 8,
- reward[m, c],
- persev[m, c],
- alpha[m, c],
- beta[m, c],
- nTrials
- );
- }
- }
- }
- generated quantities {
- array[nSessions, nConditions, nSubjects, nTrials] real log_lik;
- array[nSessions, nConditions, nSubjects, nTrials, 2] real ev;
- array[nSessions, nConditions, nSubjects, nTrials] real pe;
- for (m in 1:nSessions) {
- for (c in 1:nConditions) {
- for (s in 1:nSubjects) {
- vector[2] v = rep_vector(0.0, 2);
- vector[2] pb;
- for (t in 1:nTrials) {
- pb = rep_vector(0.0, 2);
- if (t > 1) {
- pb[choice[m, c, s, t-1]] = persev[m, c, s];
- }
- log_lik[m, c, s, t] = categorical_logit_lpmf(
- choice[m, c, s, t] |
- beta[m, c, s] * (v + pb)
- );
- ev[m, c, s, t, 1] = v[1];
- ev[m, c, s, t, 2] = v[2];
- pe[m, c, s, t] = reward[m, c, s, t] - v[ choice[m, c, s, t] ];
- v[ choice[m, c, s, t] ] += alpha[m, c, s] * pe[m, c, s, t];
- }
- }
- }
- }
- }
pers.stan, under CC-BY-4.0 · at the source
Overview
- Graduate Institute of Brain and Mind Sciences, National Taiwan University College of Medicine, Taipei, Taiwan
- Taiwan International Graduate Program in Interdisciplinary Neuroscience, National Taiwan University and Academia Sinica, Taipei, Taiwan
- Department of Computer Science and Information Engineering, National Taiwan University, Taipei, Taiwan
Abstract
Effective reinforcement learning requires balancing exploration of uncertain options with exploitation of known outcomes. In real-world contexts, the same action may yield rewards in some situations and punishments in others, yet how these learning processes influence each other remains unclear. Here, we examine the neural mechanisms underlying how reward and punishment learning interact to guide adaptive behavior. We conducted four experiments (N = 159) using an instrumental learning task with binary choices, some of which were exclusive to reward or punishment learning trials, while others appeared in both, allowing assessment of their interaction. When choices were tied to a single learning type, reward learning engages less exploration (i.e., fewer choices of lower-value options) than punishment learning. Critically, when both learning processes were concurrently engaged, reward learning was selectively impaired, accompanied by enhanced exploration and greater activation in exploration-related prefrontal regions revealed by fMRI. Computational modeling showed that impaired reward learning was best explained by sensitivity to prior punishment history associated with reward-learning options, while individual differences in loss aversion predicted the degree of increased exploration. Finally, pharmacological attenuation of dopaminergic signaling via the D2/
Reproduced under the paper's license (CC BY), from the paper cited above.
Repositories
Its files are read in the Code ↔ Paper reader above.
Zenodo 21261694
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
- 27 September 2026: the link answers (HTTP 200)
8 files
- models/
pers.stan , Stan, 138 lines - models/
pers_baseline.stan , Stan, 163 lines - models/
pers_context.stan , Stan, 164 lines - models/
pers_context_baseline.st , Stan, 194 linesan - models/
pers_interference_at_cho , Stan, 156 linesice.stan - models/
pers_interference_at_cho , Stan, 182 linesice_baseline.stan - LICENSE, License, 22 lines
- README.md, Text, 70 lines
linwenwei6915/reward-punishment-interference-stan-models
0f3f66dff9fbfc00e9ce123d723e970293af7dab, 8 July 2026Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
8 files
- models/
pers.stan , Stan, 138 lines - models/
pers_baseline.stan , Stan, 163 lines - models/
pers_context.stan , Stan, 164 lines - models/
pers_context_baseline.st , Stan, 194 linesan - models/
pers_interference_at_cho , Stan, 156 linesice.stan - models/
pers_interference_at_cho , Stan, 182 linesice_baseline.stan - LICENSE, License, 22 lines
- README.md, Text, 70 lines
The paper's code and data availability statement is in the Data section.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 12 scripts, each with its path and the digest of its content;
- no match between paragraphs and code yet;
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
Datasets cited
Data Availability
De-identified behavioral data, the numerical data underlying the figure plots (S1 Data), and unthresholded fMRI statistical maps are available on the Open Science Framework (https://
Reproduced under the paper's license (CC BY), from the paper cited above.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 1, 27 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 8 authors, 15 MeSH terms, 2 funders, 92 references.
Cite
This paper
Lin, W.-W., Lee, P.-Y., Tsai, H.-Y., Lin, Y.-H., Lin, M.-M., Lu, Z.-L., Yeh, M.-Y., & Tseng, M.-T. (2026). Competing value signals impair reward-learning via dopaminergic mechanisms and increase exploration. PLoS biology, 24(7), e3003922. https://
BibTeX
@article{lin2026competin
author = {Lin, Wen-Wei and Lee, Pei-Yu and Tsai, Hsin-Yun and Lin, Yi-Hsuan and Lin, Min-Min and Lu, Zheng-Liang and Yeh, Mei-Yu and Tseng, Ming-Tsung},
title = {{Competing value signals impair reward-learning via dopaminergic mechanisms and increase exploration}},
journal = {PLoS biology},
year = {2026},
month = jul,
volume = {24},
number = {7},
pages = {e3003922},
publisher = {PLOS},
issn = {1544-9173},
doi = {10.1371/
url = {https://
pmid = {42497225},
pmcid = {PMC13427004}
}
RIS
TY - JOUR
AU - Lin, Wen-Wei
AU - Lee, Pei-Yu
AU - Tsai, Hsin-Yun
AU - Lin, Yi-Hsuan
AU - Lin, Min-Min
AU - Lu, Zheng-Liang
AU - Yeh, Mei-Yu
AU - Tseng, Ming-Tsung
TI - Competing value signals impair reward-learning via dopaminergic mechanisms and increase exploration
T2 - PLoS biology
J2 - PLoS Biol
PY - 2026
DA - 2026/
VL - 24
IS - 7
SP - e3003922
SN - 1544-9173
PB - PLOS
DO - 10.1371/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1371/
"type": "article-journal",
"title": "Competing value signals impair reward-learning via dopaminergic mechanisms and increase exploration",
"container-title": "PLoS biology",
"author": [
{
"family": "Lin",
"given": "Wen-Wei"
},
{
"family": "Lee",
"given": "Pei-Yu"
},
{
"family": "Tsai",
"given": "Hsin-Yun"
},
{
"family": "Lin",
"given": "Yi-Hsuan"
},
{
"family": "Lin",
"given": "Min-Min"
},
{
"family": "Lu",
"given": "Zheng-Liang"
},
{
"family": "Yeh",
"given": "Mei-Yu"
},
{
"family": "Tseng",
"given": "Ming-Tsung"
}
],
"container-title-short":
"volume": "24",
"issue": "7",
"page": "e3003922",
"DOI": "10.1371/
"PMID": "42497225",
"PMCID": "PMC13427004",
"ISSN": "1544-9173",
"publisher": "PLOS",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
7,
24
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.1162/imag.a.1330 [code]
- Human risk taking and metabolic state: No credible evidence for desacyl-ghrelin modulation of neural or behavioural effects.Journal: Imaging neuroscience (Cambridge, Mass.)In common: Stan, cognitive, 4 references
- [2] doi:10.7554/elife.108223 [code]
- Two time scales of adaptation in human learning rates.Journal: eLifeIn common: Stan, cognitive, 4 references
- [3] doi:10.1002/hbm.70545 [code]
- Striatal Prediction Error Tracking Moderates the Influence of Social Exposure on Adolescent Substance Use Curiosity.Journal: Human brain mappingIn common: 5 references
- [4] doi:10.1162/netn.a.544 [code]
- Brain network reconfiguration during reward prediction error processing.Journal: Network neuroscience (Cambridge, Mass.)In common: cognitive, 4 references
- [5] doi:10.1016/j.isci.2026.116047 [code]
- Deciding to simulate: Cognitive mechanisms of predicting the decisions of others.Journal: iScienceIn common: Stan, cognitive, 2 references
- [6] doi:10.1038/s41467-026-76593-2 [code]
- Complementary and opponent value signals in the human brain support choosing the best and avoiding the worst.Journal: Nature communicationsIn common: 3 references
- [7] doi:10.1016/j.isci.2026.116747 [code]
- Age and loneliness relate to reduced trust learning and alterations in amygdala function.Journal: iScienceIn common: Stan, cognitive, 1 reference
- [8] doi:10.1038/s41586-026-10301-4 [code]
- Dopaminergic mechanisms of dynamical social specialization.Journal: NatureIn common: 3 references
- [9] doi:10.1162/netn.a.549 [code]
- Distributed cortical network dynamics of binocular convergent eye movements in humans.Journal: Network neuroscience (Cambridge, Mass.)In common: 3 references
- [10] doi:10.1162/opmi.a.372 [code]
- Broadening the Agent Preference Hypothesis Through Experiencers: Eye-Tracking and EEG Evidence of Proto-Agents and Proto-Patients.Journal: Open mind : discoveries in cognitive scienceIn common: Stan, 1 reference
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 2 repositories of the authors' code, each at its verified commit and with its license, 12 scripts, and 0 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:960150020897ce4d…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[, paste the snippet at the top, then “Commit changes…” and, to review it first, “Create a new branch and start a pull request”. You open the pull request; OSCR asks for no permission.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.
Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
