Enquire Now
70+ Topics · Spectre · Spectre · cloud sim Sim · MATLAB · Webots · Hardware · Bangalore 2026

P300 Speller Bci Project

Simulation · Control · Perception · Hardware — 12 Lead ECG Acquisition — hardware, sensors, cloud dashboards and protocols (Spectre, REST, CoAP, WebSockets) for BE BTech MTech students. Final-year robotics support with Spectre stacks, simulation worlds, reports and viva from Bangalore.

70+
Related Topics
6+
Sim & HW Tools
4.9★
573 Ratings

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).

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

Spectre, Gazebo, NVIDIA cloud twin, MATLAB/Simulink, Webots, Blynk / ThingSpeak, plus Arduino/STM32/ESP32, cameras, LiDAR and motor drivers.
Yes — simulation packages, hardware guidance, report, PPT and viva Q&A.