Natural language processing captures memory content associated with shared neural patterns at encoding and retrieval.
2 blocks of code here have 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 3 matches
- [1] § Methods › Intersubject pattern similarity analysis ↔ ISPS_slope_plots.Rmd, lines 29 to 71 · score 0.68 · PreC, dmPFC, vmPFC, MTL, SMC, ATL · block
oscr:b:EW25V252NW83J-K· Report a mismatch - [2] § Results › Relationship between topic similarity and intersubject pattern similarity ↔ ISPS_slope_plots.Rmd, lines 29 to 71 · score 0.63 · PreC, dmPFC, vmPFC, MTL, SMC, ATL · block
oscr:b:EW25V252NW83J-K· Report a mismatch - [3] § Results › Relationship between topic similarity and intersubject pattern similarity ↔ ISPS_slope_plots.Rmd, lines 81 to 121 · score 0.61 · PreC, dmPFC, vmPFC, MTL, SMC, ATL · block
oscr:b:S4KA8T5D426KJ-B· 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
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 = {Springer Science+Business Media},
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 - Springer Science+Business Media
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": "Springer Science+Business Media",
"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.1038/s41467-023-36805-5 [code]
- Flexible reuse of cortico-hippocampal representations during encoding and recall of naturalistic events.Journal: Nature communicationsIn common: cognitive, 10 references, author Charan Ranganath
- [2] doi:10.1523/eneuro.0146-26.2026 [code]
- Remembered Event Features Shape Default Mode Network Engagement during Emotional Memory Recall.Journal: eNeuroIn common: ggseg, emmeans, lmerTest, 3 other tools, cognitive, 7 references
- [3] doi:10.1093/cercor/bhad106 [code]
- Individual differences in neural event segmentation of continuous experiences.Journal: Cerebral cortex (New York, N.Y. : 1991)In common: emmeans, lmerTest, lme4, 2 other tools, 9 references
- [4] 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
- [5] doi:10.1038/s41467-025-61807-w [code]
- Neural dynamics of spontaneous memory recall and future thinking in the continuous flow of thoughts.Journal: Nature communicationsIn common: 10 references
- [6] doi:10.1523/eneuro.0385-25.2025
- Neural Signatures of Engagement and Event Segmentation during Story Listening in Background Noise.Journal: eNeuroIn common: cognitive, 9 references
- [7] 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
- [8] doi:10.1162/imag_a_00134 [code]
- Broad brain networks support curiosity-motivated incidental learning of naturalistic dynamic stimuli with and without monetary incentives.Journal: Imaging neuroscience (Cambridge, Mass.)In common: lme4, ggplot2, tidyverse, 7 references
- [9] doi:10.1101/2024.12.03.626542 [code]
- Inter-subject correlations and their behavioral associations vary across movies: Implications for generalizabilityJournal: bioRxiv (preprint)In common: lme4, ggplot2, tidyverse, 7 references
- [10] doi:10.1038/s44271-024-00088-3 [code]
- Loneliness corresponds with neural representations and language use that deviate from shared cultural perceptions.Journal: Communications psychologyIn common: lmerTest, lme4, tidyverse, 6 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:bf5210957e25bde7…
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.1038/s44271-026-00481-0)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1038/s44271-026-00481-0.svg
:target: https://openscicode.org/badge/doi/10.1038/s44271-026-00481-0
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s44271-026-00481-0"><img src="https://openscicode.org/badge/doi/10.1038/s44271-026-00481-0.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.
