Neural competition between prefrontal and auditory cortex constrains novel sound strategy learning.
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
MATLAB · 247 lines · 4.7 KB · CC-BY-4.0
- %%
- %Evaluate Model A--use cum all perf -independent 2 loops, with random noise
- %plot fit performance
- load mod2lp_control_result
- parm_results2=parm_results;
- parm_results2(:,2:4)=parm_results2(:,2:4)/10e7;
- rmsd_all=[];
- for qq=1:size(parm_results,1)
- qq=parm_results(qq,1);
- param=parm_results(qq,2:5);
- Disc=parm_results(qq,end);
- load model_chem_control.mat
- ResModData=modeldata{qq,1};
- side=ResModData(:,1);
- choice=ResModData(:,2);
- perf=ResModData(:,3);
- % weight
- delta1=param(1);
- spw=param(2);
- delta2=param(3);
- aw=0.001;
- side=ResModData(:,1);
- choice=ResModData(:,2);
- perf=ResModData(:,3);
- % resall=ResModData(:,4);
- [perf_s awhist spwhist choice_s]=model_act_2lp_rand(delta1,delta2,aw,spw,side);
- sidediff=diff(side);
- row=find(sidediff~=0);
- audperf=perf(row+1);
- audperf_s=perf_s(row+1);
- row=find(sidediff==0);
- ssperf=perf(row+1);
- ssperf_s=perf_s(row+1);
- figure;
- subplot(2,2,1)
- hold;
- plot(cumsum(perf_s),'r-','linewidth',3)
- plot(cumsum(perf),'b-','linewidth',3)
- sd=(cumsum(perf_s)-cumsum(perf)).^ 2 ;
- rmsd1= sqrt( sum(sd) / numel(sd) ) ;
- subplot(2,2,2)
- hold;
- plot(cumsum(audperf_s),'r-','linewidth',3)
- plot(cumsum(audperf),'b-','linewidth',3)
- sd=(cumsum(audperf_s)-cumsum(audperf)).^ 2 ;
- rmsd2= sqrt( sum(sd) / numel(sd) ) ;
- subplot(2,2,3)
- hold;
- plot(cumsum(ssperf_s),'r-','linewidth',3)
- plot(cumsum(ssperf),'b-','linewidth',3)
- sd=(cumsum(ssperf_s)-cumsum(ssperf)).^ 2 ;
- rmsd3= sqrt( sum(sd) / numel(sd) ) ;
- rmsd_all=[rmsd_all;[rmsd1 rmsd2 rmsd3]];
- end
- rmsd_all1=rmsd_all;
- %%
- %%
- %Evaluate Model B--only auditory weight, all perf
- %plot fit performance
- load mod_audonly_control_result
- parm_results2=parm_results;
- parm_results2(:,2:4)=parm_results2(:,2:4)/10e7;
- rmsd_all=[];
- for qq=1:size(parm_results,1)
- qq=parm_results(qq,1);
- param=parm_results(qq,2:5);
- Disc=parm_results(qq,end);
- load model_chem_control.mat
- ResModData=modeldata{qq,1};
- side=ResModData(:,1);
- choice=ResModData(:,2);
- perf=ResModData(:,3);
- delta1=param(1);
- aw=param(2);
- delta2=param(3);
- % aw=0.001;
- side=ResModData(:,1);
- choice=ResModData(:,2);
- perf=ResModData(:,3);
- % resall=ResModData(:,4);
- [perf_s awhist choice_s phist]=model_act_onlyaud(delta1,delta2,aw,side);
- sidediff=diff(side);
- row=find(sidediff~=0);
- audperf=perf(row+1);
- audperf_s=perf_s(row+1);
- row=find(sidediff==0);
- ssperf=perf(row+1);
- ssperf_s=perf_s(row+1);
- % figure
- % plot(perf_s)
- % figure
- % plot(phist)
- %
- figure;
- subplot(2,2,1)
- hold;
- plot(cumsum(perf_s),'r-','linewidth',3)
- plot(cumsum(perf),'b-','linewidth',3)
- sd=(cumsum(perf_s)-cumsum(perf)).^ 2 ;
- rmsd1= sqrt( sum(sd) / numel(sd) ) ;
- subplot(2,2,2)
- hold;
- plot(cumsum(audperf_s),'r-','linewidth',3)
- plot(cumsum(audperf),'b-','linewidth',3)
- sd=(cumsum(audperf_s)-cumsum(audperf)).^ 2 ;
- rmsd2= sqrt( sum(sd) / numel(sd) ) ;
- subplot(2,2,3)
- hold;
- plot(cumsum(ssperf_s),'r-','linewidth',3)
- plot(cumsum(ssperf),'b-','linewidth',3)
- sd=(cumsum(ssperf_s)-cumsum(ssperf)).^ 2 ;
- rmsd3= sqrt( sum(sd) / numel(sd) ) ;
- rmsd_all=[rmsd_all;[rmsd1 rmsd2 rmsd3]];
- end
- rmsd_all2=rmsd_all;
- %%
- %%
- %%
- %Evaluate Model C--only auditory weight, all perf,+ aversion to sound
- %plot fit performance
- load mod_audonly_aversion_control_result
- parm_results2=parm_results;
- parm_results2(:,2:4)=parm_results2(:,2:4)/10e7;
- rmsd_all=[];
- for qq=1:size(parm_results,1)
- qq=parm_results(qq,1);
- param=parm_results(qq,2:5);
- Disc=parm_results(qq,end);
- load model_chem_control.mat
- ResModData=modeldata{qq,1};
- side=ResModData(:,1);
- choice=ResModData(:,2);
- perf=ResModData(:,3);
- delta1=param(1);
- aw=param(2);
- delta2=param(3);
- aversion=param(4);
- % aw=0.001;
- side=ResModData(:,1);
- choice=ResModData(:,2);
- perf=ResModData(:,3);
- % resall=ResModData(:,4);
- [perf_s awhist choice_s]=model_act_onlyaud_aversion(delta1,delta2,aw,aversion,side);
- sidediff=diff(side);
- row=find(sidediff~=0);
- audperf=perf(row+1);
- audperf_s=perf_s(row+1);
- row=find(sidediff==0);
- ssperf=perf(row+1);
- ssperf_s=perf_s(row+1);
- figure;
- subplot(2,2,1)
- hold;
- plot(cumsum(perf_s),'r-','linewidth',3)
- plot(cumsum(perf),'b-','linewidth',3)
- sd=(cumsum(perf_s)-cumsum(perf)).^ 2 ;
- rmsd1= sqrt( sum(sd) / numel(sd) ) ;
- subplot(2,2,2)
- hold;
- plot(cumsum(audperf_s),'r-','linewidth',3)
- plot(cumsum(audperf),'b-','linewidth',3)
- sd=(cumsum(audperf_s)-cumsum(audperf)).^ 2 ;
- rmsd2= sqrt( sum(sd) / numel(sd) ) ;
- subplot(2,2,3)
- hold;
- plot(cumsum(ssperf_s),'r-','linewidth',3)
- plot(cumsum(ssperf),'b-','linewidth',3)
- sd=(cumsum(ssperf_s)-cumsum(ssperf)).^ 2 ;
- rmsd3= sqrt( sum(sd) / numel(sd) ) ;
- rmsd_all=[rmsd_all;[rmsd1 rmsd2 rmsd3]];
- end
- rmsd_all3=rmsd_all;
- % save('control_three_model_results')
Eva_chemo_control_mod.m, under CC-BY-4.0 · at the source
Overview
Abstract
In nature, animals learn to replace predisposed behaviors with new strategies, yet the neural constraints on these transitions are unclear. Using an ethological search task in mice, we reveal medial prefrontal cortical (mPFC) neural correlates of a predisposed win-stay strategy that decays as animals learn to follow a more reliable auditory cue. Auditory cortex (ACx) activity predicts correct trial-by-trial sound-guided search, even on day one of training. This prognostic coding strengthens with learning and emerges from suppressed spiking, most pronounced in neurons tuned laterally to the cue’s spectrum. Chemogenetic disruption reveals ACx contributions to improving performance. Unexpectedly, the global silencing of mPFC accelerates successful usage of sound-tracking, contrary to its canonical role in flexible or stimulus-dependent behavior. Instead, a decentralized multiexpert competition model best predicts behavior and causal perturbations. These findings suggest that mPFC implements a default strategy based on prior knowledge, which actively hinders the expression of more efficient strategies.
Reproduced under the paper's license (CC BY-NC), from the paper cited above.
Repositories
Its files are read in the Code ↔ Paper reader above.
Zenodo 18947789
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
- 27 September 2026: the link answers (HTTP 200)
24 files
- Model_code_data/
Eva_chemo_control_mod.m , MATLAB, 247 lines - Model_code_data/
Fit_Model_chemo_control. , MATLAB, 188 linesm - Model_code_data/
Model_Figure_final.m , MATLAB, 1,090 lines - Model_code_data/
Model_oneloop.m , MATLAB, 54 lines - Model_code_data/
example_model_pfc_inact_ , MATLAB, 302 linesre_act.m - Model_code_data/
example_model_pfc_inact_ , MATLAB, 458 linesre_act_2.m - Model_code_data/
fminsearchbnd.m , MATLAB, 282 lines - Model_code_data/
model_CNO.m , MATLAB, 71 lines - Model_code_data/
model_act_2lp_rand.m , MATLAB, 92 lines - Model_code_data/
model_act_2lp_rand_v2.m , MATLAB, 95 lines - Model_code_data/
model_act_CNO_2lp_rand.m , MATLAB, 93 lines - Model_code_data/
model_act_oneloop.m , MATLAB, 112 lines - Model_code_data/
model_act_onlyaud.m , MATLAB, 96 lines - Model_code_data/
model_act_onlyaud_aversi , MATLAB, 91 lineson.m - Model_code_data/
sim_CNO_56percent.m , MATLAB, 132 lines - Model_code_data/
sim_CNO_mult.m , MATLAB, 263 lines - Model_code_data/
sim_cno_ac_learn_boot2.m , MATLAB, 84 lines - Model_code_data/
sim_post_learn_boot.m , MATLAB, 45 lines - Model_code_data/
wrap_2lp_rand.m , MATLAB, 80 lines - Model_code_data/
wrap_2lp_rand_v2.m , MATLAB, 84 lines - Model_code_data/
wrap_onlyaud.m , MATLAB, 85 lines - Model_code_data/
wrap_onlyaud_aversion.m , MATLAB, 84 lines - Model_code_data/
wraponeloop.m , MATLAB, 81 lines - README.md, Text, 2 lines
rcbliu/prefrontal-and-auditory-cortex-compete-in-learning
79eb28fdd6a7b5e969ef56d89c96e1326497bb62, 10 March 2026Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
24 files
- Model_code_data/
Eva_chemo_control_mod.m , MATLAB, 247 lines - Model_code_data/
Fit_Model_chemo_control. , MATLAB, 188 linesm - Model_code_data/
Model_Figure_final.m , MATLAB, 1,090 lines - Model_code_data/
Model_oneloop.m , MATLAB, 54 lines - Model_code_data/
example_model_pfc_inact_ , MATLAB, 302 linesre_act.m - Model_code_data/
example_model_pfc_inact_ , MATLAB, 458 linesre_act_2.m - Model_code_data/
fminsearchbnd.m , MATLAB, 282 lines - Model_code_data/
model_CNO.m , MATLAB, 71 lines - Model_code_data/
model_act_2lp_rand.m , MATLAB, 92 lines - Model_code_data/
model_act_2lp_rand_v2.m , MATLAB, 95 lines - Model_code_data/
model_act_CNO_2lp_rand.m , MATLAB, 93 lines - Model_code_data/
model_act_oneloop.m , MATLAB, 112 lines - Model_code_data/
model_act_onlyaud.m , MATLAB, 96 lines - Model_code_data/
model_act_onlyaud_aversi , MATLAB, 91 lineson.m - Model_code_data/
sim_CNO_56percent.m , MATLAB, 132 lines - Model_code_data/
sim_CNO_mult.m , MATLAB, 263 lines - Model_code_data/
sim_cno_ac_learn_boot2.m , MATLAB, 84 lines - Model_code_data/
sim_post_learn_boot.m , MATLAB, 45 lines - Model_code_data/
wrap_2lp_rand.m , MATLAB, 80 lines - Model_code_data/
wrap_2lp_rand_v2.m , MATLAB, 84 lines - Model_code_data/
wrap_onlyaud.m , MATLAB, 85 lines - Model_code_data/
wrap_onlyaud_aversion.m , MATLAB, 84 lines - Model_code_data/
wraponeloop.m , MATLAB, 81 lines - README.md, Text, 2 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;
- 46 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
No dataset and no data link were found in the paper.
Data, code, and materials availability
All data and code needed to evaluate and reproduce the conclusions in the paper are present in the paper and/
Reproduced under the paper's license (CC BY-NC), 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, 7 authors, 10 MeSH terms, 2 funders, 72 references.
Cite
This paper
Lu, K., Wong, K. T., Yang, C. J., Zhou, L. N., Shi, Y. T., Costello, M. L., & Liu, R. C. (2026). Neural competition between prefrontal and auditory cortex constrains novel sound strategy learning. Science advances, 12(32), eaeb3005. https://
BibTeX
@article{lu2026neural,
author = {Lu, Kai and Wong, Kelvin T and Yang, Chengcheng J and Zhou, Lin N and Shi, Yike T and Costello, Maya L and Liu, Robert C},
title = {{Neural competition between prefrontal and auditory cortex constrains novel sound strategy learning}},
journal = {Science advances},
year = {2026},
month = aug,
volume = {12},
number = {32},
pages = {eaeb3005},
publisher = {American Association for the Advancement of Science},
issn = {2375-2548},
doi = {10.1126/
url = {https://
pmid = {42566525},
pmcid = {PMC13450224}
}
RIS
TY - JOUR
AU - Lu, Kai
AU - Wong, Kelvin T
AU - Yang, Chengcheng J
AU - Zhou, Lin N
AU - Shi, Yike T
AU - Costello, Maya L
AU - Liu, Robert C
TI - Neural competition between prefrontal and auditory cortex constrains novel sound strategy learning
T2 - Science advances
J2 - Sci Adv
PY - 2026
DA - 2026/
VL - 12
IS - 32
SP - eaeb3005
SN - 2375-2548
PB - American Association for the Advancement of Science
DO - 10.1126/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1126/
"type": "article-journal",
"title": "Neural competition between prefrontal and auditory cortex constrains novel sound strategy learning",
"container-title": "Science advances",
"author": [
{
"family": "Lu",
"given": "Kai"
},
{
"family": "Wong",
"given": "Kelvin T"
},
{
"family": "Yang",
"given": "Chengcheng J"
},
{
"family": "Zhou",
"given": "Lin N"
},
{
"family": "Shi",
"given": "Yike T"
},
{
"family": "Costello",
"given": "Maya L"
},
{
"family": "Liu",
"given": "Robert C"
}
],
"container-title-short":
"volume": "12",
"issue": "32",
"page": "eaeb3005",
"DOI": "10.1126/
"PMID": "42566525",
"PMCID": "PMC13450224",
"ISSN": "2375-2548",
"publisher": "American Association for the Advancement of Science",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
8,
7
]
]
}
}
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.106032 [code]
- Neural signatures of model-based and model-free reinforcement learning across prefrontal cortex and striatum.Journal: eLifeIn common: 6 references
- [2] doi:10.1016/j.celrep.2026.117454 [code]
- Model-based and model-free valuation signals in the human brain vary markedly in relation to individual differences in behavioral control.Journal: Cell reportsIn common: Statistics and Machine Learning Toolbox, 5 references
- [3] doi:10.1126/sciadv.aef3715
- A cortical output channel for perceptual categorization.Journal: Science advancesIn common: mouse, 5 references
- [4] doi:10.1038/s41467-026-75349-2 [code]
- Neuronal dynamics, timing, and flow of sensory and choice-related information in auditory-prefrontal circuitry.Journal: Nature communicationsIn common: Statistics and Machine Learning Toolbox, 4 references
- [5] doi:10.1371/journal.pbio.3003767 [code]
- Ultrasound neuromodulation reveals distinct roles of the dorsal anterior cingulate cortex and anterior insula in learning.Journal: PLoS biologyIn common: Statistics and Machine Learning Toolbox, 3 references
- [6] doi:10.1038/s41467-026-76104-3 [code]
- Sensorimotor remapping drives task specialization in prefrontal cortex.Journal: Nature communicationsIn common: 3 references
- [7] doi:10.7554/elife.104684 [code]
- Regime shift detection and neurocomputational substrates for under and overreactions to change.Journal: eLifeIn common: Statistics and Machine Learning Toolbox, 2 references
- [8] doi:10.1038/s42003-026-10246-4 [code]
- Cortical representation of pitch perception in mice.Journal: Communications biologyIn common: mouse, 2 references
- [9] doi:10.7554/elife.105774 [code]
- Anterior cingulate cortex monitors action state and action content in complex associative learning.Journal: eLifeIn common: mouse, 2 references
- [10] doi:10.1523/jneurosci.0925-26.2026
- Brain Architecture of Punishment Learning.Journal: The Journal of neuroscience : the official journal of the Society for NeuroscienceIn common: mouse, 2 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: 2 repositories of the authors' code, each at its verified commit and with its license, 46 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:17c77b94e51cb66f…
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.
