The role of robot design in decoding error-related information from EEG signals of a human observer

The role of robot design in decoding error-related information from EEG signals of a human observer

Joos Behncke, Robin T. Schirrmeister, Wolfram Burgard and Tonio Ball
Department of Computer Science, Albert-Ludwigs-University Freiburg, Germany
Translational Neurotechnology Lab, University Medical Center Freiburg, Germany
{joos.behncke, robin.schirrmeister, tonio.ball}@uniklinik-freiburg.de, burgard@informatik.uni-freiburg.de
Abstract

For utilization of robotic assistive devices in everyday life, means for detection and processing of erroneous robot actions are a focal aspect in the development of collaborative systems, especially when controlled via brain signals. Though, the variety of possible scenarios and the diversity of used robotic systems pose a challenge for error decoding from recordings of brain signals such as via EEG. For example, it is unclear whether humanoid appearances of robotic assistants have an influence on the performance. In this paper, we designed a study in which two different robots executed the same task both in an erroneous and a correct manner. We find error-related EEG signals of human observers indicating that the performance of the error decoding was independent of robot design. However, we can show that it was possible to identify which robot performed the instructed task by means of the EEG signals. In this case, deep convolutional neural networks (deep ConvNets) could reach significantly higher ac curacies than both regularized Linear Discriminanat Analysis (rLDA) and filter bank common spatial patterns (FB-CSP) combined with rLDA. Our findings indicate that decoding information about robot action success from the EEG, particularly when using deep neural networks, may be an applicable approach for a broad range of robot designs.

The role of robot design in decoding error-related information from EEG signals of a human observer

Joos Behncke, Robin T. Schirrmeister, Wolfram Burgard and Tonio Ball
Department of Computer Science, Albert-Ludwigs-University Freiburg, Germany
Translational Neurotechnology Lab, University Medical Center Freiburg, Germany
{joos.behncke, robin.schirrmeister, tonio.ball}@uniklinik-freiburg.de, burgard@informatik.uni-freiburg.de

Keywords:      EEG, Error processing, Deep Learning, Convolutional Neural Networks, Robot Design, Mirror Neuron System, BCI

\@abstract

1 Introduction

Error-related brain activity has the potential to support the management and implementation of BCI systems in various scenarios. Error detection systems have been embedded to improve real life tasks, e.g., to detect and correct erroneous actions performed by an assistive robot online, using primary and secondary error-related potentials (ErrPs) [Salazar-Gomez et al., 2017]. Other approaches benefit from ErrPs to extract incorrect maneuvers in a real-world driving task [Zhang et al., 2015] or use error-related negativity (ERN) to correct erroneous actions in object moving tasks [Parra et al., 2003]. In addition, error-related brain signals have been utilized to teach neuroprosthetics appropriate behaviour in situations with changing complexity [Iturrate et al., 2015].

However, the role of robot design in the decodability of error-related information in this scenario has not yet been investigated, although robots come in a broad range of different designs. Beside specifying properties like mobility or autonomy, a robot can be classified regarding its grade of being humanoid. Especially when collaborative interactions with humans take place, this characteristic may have an influence on the human’s perception of the robots behaviour. In a comparison between a human and a robotic agent performing several movement tasks, an activation of the human mirror neuron system [Rizzolatti et al., 1996] could be shown [Gazzola et al., 2007].

To investigate the impact of robot design, we designed a study where two robots performed exactly the same task, either correctly or not. The two robots differed in their physical appearance and basic design. We analyzed the classification performances of the error-related EEG signals separately for the different robot types. Furthermore, we investigated whether a distinction between the two robot types could be made based on the EEG recordings. For classification, we employed a deep Convolutional Neural Network (deep ConvNet), and we compared decoding performances with those of two more conventional methods, namely a regularized Linear Discriminant Analysis (rLDA), see [Friedman, 1989], and filter bank common spatial patterns (FB-CSP) combined with an rLDA classifier.

2 System and Experimental Design

