OSCR

Two time scales of adaptation in human learning rates.

Code ↔ Paper

2 matches between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

The 2 matches · 1 of them tie a paragraph to a whole file, not to given lines: a weak match, whose lines are not tinted
  1. [1] § Methods › fMRI data analyses ↔ Experiment 2/Neuroimaging Analyses/1_Data_Smoothing.m, the whole file · a weak match · score 0.52 · global signal, SPM, fMRI
  2. [2] § Results › Experiment 2 › fMRI results › Dissociating the representation of spatial location and learning rate during island presentation ↔ Experiment 2/Neuroimaging Analyses/10_ROI_RSA.py, lines 122–211 · score 0.52 · central OFC, neural RDM, ROI, ANOVA, RSA

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 · 76 lines · 2.3 KB · no license · 1 match

  1. spm('defaults', 'fmri');
  2. spm_jobman('initcfg');
  3. subs = [1:11 13:19 21:25 27:51 53];
  4. nsubs = length(subs);
  5. nruns = 4;
  6. jobs = cell(nsubs, 1);
  7. for sub = subs
  8. mkdir(sprintf('C:/Users/.../Experiment 2/Analyses/first_level/sub-%d', sub))
  9. end
  10. for sub = subs
  11. dir = sprintf('C:/Users/...Experiment 2/Data/sub-%d/', sub);
  12. confounds_of_interest = {'^rot_[xyz]$', '^trans_[xyz]$', '^global_signal$'};
  13. for run = 1:nruns
  14. content = readtable([dir sprintf('sub-%d_task-ep2dboldrun%d_desc-confounds_timeseries.tsv', sub, run)], "FileType","text",'Delimiter', '\t');
  15. confounds_names = fieldnames(content);
  16. confounds_to_keep = regexp(confounds_names, strjoin(confounds_of_interest, '|'));
  17. confounds_to_keep = ~cellfun('isempty', confounds_to_keep);
  18. confounds_names = confounds_names(confounds_to_keep);
  19. for j = 1:numel(confounds_names)
  20. names{j} = confounds_names{j};
  21. R(:, j) = content.(confounds_names{j});
  22. end
  23. R = R(6:end,:);
  24. output_file_name = sprintf('sub-%d_task-ep2dboldrun%d_desc-confounds.txt', sub, run);
  25. output_file = array2table(R, 'VariableNames', names);
  26. writetable(output_file, [dir, output_file_name], 'WriteVariableNames', false);
  27. save([dir, sprintf('sub-%d_task-ep2dboldrun%d_desc-confounds.mat', sub, run)], 'R', 'names')
  28. clear R;
  29. clear names;
  30. clear output_file;
  31. end
  32. end
  33. for sub = subs
  34. input_dir = sprintf('C:/Users/.../Experiment 2/Data/sub-%d/func/', sub);
  35. output_dir = sprintf('C:/Users/.../Experiment 2/Analyses/first_level/sub-%d/', sub);
  36. for run = 1:nruns
  37. cd(input_dir);
  38. gunzip(sprintf('sub-%d_task-ep2dboldrun%d_space-MNI152NLin2009cAsym_desc-preproc_bold.nii.gz', sub, run), output_dir);
  39. end
  40. end
  41. for sub = subs
  42. dir = sprintf('C:/Users/...Experiment 2/Analyses/first_level/sub-%d', sub);
  43. files = cellstr(spm_select('FPList', dir, '\.nii$'));
  44. clear matlabbatch
  45. matlabbatch{1}.spm.spatial.smooth.data = files;
  46. matlabbatch{1}.spm.spatial.smooth.fwhm = [5 5 5];
  47. matlabbatch{1}.spm.spatial.smooth.dtype = 0;
  48. matlabbatch{1}.spm.spatial.smooth.im = 0;
  49. matlabbatch{1}.spm.spatial.smooth.prefix = 'smoothed_';
  50. spm_jobman('run', matlabbatch)
  51. end

1_Data_Smoothing.m, no license · at the source

Overview

Authors: Jonas Simoens1, Senne Braem1, Pieter Verbeke1, Haopeng Chen1, Stefania Mattioni1, Mengqiao Chai1, Nicolas W Schuck2, Tom Verguts1
  1. Department of Experimental Psychology, Ghent University, Ghent, Belgium
  2. Institute of Psychology, Universität Hamburg, Hamburg, Germany
