The hippocampal CA3 area implements sequence learning of discontinuous episodes.
The 2 matches
- [1] § Methods › Simulation methods ↔ encoding.m, lines 51–99 · score 0.70 · exponential decay, synaptic delay, reset, arrive, pre, post
- [2] § Results › Simulation of sequence learning in the presence of intervening place cell firings ↔ showFigS4.m, lines 11–17 · score 0.52 · reward areas, place field, S4B, MF
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 · 237 lines · 7.1 KB · no license · 1 match
- clear
- set(0, 'DefaultFigureWindowStyle', 'docked');
- readprm;
- prepenc;
- initenc;
- %%
- %************************************************
- % Encoding Simulation Main
- %************************************************
- tic
- for t = 2:encnt
- % read izp from t and TppM (=Tmidpp)
- tdiff = Tmi; %Tp =Tm = interval btwn episodes
- for idx=1:nzm
- newdiff = abs(t-TppM(idx));
- if tdiff > newdiff
- tdiff = newdiff;
- izp = idx;
- end
- end
- %% take care fired neurons
- jf = find(v > 30); %just firing
- %if ~isempty(jf)
- nfire = length(jf);
- % append the list of newly firing neurons to [firings]
- firings = [firings; t*ones(nfire,1), jf]; %for storing the whole firing history, X(justfired,t) = 1;
- ejf = jf(jf < Ne+1); ijf = jf(jf > Ne);
- v(ejf) = Vrete; v(ijf) = Vreti;
- if bLIF == 1
- dvth(jf) = dVth;
- else
- uiz(ejf)=uiz(ejf)+ude; uiz(ijf)=uiz(ijf)+udi;
- end
- % ion conc
- dca(ejf) = 1;
- %end
- dzn = bzn.*(tmf<TmfZn);
- bzn(dzn==1) = 0; % bzn = 0 (zn in cleft disappear) if dzn ==1
- ca = ca + dca; zn = zn + dzn;
- %% A/C STDP
- stdpac = circshift(stdpac, [0 -1]); %left-shift of columns
- stdpac(:,Dlye+1) = dsac*stdpac(:,Dlye); %exponential decay of stdp
- stdpac(ejf,Dlye+1) = Adwac; %reset stdp of fired neurons
- dsw = zeros(Ne, Ne); %reset of dsw (= delta of synaptic weight)
- % STDP forward: ejf as a post -----------------------------
- nejf = length(ejf);
- if nejf > 0 %isempty(ejf)
- for idx=1:nejf
- dsw(ejf(idx),:) = stdpac(:,1)'; %forward synapse pre->ejf
- end
- end
- % consider synaptic delay ---------------------------
- pf = firings(firings(:,1)==t-Dlye,2); %pf = prevfired
- epfdx = pf < Ne+1;
- epf = pf(epfdx); %epf = exc_prevfired
- pf = firings(firings(:,1)==t-Dlyi,2);
- ipfdx = pf > Ne;
- ipf = pf(ipfdx); %ipf = inh_prevfired
- % STDP reverse: epf as a pre (epf AP just arrived)-------
- nepf = length(epf);
- if nepf > 0 %isempty(ejf)
- for idx=1:nepf
- dsw(:,epf(idx)) = dsw(:,epf(idx))+stdpac(:,end); %reverse synapse epf->pre; Note that end = Dlye+1
- end
- end
- dsw = 1 + dsw*nRepeat;
- Jee = min(Jee.*dsw, Gacmax);
- WJee = Jee.*Wee;
- WJe = [WJee; WJie];
- % update Gsyn (ge & gi)
- ge = dke*ge;
- ge(:,epf) = ge(:,epf) + WJe(:,epf)*AchFactor;
- gesum(:,1) = sum(ge,2); % row sum of ge
- ipf = ipf - Ne;
- gi = dki*gi;
- gi(:, ipf) = gi(:, ipf) + WJi(:, ipf);
- gisum(:,1) = sum(gi,2); %gi = row sum of gi1
- %% PP synapse stdp ----------------------------------
- %decay of stdp
- stdppa = stdppa*dsppa; %stdp pp -> firing
- stdppb = stdppb*dsppb; %stdp firing -> pp
- if ~isempty(ejf)
- Jpp(ejf,izp) = Jpp(ejf,izp).*(stdppa(ejf)+1);
- stdppb(ejf) = Bdwpp;
- end
- ZppOn = find(Zpp(:,t));
- ZeppOn = find(Zpp(1:Ne,t));
- ZippOn = find(Zpp(Ne+1:Nt,t));
- if ~isempty(ZeppOn)
- Jpp(ZeppOn,izp) = Jpp(ZeppOn,izp).*(stdppb(ZeppOn)+1);
- stdppa(ZeppOn) = Adwpp;
- end
- Jpp = min(Gppmax, Jpp);
- %% update Gsyn (gmf and gpp)
- % gmf = mf input = zeros(Nt,1) -------------------
- gmf = gmf*dkmf;
- ZmfeOn = find(Zmf(1:Ne,t) == 1);
- ZmfiOn = find(Zmf(Ne+1:Nt,t) == 1)+Ne;
- gmf(ZmfeOn) = gmf(ZmfeOn) + Gmfe;
- gmf(ZmfiOn) = gmf(ZmfiOn) + Gmfi;
- bzn(ZmfeOn) = 1;
- tmf(ZmfeOn) = 0;
- gpp = gpp*dkpp;
- gpp(ZeppOn) = gpp(ZeppOn) + Jpp(ZeppOn,izp);
- gpp(ZippOn) = gpp(ZippOn) + Gppi;
- %% D-spike current
- % d-spike occurs if PP input arrives and IE>0.3
- Ids = zeros(Nt,1); %dvds = zeros(Nt,1);
- preT = max(1, t-150); % D spike occurs when more than 2 pp inputs arrive within 60 ms
- ZdsOn = find((IE(:,t-1)>0.5).*Zpp(1:Ne,t).*(sum(Zpp(1:Ne, preT:t), 2)>2).*(Idsidx>Rfrds)); % ZdsOn = ZppOn(IE(ZppOn, t)>0.5);
- Idsidx(ZdsOn) = 1;
- % dt should not be larger than tauds1(=0.1). To circumvent it, I repeat Ids calculations by ndtds times (= dt/dtds)
- for tdx=1:ndtds
- Idsidx = min(Idsidx+1, ntids);
- Ids(1:Ne,1) = Ids(1:Ne,1) + IdsTmplt(Idsidx); %Ids = IdsTmplt(Idsidx); % Ids = somatic current inj d/t dendritic spike
- % dvds = dvds + dtds*Ids/cm;
- end
- Ids = Ids/ndtds;
- % dsrec(:,t) = Ids; %dvds;
- %% calc vm
- if bLIF == 1
- Isyn(:,t) = (gesum + gmf + gpp + Go).*(v-Ere) + gisum.*(v-Eri) - Ids; % nS*mV = pA
- v = v - Km.*((v - Vleak) + Rm.* Isyn(:,t)); % + dvds; % GOhm*pA = mV
- else % izh
- %{
- dv/dt [mV/ms]= Gs[nS] dE[mV] / Cm[pF] = [A/F] = [V/s] = [mV/ms]
- Since Cm [pF] = Tm [ms] Gm [nS],
- dv/dt [mV/ms] = (Gs/Gm) dE(mV) / Tm (ms)
- For izh, Cm is equivalent to Tm, and cminv = 1/Tm = 0.01
- %}
- Isyn(:,t) = cminv.*((gesum + gmf + gpp).*(v-Ere) + gisum.*(v-Eri)-Ids); % nS*mV / pF = pA/pF = V/s = mV/ms
- v=v+dthalf*(((0.04*v+5).*v+140-uiz)- Isyn(:,t));
- v=v+dthalf*(((0.04*v+5).*v+140-uiz)- Isyn(:,t));
- uiz=uiz+dt*aiz.*(biz.*v-uiz);
- %v = max(Vmin, v); %to suppress rebound AP firing by inh inputs
- end
- %% take care impending fire
- if bLIF == 1
- dvth = dvth.*dkrfp;
- v(v > (Vth+dvth) ) = 35;
- else
- v(v > Vth) = 35;
- end
- venc(:,t) = v;
- %% update IE & ions
- bIE(((ca>CaTh1).*(zn>ZnTh))==1) = 1;
- bIE(((ca>CaTh2).*(zn<ZnTh))==1) = 0;
- cIEdx = find(bIE==1);
- dIEdx = find(bIE==0);
- IE(cIEdx,t) = IE(cIEdx,t-1)*dincIE_ + dincIE;
- IE(dIEdx,t) = IE(dIEdx,t-1)*dkIE;
- ca = ca*dkca;
- zn = zn*dkzn;
- tmf = tmf + 1;
- dca(:) = 0;
- dzn(:) = 0;
- carec(:, t) = ca;
- znrec(:, t) = zn; %IErec(:,t) = IE;
- end
- toc
- beep;
- WJee_ = WJee;
- homeo;
- %or Rwmax=1/1.4; homeo2
- %% display
- Jpp = min(Gppmax, Jpp); %Jpp = max(0, Jpp);
- if app ~= 1
- JPP_ = zeros(Ne, nzm);
- for zpdx=1:nzm
- Zon = Zpcell{zpdx,1};
- JPP_(Zon,zpdx) = Jpp(Zon, zpdx);
- end
- Jpp = JPP_;
- clear JPP_;
- end
- figure(5); clf; image(Jpp, 'CdataMapping', 'scaled'); colorbar; caxis([0,Gppmax]); title('Jpp'); %ylim([0 Nam*nzm])
- showWJ %fig6
- showEnc %fig3,4
- ya = [1,Ne]; xa = [0, enctime];
- figure(7); clf; image(xa, ya, carec, 'CdataMapping', 'scaled'); title('Ca');
- colorbar; dcm = datacursormode(gcf); set(dcm,'DisplayStyle','window')
- xlabel("time (ms)"); ylabel("i.d. of neurons");
- figure(8); clf; image(xa, ya, znrec, 'CdataMapping', 'scaled'); title('Zn');
- colorbar;dcm = datacursormode(gcf); set(dcm,'DisplayStyle','window')
- xlabel("time (ms)"); ylabel("i.d. of neurons");
- figure(9); clf; image(xa, ya, IE, 'CdataMapping', 'scaled'); title('IE');
- colorbar; dcm = datacursormode(gcf); set(dcm,'DisplayStyle','window')
- xlabel("time (ms)"); ylabel("i.d. of neurons");
encoding.m at commit db17e7b, no license · at the source
Overview
- Department of Physiology, Seoul National University College of Medicine,Seoul, Republic of Korea
- Department of Brain and Cognitive Science, Seoul National University College of Natural Science,Seoul, Republic of Korea
- Department of Brain Sciences, DGIST,Daegu, Republic of Korea
- Beth Israel Deaconess Medical Center, Howard Hughes Medical Institute,Boston, MA USA
Abstract
The abstract is not reproduced here: the paper's license (CC BY-NC-ND) does not allow it. Read it in the paper, at the publisher or on Europe PMC.
Repository
Its files are read in the Code ↔ Paper reader above, with 2 matches between paragraphs and lines of code.
bobazok/Sequence-learning-in-the-hippocampal-CA3
db17e7bafd4748edb4d7b49e9eaff18a081184d4, 27 March 2026Availability: 1 check, the latest on 28 September 2026: the link answers
- 28 September 2026: the link answers
20 files
- CellPrms.m, MATLAB, 45 lines
- batch.m, MATLAB, 22 lines
- encoding.m, MATLAB, 237 lines, 1 match
- homeo.m, MATLAB, 36 lines
- initenc.m, MATLAB, 52 lines
- patterns.m, MATLAB, 225 lines
- prepenc.m, MATLAB, 33 lines
- preprcl.m, MATLAB, 54 lines
- rclRaster.m, MATLAB, 121 lines
- rclRaster4Fig.m, MATLAB, 113 lines
- readprm.m, MATLAB, 197 lines
- recall.m, MATLAB, 135 lines
- showEnc.m, MATLAB, 22 lines
- showFig7.m, MATLAB, 192 lines
- showFigS4.m, MATLAB, 194 lines, 1 match
- showRcl.m, MATLAB, 9 lines
- showVm.m, MATLAB, 16 lines
- showWJ.m, MATLAB, 20 lines
- showinput.m, MATLAB, 48 lines
- README.md, Text, 13 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:
- 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 19 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.
Code and data availability statement
The paper has a code and data availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:
- it points to the authors' code: bobazok/
Sequence-learning-in-the -hippocampal-CA3
Read it in the paper: doi.org/10.1038/s42003-026-10064-8.
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, 28 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 10 authors, 2 keywords, 8 MeSH terms, 1 funder, 69 references.
Cite
This paper
Eom, K., Kim, Y., Lee, H.-R., Lee, Y., Han, Y.-E., Shin, J., Lee, J. S., Hyun, J. H., Park, A. J., & Lee, S.-H. (2026). The hippocampal CA3 area implements sequence learning of discontinuous episodes. Communications biology, 9(1), 1046. https://
BibTeX
@article{eom2026hippocam
author = {Eom, Kisang and Kim, Yujin and Lee, Hyoung-Ro and Lee, Yolguk and Han, Young-Eun and Shin, Jiwoo and Lee, Jae Sung and Hyun, Jung Ho and Park, Alan J. and Lee, Suk-Ho},
title = {{The hippocampal CA3 area implements sequence learning of discontinuous episodes}},
journal = {Communications biology},
year = {2026},
month = may,
volume = {9},
number = {1},
pages = {1046},
publisher = {Nature Publishing Group},
issn = {2399-3642},
doi = {10.1038/
url = {https://
pmid = {42115760},
pmcid = {PMC13443506}
}
RIS
TY - JOUR
AU - Eom, Kisang
AU - Kim, Yujin
AU - Lee, Hyoung-Ro
AU - Lee, Yolguk
AU - Han, Young-Eun
AU - Shin, Jiwoo
AU - Lee, Jae Sung
AU - Hyun, Jung Ho
AU - Park, Alan J.
AU - Lee, Suk-Ho
TI - The hippocampal CA3 area implements sequence learning of discontinuous episodes
T2 - Communications biology
J2 - Commun Biol
PY - 2026
DA - 2026/
VL - 9
IS - 1
SP - 1046
SN - 2399-3642
PB - Nature Publishing Group
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"type": "article-journal",
"title": "The hippocampal CA3 area implements sequence learning of discontinuous episodes",
"container-title": "Communications biology",
"author": [
{
"family": "Eom",
"given": "Kisang"
},
{
"family": "Kim",
"given": "Yujin"
},
{
"family": "Lee",
"given": "Hyoung-Ro"
},
{
"family": "Lee",
"given": "Yolguk"
},
{
"family": "Han",
"given": "Young-Eun"
},
{
"family": "Shin",
"given": "Jiwoo"
},
{
"family": "Lee",
"given": "Jae Sung"
},
{
"family": "Hyun",
"given": "Jung Ho"
},
{
"family": "Park",
"given": "Alan J."
},
{
"family": "Lee",
"given": "Suk-Ho"
}
],
"container-title-short":
"volume": "9",
"issue": "1",
"page": "1046",
"DOI": "10.1038/
"PMID": "42115760",
"PMCID": "PMC13443506",
"ISSN": "2399-3642",
"publisher": "Nature Publishing Group",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
11
]
]
}
}
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.1371/journal.pcbi.1014438 [code]
- GATE: Adaptive learning with working memory by information gating in multi-lamellar hippocampal formation.Journal: PLoS computational biologyIn common: 6 references
- [2] doi:10.1038/s41467-026-71914-x [code]
- Developmental emergence of sparse and structured synaptic connectivity in the hippocampal CA3 memory circuit.Journal: Nature communicationsIn common: mouse, 5 references
- [3] doi:10.1038/s41593-026-02231-1 [code]
- The prefrontal cortex controls memory organization in the hippocampus.Journal: Nature neuroscienceIn common: mouse, 4 references
- [4] doi:10.1073/pnas.2603114123 [code]
- The human hippocampus can pattern separate memories by meaning.Journal: Proceedings of the National Academy of Sciences of the United States of AmericaIn common: 4 references
- [5] doi:10.1038/s41586-026-10907-8 [code]
- Procognitive restoration of PV neuron plasticity in neurodevelopmental disorders.Journal: NatureIn common: author Jung Ho Hyun
- [6] doi:10.1038/s41586-026-10537-0 [code]
- Sparse-to-dense coding transformation between hippocampal areas CA3 and CA1.Journal: NatureIn common: 3 references
- [7] doi:10.1038/s41593-026-02357-2 [code]
- Experience reorganizes content-specific memory traces in macaques.Journal: Nature neuroscienceIn common: 3 references
- [8] doi:10.1016/j.celrep.2026.117793 [code]
- Clustered inputs engage dendritic nonlinearities and calcium signaling to support efficient place-field formation in CA1 pyramidal neurons.Journal: Cell reportsIn common: computational modeling (no new data), cellular / molecular, 2 references
- [9] doi:10.7554/elife.107905 [code]
- Adult-neurogenesis allows for representational stability and flexibility in early olfactory system.Journal: eLifeIn common: computational modeling (no new data), 2 references
- [10] doi:10.1371/journal.pcbi.1014575 [code]
- Remembering the "when": Hebbian memory models for the time of past events.Journal: PLoS computational biologyIn common: computational modeling (no new data), 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: 1 repository of the authors' code, each at its verified commit and with its license, 19 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:f62d5dede0d7de62…
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.