In this study, participants were instructed to observe two robots performing a naturalistic task either in a correct or an erroneous manner. A humanoid (NAO (TM), Aldebaran Robotics, Paris, France) and non-humanoid robot (referred to as NoHu) were programmed to approach, grab, and lift a ball from the ground. They either succeeded in lifting or failed, letting the ball drop again. The visual stimuli consisted of short video clips, which were presented to the participants in a randomized order. Each trial consisted of a fixation period followed by the video playback and completed by the final attention task. Figure 1 shows the trials structure and the experimental paradigm schematically. A total of at least 800 trials per participant were recorded, split into sessions of 40 trials.

Figure 1: Timing structures of the experiment ( trials per participant). Each trial consisted of a fixation period, video stimulus of and an attention control task.

12 healthy participants (22-31 years old, 6 female) participated in our experiments, giving their informed consent for the study, which was approved by the local ethics committee. While observing the performed tasks, the participants were seated inside a dimly lit EEG recording chamber, being equipped with an active electro-magnetic shielding to ensure a high signal quality. The EEG cap consisted of 128 gel-filled electrodes positioned according to the five-percent electrode layout.

3 Methods

3.1 Pre-processing and Decoding

The recorded EEG signals were re-referenced to a common average reference (CAR) and resampled to . An electrode-wise exponential moving standardization was applied to normalize the data by exponential moving means and variances. Then, according to stimulus onset and predefined decoding intervals the data were cut into trials and used as classification features. The deep ConvNets were designed using the open-source deep learning toolbox braindecode for raw time-domain EEG, based on the model Deep4Net. More detailed information about the underlying architecture can be found in [Schirrmeister et al., 2017]. The data were split into two sets, were used for training while the remaining served as a test set.

For the rLDA the pre-processing was similar except the fact that no standardization was implemented, resulting in higher accuracies than with standardization. The rLDA algorithm comprised a shrinkage parameter estimation, based on the LedoitWolf estimator [Ledoit and Wolf, 2004] as suggested in [Blankertz et al., 2010]

In the FB-CSP implementation, the data were high-pass filtered using a Butterworth filter (order , cut-off frequency ) and automatically cleaned before cut into trials. The resulting trial structure was then band-pass filtered in non-overlaying frequency bands between and , having a bandwidth of for bands lower than and a bandwidth of for higher frequency bands [Buzsáki and Draguhn, 2004]. For further details on feature selection and classifier design, see [Ang et al., 2012, Blankertz et al., 2008].

3.2 Decoding Intervals

Relative to the video onset, two decoding intervals were selected. A long decoding interval of covered the full length of the video, while a late interval of was selected since it was covering the actual process of grasping and lifting the ball. For both intervals decoding performances were calculated using all of the methods presented in 3.1.

3.3 Statistical Procedures

For estimation of significance of the decoding results per participant a random permutation test was applied [Pitman, 1937]. A set of random but realistic proportioned guesses were compared each to the genuine labels to create a reasonable distribution of potential classification results. The generated distribution was then used to determine the significance per participant and decoding interval. In Figure 2 group significances were estimated by means of the single trials and using a sign test [Hollander et al., 2013].

4 Error Decoding

Firstly, we investigated the influence of robot design on the performance in an error-decoding scenario. Therefore, the trials were sorted by robot type and the decoding analysis of erroneous vs. correct trials was performed separately on the two data sets. In this case, only the deep ConvNet implementation was used for error detection. Figure 2 shows the outcome of this analysis, showing the distribution of the accuracies for both robot conditions for all participants. Even though the decoding of trials presenting the NoHu robot executing the task showed a broader range, there was no significant () difference between the two conditions. The ConvNets achieved median accuracies of for the NAO condition and for the NoHu condition, yielding almost the same performance taking the errors into account.

Figure 2: Boxplots of accuracies for error decoding for the two robot types.

5 Distinction Between Robot Types