Institutions: Ghent University (Belgium); Universität Hamburg (Germany)
Journal: eLife, volume 14, article RP108223
Dates: published online 22 July 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.7554/elife.108223 · PMID 42484629 · PMCID PMC13391084 · OpenAlex W4414756727
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: human (organism), cognitive (subfield)
Methods: Statistics, Connectivity, fMRI & imaging, Smoothing, state filtering, decompositions, Machine learning
Keywords: Human
MeSH: Adaptation, Physiological*, Learning*, Prefrontal Cortex*, Adult, Female, Humans, Magnetic Resonance Imaging, Male, Time Factors, Young Adult (* major topic)
Topic: Child and Animal Learning Development (Developmental and Educational Psychology, Psychology), according to OpenAlex
Funding: European Research Council (10.3030/852669, 852669, 10.3030/852570); Fonds Wetenschappelijk Onderzoek (G010319N, 11K5121N)
Citations: cited by 1 paper (Europe PMC); 63 references in the paper

Abstract

Different situations may require radically different information updating speeds (i.e., learning rates). Some demand fast learning rates while others benefit from using slower ones. To adjust learning rates, decision makers could rely on either global, meta-learned differences between environments, or faster but transient adaptations to locally experienced prediction errors. Here, we introduce a new paradigm that allows researchers to measure and empirically disentangle both forms of adaptation. Participants performed short blocks of trials of a continuous estimation task – fishing for crabs – on six different islands that required different optimal (initial) learning rates. Across two experiments, participants showed fast adaptations in learning rate within a block. Critically, participants also learned global environment-specific learning rates over the time course of the experiment, as evidenced by computational modelling and by the learning rates calculated on the very first trial when revisiting an environment (i.e., unconfounded by transient adaptations). Using representational similarity analyses of fMRI data, we found that differences in voxel pattern responses in the central orbitofrontal cortex (OFC) correlated with differences in these global environment-specific learning rates. Our findings show that humans adapt learning rates at both slow and fast time scales, and that the central OFC may support meta-learning by representing environment-specific task-relevant features such as learning rates.

Reproduced under the paper's license (CC BY), from the paper cited above.

Repositories

Its files are read in the Code ↔ Paper reader above, with 2 matches between paragraphs and lines of code.

OSF qft2p

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Size: 0 files, 0 scripts
Software Heritage: not checked
Found in: the text, “Participants”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
  • 27 September 2026: the link answers (HTTP 200)
At the source: osf.io/qft2p

OSF be4td

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Languages: Python (17), MATLAB (5)
Size: 139 files, 22 scripts
Software Heritage: not checked
Found in: “Data availability”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: pandas (17 files), NumPy (15 files), SciPy (6 files), Matplotlib (5 files), seaborn (5 files), SPM (5 files), Stan (4 files), ArviZ (3 files), statsmodels (3 files)
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
  • 27 September 2026: the link answers (HTTP 200)
22 files
At the source: osf.io/be4td/

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;
  • 22 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.

Data availability

All behavioural and neuroimaging data as well as the code for the analyses of the data presented in this paper are publicly available at https://osf.io/be4td/.

The following dataset was generated:

Simoens J. 2022. The environment-specific regulation of learning rate in continuous choice. Open Science Framework. be4td

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, pages, dates, 8 authors, 1 keyword, 10 MeSH terms, 2 funders, 60 references.

Cite

This paper

Simoens, J., Braem, S., Verbeke, P., Chen, H., Mattioni, S., Chai, M., Schuck, N. W., & Verguts, T. (2026). Two time scales of adaptation in human learning rates. eLife, 14, RP108223. https://doi.org/10.7554/elife.108223

BibTeX

