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.

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 2 matches · 1 of them tie a paragraph to a whole file without 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 · block oscr:b:1H1GD9HEDQR7Q-S · Report a mismatch
  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 to 211 · score 0.52 · central OFC, neural RDM, ROI, ANOVA, RSA · block oscr:b:ZAJ3NM54KZYFP-K · 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

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 (how the code is found and 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.1162/opmi_a_00139 [code]
Two Determinants of Dynamic Adaptive Learning for Magnitudes and Probabilities.
Journal: Open mind : discoveries in cognitive science
In common: pandas, SciPy, Matplotlib, 1 other tool, cognitive, 9 references
[2] doi:10.1038/s42003-025-07588-w [code]
The medial and lateral orbitofrontal cortex jointly represent the cognitive map of task space.
Journal: Communications biology
In common: seaborn, pandas, SciPy, 2 other tools, cognitive, 8 references
[3] doi:10.1038/s41467-024-45127-z [code]
Grid-like entorhinal representation of an abstract value space during prospective decision making.
Journal: Nature communications
In common: statsmodels, seaborn, pandas, 2 other tools, cognitive, 4 references, author Nicolas W Schuck
[4] doi:10.1038/s41467-025-64424-9 [code]
Neurocomputational basis of learning when choices simultaneously affect both oneself and others.
Journal: Nature communications
In common: Stan, SPM, statsmodels, 5 other tools, 5 references
[5] doi:10.3758/s13415-023-01088-2 [code]
Aberrant uncertainty processing is linked to psychotic-like experiences, autistic traits, and is reflected in pupil dilation during probabilistic learning.
Journal: Cognitive, affective & behavioral neuroscience
In common: Stan, cognitive, 8 references
[6] doi:10.1371/journal.pbio.3003174 [code]
Neural evidence that humans reuse strategies to solve new tasks.
Journal: PLoS biology
In common: statsmodels, seaborn, pandas, 3 other tools, 3 references, author Nicolas W Schuck
[7] doi:10.1073/pnas.2506530122 [code]
Neural and computational evidence for a predictive learning account of the testing effect.
Journal: Proceedings of the National Academy of Sciences of the United States of America
In common: SPM, seaborn, pandas, 3 other tools, cognitive, 2 references, author Tom Verguts
[8] doi:10.1038/s41598-024-64240-z [code]
Uncertainty of treatment efficacy moderates placebo effects on reinforcement learning.
Journal: Scientific reports
In common: ArviZ, Stan, pandas, 3 other tools, 5 references
[9] doi:10.7554/elife.101413 [code]
Methamphetamine-induced adaptation of learning rate dynamics depend on baseline performance.
Journal: eLife
In common: cognitive, 8 references
[10] doi:10.1038/s41593-023-01283-x [code]
Hippocampal spatio-predictive cognitive maps adaptively guide reward generalization.
Journal: Nature neuroscience
In common: SPM, seaborn, pandas, 3 other tools, cognitive, 2 references, author Nicolas W Schuck

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.

Add the badge to the code's README

OSCR: the badge of this paper

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 -->
[![OSCR](https://openscicode.org/badge/doi/10.7554/elife.108223.svg)](https://openscicode.org/badge/doi/10.7554/elife.108223)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.7554/elife.108223.svg
   :target: https://openscicode.org/badge/doi/10.7554/elife.108223
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.7554/elife.108223"><img src="https://openscicode.org/badge/doi/10.7554/elife.108223.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->

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)

Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.