Three different decoding methods were used for classification, ConvNets, rLDA and FB-CSP+rLDA. For each participant decoding accuracies were determined for both decoding intervals (see 3.2) which were defined according to the video onset. An overview of mean decoding accuracies is given in Table 1. The results indicate that a distinction between the two kinds of robots was decodable with all of the applied techniques. Furthermore, for both decoding intervals the deep ConvNet architecture performed consistently and significantly better (sign test, ).

0 - 7s 4 - 7s
ConvNet
rLDA
FB-CSP
Table 1: Mean Accuracies for Different Decoding Intervals

Figure 3A shows the pairwise comparison of performances for the different classifiers, including the results of the analysis gained with both of the decoding intervals. Significance is indicated by blue color while the red squares represent the mean accuracies, the diagonal indicates equal performance. For each single participant, the decoding accuracies gained by the deep ConvNet implementation significantly exceeded those of the other methods, i.e., compared to rLDA and FB-CSP, the ConvNet performed significantly better on the group level.

Figure 3: (A) Pairwise comparison of decoding accuracies investigated with three different methods. (B) Pairwise linear correlation of the participants performances.

To gain a measure of the relationship between the decoding results of the different decoding techniques, we calculated the pairwise linear correlation between decoding accuracies over subjects. Figure 3B shows the correlation for all pairs; the dotted line represents the result of the linear regression. The results indicate a highly significant linear relationship between deep ConvNet and rLDA performances, but also for both of the other combinations a significant () correlation can be found.

6 Visualization

Figure 4: Time-resolved voltage feature input-perturbation network-prediction correlation maps for robot type decoding, averaged over participants and 30 iterations, and corresponding video frames (top rows). Time-resolved normalized L1 distance of sequential pairs of video frames for both conditions (bottom row).

The visualization used in this section was applied as suggested in [Schirrmeister et al., 2017], visualizing EEG features that the deep ConvNet learned from the data when used to distinguish between the different robot designs. To this aim, the correlation between changes of the predictions made by the ConvNet and perturbation changes in time domain voltage amplitudes were calculated. By adding Gaussian noise, training trials were randomly perturbed. After that, the perturbed signal and the unperturbed signal were both fed into the deep ConvNet. The two outputs were extracted before the softmax activation, and their difference was correlated with the perturbation itself. The results can be visualized in a channel-resolved manner. The decision to use time domain signals as an input for the perturbations instead of spectral amplitudes was made according to the fact of lower decoding performances of the CSP algorithm, which relies on spectral features. This circumstances suggest that spectral information was likely not that prominent in the underlying decoding problem.

In Figure 4 the (participant- and iteration-) averaged time-resolved input-perturbation network-prediction correlation maps for voltage features of the robot type decoding are shown. Each map is accompanied by the corresponding video frame, in the upper row with pictures of the humanoid robot NAO and the lower row with the non-humanoid robot NoHu, respectively. Figure 4 is divided into a section were the robots approach the ball (top) and a section were the robots try to lift the ball (bottom), but exhibiting a continuous time line from .

The perturbation maps in Figure 4 exhibit increasing, prominent correlation patterns for signals around and according to video onset. At the first time point, the effects show spatially more widespread correlations with a remarkable, centered peak in frontal areas accompanied by an occipital symmetric effect. The later time window around shows similar but less symmetric patterns in occipital regions, and a more pronounced frontal peak. The occipital effects for both time points might indicate different cerebral processings of the visual characteristics in the robots execution of the programmed task.

As a first step to examine visual features which might have led to differences in brain signals for the two robot conditions, we calculated the time-resolved normalized L1 distance of sequential pairs of video frames for both conditions. The corresponding curve in Figure 4 indicates a rather small difference between sequential frames and a steady difference between the two conditions, as the curve varies only little but with consistently high values. Furthermore, with this method no obvious correlation between the time course of visual changes and informative features extracted by the perturbation analysis can be suggested.

7 Conclusion & Outlook

