Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2017 Jan 31:11:6.
doi: 10.3389/fninf.2017.00006. eCollection 2017.

BCI Control of Heuristic Search Algorithms

Affiliations

BCI Control of Heuristic Search Algorithms

Marc Cavazza et al. Front Neuroinform. .

Abstract

The ability to develop Brain-Computer Interfaces (BCI) to Intelligent Systems would offer new perspectives in terms of human supervision of complex Artificial Intelligence (AI) systems, as well as supporting new types of applications. In this article, we introduce a basic mechanism for the control of heuristic search through fNIRS-based BCI. The rationale is that heuristic search is not only a basic AI mechanism but also one still at the heart of many different AI systems. We investigate how users' mental disposition can be harnessed to influence the performance of heuristic search algorithm through a mechanism of precision-complexity exchange. From a system perspective, we use weighted variants of the A* algorithm which have an ability to provide faster, albeit suboptimal solutions. We use recent results in affective BCI to capture a BCI signal, which is indicative of a compatible mental disposition in the user. It has been established that Prefrontal Cortex (PFC) asymmetry is strongly correlated to motivational dispositions and results anticipation, such as approach or even risk-taking, and that this asymmetry is amenable to Neurofeedback (NF) control. Since PFC asymmetry is accessible through fNIRS, we designed a BCI paradigm in which users vary their PFC asymmetry through NF during heuristic search tasks, resulting in faster solutions. This is achieved through mapping the PFC asymmetry value onto the dynamic weighting parameter of the weighted A* (WA*) algorithm. We illustrate this approach through two different experiments, one based on solving 8-puzzle configurations, and the other on path planning. In both experiments, subjects were able to speed up the computation of a solution through a reduction of search space in WA*. Our results establish the ability of subjects to intervene in heuristic search progression, with effects which are commensurate to their control of PFC asymmetry: this opens the way to new mechanisms for the implementation of hybrid cognitive systems.

Keywords: brain-computer interfaces (BCI); functional near-infrared spectroscopy (fNIRS); heuristic search; neurofeedback (NF); user interfaces.

PubMed Disclaimer

Figures

Figure 1
Figure 1
Impact of dynamic weighting on the size of the 8-puzzle search space.
Figure 2
Figure 2
Experiment I: Rest, Neurofeedback (NF) and Count epochs.
Figure 3
Figure 3
Experiment I—Subjects equipped with an fNIRS sensor engage in a NF task whose visual display is a metaphor for the search space they are trying to reduce. Mapping between fNIRS signal and the WA* weighting coefficient is implemented via real-time statistical testing of prefrontal asymmetry. The weighting coefficient is only modified once, with several attempts in the early stages of the search process. Note that since each epoch (without the first 7 s, shown in gray) contained at least 66 observations (33 s with 2 Hz sampling frequency), we applied as threshold criterion the t critical value for p = 0.05 (two-tailed) with 65° of freedom, tcrit (65) = 2.00.
Figure 4
Figure 4
Experiment II: Count and NF epochs. Left-asymmetric increase in DL-Prefrontal Cortex (PFC) activity during NF was mapped to the width of the red cone, which was used as a visual metaphor (i.e., narrowing the beam of a searchlight) for supporting the search process.
Figure 5
Figure 5
Experiment II—Subjects equipped with an fNIRS sensor engage in a NF task whose visual display is this time the progression of the search process in path planning on a grid. The real-time mapping shown on the graph illustrates how increasing w values depends on positive up-regulation of asymmetry score. Unlike Experiment I, the weighting coefficient can be subject to successive dynamic increases during search. Examples: (1) shows a standard un-influenced solution path; (2) shows details of the cone visual feedback to the user’s positive input, matching to the acceleration of the search process, thus to a reduction of the search space (nodes unexplored on the right-hand side); and (3) shows the alternative solution produced by WA* under the subject’s influence.
Figure 6
Figure 6
Examples of average left and right oxygenated-hemoglobin (HbO) changes over time, as well as asymmetry, during two successful blocks (a, b) in Experiment I. Areas in gray represent the first 7 s of each epoch (i.e., the approximate delay of the hemodynamic response). Note that during the NF epoch, HbO increases bilaterally, with asymmetry to the left; during the Count epoch following NF, HbO decreases on both sides; during Rest, HbO further decreases towards baseline.
Figure 7
Figure 7
Experiment I: decrease of the number of the nodes expanded during the state-space search across successful NF epochs (total number of nodes explored without intervention is 34,400 for the 8-puzzle configuration used in the experiments).
Figure 8
Figure 8
Experiment II: number of nodes expanded during state-space search across successful NF epochs.
Figure 9
Figure 9
Distribution of w values across successful NF blocks (r = 0.895, p < 0.001).
Figure 10
Figure 10
Mean and standard error of fNIRS signal across all successful blocks in Experiment II for left (Red) and right (Blue) sides separately (left rises above right during NF epoch).

References

    1. Amodio D. M., Shah J. Y., Sigelman J., Brazy P. C., Harmon-Jones E. (2004). Implicit regulatory focus associated with asymmetrical frontal cortical activity. J. Exp. Soc. Psychol. 40, 225–232. 10.1016/s0022-1031(03)00100-8 - DOI
    1. Aranyi G., Cavazza M., Charles F. (2015). “Using fNIRS for prefrontal-asymmetry neurofeedback: methods and challenges,” in Proceedings of Symbiotic Interaction, eds Blankertz B., Jacucci G., Gamberini L., Spagnolli A., Freeman J. (Switzerland: Springer International Publishing; ), 7–20.
    1. Aranyi G., Pecune F., Charles F., Pelachaud C., Cavazza M. (2016). Affective interaction with a virtual character through an fNIRS brain-computer interface. Front. Comput. Neurosci. 10:70. 10.3389/fncom.2016.00070 - DOI - PMC - PubMed
    1. Ayaz H., Izzetoglu M., Shewokis P. A., Onaral B. (2010). Sliding-window motion artifact rejection for functional near-infrared spectroscopy. Conf. Proc. IEEE Eng. Med. Biol. Soc. 2010, 6567–6570. 10.1109/IEMBS.2010.5627113 - DOI - PubMed
    1. Baehr E., Rosenfeld J. P., Baehr R. (2001). Clinical use of an alpha asymmetry neurofeedback protocol in the treatment of mood disorders: follow-up study one to five years post therapy. J. Neurother. 4, 11–18. 10.1300/j184v04n04_03 - DOI

LinkOut - more resources