Natural language processing captures memory content associated with shared neural patterns at encoding and retrieval.
The 3 matches
- [1] § Methods › Intersubject pattern similarity analysis ↔ ISPS_slope_plots.Rmd, lines 29–71 · score 0.68 · PreC, dmPFC, vmPFC, MTL, SMC, ATL
- [2] § Results › Relationship between topic similarity and intersubject pattern similarity ↔ ISPS_slope_plots.Rmd, lines 29–71 · score 0.63 · PreC, dmPFC, vmPFC, MTL, SMC, ATL
- [3] § Results › Relationship between topic similarity and intersubject pattern similarity ↔ ISPS_slope_plots.Rmd, lines 81–121 · score 0.61 · PreC, dmPFC, vmPFC, MTL, SMC, ATL
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
R Markdown · 128 lines · 3.9 KB · no license · 3 matches
- ---
- title: "R Notebook"
- output: html_notebook
- ---
- # plot model estimates
- ```{r}
- library(tidyverse)
- library(ggseg)
- library(ggplot2)
- library(corrplot)
- library(dplyr)
- library(lme4)
- library(lmerTest)
- library(emmeans)
- library(sjPlot) # For extracting confidence intervals
- library(ggeffects)
- ```
- #encoding
- ## data to load
- ```{r}
- results <- read_csv("viewing_slopes_April2026.csv")
- ```
- ## plot
- ```{r}
- roi_list <-c('PMC',
- 'dmPFC',
- 'ATL',
- 'vmPFC',
- 'MTL',
- 'PreC',
- 'vLP',
- 'dLP',
- 'aLP',
- 'SMC')
- colors <- c("#63aff9","#ff0000","#ff7700","#f5c042","#2c9741","#8adA99","#003300","#3c1d8a","#a61712","#60ebeb")
- p<-ggplot(results,aes( y = term_beta, x = fct_relevel(file,"vmPFC","PMC","dLP","aLP","dmPFC","ATL","MTL","PreC", "vLP", "SMC"), color = file)) +
- geom_point(size =5) +
- geom_errorbar(aes(ymin =term_beta-term_se, ymax = term_beta+term_se), width = 0,linewidth=2) +
- geom_hline(yintercept = 0, linetype ="dashed", color = "gray40") +
- theme_minimal() +
- ylim(-0.003, .014)+
- scale_color_manual(values =setNames(colors, results$file))+
- labs(title = "Encoding ISPS",size = 40)+
- theme(
- plot.title=element_text(size = 30, hjust =0.5),
- plot.margin = unit(c(1,.5,.5,.5),"cm"),
- panel.grid.major.x = element_blank(),
- #panel.grid.major.y = element_blank(),
- panel.grid.minor.y = element_blank(),
- panel.border = element_blank(),
- axis.title.y = element_text(size = 30),
- axis.title.x = element_blank(),
- axis.line = element_line(color = "black"),
- axis.ticks = element_line(color = "black"),
- axis.text = element_text(size = 25),
- axis.text.x = element_text(angle=90,size = 18),
- legend.position = "none") +
- ylab("Model Estimate")
- ggsave('encodingISPS_topicSim_estimates_v6.png', width = 4.5,height = 6, units = "in", dpi = 300)
- ```
- # recall
- ## data to load
- ```{r}
- results <- read_csv("recall_slopes_April2026.csv")
- ```
- ## plot
- ```{r}
- roi_list <-c('PMC',
- 'dmPFC',
- 'ATL',
- 'vmPFC',
- 'MTL',
- 'PreC',
- 'vLP',
- 'dLP',
- 'aLP',
- 'SMC')
- colors <- c("#63aff9","#ff0000","#ff7700","#f5c042","#2c9741","#8adA99","#003300","#3c1d8a","#a61712","#60ebeb")
- p<-ggplot(results,aes( y = term_beta, x = fct_relevel(file,"vmPFC","PMC","dLP","aLP","dmPFC","ATL","MTL","PreC", "vLP", "SMC"), color = file)) +
- geom_point(size =5) +
- geom_errorbar(aes(ymin =term_beta-term_se, ymax = term_beta+term_se), width = 0,linewidth=2) +
- geom_hline(yintercept = 0, linetype ="dashed", color = "gray40") +
- theme_minimal() +
- scale_color_manual(values =setNames(colors, results$file))+
- labs(title = "Recall ISPS")+
- ylim(-0.003, .014)+
- theme(
- plot.title= element_text(size = 30, hjust = 0.5),
- plot.margin = unit(c(1,.5,.5,.5),"cm"),
- panel.grid.major.x = element_blank(),
- #panel.grid.major.y = element_blank(),
- panel.grid.minor.y = element_blank(),
- panel.border = element_blank(),
- axis.title.y = element_text(size = 30),
- axis.title.x = element_blank(),
- axis.line = element_line(color = "black"),
- axis.ticks = element_line(color = "black"),
- axis.text = element_text(size = 25),
- axis.text.x = element_text(angle=90,size = 18),
- legend.position = "none")+
- ylab("Model Estimate")
- ggsave('recallISPS_topicSim_estimates_v6.png', width = 4.5,height = 6, units = "in", dpi = 300)
- ```
- Add a new chunk by clicking the *Insert Chunk* button on the toolbar or by pressing *Cmd+Option+I*.
- When you save the notebook, an HTML file containing the code and output will be saved alongside it (click the *Preview* button or press *Cmd+Shift+K* to preview the HTML file).
- The preview shows you a rendered HTML copy of the contents of the editor. Consequently, unlike *Knit*, *Preview* does not run any R code chunks. Instead, the output of the chunk when it was last run in the editor is displayed.
ISPS_slope_plots.Rmd at commit e86dfaf, no license · at the source
Overview
- University of Toronto, Department of Psychology, Toronto, Canada
- McGill University, Department of Neurology & Neurosurgery, Montreal, Canada
- University of California, Davis, Center for Neuroscience, Davis, USA
- McGill University, McConnell Brain Imaging Centre, Montreal, Canada
Abstract
People can experience the same event yet form distinct memories shaped by individual interpretations. Prior research shows that multivariate activity patterns in the Default Mode Network (DMN) are correlated across individuals during shared experiences, suggesting a role in representing high-level event features. However, it remains unclear whether these shared neural patterns reflect similarity in subsequent memory content. Here, we examined whether memory similarity correlates with intersubject spatial patterns in the DMN using a pre-existing dataset. Twenty-four individuals watched and recounted two cartoon movies during fMRI scanning. Using topic modeling, we transformed verbal recall into vectors of latent topics to quantify memory similarity across participants. We found that greater similarity in recalled content was associated with stronger shared activation patterns at encoding and retrieval, particularly in the posterior medial, medial prefrontal and anterior temporal cortices. These findings highlight the utility of natural language processing tools in linking memory representations to brain activity and underscore the DMN’s role in encoding, interpreting, and recalling complex event features.
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 3 matches between paragraphs and lines of code.
ajbarn/recall_similarity_ISPS
e86dfaf6dd6a2df4e9b2b94d32edd70978aab285, 6 May 2026Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
3 files
- ISPS_slope_plots.Rmd, R, 128 lines, 3 matches
- wholebrainplots.Rmd, R, 282 lines
- README.md, Text, 1 line
Code availability
The code used to create figures is available via 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;
- 2 scripts, each with its path and the digest of its content;
- 3 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.
Data Availability Statement
The data used to create figures is available via GitHub (https://
The code used to create figures is available via GitHub (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, 4 authors, 2 keywords, 3 funders, 55 references.
Cite
This paper
Kim, J.-K., Koh, J., Ranganath, C., & Barnett, A. J. (2026). Natural language processing captures memory content associated with shared neural patterns at encoding and retrieval. Communications psychology, 4(1), 124. https://
BibTeX
@article{kim2026natural,
author = {Kim, June-Kyo and Koh, Joshua and Ranganath, Charan and Barnett, Alexander J},
title = {{Natural language processing captures memory content associated with shared neural patterns at encoding and retrieval}},
journal = {Communications psychology},
year = {2026},
month = jun,
volume = {4},
number = {1},
pages = {124},
publisher = {Nature Publishing Group},
issn = {2731-9121},
doi = {10.1038/
url = {https://
pmid = {42243459},
pmcid = {PMC13547101}
}
RIS
TY - JOUR
AU - Kim, June-Kyo
AU - Koh, Joshua
AU - Ranganath, Charan
AU - Barnett, Alexander J
TI - Natural language processing captures memory content associated with shared neural patterns at encoding and retrieval
T2 - Communications psychology
J2 - Commun Psychol
PY - 2026
DA - 2026/
VL - 4
IS - 1
SP - 124
SN - 2731-9121
PB - Nature Publishing Group
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"type": "article-journal",
"title": "Natural language processing captures memory content associated with shared neural patterns at encoding and retrieval",
"container-title": "Communications psychology",
"author": [
{
"family": "Kim",
"given": "June-Kyo"
},
{
"family": "Koh",
"given": "Joshua"
},
{
"family": "Ranganath",
"given": "Charan"
},
{
"family": "Barnett",
"given": "Alexander J"
}
],
"container-title-short":
"volume": "4",
"issue": "1",
"page": "124",
"DOI": "10.1038/
"PMID": "42243459",
"PMCID": "PMC13547101",
"ISSN": "2731-9121",
"publisher": "Nature Publishing Group",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
4
]
]
}
}
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.1073/pnas.2512071123 [code]
- Narrative "twist" shifts within-individual neural representations of dissociable story features.Journal: Proceedings of the National Academy of Sciences of the United States of AmericaIn common: lmerTest, lme4, tidyverse, cognitive, 9 references
- [2] doi:10.1371/journal.pbio.3003886 [code]
- Shared memories of event details in the human brain are altered by misinformation and test expectations.Journal: PLoS biologyIn common: lme4, cognitive, 7 references
- [3] doi:10.1038/s41467-026-71428-6 [code]
- Binding items to contexts through conjunctive neural representations with the method of loci.Journal: Nature communicationsIn common: lmerTest, lme4, ggplot2, 1 other tool, 4 references
- [4] doi:10.1038/s41467-026-71151-2 [code]
- Common and distinct neural correlates of social interaction processing and theory of mind in narratives.Journal: Nature communicationsIn common: cognitive, 7 references
- [5] doi:10.1038/s41398-026-04010-9 [code]
- Bullying victimization and brain development: a longitudinal structural magnetic resonance imaging study from adolescence to early adulthood.Journal: Translational psychiatryIn common: ggseg, emmeans, lmerTest, 3 other tools
- [6] doi:10.1073/pnas.2530482123 [code]
- The detection of episodic memory in others biases social choice.Journal: Proceedings of the National Academy of Sciences of the United States of AmericaIn common: lmerTest, lme4, ggplot2, 1 other tool, cognitive, 2 references
- [7] doi:10.1002/hbm.70605 [code]
- BrainEnrich: Revealing Biological Insights for Imaging-Derived Phenotypes Through Transcriptomic Enrichment.Journal: Human brain mappingIn common: ggseg, emmeans, lmerTest, 2 other tools, 1 reference
- [8] doi:10.1162/imag.a.1235 [code]
- Intracranial volume: To adjust or not to adjust? It is not a matter of if, but how.Journal: Imaging neuroscience (Cambridge, Mass.)In common: ggseg, lmerTest, lme4, 2 other tools, 1 reference
- [9] doi:10.1371/journal.pbio.3003666 [code]
- Emotion regulation success involves systematic gradient-based reconfigurations of large-scale activation patterns in the human brain.Journal: PLoS biologyIn common: emmeans, lmerTest, lme4, 2 other tools, cognitive, 1 reference
- [10] doi:10.1038/s41467-026-73914-3 [code]
- Cortical reinstatement of causally related events sparks narrative insights by updating neural representation patterns.Journal: Nature communicationsIn common: lmerTest, lme4, cognitive, 3 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, 2 scripts, and 3 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:a9caf55d8db98085…
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.