The potential of error detection for practical BCI applications has recently led to several studies in EEG research, e.g. [Salazar-Gomez et al., 2017, Zhang et al., 2015, Parra et al., 2003, Iturrate et al., 2015]. However, to our knowledge, aspects of robot design has not been part of investigations on error-related brain signals so far. In this study, we examined this aspect and show that at least the two different robot designs used in our current study did not have any significant impact on the performance of error decoding. The distinction between robot types based on the participants brain-signals yielded in mean accuracies of for the ConvNet, for the rLDA and for FB-CSP implementation when decoding on the whole time-window covered by the video stimulus. Hence, the robot type indeed could be classified on the basis of the EEG data. Moreover, our ConvNet implementation could reach systematically better results than the two other methods. Notably, the ConvNet were not specifically adjusted to the problem, but used ”out-of-the-box” as it was available in the used open-source implementation. Deep ConvNets have already entered the field of EEG research and proven their applicability [Tang et al., 2017], but not yet for distinction of robot types. Overall, the accuracies reached here are however still far from the requirements for practical application. E.g. intracranial signals or further improved non-invasive methods will be necessary to reach better performance.

The pairwise correlations of the participants’ decoding results for the different methods showed a significant linear correlation for all cases. Particularly the comparison of ConvNets und rLDA accuracies were apparent: the net appears to act more ”rLDA-like” for the given problem, in line with the assumption that time-domain features were mainly informative.

For the visualization the time-domain EEG signal changes were correlated with decoding results determined after a Gaussian perturbation. Based on the correlation maps as shown in Figure 4 it appeares that the ConvNet learned time-domain information to distinguish between classes. Specific time windows revealed more pronounced effects than others and the distribution of informative signals focused on occipital brain regions. This might reflect the difference in the processing of the visual input for the two robot types. Visulaizations also showed a medio-frontal peak. This effect appeared around the same time when the robot approached to target and the grasped it. It is possible that in this cases the mirror neuron system (MNS) might get activated [Hari et al., 1998, Rizzolatti et al., 1996, Rizzolatti and Craighero, 2004, Mukamel et al., 2010], which involves widespread frontal and parietal regions. According to this, the different robot types could have lead to a differential activation of this system.

Acknowledgements

This work was supported by DFG grant EXC1086 BrainLinks-BrainTools and Baden-Württemberg Stiftung grant BMI-Bot. Furthermore, the authors would like to thank Dominik Welke and Marina Hader for their support in creating and processing the data sets, but especially the subjects for their conscientious participation.

