OSCR

Investigating the test-retest reliability and behavioral correlates of pupil responses in the n-back task.

Overview

Authors: Gábor László Bényei1,2, Péter Pajkossy1,3
  1. Department of Cognitive Science, Faculty of Natural Sciences, Budapest University of Technology and Economics,Műegyetem Rkp. 3., Budapest, 1111 Hungary
  2. Neurocognitive Research Centre, Nyírő Gyula National Institute of Psychiatry and Addictology, Lehel U. 59., Budapest, 1135 Hungary
  3. Cognitive Medicine Research Group, Competence Centre for Neurocybernetics of the Life Sciences Cluster of the Centre of Excellence for Interdisciplinary Research, Development and Innovation of the University of Szeged, University of Szeged,Szeged, Hungary
Journal: Scientific reports, volume 16, issue 1, article 17032
Dates: received 9 August 2025; accepted 27 March 2026; published online 11 April 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1038/s41598-026-46731-3 · PMID 41965881 · PMCID PMC13230787 · OpenAlex W7153552397
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: other (modality), human (organism), cognitive (subfield)
Keywords: Pupil size, Pupillometry, Individual differences, n-back, Test–retest reliability, Working memory, Attention, Neuroscience, Psychology
MeSH: Memory, Short-Term*, Pupil*, Adult, Attention, Cognition, Female, Humans, Male, Reproducibility of Results, Task Performance and Analysis, Young Adult (* major topic)
Topic: Neural and Behavioral Psychology Studies (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: Budapest University of Technology and Economics
Citations: not cited yet (Europe PMC); 86 references in the paper

Abstract

Measurement of pupil size changes is a promising method to investigate information processing. Our study contributes to this stream of research (1) by investigating whether pupillary changes during performing a demanding working memory (n-back) task are associated with performance, and (2) by testing whether these pupil responses demonstrate temporal stability over a period of multiple weeks. We conducted two experiments using two different variants of an n-back task differing in task durations and found that both phasic and tonic pupil size measures are characterized by good test–retest reliability. Furthermore, phasic, task-evoked pupillary responses were positively correlated with task performance, whereas no evidence was found for a similar link in the case of tonic pupil size measures, possibly due to design characteristics. Importantly, the dissociation of validity and reliability regarding tonic pupil size measures suggests that pupil responses might be temporally stable also in such cases when the pupil response itself is not predictive of task performance. Our results imply that pupillometry can be an appropriate tool to assess individual differences in cognition or underlying neural functioning, but one must ensure that the between-sessions correlations among participants are caused by individual differences in information processing, and not by other methodological factors (e.g. participant-specific, systematic measurement noise).

Supplementary Information: The online version contains supplementary material available at 10.1038/s41598-026-46731-3.

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

Code

No file of the authors' code could be read here: it is described below, and read at its source.

OSF gj7xa

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

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;
  • 0 scripts, each with its path and the digest of its content;
  • no match between paragraphs and code yet;
  • 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

The code for the pupil data preprocessing and the code and data for statistical analyses are publicly available on this OSF link: https://osf.io/gj7xa/

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, 29 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 2 authors, 9 keywords, 11 MeSH terms, 1 funder, 74 references.

Cite

This paper

Bényei, G. L., & Pajkossy, P. (2026). Investigating the test-retest reliability and behavioral correlates of pupil responses in the n-back task. Scientific reports, 16(1), 17032. https://doi.org/10.1038/s41598-026-46731-3

BibTeX

@article{benyei2026investigating,
author = {Bényei, Gábor László and Pajkossy, Péter},
title = {{Investigating the test-retest reliability and behavioral correlates of pupil responses in the n-back task}},
journal = {Scientific reports},
year = {2026},
month = apr,
volume = {16},
number = {1},
pages = {17032},
publisher = {Nature Publishing Group},
issn = {2045-2322},
doi = {10.1038/s41598-026-46731-3},
url = {https://doi.org/10.1038/s41598-026-46731-3},
pmid = {41965881},
pmcid = {PMC13230787}
}

RIS

TY - JOUR
AU - Bényei, Gábor László
AU - Pajkossy, Péter
TI - Investigating the test-retest reliability and behavioral correlates of pupil responses in the n-back task
T2 - Scientific reports
J2 - Sci Rep
PY - 2026
DA - 2026/04/11
VL - 16
IS - 1
SP - 17032
SN - 2045-2322
PB - Nature Publishing Group
DO - 10.1038/s41598-026-46731-3
UR - https://doi.org/10.1038/s41598-026-46731-3
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s41598-026-46731-3",
"type": "article-journal",
"title": "Investigating the test-retest reliability and behavioral correlates of pupil responses in the n-back task",
"container-title": "Scientific reports",
"author": [
{
"family": "Bényei",
"given": "Gábor László"
},
{
"family": "Pajkossy",
"given": "Péter"
}
],
"container-title-short": "Sci Rep",
"volume": "16",
"issue": "1",
"page": "17032",
"DOI": "10.1038/s41598-026-46731-3",
"PMID": "41965881",
"PMCID": "PMC13230787",
"ISSN": "2045-2322",
"publisher": "Nature Publishing Group",
"URL": "https://doi.org/10.1038/s41598-026-46731-3",
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
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.3758/s13415-023-01096-2 [code]
Testing locus coeruleus-norepinephrine accounts of working memory, attention control, and fluid intelligence.
Journal: Cognitive, affective & behavioral neuroscience
In common: cognitive, 17 references
[2] doi:10.3758/s13428-023-02098-1 [code]
From pre-processing to advanced dynamic modeling of pupil data.
Journal: Behavior research methods
In common: 12 references
[3] doi:10.1111/ejn.15585 [code]
Pupillometry and the vigilance decrement: Task-evoked but not baseline pupil measures reflect declining performance in visual vigilance tasks.
Journal: The European journal of neuroscience
In common: other, cognitive, 11 references
[4] doi:10.3758/s13415-023-01072-w
How uncertain are you? Disentangling expected and unexpected uncertainty in pupil-linked brain arousal during reversal learning.
Journal: Cognitive, affective & behavioral neuroscience
In common: cognitive, 8 references
[5] doi:10.1371/journal.pone.0355165 [code]
Pupillary dynamics during hands-off L2 driving and transitions of control under high cognitive load.
Journal: PloS one
In common: cognitive, 8 references
[6] doi:10.1038/s42003-025-09026-3 [code]
When your heart isn't in it anymore: cardiac correlates of task disengagement.
Journal: Communications biology
In common: other, cognitive, 6 references
[7] doi:10.1111/psyp.14761 [code]
Reward and Efficacy Modulate the Rate of Anticipatory Pupil Dilation.
Journal: Psychophysiology
In common: other, 6 references
[8] doi:10.1038/s42003-025-09372-2
Pupil size predicts exploration through critical slowing in prefrontal dynamics.
Journal: Communications biology
In common: 7 references
[9] doi:10.1038/s41598-023-28781-z [code]
Changes in pupil dilation and P300 amplitude indicate the possible involvement of the locus coeruleus-norepinephrine (LC-NE) system in psychological flow.
Journal: Scientific reports
In common: cognitive, 6 references
[10] doi:10.1111/psyp.70035 [code]
The Interplay of Spontaneous Pupil-Size Fluctuations and EEG Power in Near-Threshold Detection.
Journal: Psychophysiology
In common: cognitive, 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.

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.1038/s41598-026-46731-3.svg)](https://openscicode.org/badge/doi/10.1038/s41598-026-46731-3)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1038/s41598-026-46731-3.svg
   :target: https://openscicode.org/badge/doi/10.1038/s41598-026-46731-3
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s41598-026-46731-3"><img src="https://openscicode.org/badge/doi/10.1038/s41598-026-46731-3.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.