PhD & postdoc · 2019–2026
Flow, distraction and a lot of EEG
When you’re deeply absorbed in a video game, how much of the outside world still gets in? I looked for flow in the brain. Most of the craft went into a process that 170+ people could go through comfortably, and that produced data worth analysing.
- Role
- PhD candidate, then postdoc
- Lab
- Brain & Learning Lab, Prof. Daphné Bavelier, University of Geneva, Campus Biotech
- Scale
- 170+ participants, EEG during active gameplay
- Team
- Trained and supervised 9 junior researchers
The question
Flow is the state of being fully absorbed in something challenging. It’s easy to describe and hard to measure: there is still no objective marker of flow, so research relies on questionnaires. We looked for a marker in the brain, by an indirect route. While people played, they heard a stream of frequent, identical sounds, with an occasional rare one: either a deviant tone or a completely novel sound. If flow uses up attention, the brain should respond less to those rare sounds.
What we found
Not what we expected. First, when players had to respond actively to the rare sounds, in a design adapted from a published study, we could not replicate that study’s effect. Then, when the sounds simply played in the background, the brain’s automatic change-detection response (the mismatch negativity) was larger in higher flow than in lower flow, for both kinds of rare sound. But the response that usually signals attention turning towards a novel sound (the novelty P3) didn’t follow.
In flow, the brain appears to still notice. It just doesn’t seem to act on it.
Compare our two conditions
Higher flow: the brain’s automatic response to the rare sounds is larger, yet there’s no sign of attention turning towards them.
Notices the rare sound (mismatch negativity)
Turns attention towards it (novelty P3): no difference between conditions
An illustration of the direction of the effects, not real data. We compared two levels of flow, but flow itself isn’t binary, and it depends on more than balancing challenge and skill: an active, engaging task, clear goals and immediate feedback.
This runs against the simple idea that flow leaves no resources for distractions, but it makes sense: the brain keeps monitoring the world, and simply declines to be pulled away. The results have been presented at an international conference and at local ones, and two papers are in preparation.
The FENS Forum 2026 poster (PDF).
Good data starts at the door
Classic EEG studies ask people to sit still in front of a simple task, and some still discard data at every blink. Our participants played a fast-paced game with their hands, so some movement was unavoidable, and the signal is among the noisiest there is. On top of that, a session is long and physically odd, and can feel intimidating: people may tense up. A participant who feels rushed or uneasy moves more, tires faster and is less likely to come back, and all of that shows up as noise.
So I treated the participant’s journey, from the first online contact to the goodbye, as part of the method. We kept it relaxed: chatting, water, even snacks. The motto I gave my students:
We want people to feel welcome, safe and taken care of. Then they take care of us.
In practice: be conversational, explain what’s happening and why, check in often, and make the session feel less like a procedure and more like a partnership, always within what people had consented to.
To free up time for that, I automated everything that happened before people arrived. A Power Automate workflow handled onboarding: scheduling, reminders and paperwork. Nobody had to chase emails, and the experimenters could put their attention on the person in front of them.
When the odd one slips through
However careful a team is, a long study with rotating experimenters will eventually produce a mistake: a wrong file name, a skipped step, a mislabelled condition. I designed the procedure in layers. Standardised steps made errors hard to make. Several safeguards caught most of the ones that happened anyway. And flags surfaced the rest during the session, rather than months later at analysis time.
Cleaning data as a team
Spotting a blink in EEG data is easy. Deciding which of the remaining components are brain activity and which are muscle or noise relies on human judgement, and left to one person, those calls drift. I pushed for a peer-review step, so each decision was checked by a colleague. I co-designed it with an engineer, who built the tool: my part was the need, the design and the review steps. We built it so that students who don’t code could also annotate and select components, with safety nets throughout.
Analysis
I built the preprocessing and analysis pipelines in Python (MNE-Python, pandas), factorised so they can be re-run safely and generate figures and statistics reports with clean names and consistent style. I map the big picture out on a 2D board, then tell the final story in streamlined slides. Along the way I also built a small interface to trim gameplay videos for annotation. During my postdoc I rebuilt the codebase for open-source publication with proper quality control, coordinated more advanced EEG analyses, wrote guidelines for annotating gameplay video, and negotiated a contract with an external provider.
Teaching along the way
I trained and supervised nine junior researchers across the whole pipeline, from welcoming a participant to writing up results.
What I left behind
A rare thing in research: a large, well-documented dataset, with code and documentation others can actually pick up. Students and a research assistant are building on it now, and more should follow once the dataset is published. I’m proud of that.
Thesis record (full text embargoed until publication) · Public defence (video) · Related: Nguyen & Bavelier, Play in video games, Neuroscience & Biobehavioral Reviews (2023)