@article{simoens2026two,
author = {Simoens, Jonas and Braem, Senne and Verbeke, Pieter and Chen, Haopeng and Mattioni, Stefania and Chai, Mengqiao and Schuck, Nicolas W and Verguts, Tom},
title = {{Two time scales of adaptation in human learning rates}},
journal = {eLife},
year = {2026},
month = jul,
volume = {14},
pages = {RP108223},
publisher = {eLife Sciences Publications, Ltd},
issn = {2050-084X},
doi = {10.7554/elife.108223},
url = {https://doi.org/10.7554/elife.108223},
pmid = {42484629},
pmcid = {PMC13391084}
}

RIS

TY - JOUR
AU - Simoens, Jonas
AU - Braem, Senne
AU - Verbeke, Pieter
AU - Chen, Haopeng
AU - Mattioni, Stefania
AU - Chai, Mengqiao
AU - Schuck, Nicolas W
AU - Verguts, Tom
TI - Two time scales of adaptation in human learning rates
T2 - eLife
J2 - Elife
PY - 2026
DA - 2026/07/22
VL - 14
SP - RP108223
SN - 2050-084X
PB - eLife Sciences Publications, Ltd
DO - 10.7554/elife.108223
UR - https://doi.org/10.7554/elife.108223
LA - en
ER -

CSL-JSON

{
"id": "10.7554/elife.108223",
"type": "article-journal",
"title": "Two time scales of adaptation in human learning rates",
"container-title": "eLife",
"author": [
{
"family": "Simoens",
"given": "Jonas"
},
{
"family": "Braem",
"given": "Senne"
},
{
"family": "Verbeke",
"given": "Pieter"
},
{
"family": "Chen",
"given": "Haopeng"
},
{
"family": "Mattioni",
"given": "Stefania"
},
{
"family": "Chai",
"given": "Mengqiao"
},
{
"family": "Schuck",
"given": "Nicolas W"
},
{
"family": "Verguts",
"given": "Tom"
}
],
"container-title-short": "Elife",
"volume": "14",
"page": "RP108223",
"DOI": "10.7554/elife.108223",
"PMID": "42484629",
"PMCID": "PMC13391084",
"ISSN": "2050-084X",
"publisher": "eLife Sciences Publications, Ltd",
"URL": "https://doi.org/10.7554/elife.108223",
"language": "en",
"issued": {
"date-parts": [
[
2026,
7,
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.1073/pnas.2536535123 [code]
Orbitofrontal noradrenaline supports adaptive learning-rate adjustment in probabilistic reversal learning.
Journal: Proceedings of the National Academy of Sciences of the United States of America
In common: pandas, SciPy, Matplotlib, 1 other tool, cognitive, 6 references
[2] doi:10.1038/s42003-026-10957-8 [code]
Brain defence by the extracellular matrix protein Cochlin.
Journal: Communications biology
In common: ArviZ, Stan, SPM, 6 other tools
[3] doi:10.1371/journal.pcbi.1014340 [code]
pyhgf: A neural network library for predictive coding.
Journal: PLoS computational biology
In common: ArviZ, seaborn, pandas, 3 other tools, 3 references
[4] doi:10.1038/s41467-026-73865-9 [code]
Histamine shapes the neurocomputational dynamics of human learning.
Journal: Nature communications
In common: ArviZ, seaborn, pandas, 3 other tools, cognitive, 2 references
[5] doi:10.1186/s13229-026-00730-3 [code]
Predicting emotional valence in autism: a preregistered study in the Bayesian Brain framework.
Journal: Molecular autism
In common: Stan, statsmodels, pandas, 3 other tools, cognitive, 2 references
[6] doi:10.1038/s42003-026-09794-6 [code]
The role of dorsal anterior cingulate cortex in dynamic attitude changes in naturalistic settings.
Journal: Communications biology
In common: statsmodels, seaborn, pandas, 3 other tools, 3 references
[7] doi:10.7554/elife.100605 [code]
Age-related changes in ‘cortical’ 1/f dynamics are linked to cardiac activity
Journal: n/a
In common: ArviZ, statsmodels, seaborn, 4 other tools, 1 reference
[8] doi:10.1162/netn.a.544 [code]
Brain network reconfiguration during reward prediction error processing.
Journal: Network neuroscience (Cambridge, Mass.)
In common: statsmodels, seaborn, pandas, 3 other tools, cognitive, 3 references
[9] doi:10.1371/journal.pbio.3003824 [code]
Flexible goal learning involves coordinated population activity in dCA1 and medial orbitofrontal cortex.
Journal: PLoS biology
In common: pandas, SciPy, Matplotlib, 1 other tool, 4 references
[10] doi:10.1371/journal.pbio.3003922 [code]
Competing value signals impair reward-learning via dopaminergic mechanisms and increase exploration.
Journal: PLoS biology
In common: Stan, cognitive, 4 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.

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.