References

  • Ang et al., 2012 Ang, K. K., Chin, Z. Y., Wang, C., Guan, C., and Zhang, H. (2012). Filter bank common spatial pattern algorithm on bci competition iv datasets 2a and 2b. Frontiers in neuroscience, 6:39.
  • Blankertz et al., 2010 Blankertz, B., Tangermann, M., Vidaurre, C., Fazli, S., Sannelli, C., Haufe, S., Maeder, C., Ramsey, L. E., Sturm, I., Curio, G., et al. (2010). The berlin brain–computer interface: non-medical uses of bci technology. Frontiers in neuroscience, 4:198.
  • Blankertz et al., 2008 Blankertz, B., Tomioka, R., Lemm, S., Kawanabe, M., and Muller, K.-R. (2008). Optimizing spatial filters for robust eeg single-trial analysis. IEEE Signal processing magazine, 25(1):41–56.
  • Buzsáki and Draguhn, 2004 Buzsáki, G. and Draguhn, A. (2004). Neuronal oscillations in cortical networks. science, 304(5679):1926–1929.
  • Friedman, 1989 Friedman, J. H. (1989). Regularized discriminant analysis. Journal of the American statistical association, 84(405):165–175.
  • Gazzola et al., 2007 Gazzola, V., Rizzolatti, G., Wicker, B., and Keysers, C. (2007). The anthropomorphic brain: the mirror neuron system responds to human and robotic actions. Neuroimage, 35(4):1674–1684.
  • Hari et al., 1998 Hari, R., Forss, N., Avikainen, S., Kirveskari, E., Salenius, S., and Rizzolatti, G. (1998). Activation of human primary motor cortex during action observation: a neuromagnetic study. Proceedings of the National Academy of Sciences, 95(25):15061–15065.
  • Hollander et al., 2013 Hollander, M., Wolfe, D. A., and Chicken, E. (2013). Nonparametric statistical methods, volume 751. John Wiley & Sons.
  • Iturrate et al., 2015 Iturrate, I., Chavarriaga, R., Montesano, L., Minguez, J., and Millán, J. d. R. (2015). Teaching brain-machine interfaces as an alternative paradigm to neuroprosthetics control. Scientific reports, 5:13893.
  • Ledoit and Wolf, 2004 Ledoit, O. and Wolf, M. (2004). A well-conditioned estimator for large-dimensional covariance matrices. Journal of multivariate analysis, 88(2):365–411.
  • Mukamel et al., 2010 Mukamel, R., Ekstrom, A. D., Kaplan, J., Iacoboni, M., and Fried, I. (2010). Single-neuron responses in humans during execution and observation of actions. Current biology, 20(8):750–756.
  • Parra et al., 2003 Parra, L. C., Spence, C. D., Gerson, A. D., and Sajda, P. (2003). Response error correction-a demonstration of improved human-machine performance using real-time eeg monitoring. IEEE transactions on neural systems and rehabilitation engineering, 11(2):173–177.
  • Pitman, 1937 Pitman, E. J. (1937). Significance tests which may be applied to samples from any populations. Supplement to the Journal of the Royal Statistical Society, 4(1):119–130.
  • Rizzolatti and Craighero, 2004 Rizzolatti, G. and Craighero, L. (2004). The mirror-neuron system. Annu. Rev. Neurosci., 27:169–192.
  • Rizzolatti et al., 1996 Rizzolatti, G., Fadiga, L., Gallese, V., and Fogassi, L. (1996). Premotor cortex and the recognition of motor actions. Cognitive brain research, 3(2):131–141.
  • Salazar-Gomez et al., 2017 Salazar-Gomez, A. F., DelPreto, J., Gil, S., Guenther, F. H., and Rus, D. (2017). Correcting robot mistakes in real time using eeg signals. In Robotics and Automation (ICRA), 2017 IEEE International Conference on, pages 6570–6577. IEEE.
  • Schirrmeister et al., 2017 Schirrmeister, R. T., Springenberg, J. T., Fiederer, L. D. J., Glasstetter, M., Eggensperger, K., Tangermann, M., Hutter, F., Burgard, W., and Ball, T. (2017). Deep learning with convolutional neural networks for eeg decoding and visualization. Human brain mapping, 38(11):5391–5420.
  • Tang et al., 2017 Tang, Z., Li, C., and Sun, S. (2017). Single-trial eeg classification of motor imagery using deep convolutional neural networks. Optik-International Journal for Light and Electron Optics, 130:11–18.
  • Zhang et al., 2015 Zhang, H., Chavarriaga, R., Khaliliardali, Z., Gheorghe, L., Iturrate, I., and d R Millán, J. (2015). Eeg-based decoding of error-related brain activity in a real-world driving task. Journal of neural engineering, 12(6):066028.
Comments 0
Request Comment
You are adding the first comment!
How to quickly get a good reply:
  • Give credit where it’s due by listing out the positive aspects of a paper before getting into which changes should be made.
  • Be specific in your critique, and provide supporting evidence with appropriate references to substantiate general statements.
  • Your comment should inspire ideas to flow and help the author improves the paper.

The better we are at sharing our knowledge with each other, the faster we move forward.
""
The feedback must be of minimum 40 characters and the title a minimum of 5 characters
   
Add comment
Cancel
Loading ...
211776
This is a comment super asjknd jkasnjk adsnkj
Upvote
Downvote
""
The feedback must be of minumum 40 characters
The feedback must be of minumum 40 characters
Submit
Cancel

You are asking your first question!
How to quickly get a good answer:
  • Keep your question short and to the point
  • Check for grammar or spelling errors.
  • Phrase it like a question
Test
Test description