Abstract
People need to sustain focused attention to achieve goals. Yet, attention often lapses, as minds wander towards task-unrelated thoughts. The conventional way to study such shifts in attention is through thought probes that explicitly ask if thoughts are task-related. However, probes are rare and interrupt behavior. Other methods to measure mind wandering assume a 50/50 split in time spent on-task vs off-task. We address these issues with a framework to infer mind wandering (MW) using computational modeling. We use a random dot motion task with varying evidence, but with a strong bias inducing a repetitive response requirement. Occasional thought probes were used for validation. When participants (Nā=ā93) reported being off-task, accuracy was higher and reaction time (RT) was lower, suggesting less stimulus processing and more reliance on bias. To classify internal states for individual trials from performance, we fit a Hidden Markov Model with Generalized Linear Models (GLM-HMM) for each state to responses. A two-state GLM-HMM predicted lower RTs on off-task trials, revealed an increase in mind wandering across the task, and aligned with self-reported focus. This shows that temporal variation in attentional states can be measured on a trial-to-trial basis without thought probes, paving the way for future MW research.
Similar content being viewed by others
Data availability
We provide access to all data collected on OSF.
Code availability
We provide access to all analysis scripts on OSF.
References
Killingsworth, M. A. & Gilbert, D. T. A wandering mind is an unhappy mind. Science 330, 932 (2010).
McVay, J. C. & Kane, M. J. Conducting the train of thought: working memory capacity, goal neglect, and mind wandering in an executive-control task. J. Exp. Psychol. Learn. Mem. Cogn. 35, 196ā204 (2009).
Kane, M. J. & McVay, J. C. What mind wandering reveals about executive-control abilities and failures. Curr. Dir. Psychol. Sci. 21, 348ā354 (2012).
Giambra, L. M. A laboratory method for investigating influences on switching attention to task-unrelated imagery and thought. Conscious. Cogn. 4, 1ā21 (1995).
Smallwood, J., Beach, E., Schooler, J. W. & Handy, T. C. Going AWOL in the brain: mind wandering reduces cortical analysis of external events. J. Cogn. Neurosci. 20, 458ā469 (2008).
Smallwood, J. & Schooler, J. W. The restless mind. Psychol. Bull. 132, 946ā958 (2006).
Hawkins, G. E., Mittner, M., Forstmann, B. U. & Heathcote, A. Self-reported mind wandering reflects executive control and selective attention. Psychon. Bull. Rev. 29, 2167ā2180 (2022).
Yanko, M. R. & Spalek, T. M. Driving with the wandering mind: the effect that mind-wandering has on driving performance. Hum. Factors 56, 260ā269 (2014).
Baldwin, C. L. et al. Detecting and quantifying mind wandering during simulated driving. Front. Hum. Neurosci. 11, 406 (2017).
Burdett, B. R. D., Charlton, S. G. & Starkey, N. J. Mind wandering during everyday driving: an on-road study. Accid. Anal. Prev. 122, 76ā84 (2019).
Isbell, E., Calkins, S. D., Swingler, M. M. & Leerkes, E. M. Attentional fluctuations in preschoolers: direct and indirect relations with task accuracy, academic readiness, and school performance. J. Exp. Child Psychol. 167, 388ā403 (2018).
Kopp, K., DāMello, S. & Mills, C. Influencing the occurrence of mind wandering while reading. Conscious. Cogn. 34, 52ā62 (2015).
Lindquist, S. I. & McLean, J. P. Daydreaming and its correlates in an educational environment. Learn. Individ. Differ. 21, 158ā167 (2011).
Deng, Y.-Q., Li, S. & Tang, Y.-Y. The relationship between wandering mind, depression and mindfulness. Mindfulness 5, 124ā128 (2014).
Seli, P., Beaty, R. E., Marty-Dugas, J. & Smilek, D. Depression, anxiety, and stress and the distinction between intentional and unintentional mind wandering. Psychol. Conscious. Theory, Res., Pract. 6, 163 (2019).
Franklin, M. S. et al. Tracking distraction: the relationship between mind-wandering, meta-awareness, and ADHD symptomatology. J. Atten. Disord. 21, 475ā486 (2017).
Seli, P., Smallwood, J., Cheyne, J. A. & Smilek, D. On the relation of mind wandering and ADHD symptomatology. Psychon. Bull. Rev. 22, 629ā636 (2015).
Seli, P., Cheyne, J. A. & Smilek, D. Wandering minds and wavering rhythms: linking mind wandering and behavioral variability. J. Exp. Psychol. Hum. Percept. Perform. 39, 1ā5 (2013).
Esterman, M., Rosenberg, M. D. & Noonan, S. K. Intrinsic fluctuations in sustained attention and distractor processing. J. Neurosci. 34, 1724ā1730 (2014).
Rosenberg, M. D., Finn, E. S., Constable, R. T. & Chun, M. M. Predicting moment-to-moment attentional state. Neuroimage 114, 249ā256 (2015).
Braboszcz, C. & Delorme, A. Lost in thoughts: neural markers of low alertness during mind wandering. Neuroimage 54, 3040ā3047 (2011).
Robertson, I. H., Manly, T., Andrade, J., Baddeley, B. T. & Yiend, J. Oops!ā: performance correlates of everyday attentional failures in traumatic brain injured and normal subjects. Neuropsychologia 35, 747ā758 (1997).
Smallwood, J., McSpadden, M. & Schooler, J. W. The lights are on but no oneās home: meta-awareness and the decoupling of attention when the mind wanders. Psychon. Bull. Rev. 14, 527ā533 (2007).
McVay, J. C., Kane, M. J. & Kwapil, T. R. Tracking the train of thought from the laboratory into everyday life: an experience-sampling study of mind wandering across controlled and ecological contexts. Psychon. Bull. Rev. 16, 857ā863 (2009).
Cheyne, J. A., Solman, G. J. F., Carriere, J. S. A. & Smilek, D. Anatomy of an error: a bidirectional state model of task engagement/disengagement and attention-related errors. Cognition 111, 98ā113 (2009).
Manly, T., Robertson, I. H., Galloway, M. & Hawkins, K. The absent mind: further investigations of sustained attention to response. Neuropsychologia 37, 661ā670 (1999).
Robison, M. K., Miller, A. L. & Unsworth, N. Examining the effects of probe frequency, response options, and framing within the thought-probe method. Behav. Res. Methods 51, 398ā408 (2019).
Csikszentmihalyi, M. & Larson, R. Validity and reliability of the experience-sampling method. J. Nerv. Ment. Dis. 175, 526ā536 (1987).
Smallwood, J. & Schooler, J. W. The science of mind wandering: empirically navigating the stream of consciousness. Annu. Rev. Psychol. 66, 487ā518 (2015).
Kahneman, D., Krueger, A. B., Schkade, D. A., Schwarz, N. & Stone, A. A. A survey method for characterizing daily life experience: the day reconstruction method. Science 306, 1776ā1780 (2004).
Weinstein, Y. Mind-wandering, how do I measure thee with probes? Let me count the ways. Behav. Res. Methods 50, 642ā661 (2018).
Stawarczyk, D., Majerus, S., Maj, M., Van der Linden, M. & DāArgembeau, A. Mind-wandering: phenomenology and function as assessed with a novel experience sampling method. Acta Psychol. 136, 370ā381 (2011).
Wiemers, E. A. & Redick, T. S. The influence of thought probes on performance: does the mind wander more if you ask it?. Psychon. Bull. Rev. 26, 367ā373 (2019).
Weinstein, Y., De Lima, H. J. & van der Zee, T. Are you mind-wandering, or is your mind on task? The effect of probe framing on mind-wandering reports. Psychon. Bull. Rev. 25, 754ā760 (2018).
Stawarczyk, D., Majerus, S., Catale, C. & DāArgembeau, A. Relationships between mind-wandering and attentional control abilities in young adults and adolescents. Acta Psychol. 148, 25ā36 (2014).
Smallwood, J. et al. Subjective experience and the attentional lapse: task engagement and disengagement during sustained attention. Conscious. Cogn. 13, 657ā690 (2004).
Seli, P., Risko, E. F., Smilek, D. & Schacter, D. L. Mind-wandering with and without intention. Trends Cogn. Sci. 20, 605ā617 (2016).
Seli, P., Risko, E. F. & Smilek, D. On the necessity of distinguishing between unintentional and intentional mind wandering. Psychol. Sci. 27, 685ā691 (2016).
Bastian, M. & Sackur, J. Mind wandering at the fingertips: automatic parsing of subjective states based on response time variability. Front. Psychol. 4, 573 (2013).
Schubert, A.-L., Frischkorn, G. T. & Rummel, J. The validity of the online thought-probing procedure of mind wandering is not threatened by variations of probe rate and probe framing. Psychol. Res. 84, 1846ā1856 (2020).
Vinski, M. T. & Watter, S. Priming honesty reduces subjective bias in self-report measures of mind wandering. Conscious. Cogn. 21, 451ā455 (2012).
Schooler, J. W. et al. Meta-awareness, perceptual decoupling and the wandering mind. Trends Cogn. Sci. 15, 319ā326 (2011).
Chu, M. T., Marks, E., Smith, C. L. & Chadwick, P. Self-caught methodologies for measuring mind wandering with meta-awareness: a systematic review. Conscious. Cogn. 108, 103463 (2023).
Seli, P. et al. How pervasive is mind wandering, really?. Conscious. Cogn. 66, 74ā78 (2018).
Rosenberg, M. D., Noonan, S., DeGutis, J. & Esterman, M. Sustaining visual attention in the face of distraction: a novel gradual-onset continuous performance task. Atten. Percept. Psychophys. 75, 426ā439 (2013).
Esterman, M., Noonan, S. K., Rosenberg, M. D. & Degutis, J. In the zone or zoning out? Tracking behavioral and neural fluctuations during sustained attention. Cereb. Cortex 23, 2712ā2723 (2013).
Weissman, D. H., Roberts, K. C., Visscher, K. M. & Woldorff, M. G. The neural bases of momentary lapses in attention. Nat. Neurosci. 9, 971ā978 (2006).
deBettencourt, M. T., Norman, K. A. & Turk-Browne, N. B. Forgetting from lapses of sustained attention. Psychon. Bull. Rev. 25, 605ā611 (2018).
deBettencourt, Keene, P. A., Awh, E. & Vogel, E. Real-time triggering reveals concurrent lapses of attention and working memory. Nat. Hum. Behav. 3, 808ā816 (2019).
Ashwood, Z. C. et al. Mice alternate between discrete strategies during perceptual decision-making. Nat. Neurosci. 25, 201ā212 (2022).
Lee, H.-H., Chen, Z.-L., Yeh, S.-L., Hsiao, J. H. & Wu, A.-Y. A. When eyes wander around: mind-wandering as revealed by eye movement analysis with hidden Markov models. Sensors 21, 7569 (2021).
Zanesco, A. P., Denkova, E. & Jha, A. P. Mind-wandering increases in frequency over time during task performance: An individual-participant meta-analytic review. Psychol. Bull. https://doi.org/10.1037/bul0000424 (2024).
McVay, J. C. & Kane, M. J. Drifting from slow to āDāoh!ā: working memory capacity and mind wandering predict extreme reaction times and executive control errors. J. Exp. Psychol. Learn. Mem. Cogn. 38, 525ā549 (2012).
Zheng, Y., Wang, D., Zhang, Y. & Xu, W. Detecting mind wandering: an objective method via simultaneous control of respiration and fingertip pressure. Front. Psychol. 10, 216 (2019).
Grandchamp, R., Braboszcz, C. & Delorme, A. Oculometric variations during mind wandering. Front. Psychol. 5, 31 (2014).
Hasenkamp, W., Wilson-Mendenhall, C. D., Duncan, E. & Barsalou, L. W. Mind wandering and attention during focused meditation: a fine-grained temporal analysis of fluctuating cognitive states. Neuroimage 59, 750ā760 (2012).
Williams, D. W. & Sekuler, R. Coherent global motion percepts from stochastic local motions. Vis. Res 24, 55ā62 (1984).
de Leeuw, J. R. jsPsych: A JavaScript library for creating behavioral experiments in a Web browser. Behav. Res. Methods 47, 1ā12 (2015).
Rajananda, S., Lau, H. & Odegaard, B. A random-dot kinematogram for web-based vision research. bioRxiv 192377. https://doi.org/10.1101/192377 (2017).
Bates, D., MƤchler, M., Bolker, B. & Walker, S. Fitting linear mixed-effects models using lme4. J. Stat. Softw. 67, 1ā48 (2015).
Ben-Shachar, M., Lüdecke, D. & Makowski, D. Effectsize: estimation of effect size indices and standardized parameters. J. Open Source Softw. 5, 2815 (2020).
Johnson, P. C. Extension of Nakagawa & Schielzethās R2GLMM to random slopes models. Methods Ecol. Evol. 5, 944ā946 (2014).
Ratcliff, R. & McKoon, G. The diffusion decision model: theory and data for two-choice decision tasks. Neural Comput. 20, 873ā922 (2008).
Wiecki, T. V., Sofer, I. & Frank, M. J. HDDM: hierarchical Bayesian estimation of the Drift-Diffusion Model in Python. Front. Neuroinform. 7, 14 (2013).
Moran, R. Optimal decision making in heterogeneous and biased environments. Psychon. Bull. Rev. 22, 38ā53 (2015).
Mulder, M. J., Wagenmakers, E.-J., Ratcliff, R., Boekel, W. & Forstmann, B. U. Bias in the brain: a diffusion model analysis of prior probability and potential payoff. J. Neurosci. 32, 2335ā2343 (2012).
Decker, A., Dubois, M., Duncan, K. & Finn, A. S. Pay attention and you might miss it: greater learning during attentional lapses. Psychon. Bull. Rev. 30, 1041ā1052 (2023).
Seli, P. et al. On the clock: evidence for the rapid and strategic modulation of mind wandering. Psychol. Sci. 29, 1247ā1256 (2018).
Sarter, M., Givens, B. & Bruno, J. P. The cognitive neuroscience of sustained attention: where top-down meets bottom-up. Brain Res. Brain Res. Rev. 35, 146ā160 (2001).
Smallwood, J. Mind-wandering while reading: attentional decoupling, mindless reading and the cascade model of inattention. Lang. Linguist. Compass. https://doi.org/10.1111/j.1749-818X.2010.00263.x (2011).
Thomson, D. R., Besner, D. & Smilek, D. A resource-control account of sustained attention: evidence from mind-wandering and vigilance paradigms. Perspect. Psychol. Sci. 10, 82ā96 (2015).
Dong, H. W., Mills, C., Knight, R. T. & Kam, J. W. Y. Detection of mind wandering using EEG: within and across individuals. PLoS One 16, e0251490 (2021).
Jana, S. & Aron, A. R. Mind wandering impedes response inhibition by affecting the triggering of the inhibitory process. Psychol. Sci. 33, 1068ā1085 (2022).
Jin, C. Y., Borst, J. P. & van Vugt, M. K. Predicting task-general mind-wandering with EEG. Cogn. Affect. Behav. Neurosci. 19, 1059ā1073 (2019).
Ratcliff, R. & Rouder, J. N. Modeling response times for two-choice decisions. Psychol. Sci. 9, 347ā356 (1998).
Evans, N. J. & Wagenmakers, E.-J. Evidence accumulation models: current limitations and future directions. Quant. Methods Psychol. 16, 73ā90 (2020).
Kucharský, Å , Tran, N.-H., Veldkamp, K., Raijmakers, M. & Visser, I. Hidden Markov models of evidence accumulation in speeded decision tasks. Comput. Brain Behav. 4, 416ā441 (2021).
Gupta, D., DePasquale, B., Kopec, C. D. & Brody, C. D. Trial-history biases in evidence accumulation can give rise to apparent lapses in decision-making. Nat. Commun. 15, 1ā15 (2024).
Aguillon-Rodriguez, V. et al. Standardized and reproducible measurement of decision-making in mice. Elife 10, e63711 (2021).
Seli, P. et al. Mind-wandering as a natural kind: a family-resemblances view. Trends Cogn. Sci. 22, 479ā490 (2018).
Seli, P. et al. Intentionality and meta-awareness of mind wandering: are they one and the same, or distinct dimensions? Psychon. Bull. Rev. 24, 1808ā1818 (2017).
Smallwood, J., McSpadden, M. & Schooler, J. W. When attention matters: the curious incident of the wandering mind. Mem. Cogn. 36, 1144ā1150 (2008).
Christoff, K., Gordon, A. M., Smallwood, J., Smith, R. & Schooler, J. W. Experience sampling during fMRI reveals default network and executive system contributions to mind wandering. Proc. Natl. Acad. Sci. 106, 8719ā8724 (2009).
Baer, R. A. Mindfulness training as a clinical intervention: a conceptual and empirical review. Clin. Psychol.: Sci. Pract. 10, 125ā143 (2003).
Schmertz, S. K., Anderson, P. L. & Robins, D. L. The relation between self-report mindfulness and performance on tasks of sustained attention. J. Psychopathol. Behav. Assess. 31, 60ā66 (2009).
Petranker, R. & Eastwood, J. D. Sitting with it: an investigation of the relationship between trait mindfulness and sustained attention. Conscious. Cogn. 90, 103101 (2021).
Valentine, E. R. & Sweet, P. L. G. Meditation and attention: a comparison of the effects of concentrative and mindfulness meditation on sustained attention. Ment. Health Relig. Cult. 2, 59ā70 (1999).
Jha, A. P., Krompinger, J. & Baime, M. J. Mindfulness training modifies subsystems of attention. Cogn. Affect. Behav. Neurosci. 7, 109ā119 (2007).
Tang, Y.-Y., Hƶlzel, B. K. & Posner, M. I. The neuroscience of mindfulness meditation. Nat. Rev. Neurosci. 16, 213ā225 (2015).
Raichle, M. E. et al. A default mode of brain function. Proc. Natl. Acad. Sci. Usa. 98, 676ā682 (2001).
Poerio, G. L. et al. The role of the default mode network in component processes underlying the wandering mind. Soc. Cogn. Affect. Neurosci. 12, 1047ā1062 (2017).
Kajimura, S., Kochiyama, T., Nakai, R., Abe, N. & Nomura, M. Causal relationship between effective connectivity within the default mode network and mind-wandering regulation and facilitation. Neuroimage 133, 21ā30 (2016).
Brewer, J. A. et al. Meditation experience is associated with differences in default mode network activity and connectivity. Proc. Natl. Acad. Sci. USA 108, 20254ā20259 (2011).
Bonnelle, V. et al. Default mode network connectivity predicts sustained attention deficits after traumatic brain injury. J. Neurosci. 31, 13442ā13451 (2011).
Mason, M. F. et al. Wandering minds: the default network and stimulus-independent thought. Science 315, 393ā395 (2007).
Scheibner, H. J., Bogler, C., Gleich, T., Haynes, J.-D. & Bermpohl, F. Internal and external attention and the default mode network. Neuroimage 148, 381ā389 (2017).
Klimesch, W., Doppelmayr, M., Russegger, H., Pachinger, T. & Schwaiger, J. Induced alpha band power changes in the human EEG and attention. Neurosci. Lett. 244, 73ā76 (1998).
Ko, L.-W., Komarov, O., Hairston, W. D., Jung, T.-P. & Lin, C.-T. Sustained attention in real classroom settings: an EEG study. Front. Hum. Neurosci. 11, 388 (2017).
Wang, Y.-K., Jung, T.-P. & Lin, C.-T. EEG-based attention tracking during distracted driving. IEEE Trans. Neural Syst. Rehabil. Eng. 23, 1085ā1094 (2015).
Desantis, A., Chan-Hon-Tong, A., Collins, T., Hogendoorn, H. & Cavanagh, P. Decoding the temporal dynamics of covert spatial attention using multivariate EEG analysis: contributions of raw amplitude and alpha power. Front. Hum. Neurosci. 14, 570419 (2020).
Bae, G.-Y. & Luck, S. J. Decoding motion direction using the topography of sustained ERPs and alpha oscillations. Neuroimage 184, 242ā255 (2019).
Murray, S. & Krasich, K. Can the mind wander intentionally? Mind Lang. 37, 432ā443 (2022).
Maillet, D., Seli, P. & Schacter, D. L. Mind-wandering and task stimuli: stimulus-dependent thoughts influence performance on memory tasks and are more often past- versus future-oriented. Conscious. Cogn. 52, 55ā67 (2017).
Cole, S. N. & Tubbs, P. M. C. Predictors of obsessive-compulsive symptomology: mind wandering about the past and future. Psychol. Res. 86, 1518ā1534 (2022).
Unsworth, N. & McMillan, B. D. Similarities and differences between mind-wandering and external distraction: a latent variable analysis of lapses of attention and their relation to cognitive abilities. Acta Psychol. 150, 14ā25 (2014).
Godwin, C. A., Smith, D. M. & Schumacher, E. H. Beyond mind wandering: performance variability and neural activity during off-task thought and other attention lapses. Conscious. Cogn. 108, 103459 (2023).
Acknowledgements
We thank Todd Braver and Julie Bugg for helpful conversations. We would also like to thank the members of the Control and Decision Making Lab, the Control with Connections group, and the CCN-FACTS MURI group for advice and assistance. We are grateful to Leyla Vilic and Xintian Wang for help with data collection. This work was supported by a Multi-University Research Initiative grant (ONR/DoD N00014-23-1-2792) to W.K. The funder had no role in study design, data collection and analysis, decision to publish or preparation of the manuscript.
Author information
Authors and Affiliations
Contributions
C.Z. and W.K. designed the experiment; C.Z. developed the experiment and collected data; C.Z. analyzed data; C.Z. and W.K. wrote the manuscript.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Peer review
Peer review information
Communications Psychology thanks Matthew K. Robison, Ingmar Visser, Marta Migó for their contribution to the peer review of this work. Primary Handling Editors: Troby Ka-Yan Lui. A peer review file is available.
Additional information
Publisherās note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary information
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the articleās Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the articleās Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
About this article
Cite this article
Zhang, C., Kool, W. Inferring mind wandering from perceptual decision making. Commun Psychol (2026). https://doi.org/10.1038/s44271-026-00424-9
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s44271-026-00424-9


