Mesocorticostriatal Reinforcement Learning of State Representation and Value with Implications for the Mechanisms of Schizophrenia.
One block of code here has a permanent identifier (oscr:b:…), listed with the matches below: citable for good, with a page of its own. Select a match and press Cite to copy it. What a block identifier is.
The 2 matches · all tie a paragraph to a whole file without given lines: weak matches, whose lines are not tinted
- [1] § Results › Simulated inputs to the striatum and possible correspondences to experimental results ↔ OVRNNRB1probrew.m, the whole file · a weak match · score 0.55 · fMRI, BOLD signal, sum, striatal units, RNN units, corticostriatal · block
oscr:b:PQVNHYBBGV88D-Q· Report a mismatch - [2] § Results › Simulated inputs to the striatum and possible correspondences to experimental results ↔ OVRNNRB1probrew.m, the whole file · a weak match · score 0.54 · fMRI, BOLD signal, proxy, sum, striatum, reward · block
oscr:b:PQVNHYBBGV88D-Q· Report a mismatch
Paper
Loaded from Europe PMC by your browser; OSCR does not store it: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
MATLAB · 128 lines · 5 KB · no license · 2 matches
- function [os,xs,Vs,VDs,ds,w,wsd,bdc,bds,wbrs,P,meanPs,CDtoS,ef] = OVRNNRB1probrew(brdmode,modeltype,abase,g,drs,rewp,ndim,ns,nd,nt,P,iniPmean,plotyn)
- % OVRNNRB1probrew : code for probabilistic reward task
- % brdmode: 1:general, 2:two DA units receiving exclusively from two rewards, 3:brdmode 2 + another DA unit receiving evenly from two rewards
- % modeltype: 1:oVRNNrf-bio, 2:untrained RNN
- % abase: learning rate base, e.g., 0.1
- % g: time discount factor, e.g., 0.8
- % drs: decay rate for [cortico-striatal, striato-dopamine] weight per time-step, e.g., [0 0], [0.0002, 0.0002]
- % rewp: reward probability, e.g., 2/3
- % ndim: number of RNN units, e.g., 40
- % ns: number of striatal units, e.g., 10
- % nd: number of DA units, e.g., 5
- % nt: number of trials, e.g., 4000
- ITIs = NaN(1,nt);
- cue = [];
- rew = [];
- for k = 1:nt
- tmp = randperm(4);
- ITIs(k) = 2 + tmp(1);
- tmp_rand = rand;
- tmp_rand2 = rand;
- if tmp_rand <= 0.5
- cue = [cue [1;0] zeros(2,3+ITIs(k))];
- if tmp_rand2 <= rewp
- rew = [rew zeros(2,3) [1;0] zeros(2,ITIs(k))];
- else
- rew = [rew zeros(2,3) [0;0] zeros(2,ITIs(k))];
- end
- else
- cue = [cue [0;1] zeros(2,3+ITIs(k))];
- if tmp_rand2 <= rewp
- rew = [rew zeros(2,3) [0;1] zeros(2,ITIs(k))];
- else
- rew = [rew zeros(2,3) [0;0] zeros(2,ITIs(k))];
- end
- end
- end
- os = [cue; rew]; % observations
- if isempty(P)
- P = randn(ndim,ndim+4) + iniPmean; % initialization of the weights on the RNN units (combined A and B)
- end
- w = zeros(ns,ndim);
- wsd = zeros(nd,ns); % ones(nd,ns)/ns; %rand(nd,ns); % connections from striatum to dopamine neurons
- bdc = rand(ndim,nd)/nd; % fixed random connections from dopamine neurons to RNN units
- bds = rand(ns,nd)/nd; % fixed random connections from dopamine neurons to striatal neurons
- if brdmode == 1
- brd = rand(nd,2); % fixed random connections from the two rewards to dopamine neurons
- elseif brdmode == 2
- if nd ~= 2
- error('number of DA units (nd) must be 2 for brdmode=2');
- else
- brd = [1 0; 0 1];
- end
- elseif brdmode == 3
- if nd ~= 3
- error('number of DA units (nd) must be 3 for brdmode=3');
- else
- brd = [1 0; 0 1; 0.5 0.5];
- end
- else
- error('brdmode must be 1, 2, or 3');
- end
- ef = [0 0]; % exit flag
- tmpc101t = find(sum(cue,1),101,'first'); cue101time = tmpc101t(end); % time-step of cue at 101st trial
- tmax = 4*nt + sum(ITIs);
- CDtoS = NaN(2,tmax); % [Cortex_to_Striatum; Dopamine_to_Striatum]: sum of these (total inputs to striatum) is a proxy of fMRI BOLD signal at striatum
- Vs = NaN(ns,tmax);
- VDs = NaN(nd,tmax);
- ds = NaN(nd,tmax);
- Vs(:,1) = zeros(ns,1);
- xs = NaN(ndim,tmax);
- xs(:,1) = rand(ndim,1);
- wbrs = NaN(2,tmax); % correlation coefficient of [w&bdc; wsd&bds]
- meanPs = NaN(1,tmax); % time-development of mean(mean(P))
- meanPs(1) = mean(mean(P));
- for t = 2:tmax
- vec1 = reshape((wsd*w)',nd*ndim,1);
- vec2 = reshape(bdc,nd*ndim,1);
- [r,p] = corrcoef(vec1,vec2); wbrs(1,t) = r(1,2);
- vec1 = reshape(wsd',nd*ns,1);
- vec2 = reshape(bds,nd*ns,1);
- [r,p] = corrcoef(vec1,vec2); wbrs(2,t) = r(1,2);
- xs(:,t) = 1./(1 + exp(-P*[xs(:,t-1);os(:,t-1)]));
- Vs(:,t) = w * xs(:,t);
- if t >= 3
- VDs(:,t) = wsd * Vs(:,t);
- ds(:,t-1) = brd*rew(:,t-1) + g*wsd*Vs(:,t) - wsd*Vs(:,t-1);
- CDtoS(1,t) = sum(Vs(:,t)); % Cortex_to_Striatum
- CDtoS(2,t) = sum(bds*ds(:,t-1)); % Dopamine_to_Striatum
- wnew = max(0, w + (abase/(ndim/12))*(bds*ds(:,t-1))*xs(:,t-1)');
- wsdnew = max(0, wsd + (abase/(ndim/12))*ds(:,t-1)*Vs(:,t-1)');
- if modeltype == 1
- %P = P + abase*ds(t-1)*(xs(:,t-1).*(1-xs(:,t-1)).*b')*[xs(:,t-2);os(:,t-2)]';
- y = (xs(:,t-1)<0.5).*xs(:,t-1).*(1-xs(:,t-1)) + (xs(:,t-1)>=0.5)*0.5*0.5;
- P = P + abase*(y.*(bdc*ds(:,t-1)))*[xs(:,t-2);os(:,t-2)]';
- end
- w = wnew;
- wsd = wsdnew;
- end
- meanPs(t) = mean(mean(P));
- w = w * (1 - drs(1));
- wsd = wsd * (1 - drs(2));
- if (t>=cue101time) && (max(max(w))==0)
- ef(1) = 1;
- end
- if (t>=cue101time) && (max(max(wsd))==0)
- ef(2) = 1;
- end
- end
- if plotyn
- F = figure;
- A = axes;
- hold on;
- set(F,'Position',[65 75 600 780]);
- subplot(6,1,1); hold on; plot(VDs(1,end-50:end),'r'); plot(VDs(2,end-50:end),'b');
- if nd >= 3
- plot(VDs(3,end-50:end),'g');
- end
- subplot(6,1,2); hold on; plot(cue(1,end-50:end),'r:'); plot(rew(1,end-50:end),'r'); plot(cue(2,end-50:end),'b:'); plot(rew(2,end-50:end),'b');
- subplot(6,1,3); hold on; plot(CDtoS(1,end-50:end),'m'); plot(CDtoS(2,end-50:end),'c'); plot(sum(CDtoS(:,end-50:end),1),'k');
- subplot(6,1,4); hold on; plot([1:tmax],wbrs(1,:));
- subplot(6,1,5); hold on; plot([1:tmax],wbrs(2,:));
- %subplot(6,1,5); hold on; plot([1:ns],bds(:,1),'r'); plot([1:ns],wsd(1,:),'b'); plot([ns+1:2*ns],bds(:,2),'m'); plot([ns+1:2*ns],wsd(2,:),'c');
- subplot(6,1,6); hold on; plot([1:tmax],meanPs);
- end
OVRNNRB1probrew.m at commit 81d0d33, no license · at the source
Overview
- Physical and Health Education, Graduate School of Education, The University of Tokyo, Tokyo 113-0033, Japan
- International Research Center for Neurointelligence (WPI-IRCN), The University of Tokyo, Tokyo 113-0033, Japan
- Division of Computational Science and Technology, School of Electrical Engineering and Computer Science, KTH Royal Institute of Technology, Stockholm SE-100 44, Sweden
- Science for Life Laboratory, Solna 17121, Sweden
Abstract
Mesocorticostriatal dopamine projections are crucial for value learning, motivational control, and cognitive functions. However, while dopamine's role in value learning as reward-prediction-error (RPE) has been much understood, precise roles in motivational control and cognitive functions remain more elusive. Computationally, this corresponds to that while the operation of mesostriatal dopamine could be minimally described by simple reinforcement learning (RL) models with one-dimensional reward/
Reproduced under the paper's license (CC BY), from the paper cited above.
Repository
Its files are read in the Code ↔ Paper reader above, with 2 matches between paragraphs and lines of code.
kenjimoritagithub/OVRNN-RB
81d0d336ef92ccd1557322262ec7f6031adcf3e8, 5 March 2026Availability: 1 check, the latest on 29 September 2026: the link answers
- 29 September 2026: the link answers
22 files
- FRRB1.m, MATLAB, 136 lines
- OVRNNRB1.m, MATLAB, 114 lines
- OVRNNRB1SDfixed.m, MATLAB, 114 lines
- OVRNNRB1SDplamani.m, MATLAB, 135 lines
- OVRNNRB1c.m, MATLAB, 117 lines
- OVRNNRB1mani.m, MATLAB, 129 lines
- OVRNNRB1probrew.m, MATLAB, 128 lines, 2 matches
- OVRNNRB1s2d2fixed.m, MATLAB, 122 lines
- OVRNNRB1wdev.m, MATLAB, 126 lines
- OVRNNRBdemo.m, MATLAB, 261 lines
- makeFig10.m, MATLAB, 257 lines
- makeFig11.m, MATLAB, 163 lines
- makeFig12.m, MATLAB, 141 lines
- makeFig13.m, MATLAB, 278 lines
- makeFig3-5.m, MATLAB, 307 lines
- makeFig6.m, MATLAB, 46 lines
- makeFig7.m, MATLAB, 111 lines
- makeFig8.m, MATLAB, 115 lines
- makeFig9.m, MATLAB, 290 lines
- meansemNaNomit.m, MATLAB, 10 lines
- setrandoms.m, MATLAB, 9 lines
- readme.txt, Text, 23 lines
Code accessibility
The codes for simulations and analyses are available at GitHub: https://
Reproduced under the paper's license (CC BY), from the paper cited above.
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:
- 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 21 scripts, each with its path and the digest of its content;
- 2 matches between paragraphs of the paper and lines of the code (method lexical-v1);
- 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
No dataset and no data link were found in the paper.
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, 29 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 2 authors, 6 keywords, 11 MeSH terms, 2 funders, 121 references.
Cite
This paper
Morita, K., & Kumar, A. (2026). Mesocorticostriatal Reinforcement Learning of State Representation and Value with Implications for the Mechanisms of Schizophrenia. The Journal of neuroscience : the official journal of the Society for Neuroscience, 46(16), e1762252026. https://
BibTeX
@article{morita2026mesoc
author = {Morita, Kenji and Kumar, Arvind},
title = {{Mesocorticostriatal Reinforcement Learning of State Representation and Value with Implications for the Mechanisms of Schizophrenia}},
journal = {The Journal of neuroscience : the official journal of the Society for Neuroscience},
year = {2026},
month = apr,
volume = {46},
number = {16},
pages = {e1762252026},
publisher = {Society for Neuroscience},
issn = {0270-6474},
doi = {10.1523/
url = {https://
pmid = {41775629},
pmcid = {PMC13244656}
}
RIS
TY - JOUR
AU - Morita, Kenji
AU - Kumar, Arvind
TI - Mesocorticostriatal Reinforcement Learning of State Representation and Value with Implications for the Mechanisms of Schizophrenia
T2 - The Journal of neuroscience : the official journal of the Society for Neuroscience
J2 - J Neurosci
PY - 2026
DA - 2026/
VL - 46
IS - 16
SP - e1762252026
SN - 0270-6474
PB - Society for Neuroscience
DO - 10.1523/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1523/
"type": "article-journal",
"title": "Mesocorticostriatal Reinforcement Learning of State Representation and Value with Implications for the Mechanisms of Schizophrenia",
"container-title": "The Journal of neuroscience : the official journal of the Society for Neuroscience",
"author": [
{
"family": "Morita",
"given": "Kenji"
},
{
"family": "Kumar",
"given": "Arvind"
}
],
"container-title-short":
"volume": "46",
"issue": "16",
"page": "e1762252026",
"DOI": "10.1523/
"PMID": "41775629",
"PMCID": "PMC13244656",
"ISSN": "0270-6474",
"publisher": "Society for Neuroscience",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
22
]
]
}
}
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.7554/elife.104101 [code]
- Online reinforcement learning of state representation in recurrent network supported by the power of random feedback and biological constraints.Journal: eLifeIn common: 20 references, author Kenji Morita
- [2] doi:10.1038/s41467-026-73994-1 [code]
- Prediction error correlates in the striosome-dopamine circuit emerge from information gain.Journal: Nature communicationsIn common: 14 references
- [3] doi:10.1038/s41593-025-02104-z [code]
- Estrogen modulates reward prediction errors and reinforcement learning.Journal: Nature neuroscienceIn common: 10 references
- [4] doi:10.1371/journal.pcbi.1012580 [code]
- Reward Bases: A simple mechanism for adaptive acquisition of multiple reward types.Journal: PLoS computational biologyIn common: 9 references
- [5] doi:10.1523/eneuro.0422-22.2023 [code]
- Opponent Learning with Different Representations in the Cortico-Basal Ganglia Circuits.Journal: eNeuroIn common: 4 references, author Kenji Morita
- [6] doi:10.1038/s41467-024-55504-3 [code]
- Generalized cue reactivity in rat dopamine neurons after opioids.Journal: Nature communicationsIn common: 8 references
- [7] doi:10.1523/eneuro.0431-23.2024 [code]
- The Computational Bottleneck of Basal Ganglia Output (and What to Do About it).Journal: eNeuroIn common: 7 references
- [8] doi:10.1038/s41562-025-02340-0 [code]
- A habit and working memory model as an alternative account of human reward-based learning.Journal: Nature human behaviourIn common: 7 references
- [9] doi:10.1016/j.isci.2026.117130 [code]
- Region-specific weighting of sensory intensity and reward prediction error by dopamine signals.Journal: iScienceIn common: 7 references
- [10] doi:10.1038/s41593-023-01542-x [code]
- Dopamine-independent effect of rewards on choices through hidden-state inference.Journal: Nature neuroscienceIn common: 7 references
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: 1 repository of the authors' code, each at its verified commit and with its license, 21 scripts, and 2 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:5b9e8b73c95b005a…
Add the badge to the code's README
If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.
Markdown
<!-- oscr-badge:start -->
[](https://openscicode.org/badge/doi/10.1523/jneurosci.1762-25.2026)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1523/jneurosci.1762-25.2026.svg
:target: https://openscicode.org/badge/doi/10.1523/jneurosci.1762-25.2026
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1523/jneurosci.1762-25.2026"><img src="https://openscicode.org/badge/doi/10.1523/jneurosci.1762-25.2026.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".
If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge page.
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: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.
Report a mismatch between the code and the paper · Report a code error (signed in)
Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.
Report a reproduction failure (signed in)
Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
