Pupillary responses to invisible brightness escape from attentional modulation.
The 5 matches
- [1] § STAR★Methods › Quantification and statistical analysis › Statistical analysis › Bayes Factor analysis ↔ Analysis_LME/analysis_CFS_pupil_LME_Exp1_Final.r, lines 94–165 · score 0.72 · Bayes Factors, alternative model, additive, BF01, H0, H1
- [2] § Results › Experiment 1: Feature-based attention › Pupil responses to luminance, visibility, and feature-based attention ↔ Analysis_LME/analysis_CFS_pupil_LME_Exp1_Final.r, lines 94–165 · score 0.70 · Likelihood ratio, gaze position, reduced model, full model, LRT, LME
- [3] § Results › Experiment 1: Feature-based attention › Pupil responses to luminance, visibility, and feature-based attention ↔ Analysis_LME/analysis_CFS_pupil_LME_Exp2_Final.r, lines 50–115 · score 0.69 · Likelihood ratio, gaze position, reduced model, full model, LRT, suppression
- [4] § STAR★Methods › Method details › Procedure ↔ Data_csv/analysis_CFS_pupil_Final.m, lines 2–49 · score 0.56 · attend orientation, subjective visibility, attend luminance, eye, objective, Gabor
- [5] § STAR★Methods › Quantification and statistical analysis › Statistical analysis › Linear Mixed-Effects (LME) analysis ↔ Analysis_LME/analysis_CFS_pupil_LME_Exp1_Final.r, lines 1–47 · score 0.53 · Linear Mixed, lme4, models, Visible, CFS
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 · 166 lines · 6.5 KB · no license · 3 matches
- # ==============================================================================
- # 1. SETUP & DATA CLEANING
- # ==============================================================================
- library(lme4) # For the Linear Mixed Effects model
- library(lmerTest) # To get p-values for the LME
- library(dplyr) # For easy data manipulation
- library(bayestestR) # For Bayes Factors
- library(emmeans)
- setwd("~/Google 雲端硬碟/CFS_Pupil/CFS_Pupil_Luminance/Data/data/LME")
- # Load your CSV (Exported from MATLAB)
- # Replace '1' with '2' for Experiment 2
- data <- read.csv("LME_Data_Exp1.csv")
- # --- FILTERING & PREPROCESSING ---
- data_clean <- data %>%
- # 1. Remove rows with missing data (NaNs)
- filter(!is.na(PupilSize) & !is.na(GazeX) & !is.na(GazeY)) %>%
- # 2. Center Gaze Coordinates (Critical for correcting Foreshortening)
- # Screen Center: (960, 540)
- mutate(
- GazeX_Cent = GazeX - 960,
- GazeY_Cent = GazeY - 540
- ) %>%
- # 3. Convert Variables to Factors (Categorical)
- # IMPORTANT: Check your MATLAB export codes.
- # Example: 1=CFS, 2=Visible; 1=Dark, 2=Bright...
- mutate(
- Visibility = factor(Visibility, levels = c(1, 2), labels = c("CFS", "Visible")),
- Luminance = factor(Luminance, levels = c(1, 2), labels = c("Dark", "Bright")),
- Attention = factor(Attention, levels = c(1, 2), labels = c("Att_Lum", "Att_Ori")), # Or Spatial Attention labels for Exp2
- SubjectID = factor(SubjectID)
- )
- # ==============================================================================
- # 2. RUNNING THE LINEAR MIXED EFFECTS MODEL (LME)
- # ==============================================================================
- # Formula:
- # Pupil ~ (Conditions Interaction) + (Gaze Control) + (Random Effect)
- full_model <- lmer(PupilSize ~ Visibility * Luminance * Attention +
- GazeX_Cent + GazeY_Cent +
- (1 | SubjectID),
- data = data_clean)
- # Print the ANOVA table (Type III is standard for interactions)
- print("--- LME ANOVA Results ---")
- print(anova(full_model, type = 3))
- summary(full_model)
- # ==============================================================================
- # 3. CALCULATE ESTIMATED MARGINAL MEANS
- # ==============================================================================
- # We want to see the mean pupil size for each Task, split by Visibility.
- VisAtten <- emmeans(full_model, ~ Attention | Visibility)
- print(VisAtten)
- pairs(VisAtten, adjust = "bonferroni")
- AttenVis <- emmeans(full_model, ~ Visibility | Attention)
- print(AttenVis)
- pairs(AttenVis, adjust = "bonferroni")
- VisLum <- emmeans(full_model, ~ Luminance | Visibility)
- print(VisLum)
- pairs(VisLum, adjust = "bonferroni")
- # ==============================================================================
- # 3. (Optional) PLOT THE INTERACTION
- # ==============================================================================
- # This helps you visually confirm the "crossing" or divergence.
- emmip(full_model, Visibility ~ Attention, CIs = TRUE) +
- labs(title = "Interaction Plot: Visibility × Attention Task",
- y = "Predicted Pupil Size (z-score)",
- x = "Attention Task") +
- theme_minimal()
- emmip(full_model, Visibility ~ Luminance, CIs = TRUE) +
- labs(title = "Interaction Plot: Visibility × Luminance",
- y = "Predicted Pupil Size (z-score)",
- x = "Luminance") +
- theme_minimal()
- # ==============================================================================
- # 4. BAYES FACTOR (Testing the Null Hypothesis)
- # ==============================================================================
- # The editor wants to know: Does Attention exist under Suppression?
- # Standard p-values can't prove the null (no effect). Bayes Factors can.
- # We will check if the Null Model is better than the Alternative for the CFS condition.
- # A. Subset Data: Look ONLY at CFS trials
- data_cfs <- data_clean %>% filter(Visibility == "CFS")
- # B. Build Two Models for CFS
- # H1 (Alternative): Attention has an effect on Pupil
- # H1 (Alternative): Full Model (Includes Interaction: Luminance * Attention)
- # This assumes Attention CHANGES how the pupil responds to Luminance.
- model_H1 <- lmer(PupilSize ~ Luminance * Attention + GazeX_Cent + GazeY_Cent + (1|SubjectID),
- data = data_cfs, REML = FALSE)
- # H0 (Null): Additive Model (Luminance + Attention)
- # This assumes Luminance works, and Attention might change baseline,
- # BUT Attention does NOT change the response to Luminance (No Interaction).
- model_H0 <- lmer(PupilSize ~ Luminance + Attention + GazeX_Cent + GazeY_Cent + (1|SubjectID),
- data = data_cfs, REML = FALSE)
- # C. Calculate Bayes Factor using BIC Approximation
- # This method is robust and commonly accepted for LME comparisons
- bic_H1 <- BIC(model_H1)
- bic_H0 <- BIC(model_H0)
- # Formula: BF01 = exp((BIC_H1 - BIC_H0) / 2)
- # BF > 1 favors Null (No Attention effect)
- # BF < 1 favors Alternative (Attention effect exists)
- BF_01 <- exp((bic_H1 - bic_H0) / 2)
- print("--- Bayes Factor Analysis (CFS Condition Only) ---")
- print(paste("BIC for Null Model (No Attention):", bic_H0))
- print(paste("BIC for Alternative Model (With Attention):", bic_H1))
- print(paste("Bayes Factor (BF01) favoring Null:", round(BF_01, 2)))
- if(BF_01 > 3){
- print("Result: Moderate/Strong evidence that Attention does NOT modulate pupil under suppression.")
- } else if(BF_01 < 0.33){
- print("Result: Evidence supports that Attention DOES modulate pupil.")
- } else {
- print("Result: Evidence is inconclusive.")
- }
- # ==============================================================================
- # 5. LIKELIHOOD RATIO TEST (LRT) FOR GAZE ARTIFACTS
- # ==============================================================================
- # NOTE: When comparing models with different Fixed Effects, you MUST use REML=FALSE (Maximum Likelihood).
- # If you use REML=TRUE (default), the likelihoods are not comparable.
- # 1. The Full Model (Includes Gaze Position)
- # This is what you believe is true: Gaze affects Pupil.
- m_full <- lmer(PupilSize ~ Visibility * Luminance * Attention +
- GazeX_Cent + GazeY_Cent +
- (1 | SubjectID),
- data = data_clean, REML = FALSE)
- # 2. The Reduced Model (Removes Gaze Position)
- # This is the Null Hypothesis: Gaze does NOT affect Pupil.
- m_reduced <- lmer(PupilSize ~ Visibility * Luminance * Attention +
- (1 | SubjectID),
- data = data_clean, REML = FALSE)
- # 3. Compare them
- # This runs the Chi-Square test on the difference in Likelihoods.
- lrt_result <- anova(m_reduced, m_full)
- print("--- Likelihood Ratio Test Results ---")
- print(lrt_result)
analysis_CFS_pupil_LME_Exp1_Final.r, no license · at the source
Overview
- Human Information Science Laboratory, Communication Science Laboratories, NTT, Inc., Kanagawa, Japan
- Cognitive Informatics Lab, Graduate School of Informatics, Kyoto University, Kyoto, Japan
Abstract
The pupillary light response (PLR) is traditionally regarded as a reflex to retinal illumination; however, recent studies have shown that it also reflects perceived or attended brightness. We examined whether pupils respond to perceptually invisible luminance under interocular suppression and most importantly, whether attention modulates such response. In experiment 1, a single bright or dark visual Gabor pattern evoked attenuated but reliable PLRs under interocular suppression, which was independent of feature-based attention manipulation. In experiment 2, spatial attention was directed to one of two Gabors (black and white) using a sustained rapid serial visual presentation task. Spatial attention modulated PLRs when the stimuli were visible but not when they were invisible under interocular suppression. These findings demonstrate that while unconscious brightness signals reach subcortical pathways, spatial attentional modulation of the PLR depends on visual awareness, revealing a cortical-subcortical gating mechanism for pupil control.
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 5 matches between paragraphs and lines of code.
OSF cgvw8
Availability: 1 check, the latest on 30 September 2026: the link answers (HTTP 200)
- 30 September 2026: the link answers (HTTP 200)
3 files
- Analysis_LME/
analysis_CFS_pupil_LME_E , R, 166 lines, 3 matchesxp1_Final.r - Analysis_LME/
analysis_CFS_pupil_LME_E , R, 116 lines, 1 matchxp2_Final.r - Data_csv/
analysis_CFS_pupil_Final , MATLAB, 322 lines, 1 match.m
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;
- 3 scripts, each with its path and the digest of its content;
- 5 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 and code availability
• Raw data have been deposited on the Open Science Framework and are publicly available (DOI: 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, 30 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 2 authors, 4 keywords, 36 references, 7 RRIDs.
Cite
This paper
Yang, Y.-H., & Liao, H.-I. (2026). Pupillary responses to invisible brightness escape from attentional modulation. iScience, 29(6), 115919. https://
BibTeX
@article{yang2026pupilla
author = {Yang, Yung-Hao and Liao, Hsin-I},
title = {{Pupillary responses to invisible brightness escape from attentional modulation}},
journal = {iScience},
year = {2026},
month = apr,
volume = {29},
number = {6},
pages = {115919},
publisher = {Elsevier},
issn = {2589-0042},
doi = {10.1016/
url = {https://
pmid = {42205707},
pmcid = {PMC13207345}
}
RIS
TY - JOUR
AU - Yang, Yung-Hao
AU - Liao, Hsin-I
TI - Pupillary responses to invisible brightness escape from attentional modulation
T2 - iScience
J2 - iScience
PY - 2026
DA - 2026/
VL - 29
IS - 6
SP - 115919
SN - 2589-0042
PB - Elsevier
DO - 10.1016/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1016/
"type": "article-journal",
"title": "Pupillary responses to invisible brightness escape from attentional modulation",
"container-title": "iScience",
"author": [
{
"family": "Yang",
"given": "Yung-Hao"
},
{
"family": "Liao",
"given": "Hsin-I"
}
],
"container-title-short":
"volume": "29",
"issue": "6",
"page": "115919",
"DOI": "10.1016/
"PMID": "42205707",
"PMCID": "PMC13207345",
"ISSN": "2589-0042",
"publisher": "Elsevier",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
28
]
]
}
}
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.1371/journal.pone.0355165 [code]
- Pupillary dynamics during hands-off L2 driving and transitions of control under high cognitive load.Journal: PloS oneIn common: easystats, emmeans, lmerTest, 2 other tools, cognitive, 3 references
- [2] doi:10.1038/s44271-026-00524-6 [code]
- Emergent blink rate in early childhood is associated with neural origins of executive function.Journal: Communications psychologyIn common: easystats, emmeans, lmerTest, 2 other tools, cognitive
- [3] doi:10.1073/pnas.2603114123 [code]
- The human hippocampus can pattern separate memories by meaning.Journal: Proceedings of the National Academy of Sciences of the United States of AmericaIn common: easystats, emmeans, lmerTest, 2 other tools, cognitive
- [4] doi:10.1016/j.isci.2026.116747 [code]
- Age and loneliness relate to reduced trust learning and alterations in amygdala function.Journal: iScienceIn common: easystats, emmeans, lmerTest, 2 other tools, cognitive
- [5] doi:10.1016/j.neuroimage.2026.122115 [code]
- Midfrontal theta power relates to response speeding following frustrative nonreward.Journal: NeuroImageIn common: easystats, emmeans, lmerTest, 2 other tools, cognitive
- [6] doi:10.1016/j.isci.2026.116047 [code]
- Deciding to simulate: Cognitive mechanisms of predicting the decisions of others.Journal: iScienceIn common: easystats, emmeans, lmerTest, 2 other tools, cognitive
- [7] doi:10.1038/s41598-026-58866-4 [code]
- A neurocognitive interactive activation model of semantic priming in lexical decisions.Journal: Scientific reportsIn common: easystats, emmeans, lmerTest, 2 other tools, cognitive
- [8] doi:10.1038/s41467-026-73865-9 [code]
- Histamine shapes the neurocomputational dynamics of human learning.Journal: Nature communicationsIn common: easystats, emmeans, lmerTest, 2 other tools, cognitive
- [9] doi:10.1093/braincomms/fcag153 [code]
- Dual-site theta stimulation modulates connectivity, but not sequence memory in older adults.Journal: Brain communicationsIn common: easystats, emmeans, lmerTest, 2 other tools, cognitive
- [10] 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: easystats, emmeans, lmerTest, 2 other tools, cognitive
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, 3 scripts, and 5 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:f31502ecb662464b…
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
[.
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.
