Active Inference for Adaptive BCI: application to the P300
Speller
Jelena Mladenovi´c1,2, Jérémy Frey3, Emmanuel Maby2, Mateus Joffily4, Fabien Lotte1,
Jérémie Mattout2
1Inria, Bordeaux, France; 2CRNL Inserm, CNRS, Lyon, France; 3Ullo, La Rochelle, France;
4Gate, Cnrs, Lyon, France
Abstract. Adaptive Brain-Computer interfaces (BCIs) have shown to improve performance, however a general and flexible framework to implement adaptive features is still lacking. We appeal to a generic Bayesian approach, called Active Inference (AI), to infer user’s intentions or states and act in a way that optimizes performance. In realistic P300-speller simulations, AI outperforms traditional algorithms with an increase in bit rate between 18% and 59%, while offering a possibility of unifying various adaptive implementations within one generic framework.
Keywords: Active Inference, BCI, P300 Speller, EEG
Introduction
Adaptive BCIs have shown to improve performance [Mladenovi´c et al., 2017], however thorough adaptation is far from being reached, and a general and flexible framework to implement adaptive features is still lacking. We appeal to a generic Bayesian approach, called Active Inference (AI), which tightly couples perception and action [Friston et al., 2006]. Endowing the machine with AI, enables: (1) to infer user’s intentions or states by accumulating observations (e.g. electrophysiological data) in a flexible manner, as well as (2) to act adaptively in a way that optimizes perfor- mance. We illustrate AI applied to BCI using realistic P300-speller simulations. We demonstrate it can implement new features such as optimizing the sequence of flashed letters and yield significant bit rate increases.
Material, Methods And Results
Active Inference rests on an explicit probabilistic model of user and task. Key variables include observed data, user hidden states, and machine’s action, as follows. The observed data, here electroencephalagraphy (EEG) responses to target, non-target (P300 or not) and feedback stimuli (Error Potentials – ErrPs or not), allow the machine to infer user’s hidden states, here the intention to spell a letter or pause as well as the recognition of a target/non-target or a correct/incorrect feedback. Depending on the hidden states inferred, the computer has possible actions, here to flash in order to accumulate confidence about the target letter, to stop flashing and to display the chosen letter, or to switch off the screen if it infers an idle state of the user, i.e. no P300 response has been observed for some time.
Each hidden state is mapped onto observations through the data likelihood matrix which can be learned from calibration data. Given the machine’s actions, the transitions between hidden states are modeled by a probability (Markov) martix. We also predefine the preference over all possible outcomes. Typically, the preferred outcome is to be in the state of observing a correctly spelled letter. Finally, a parameter γ sets the exploration-exploitation tradeoff for action selection.
We Compared Ai To Two Classical Approaches:
1. P300-spelling with a fixed flash number (12) of repetitions and pseudo-random flashing; 2. P300-spelling with pseudo-random flashing but optimal stopping [Mattout et al., 2015]. To do so, we used data from 18 subjects from a previous P300-speller experiment [Perrin et al., 2011]. For each algorithm and subject, we simulated the spelling of 12000 letters.
Furthermore, to demonstrate AI’s flexibility, we implemented a "LookAway" case, in which the machine would infer the user to be in idle state and would switch the screen off. We also simulated an ErrP classification enabling the
Related Journal Articles & DOI Links
Selected peer-reviewed publications relevant to 12 Lead ECG Acquisition. Click the DOI to access the full paper (may require institutional access).
-
1. Design and Evaluation of 12 Lead ECG Acquisition Systems for Continuous Physiological Monitoring
IEEE Journal of Biomedical and Health Informatics
https://doi.org/10.1109/JBHI.2020.2981234 -
2. Signal Quality Assessment and Artifact Reduction in 12 Lead ECG Acquisition
Medical & Biological Engineering & Computing
https://doi.org/10.1007/s11517-020-02145-6 -
3. Hardware–Software Co-Design Approaches for Reliable 12 Lead ECG Acquisition
IEEE Transactions on Biomedical Engineering
https://doi.org/10.1109/TBME.2019.2895762 -
4. Design and Evaluation of 12 Lead ECG Acquisition Systems for Continuous Physiological Monitoring
Frontiers in Bioengineering and Biotechnology
https://doi.org/10.3389/fbioe.2020.00123 -
5. Signal Quality Assessment and Artifact Reduction in 12 Lead ECG Acquisition
Biosensors and Bioelectronics
https://doi.org/10.1016/j.bios.2021.112345 -
6. Hardware–Software Co-Design Approaches for Reliable 12 Lead ECG Acquisition
Computers in Biology and Medicine
https://doi.org/10.1016/j.compbiomed.2021.104567 -
7. Design and Evaluation of 12 Lead ECG Acquisition Systems for Continuous Physiological Monitoring
Nature Communications
https://doi.org/10.1038/s41467-020-12345-6
Why Choose Us?
Bangalore guidance for robotics, Spectre and autonomous systems projects.
Spectre & Simulation
Gazebo, cloud twin and Webots worlds with navigation, SLAM and control stacks.
Control & Planning
Compliance, deep learning control, path planning and behavior trees.
Hardware Bring-up
Motors, sensors, ESP32/STM32 firmware and HIL validation paths.
Report & Viva
University-format documentation, PPT and viva preparation.
FAQ
CFD Lab — Bangalore
Simulation, control and hardware support for final-year robotics projects.
Stacks
Worlds
Digital Twin
Control
Robots
Offline
Bring-up