Full text
Universidade do Minho Escola de Engenharia Nuno Miguel Cerqueira da Costa setembro de 2021 Nuno Costa UMinho|2021 Self-regulation Learning in Neurofeedback Training: Effects of a Human-computer Framework to Prime Subjects with External Stimulation, like Mindfulness Self-regulation Learning in Neurofeedback Training: Effects of a Human-computer Framework to Prime Subjects with External Stimulation, like Mindfulness
setembro de 2021 Doutoramento em Bioengenharia Universidade do Minho Escola de Engenharia Nuno Miguel Cerqueira da Costa Trabalho realizado sob a orientação do Professor Doutor Nuno Sérgio Mendes Dias e da Professora Doutora Estela Guerreiro da Silva Bicho Erlhagen Tese de Doutoramento Universidade do Minho Escola de Engenharia Self-regulation Learning in Neurofeedback Training: Effects of a Human-computer Framework to Prime Subjects with External Stimulation, like Mindfulness
ii DIREITOS DE AUTOR E CONDIÇÕES DE UTILIZAÇÃO DO TRABALHO POR TERCEIROS Este é um trabalho académico que pode ser utilizado por terceiros desde que respeitadas as regras e boas práticas internacionalmente aceites, no que concerne aos direitos de autor e direitos conexos. Assim, o presente trabalho pode ser utilizado nos termos previstos na licença abaixo indicada. Caso o utilizador necessite de permissão para poder fazer um uso do trabalho em condições não previstas no licenciamento indicado, deverá contactar o autor, através do RepositóriUM da Universidade do Minho. Licença concedida aos utilizadores deste trabalho Atribuição-NãoComercial-SemDerivações CC BY-NC-ND https://creativecommons.org/licenses/by-nc-nd/4.0/
iii ACKNOWLEDGEMENTS [EN] I envisioned a mechanistic approach to arrive at our flow state, scientifically known as transient hypofrontality (Csikszentmihalyi, 2014). Many authors contributed to this theme. Nowadays, the literature is more prosperous than ever before, enabling us to question: “Presently, is it possible to mechanistically induce this mental state?“ Throughout this journey and the first steps undertaken in this Ph.D., I met people and authors that helped me in one way or another. These acknowledgements are a gentle reminder of their support along this path. [PT] Em primeiro lugar, os agradecimentos são dedicados aqueles que possibilitaram este momento, os meus pais. Aos meus irmãos, ver-vos crescer continua a ser uma das melhores experiências da minha vida. À minha companheira e melhor amiga, sem o seu amor incondicional, sem o seu carinho e sem a sua presença não teria ninguém para me apoiar quando magoa, para entender quando mói, para festejar aquando das vitórias. És minha, eu sou teu e juntos somos mais. No geral, para toda a minha família, todos os que me rodeiam e para os grandes que me ajudaram nesta conquista (vocês sabem quem são!), um grande obrigado. [EN] To my supervisors that agreed to aid me in this hard path and for the autonomy I was entrusted with. To my supervisor for hints on Neurofeedback learning and why it could be a tool for mechanistic control of mental states and support provided during this thesis. To my co-supervisor, I thank her for all her readiness to help. To everyone at MIT, ICVS, ALGORITMI, and 2AI that always had wise words to share. To all the authors used throughout the thesis, I commend you. Without you, this thesis, at this moment, would be impossible. Ideas have no authority, nor do they have time. They just have the right circumstance to be scientifically tested. To all the volunteers who were eager to participate in the study, there would be no results without them. Finally, I should congratulate my Self for always falling forward through all the dreams, the hard work, the joys, the hopes, the expectations, but also the gruelling pain of uncertainty, workload, the stress of deadlines, and the obsession. I agree with the popular saying, “Your energy flows where your attention goes” , for the better or the worse. Julio Verne summarizes this beautifully, “There are no impossible obstacles, there are just stronger and weaker wills, that is all!” . This work was co-financed by the ERDF – European Regional Development Fund through the Operational Program for Competitiveness and Internationalisation – COMPETE 2020 (ref.: PO-CI-01-0145-FEDER- 007043; ref: POCI-01-0145-FEDER-007038), the North Portugal Regional Operational Program – NORTE 2020 (ref.: NORTE-01-0145-FEDER-000045) and by the Portuguese Foundation for Science and Technology – FCT under MIT Portugal (author Ph.D. grant ref.: PD/BD/114033/2015) and within the R&D Units Project Scope (ref.: UIDB/00319/2020).
iv STATEMENT OF INTEGRITY I hereby declare having conducted this academic work with integrity. I confirm that I have not used plagiarism or any form of undue use of information or falsification of results along the process leading to its elaboration. I further declare that I have fully acknowledged the Code of Ethical Conduct of the University of Minho.
v Aprendizagem de Auto-regulação no Treino de Neurofeedback: Efeitos de uma Framework Homem-máquina para Preparar Sujeitos com Estimulações Externas, tal como o Mindfulness. RESUMO A capacidade de autorregulação dos processos sociais e individuais é necessária na adaptação aos desafios ambientais (stress, procrastinação, relaxamento, atenção, subir escadas, escalar montanhas, etc.) e desafios sociais (comunicação, apresentação, exposição nas redes sociais, gestão de conflitos etc.), tornando-se indispensável na atual sociedade hiper-tecnonológica e hiper-estimulante. Em termos neurofisiológicos, o processo de adaptação aos desafios depende da capacidade do cérebro de controlar cuidadosamente o tempo nos diferentes estados mentais e nas transições entre os mesmos. O treino de neurofeedback (NFT) é uma das técnicas usadas para ensinar este tipo de controlo. Nos protocolos atuais, os benefícios do NFT diferem bastante entre indivíduos, existindo uma percentagem elevada de sujeitos que não apresentam desempenho satisfatório no controlo voluntário dos processos eletrofisiológicos e hemodinâmicos (ineficácia até ≈ 50%). Assim sendo, compreender auxiliar a autorregulação do neurofeedback tem elevada importância. A literatura propõe que o estado “ideal” de aprendizagem, de autorregulação do neurofeedback, é alcançado quando são evitadas associações irrelevantes entre estados internos e recompensas externas (e.g., “Será que estou a conseguir?” , “Sou mesmo eu a controlar o feedback?” ) e quando o sujeito permanece envolvido, focado e sem distrações durante o treino. Como tal, questionamos se a preparação dos estados mentais dos participantes (usando estimulos pre-NFT) pode aumentar o desempenho de autorregulação do neurofeedback. Como resposta, sintetizamos uma nova framework open-source. Começando pelos fundamentos teóricos, depois pelo design, seguido pelo software e as aplicações da Framework. Finalmente, nos últimos capítulos, discutimos os processos, problemas, soluções, métodos, resultados e possibilidades futuras. Destacando que a preparação dos sujeitos com neuroestimulação externa, usando técnicas de mindfulness, aumenta significativamente ( t (29) = 4.38, p < 0.001) a performance durante o NFT em comparação com uma intervenção sem preparação ( t (29) = 1.18, p > 0.1). Provavelmente explicado pelo efeito da preparação em sujeitos com pouca capacidade de actuar com consciência, aumentando a presença e envolvimento nas tarefas. Estes resultados validam a nossa framework de preparação assistida e indicam a sua utilidade em estimular a capacidade de autorregular o neurofeedback. PALAVRAS-CHAVE: APRENDIZAGEM DE AUTORREGULAÇÃO, ESTADOS MENTAIS, MINDFULNESS, TREINO DE NEUROFEEDBACK ASSISTIDO, OPEN-SOURCE BRAIN-COMPUTER INTERFACE.
vi Self-regulation Learning in Neurofeedback Training: Effects of a Human-computer Framework to Prime Subjects with External Stimulation, like Mindfulness. ABSTRACT Self-regulation (SR) of social and individual processes is a vital adaptation process to environmental (stress, procrastination, relaxation, attention, climbing a set of stairs or a mountain, among others) and social challenges (communication, presentation, social network exposure, conflict management, among others), becoming indispensable, in our growing hiper-technological and hiper-stimulative society. In neurophysiological terms, the adaptation process to challenges depends critically on the brain’s ability to carefully control the time within and transitions among different brain states. Neurofeedback Training (NFT) is one of the techniques used to teach this kind of control. In the current protocols, the benefits from NFT significantly differ between subjects, i.e., a high percentage of subjects are missing a satisfactory performance in voluntary control of the electrophysiological and hemodynamic processes being trained (inefficacy up to ≈ 50%). As such, understanding how to assist SR in Neurofeedback protocols is of great importance. Some works in the literature hypothesize that the “optimal” state of SR learning using Neurofeedback is reached when irrelevant associations between internal states and external reward are avoided (e.g., “Can I control my brain?” , “Is it me who is controlling the feedback?” ), and when the learner stays engaged, focused, and undistracted. As such, we hypothesize that priming the mental states of participants (with pre-NFT stimulation) can improve the performance of SR. To answer this, we developed a novel priming open-source framework. Starting from the theoretical foundations, then the design, followed by the open-source software and framework study applications. Finally, we discuss the process, problems, solutions, methods, results, and future possibilities throughout the last chapters. We highlight that priming subjects with external neurostimulation, based on mindfulness meditation techniques, significantly increased the NFT performance ( t (29) = 4.38, p < 0.001) comparing to no-priming ( t (29) = 1.18, p > 0.1) intervention. This is probably explained by the effect of priming in subjects with a lack of acting with awareness at pre-intervention, leading to increased task engagement and a relaxed non-judgemental attitude towards the NFT tasks. These results validate our assisted priming framework and indicate its usefulness in stimulating the capacity to self-regulate the neurofeedback. KEYWORDS: ASSISTED NEUROFEEDBACK TRAINING, MENTAL STATES, MINDFULNESS, OPEN-SOURCE BRAIN-COMPUTER INTERFACE, SELF-REGULATION LEARNING.
vii TABLE OF CONTENTS Acknowledgements ......................................................................................................... iii Resumo ............................................................................................................................ v Abstract .......................................................................................................................... vi List of Figures .................................................................................................................. x List of Tables ................................................................................................................ xiv List of Abbreviations and Acronyms .................................................................................. x Thesis Layout ................................................................................................................. xv 1. Chapter 1 - Introduction ........................................................................................... 1 1.1 The necessity of self-regulation for optimal homeostatic states ............................................ 4 1.2 Neurofeedback ................................................................................................................... 5 1.2.1 Neuromodulation ........................................................................................................... 6 1.2.2 The opportunity .............................................................................................................. 7 1.2.3 The inefficacy problem ................................................................................................... 8 1.2.4 The big picture: comparing existing research lines in Neurofeedback learning ability ........ 9 1.2.5 Predictors of NFT success ............................................................................................ 11 1.2.6 Our line of research ..................................................................................................... 12 1.3 Framework foundations .................................................................................................... 14 1.3.1 The basis, associative learning and information representation ...................................... 15 1.3.2 Factors influencing neurofeedback learning. What don’t we know? ................................ 16 1.3.3 The “optimal” state ...................................................................................................... 20 1.3.4 Dual-process Learning Theory ...................................................................................... 20 1.3.5 Dynamical systems theory & Control theory .................................................................. 22 1.3.6 Instructions design for NFT .......................................................................................... 27 1.3.7 NFT specificity ............................................................................................................. 29
xiv LIST OF TABLES Table 1 - tBAT for each subject and group average ............................................................................ 81 Table 2 - Samples according to the different group randomizations .................................................. 111 Table 3 - Group characteristics at preintervention (T0) (for N =60). .................................................. 119 Table 4 - RM ANOVA of pre-(Bin) and postintervention (Bout) power spectra for three conditions: REST EC, REST EO, and NFT EO. ............................................................................................................. 120 Table 5 – Significant multi-feature domains ..................................................................................... 124
xv THESIS LAYOUT CHAPTER 1 comprises an introduction covering, from general to specific, the concepts, definitions, challenges, and the state of the art of self-regulation and Neurofeedback. Considering our specific challenge, it also covers the theoretical foundations of the framework developed to research self-regulation learning in neurofeedback training and the effects of priming subjects with external stimulation, like Mindfulness. CHAPTER 2 builds upon the theoretical foundations to establish our framework: the design, measures, and ethical approval. CHAPTER 3 details the concretization of the design from chapter 2 in an open-source Python framework by synthetizing and using the best parts of specific brain-computer interfaces (BCI) and EEG modules for signal acquisition, signal processing/classification, and signal presentation. CHAPTER 4 presents the first experimental study of the framework (Experiment 1, E1). This pilot study enabled the refinement and establishment of the framework requirements. Through the study of 35 participants, divided into experimental priming (EG) and control no-priming (CG) groups, we subjected our experimental design conditions to the test (self-reports, session block and task design, priming protocol, neurofeedback protocol) and established what was needed to be adjusted. CHAPTER 5 presents the improved experimental study (Experiment 2, E2). Sixty-two healthy naïve subjects (18 to 43 years) were divided into EG and CG. The EG results showed a significantly enhanced ability ( t (29) = 4.38, p < .001) to control brain activity, compared to the CG ( t (29) = 1.18, p > .1). CHAPTER 6 has a general discussion of the results and future proposals that would help to explore further the findings obtained in this work. It also presents the advantages and limitations of the work presented in this thesis. APPENDIX shows additional information referenced throughout the thesis. NOTES section displays noteworthy endnotes and definitions. These endnotes located at the end of the thesis are referenced by a superscript number, e.g., endnotes 1 .
CHAPTER 1 Introduction ___________________________________________________________________________
1 1. CHAPTER 1 - INTRODUCTION Neuroscience, the science exploring the unknown frontier of the brain, has become over the past three decades more accessible. The great interest in the neuronal system, allied with technological advancement, pushed brain research to the front line. Unlocking new knowledge in Neuroscience helps persons, directly or indirectly, with a significant impact on brain health, quality of life, or, in a broader sense, in homeostasis 2 (Damasio, 2010). Concerning mental disorders, cognitive decline/impairment and cognitive training/rehabilitation various techniques have different degrees of effectiveness (Plassman et al., 2010). For example, techniques for self-regulation (SR, also defined as Self-control 3 ) of mental states are widely used in clinical, professional, athletic, and gaming industries, whether for therapeutic, performance, or entertainment reasons. They include imagery training, music regulation, breathing, meditation, amongst others (Birbaumer et al., 2013; Damasio, 2010; John H. Gruzelier, 2014a, 2014d; Heatherton, 2011; Sitaram et al., 2017; Tang et al., 2015). With the advancement of technologies, the research of possible mechanistic approaches 4 to behaviourism is increasing (by trying to invoke mechanical causality and reducing complex behavioural phenomena to less complex physical phenomena). Similarly, brain-machine interfaces (BCI) utilize our ability to learn how to self-regulate brain states when provided with corrective feedback training (Birbaumer et al., 2013; Enriquez-Geppert et al., 2017; Tomas Ros et al., 2014; Sitaram et al., 2017). Such training is known as Neurofeedback Training (NFT). Put simply, neurofeedback (NF) interface works as a virtual “mirror” for neuronal oscillations occurring within the brain (electromagnetic or haemodynamic), empowering a person to explicitly modify them (Birbaumer et al., 2013; Enriquez-Geppert et al., 2017; Tomas Ros et al., 2014; Sitaram et al., 2017). In this way, NFT acts as a technique to train brain SR. In generic terms, SR is a vital adaptation process to environmental and social challenges. Moreover, SR deficits are linked to various behavioural problems and mental disorders such as depression, rumination, distraction, anxiety, stress, sleeping disorders, and attention control 5 (Heatherton, 2011; Moffitt et al., 2011; Posner et al., 2007; Rueda et al., 2011). In neurophysiological terms, the adaptation process depends critically on the brain’s ability to carefully control the time within – and transitions among – different states (Gu et al., 2018).
2 NFT promising results (e.g., modulation of behaviourally relevant brain activity and self-administered therapy) attracted the attention and scrutiny of the scientific and medical community (Kamiya, 2011; Linden, 2014; Sitaram et al., 2017), and the technique of NF received criticism concerning the insufficient evaluation, reliability, and validation of its training effects (Tomas Ros et al., 2020; Sitaram et al., 2017; Thibault, Lifshitz, et al., 2018; Witte et al., 2018). With the current protocols, the benefits from NFT significantly differ between subjects, with a high percentage of inefficacy (up to 50% of nonresponders/non-learners, or higher depending on the protocol used) (Alkoby et al., 2018; E. J. Davelaar et al., 2018; Enriquez-Geppert, Huster, & Herrmann, 2013; Kadosh & Staunton, 2019; Nan et al., 2018; Reichert et al., 2015; E. Weber et al., 2011; Zoefel et al., 2011). Leading to the frustration of potential users, economic costs, and discredit in NFT and its professionals (Alkoby et al., 2018; Enriquez-Geppert et al., 2017; John H. Gruzelier, 2014c, 2014d; Nan et al., 2018; Sitaram et al., 2017; Thibault, Veissière, et al., 2018; Zoefel et al., 2011; Zuberer et al., 2015). Multiple mechanisms drive NF SR learning and experimental outcome (E. Davelaar, 2017; Tomas Ros et al., 2020). Nonetheless, it has been hypothesized that an "optimal" self-regulation state is necessary to achieve significant performance in voluntary modulating brainwaves (E. J. Davelaar et al., 2018; Manuel Ninaus, Kober, et al., 2013; Witte et al., 2013; Wood et al., 2014). In this state, the learner should be more engaged, focused (mental focus), undistracted, and mindful of the experiment. Conversely, the learner should avoid self-related thinking (self-monitoring), distracting and task-unrelated thoughts, ruminating and irrelevant associations between internal states and external reward (doubts, questioning, evaluation of progress), and mind wandering. Such state suggests a close relation to focused attention forms of mindfulness meditation (MM) that comprise training an individual to more efficiently sustain his/her attention toward an intended object (e.g., bodily sensations, like respiration, tingling in fingers) and away from external (e.g., sounds, visual cues) or internal (e.g., thoughts, mind wandering) sources of distraction (Chow et al., 2017; E. J. Davelaar et al., 2018; Kabat-Zinn, 2003; Tang, 2017; Tang et al., 2015). From a dynamical system perspective, the subject needs to “walk” (transition between states) in a trying-sensing continuum until it reaches the “optimal” sensing state (E. J. Davelaar et al., 2018; Gu et al., 2018; Tomas Ros et al., 2014). Therefore, brain SR practice seems closely related to MM, and they both seem to depend upon three core components: attention control5, self-awareness 6 , and emotional regulation 7 (Silvia E. Kober et al., 2017; Lutz et al., 2008; Tang et al., 2015; Wood et al., 2014). Current "big data" fMRI research investigates the influence of pre-training/priming 8 mechanisms associated with brain structures and NF success (Zhao et al., 2021) and activation levels on NF success (Haugg et al., 2020) to find possible predictors of NFT performance. Furthermore, this last group
3 investigated a wide range of subject- and study-specific factors on real-time fMRI NF success (Haugg et al., 2021), linking the significant positive effect of pre-training to the familiarization of the participants with the NF setup and mental imagery task before NFT runs. Other EEG studies focused on finding predictors from the resting state baseline (Diaz Hernandez et al., 2018; Nan et al., 2018; Reichert et al., 2015; Wan et al., 2014), psychological factors (Diaz Hernandez et al., 2018; Enriquez-Geppert, Huster, & Herrmann, 2013; Eva M. Hammer et al., 2014; Kadosh & Staunton, 2019; Silvia E. Kober et al., 2013), and neurophysiological factors (Halder et al., 2013; Nan et al., 2012, 2015; Wan et al., 2014). Additionally, current electrophysiological (EEG) literature relates some of the “optimal” state behaviours (attention, relaxation, task-engagement) with electrophysiological up-regulation (synchronization) of the sensorimotor rhythm (SMR) and alpha rhythm (J. Gruzelier et al., 2010; J. H. Gruzelier et al., 2014; John H. Gruzelier, 2014c, 2014d; Hanslmayr et al., 2005; Klimesch et al., 2007; Silvia E. Kober et al., 2017; Silvia Erika Kober et al., 2015; van Lutterveld et al., 2017; Zoefel et al., 2011). Summarizing, recent work on psychology and the philosophy of the mind has extended the conceptual legacy, while the development of neuroscience, neuroimaging, general biology and evolutionary biology has capitalized on the neural legacy. The evidence, conjectures, and hypotheses presented in this chapter are grounded on these developments (further detailed in the following sections). Using these developments as this thesis foundation, we propose an “assisted neurofeedback self-regulation humancomputer machine” combining behavioural, psychological, emotional, and electrophysiological components of NFT, MM, and SR in a single framework 9 . The current thesis presents this framework in four parts: chapter 1, foundations of the framework; chapter 2, framework design for priming8 subjects to “optimal” self-regulate in NF protocols; chapter 3, an opensource version of the framework in Python for utility, expandability, and reusability; chapters 4 and 5 with experiment applications to explore, test, evaluate and validate the framework. These steps aimed to answer the following questions: What can be gained by developing this framework? Does priming with external stimulation assist participants in self-regulating their NF? Are mindfulness stimuli more suitable SR primers compared with the standard rest baseline tasks used in NF? These questions can be further divided into four main questions: • Targets: Which mental/brain states can be optimal for learning SR of brain activity? • Stimulus: How can we non-invasively stimulate these “optimal” states? • Measurements: How can we measure the target performance (learning and behavioural
4 outcomes) of each individual? • Framework experimental temporal design: What is the best temporal design for the implementation of the framework? In the near future, the value of these findings will be significant. They could prevent the potential frustration of users who do not benefit from NFT via personalizing the NFT intervention protocol - as a result, changing the susceptibility and affinity to NFT and reducing the inefficacy percentage (number of non-responders). Understand neural mechanisms underlying SR and improve the methodology of NFT protocols. Create an artificial intelligence framework to calibrate brain states tailored to each subject. Thus, providing a low cost, convenient, time-saving, and easy way to support NFT learning. The previous paragraphs were intended to give a general introduction to the topics discussed throughout the thesis. In the following sections, we will detail these topics and define the foundations of this thesis framework. 1.1 The necessity of self-regulation for optimal homeostatic states SR can be simplified as the capacity to regulate, alter or inhibit certain behaviours voluntarily. SR deficits are associated with diverse behavioural problems and mental disorders, such as the increased risk of school failure, attention deficit disorder, rumination, distraction, attention control, anxiety, stress, sleeping disorders, depression, and drug abuse (Birbaumer et al., 2013; Heatherton, 2011; Moffitt et al., 2011; Posner et al., 2007; Rueda et al., 2011). The world health organization reported that in 2001 an estimated 450 million people, 1 in 13 people, were affected by mental health disorders globally (Saraceno, 2002), and in 2007 4 in 5 people with mental health disorders were untreated (P. S. Wang et al., 2007). Furthermore, in 2018 an estimated 264 million people were affected by depression (S. L. James et al., 2018). SR of brain activity is the central point of NFT (Birbaumer et al., 2013; Enriquez-Geppert et al., 2017; Sitaram et al., 2017). Therefore, understanding how to influence individual SR learning ability through training methods could be the key to unlock predictors and optimize the success of NFT and vice-versa. As already introduced, SR is a vital adaptation process to environmental and social challenges. In neurophysiological terms, the adaptation process to challenges depends critically on the brain’s ability to
5 carefully control the time within and transitions among different states (Gu et al., 2018). In this thesis, the term state may refer to neurophysiological and psychological patterns. Neurophysiological patterns refer to the electrical activity across neurons or brain regions, measured through EEG. Psychological patterns refer to emotional states measured through neurophenomenological 10 traits and states selfreports. The literature points to meditation as a training technique that cultivates a better capacity to self-regulate (Aftanas & Golosheikin, 2003; Kabat-Zinn, 2003; Sierpina, 2005; Tang, 2017; Tang et al., 2015; Williams & Kabat-Zinn, 2011). This technique will be discussed further in section 2.2. NF closed-loop is an external vantage point that can be used to support the training of SR. It enables the development of hybrid human-computer operants to “outsource” sensory-feedback processing (brain activity feedback) by capitalizing on the computer's superior sensing accuracy and temporal resolution (Tomas Ros et al., 2014; Sitaram et al., 2017). This technique will be discussed further in the next section. Finally, from another point of view, the Self and how it marks the mind stream with feelings/sensations can generate pathological (depression, anxiety) processes (Damasio, 2010; Man & Damasio, 2019) and a non-healthy mind-body connection (Kabat-Zinn, 2003; Tang, 2017). SR training has the aim to support a better mind-body connection, related to training the emotional detection system and enabling “optimal” homeostatic2 states: “Optimal workings of an organism, which result in efficient, harmonious states of life, constitute the very substrate of our primordial feelings of well-being and pleasure” (Damasio, 2010). Additionally, it is essential to highlight that self-regulation is possible because the processes of the Self are dynamic, in constant change. The epistemology of the Self remains an open debate in other areas of knowledge outside the scope of the present Bioengineering dissertation. Thus, this topic will not be discussed in detail here. 1.2 Neurofeedback NFT is a non-invasive neuromodulation technique that applies the principles of biofeedback to brain activity. Essentially, a subject is trained to self-regulate (volitionally control) a target variable of neuronal activity over a particular brain region or unspecific region. For that, the subject is asked to modify the target variable based on real-time feedback from his/her brain. This methodology provides a closed-loop, allowing the participant to “learn how to control” the neurophysiological target processes in the brain. For
6 these reasons, conceptually, the behaviour the subject is trying to learn is SR of neurophysiologic metrics, and the technique to achieve it is NFT (Fovet et al., 2015; Glannon, 2014; Krames et al., 2009). 1.2.1 Neuromodulation Approximately 40 years ago, scientists believed the adult brain was “hardwired” — immutably fixed like electronic circuits. Now we know that the brain is flexible, adaptive, and resilient. Understanding the extent of this plasticity — the ability of neurons to form new connections (synaptogenesis), to strengthen or weaken existing connections and form new neurons in certain regions (neurogenesis) — is central for the understanding of how our brains grow, heal, and age (Tomas Ros et al., 2014). Neuromodulation is the physiological process by which a given neuron uses one or more neurotransmitters (neuromodulators) to regulate diverse populations of neurons. Neurotransmitters secreted by a small group of neurons diffuse through large areas of the nervous system, affecting multiple neurons. Major neurotransmitters in the central nervous system include dopamine, serotonin, acetylcholine, histamine, and noradrenaline (Coben & Evans, 2011; Krames et al., 2009). Brain plasticity assumptions underlying the practice of neuromodulation are as follows (Coben & Evans, 2011; Krames et al., 2009; Lubianiker et al., 2019; Tomas Ros et al., 2014): the brain is both structurally and functionally plastic, and conditioning and altering EEG rhythms facilitate changes in this plasticity of the neural circuitry; the ability to adapt, learn, and reinforce specific brain activity (EEG rhythms, blood oxygen level-dependent signal - BOLD, and event-related potentials - ERPs) under proper conditions can make lasting changes in the generation and regulation of selected brain neural circuits underlying the activity. There are several ways to induce neuromodulation, aiming at psychological benefits. This modulation can be exogenous (external stimulation) or endogenous (internal stimulation). This thesis focuses on NFT, an endogenous neuromodulation technique 11 where the individual does inner stimulation using mental processes. There are also exogenous neuromodulation techniques that use external stimulation like Transcranial Magnetic Stimulation and Transcranial Direct Current Stimulation (McKinley et al., 2012).
7 1.2.2 The opportunity An increasing body of studies demonstrated that NF has the potential for supportive treatment in abnormal patterns of cortical activity (S. W. Choi et al., 2010; Coben & Evans, 2011; Peeters et al., 2014) and has benefits on the enhancement of cognitive and behavioural performance (Enriquez-Geppert, Huster, & Herrmann, 2013; Nan et al., 2012; Reichert et al., 2015) increasing the capacity to selfregulate brain activity. As introduced before, NF has begun to attract the attention and scrutiny of the scientific and medical mainstream (Kamiya, 2011; Linden, 2014; Tomas Ros et al., 2020; Sitaram et al., 2017), receiving criticism about its limitations. A big part of the studies in the last decades is from clinical setups with a shortage of robust research (absence or poor control groups, few randomized trials) and dubious evidence of NFT specific effects (cognitive and behavioural). Thus, crucial shortcomings remain, such as insufficient evaluation, reliability, reproducibility and validation of the distinct NFT protocol effects. Leading to the frustration of potential users, economic costs, and discredit in NFT and its professionals (Alkoby et al., 2018; Enriquez-Geppert et al., 2017; John H. Gruzelier, 2014c, 2014d; Nan et al., 2018; Sitaram et al., 2017; Thibault, Veissière, et al., 2018; Zoefel et al., 2011; Zuberer et al., 2015) A good example is an interesting discussion about the cause and mechanisms that lead to the behavioural benefits of NFT: placebo processes or learning processes (Thibault et al., 2017)? Currently, a debate centres on the extent to which neurofeedback alters brain function, behaviour and the mechanisms through which neurofeedback operates (e.g., neurofeedback-specific versus non-specific) (Tomas Ros et al., 2020). A series of correspondence (Schabus, 2018; Thibault, Lifshitz, et al., 2018; Witte et al., 2018) discuss the theoretical arguments, pitfalls, and the empirical data backing the involvement of these two mechanisms. The controversy around this correspondence stems from the phenomenon that multiple components can drive the benefits of a treatment (Tomas Ros et al., 2020). The greater points of contention centre on, one, whether previous experiments provide sufficient evidence to identify specific factors as a key driver of neurofeedback outcomes and, two, how to best design an experiment to clearly dissociate the various mechanisms driving neurofeedback outcomes (Tomas Ros et al., 2020). As such, the research groups tried to reach a “Consensus on the reporting and experimental design of clinical and cognitive-behavioural neurofeedback studies (CRED-nf checklist)” (Tomas Ros et al., 2020). Nonetheless, NFT creates multiple opportunities both at the scientific and clinical levels. An example of this, with interest to the thesis, is that NFT in its core serves as a technique to train SR, which presents advantages as a research tool compared to meditation techniques to train SR. As such, the NFT as a
14 thoughts, mind wandering) (Chow et al., 2017; E. J. Davelaar et al., 2018; Silvia E. Kober et al., 2017; Navarro Gil et al., 2018; Tang et al., 2015; Wood et al., 2014). For these reasons, we choose to test the framework using two MM stimuli for priming the subject and assess the changes in NFT performance (this technique will be discussed further in section 2.2). 1.3 Framework foundations Before specifying the theoretical foundations of the framework9, we start by defining the objectives and hypotheses that motivated its development. The objectives for the framework are: • Create an NFT intervention with subject priming. • Prime subjects to calibrate their brain state, in this way producing benefits on SR of NF. • Implicit design, the stimulus should scaffold the neuromodulation strategies used to self-regulate brain activity. • Compare the priming with the standard baseline primers of resting (where the subject is only tasked to “try to relax” ). • Develop groundwork to create an artificial intelligence framework that should learn which sequence of stimuli leads the person to the “optimal” target. • Preliminary steps in creating a framework to research the path to train SR to achieve personalized optimal states mechanistically, and ultimately the most elusive state, the flow state. These objectives steamed from the following hypothesis: • Brainwave calibration through exogenous priming stimuli will produce benefits on learning SR in protocols of EEG-NFT. • Machine learning controlled stimulation can learn which sequence of stimuli ‘storyboard’ (or common factors in stimuli) leads to a specific behavioural target (mindful state). • Stimulation (e.g., MM stimuli) can scaffold the desired mental task and initially minimize the cognitive demand and help users enter meta states (personalized “optimal” states of attention, emotional regulation, self-awareness, and others).
15 Additionally, one must be reminded about the definitions of mental and brain states as they will be used a lot in this chapter, even if they are intertwined. Mental State (psychological): pattern of behaviour activity (e.g., thinking, mind wandering, rumination). Brain State (neurophysiological): reliable pattern of activity or connectivity in multiple large–scale networks 15 (J. Gruzelier et al., 2010; Haynes & Rees, 2006; Lotte et al., 2013). Concerning the theoretical foundations, first, from the vantage point of the learner, we want to give shape and chain the learning factors of NF SR. For that, we should use the theoretical constructs laid out throughout the years. Then, develop a model that establishes the first principles of our framework. Additionally, one should expect that NFT entails several learning mechanisms. In the following sections, we specify them. 1.3.1 The basis, associative learning and information representation Historically, NF self-regulation learning was first reduced to our linear and binary causal perception of external stimulus-response (S-R). As far as our perception goes, this causal perception seems to always occur between two separable forms, with life or no-life, from micro to macro, from electron-proton attraction to sun-earth attraction. Inherent in any definition of causality is the notion that the effect (response) cannot temporally precede the cause (stimuli). Such is the case of Pavlov applied psychology experiments (Pavlov, 2010). He showed us the classical operant conditioning as an open-loop of the same stimuli (e.g., simultaneous stimulating a dog with a bell and food), which is presented before obtaining the target behaviour response (e.g., the dog, after hearing the bell, responds with saliva). Furthermore, John Watson, the father of behaviourism, emphasized the study of the external behaviour of people and their reactions to given stimuli (stimuli, including anything which may excite activity in a receptor) to the detriment of those people's internal mental state and consciousness. In his opinion, external behaviours and reactions were the only objective method to get insight into human behaviour (Watson, 1913). However, during NFT operant conditioning, the NF stimulus is presented to the participant based on the target behaviour response (brain activity target corresponding to the behaviour response). Consequently, the stimuli cannot be defined as the sole cause of the behavioural outcome (Marken, 2009). As such, the open-loop S-R behaviourist model cannot convincingly account for the closed-loop S- R operant conditioning occurring during NFT, which inherently depends on internal mental states (Tomas
16 Ros et al., 2014). As a result, research in NFT is striving for a more robust learning theory, starting from the binary S-R dichotomy and how closed-loop operant conditioning steams from that dichotomy (E. Davelaar, 2017; Tomas Ros et al., 2014; Sulzer et al., 2013; Wood et al., 2014). Such is the case of associative learning theory and information representation theory. According to the current view, associative learning forms input-output mappings between stimulus and response without representing the environment/state that makes the behaviour adaptive (Wilkes & Gallistel, 2017). For example, in the case of NFT, the NF of the participant is the stimulus, and the participant's objective is the target response. However, the environment/state in which the participant can effectively reach the target and conditionate its behaviour is unknown. The participant learning task is to find the state and loop through it until it gets conditioned (unlike classical and operant learning, e.g., the dog food and the bell is an explicit environment to adapt the behaviour of the dog). Also, most contemporary cognitive neuroscience theories of learning and memory are representational: learning mechanisms extract useful information from experience, while memory carries the acquired information forward in time in a computational form that could be retrieved and used by the subject (Gallistel & Matzel, 2013; Sulzer et al., 2013). Representational and higher-order cognitive theories are centred on the concept of expectancy, defined as a future-oriented belief, as more than the activation of simple binary associations (like only S-R). In higher organisms like humans, behavioural flexibility requires greater complexity, forming associations via conditioning procedures and other sources of information. Recently, Koralek et al. demonstrated that controlling brain activity is a form of abstract skill (Koralek et al., 2012). In light of these results and earlier studies that show that learning an abstract skill involves cognitive or representational aspects (Beauchamp et al., 2003), we can surmise that learning may involve both methods discussed above, in different degrees (Sulzer et al., 2013). 1.3.2 Factors influencing neurofeedback learning. What don’t we know? Biofeedback literature and advances in NF point to significant factors affecting the learner: contingent feedback and reward, temporal contiguity, learner mental strategies, instructions, psychological variables, and shaping and chaining (Alkoby et al., 2018; Enriquez-Geppert et al., 2017; Silvia E. Kober et al., 2013,
17 2017; Lotte et al., 2013; M. Ninaus et al., 2015; Manuel Ninaus, Kober, et al., 2013; Tomas Ros et al., 2014; Sitaram et al., 2017; Sulzer et al., 2013; Witte et al., 2013). Contingency refers to the conditional probability of reinforcement given a response or given a failure to respond (which relates to psychological and neurophysiological factors). In NF studies, the contingency of the feedback stimuli (relationships between response and the feedback) is often manipulated as a control condition, such as sham feedback (Sitaram et al., 2017; Sulzer et al., 2013). Temporal contiguity refers to the technical factor of the time interval between response and reinforcement, i.e., the delay of technical constraints of measures. For example, the EEG is in the millisecond (ms) range, while real-time fMRI is in the second (s) range (Sulzer et al., 2013). Mental strategies encompass the training strategies used by the learner to affect change in the NF voluntarily. For example, Kober and colleagues investigated the effects of different mental strategies on NF performance, training participants to use any mental strategy of choice to increase the sensorimotor rhythm (SMR) activity (brainwave activity between 12-15 Hz). Participants who reported no specific strategy showed better SMR control than participants who reported specific mental strategies. These results indicate that successful SMR control was not related to the use of explicit, verbalizable mental strategies (Silvia E. Kober et al., 2013; Sitaram et al., 2017). Instructed reinforcement, data suggest that instructions are not at all neutral in influencing voluntary control. Subjects tend to report what instructions lead them to expect. Furthermore, tasks designed to test the effect of NFT must look for sensitive yet robust measures that control for the effects of placebo and instruction. Results suggest that contingent feedback (i.e., feedback stimuli that relate directly to the feedback signal) without explicit instructions on mental strategies enable more effective learning. Further comparison studies of this kind in different brain regions and about different brain functions would be necessary to establish the influence of feedback, reward, and instructions in learning brain SR (Lotte et al., 2013; Sitaram et al., 2017; Sulzer et al., 2013). Conflicts in EEG NF literature can be found regarding whether explicit instruction of mental strategies, no instruction of strategies, or only implicit feedback (‘covert feedback’, i.e., the subject performs non-NFT tasks that spontaneously target the same brain activity as the NFT, achieving similar results but without learning effects) lead to the most successful control of the feedback signal. It poses the question: “If implicit learning can help regulate brain activation, is any explicit strategy needed at all?” (Sitaram et al., 2017). Psychological factors, such as the locus of control14 and the sense of agency 16 , could influence an individual’s ability to learn to control brain activity. Studies found that the locus of control was negatively
18 correlated with the power of SMR self-regulation, leading to the conclusion that instructions should be given to individuals undergoing NFT to avoid forcing mastery over SR and aiming for a state of focused relaxation. The sense of agency for brain-machine interface (BMI) control decreased when the incongruence between the predicted and actual sensory feedback was high. Other factors that are likely to promote SR and require more investigation are concentration, mood, confidence in control, and motivation (Kadosh & Staunton, 2019; Sitaram et al., 2017). Feedback shaping and chaining (technical feedback factors), the nature of the feedback itself can be deconstructed into components that may individually or in concert affect learning: like feedback presentation, for example, controlling the feedback presentation to be affectively neutral, not intrusive, and not intrinsically rewarding, the type of modality, among others; feedback generation factors, like feedback delay and ensuring the feedback represents the underlying neural activity instead of physical or movement artefacts. How all these parameters may be tuned and to what extent remains one of many open questions for learning mechanisms (Sulzer et al., 2013). These are significant factors affecting learning, but others can be pointed out, as already described in section 1.2.4. In the following diagram, Figure 2, we try to shape and chain the research in NF closedloop factors from the learner perspective to follow what we do not know. Figure 2 - Shaping and chaining learner Neurofeedback factors. Red colour signals less researched topics, while yellow signals topics that currently have more research.
19 Figure 2 summarizes the intertwined factors of NF closed-loop learning. The colour scheme red represents the most disregarded factors in the literature: instructions, learner training strategies11, and internal stimulus reinforcement. The colour scheme yellow represents the most researched factors: brain response, contingency, feedback stimulus (temporal contiguity, shaping, and chaining of feedback), behavioural benefits (memory, performance, among others). Nonetheless, all these factors still have a wide error range. Thus research still lacks in these areas. From the factors above, we direct our attention to the influence of instructions, explicit or implicit, on voluntary control of internal stimuli. Explicit strategies entail informing the subject of a specific means for SR, while implicit approaches supply no such instruction and allow the subject with extra room to explore different strategies. Recent studies using implicit strategies have challenged conventional wisdom indicating learning within a single session (Shibata et al., 2011). Indeed, implicit strategies may be more helpful since compliance to a suggested cognitive strategy cannot be quantitatively confirmed, and it may be difficult for some people to understand or report (Silvia E. Kober et al., 2013; Sitaram et al., 2017). Leading us to question: is it possible to implicitly prime the Self (the learner) to optimize self-regulation? Our strategy was to “outsource” the control of NF to external stimuli (implicit strategies), capitalizing on superior accuracy and temporal resolution comparing to a human operant internal stimulus. In this way, we could prime the human operant, which in turn can scaffold the optimal internal stimulus. In the simple sense, our priming framework has the objective to be an enabler of voluntary control through implicit strategies. We attempted to prepare the Self with implicit instructions (stimuli) to facilitate internal stimuli. Our learner-centric approach led us to question: “why are people not primed with the necessary tools for SR” ? Tools that help standardize the internal stimuli (mental states) instead of only having rest state tasks as baselines and NFT for learning to self-regulate the brain activity. Voluntary control may come naturally to some, but for the majority, that is not a fact. This inefficacy problem is the most validated in NF literature. It cannot be disregarded, and a critical question remains: are there really non-responders, or are they not responding to current protocols designed around the technical factors and forget about the central learner factors?
20 1.3.3 The “optimal” state Following the previous question, we also pondered the existence of an “optimal” state (within the homeostatic range of states) to learn voluntary control of brain activity, and if there is, can we implicitly instruct the brain to go towards that state? Indeed, in the literature, we found the hypotheses of an “optimal” state to increase performance in voluntary NF self-regulation. In this state, the learner should be more: engaged, focused, undistracted, and mindful of the experiment without judgement of present tasks. Contrarily, the learner should avoid: self-related thinking (self-monitoring), ruminating, distractive and task-unrelated thoughts (E. J. Davelaar et al., 2018; Silvia E. Kober et al., 2017; Manuel Ninaus, Kober, et al., 2013; Witte et al., 2013; Wood et al., 2014). Therefore, understanding how to influence individual SR learning ability through training methods could be the key to unlock predictors and optimize NFT and vice-versa. In Figure 3, we summarize the “optimal” state. Figure 3 - Optimal state summary. This diagram summarizes the hypothesized “optimal” state of NFT that the learner should reach. 1.3.4 Dual-process Learning Theory Following this line of thought, Wood and colleagues (Wood et al., 2014) come upon the dual-process theory in an attempt to better specify the concept of self-control/self-regulation3 in BCI and NF research. Given the wide variety of cognitive and emotional processes associated with the self-control of brain activity and BCI learning, it is beneficial to define a comprehensible but straightforward framework to evaluate each of these processes' common and unique contributions. As the name indicates, the dualprocess categorizes the whole mental activity into two main types of processing: more automatic and capacity-free processes (i.e., type I processes) versus more controlled and capacity-limited processes (i.e., type II processes) 17 .
21 Automatic and controlled processes determine self-control of brain activity in very different ways. Nonetheless, not every cognitive process is necessary and sufficient to perform a specific BCI and NF task, but instead, a small subset may play a key role. Therefore, based on the differentiation between automatic versus controlled processing as well as necessary versus unnecessary processes, (Wood et al., 2014) defined a framework of self-control of brain activity with three networks (Figure 4): • Local control network: automatic (which are influenced by the feedback signal) and controlled (e.g., verbalizations and self-instructions) processes both necessary and sufficient to perform BCI and NF tasks. The more the feedback reflects the activity in this network, the more efficient is the learning process. • Organistic control network: automatic processes irrelevant or hindering in the context of the NF (such as rumination, mind wandering, past and future thoughts). Therefore, it may be essential to monitor any signs of negative influences originating in organismic control networks. • Central control network: controlled processes not strictly necessary for BCI and NF learning. Examples of these processes can be improper strategies, improper self-instruction (“I am not doing this right!” ), over-instructions (“I need to control the feedback, focus on the reward, focus!” ) and excessive attention to the Self ( “Am I doing this right? Does the feedback change when I change strategies?” ), that withdraw resources from the local control network. In this network, the controlled processing is mainly under conscious control and can be modulated directly by instructions. Figure 4 - Schema of different types of self-control of brain activity, adapted from the source (Wood et al., 2014). Specific cognitive processes such as motivation, mood, attention, and executive functions are represented by black dots. Black arrows connecting the dots represent the interactions between the different cognitive functions. Two dots are depicted over the domain of the organismic control network to illustrate that these processes are largely independent of one another. The contribution of the three types of self-control to physiological signals is represented by the dashed lines linking the specific cognitive processes to the physiological signals being recorded for BCI and NF learning.
22 In summary, (Wood et al., 2014) defined a framework contrasting the necessary and unnecessary processes for an “optimal” NF learning. To reach this “optimal” state, any BCI and NF learning aims to magnify the signal produced by local control networks and suppress as much as possible the activity on the other two networks (Wood et al., 2014). To do that, they also presented the following solutions. On the one side, participants should learn to decouple irrelevant from those relevant automatic processes. One way to achieve this is to monitor the automatic processes regulating, for instance, adverse emotional reactions and to have a more selective schedule of reward and punishment. On the other side, participants should learn to use the central control networks to inhibit irrelevant cognitive activity operating under conscious control, such as excessive attention to the Self (Leary et al., 2006). Direct verbal instructions (external) or self-instruction (internal) can achieve this (please see examples above in the definition of the central control network). These solutions point toward monitoring automatic processes and instructing central control network processes, supporting our vision for a framework that primes the subject with stimuli (implicit or explicit instructions, for automatic or controlled processes) and monitors if the subject is reaching the NF target. Leading us to the testable question: can this kind of framework support the learning to self-control the target? In the next section, we present suggestions to answer this question. 1.3.5 Dynamical systems theory & Control theory In a similar attempt to unlock the secrets of direct SR of brain oscillations, Ros et al. followed by Davelaar et al. (E. Davelaar, 2017; Tomas Ros et al., 2014) accommodated their conceptualization within the framework of dynamical systems theory and revisited NF learning from the engineering (control theory) and the neurobiological perspective (Hebbian and homeostatic rules). The brain as a dynamical system of states Introducing time into the analyses takes into account that brain oscillations are non-stationary, i.e., their oscillatory parameters are not constant across time. Interestingly, such time-varying behaviour can be accommodated within the framework of dynamical systems theory. In essence, a system’s operation can be represented in state-space, which is best visualized as a multidimensional energy landscape (Tomas Ros et al., 2014). This landscape can be simplified to 2-dimensions and envisaged as a ball with random energy (i.e., noise) traversing hills and valleys or 3D like maps (Gu et al., 2018) as described in Figure 5.
23 Figure 5 - A visual portrayal of state-space landscapes. On the left, a hill and valley represent a repellor (top) and an attractor (bottom). It was based on (Tomas Ros et al., 2014). While on the right, one can see a similar “walk” in a 3D representation, source (Gu et al., 2018). However, is there explicit evidence of attractor-like signatures in the brain? Amazingly, it seems that oscillations with distinct frequency “peaks” exhibit attractor properties, such as delta and alpha rhythms (Freyer et al., 2011; MacIver & Bland, 2014). Firstly, alternating (de)synchronization patterns can be understood to display non-random statistical properties, exemplified by different temporal distributions (i.e., dwell-times) of low versus high synchronization states. Such state transitions, known as bifurcations, may be driven by both internal (Freyer et al., 2011) as well as external (Avella Gonzalez et al., 2012) network activity (neuron activity driven by cholinergic input and trains of action potentials that activate excitatory synapses). Secondly, phasic or tonic 18 alternations between EEG frequencies may also be seen as reflecting dynamic transitions between attractors (Tomas Ros et al., 2014). Dynamical systems theory points to a related topic, criticality. From the laws of thermodynamics, critical systems are said to operate at the edge of chaos. That is to say, at an optimal “sweet spot” between order and disorder, which paradoxically affords flexibility and stability (Hellyer et al., 2016; Pastukhov et al., 2013). Practically speaking, the brain exhibits both stability when generating consistent behaviour and variability when learning new patterns. Nevertheless, this is insufficient to prove the brain operates near criticality. However, an ever-growing body of work has emerged on neuronal avalanches and temporal auto-correlations, suggesting that the brain may indeed operate near criticality, which would endow it with maximal dynamic range, information transmission, and capacity (Tomas Ros et al., 2014). Therefore, beyond the general clinical view that NFT normalizes the brain, the neurocognitive perspective adds that NFT increases the neural efficiency or brings the brain closer to self-organized criticality, favouring maximal information transfer (E. Davelaar, 2017; Tomas Ros et al., 2014) — pointing again in the direction of an “optimal” state. Hence, Ros et al. (Tomas Ros et al., 2014) speculate that abnormal synchronization patterns emerge from plastic changes in brain-state attractor landscape(s), which mutually shape and are shaped by
30 1.3.8 A representation of the mental system: epistemology of perception, from automatic sensations to controlled concepts Without getting into detail, as this is outside of the scope of this Bioengineering dissertation, a simple mental system of thought is represented in Figure 7 diagram. Following the epistemology laid out by Kant (Kant, 1899), we can define how our mind combined with our Self represents reality, from sensations to concepts. Starting from representing reality that is purely a perception of the mind that can be separated in perception through the senses (self-as-object, as defined by William James and Damasio (Damasio, 2010; W. James, 1890)) and the knowledge (self-as-subject, as defined by William James and Damasio). These two perceptions are interconnected and affect each other. Kant further distinguishes between two different fundamental types of representation: intuitions and concepts. Intuitions are "immediate representations" that represent things directly, automatically. Concepts are "mediate representations" representing general characteristics of things. Kant divides intuitions into empirical and pure and discusses how sensations (automatic processes) transfer to concepts (controlled processes). From this processes transfer, from automatic to controlled, we bridge this epistemology with the engineering scope already detailed within the multi-stage control theory of NF learning. In this way, we broadly represent a complete mental system of thought processes, from automatic to controlled. Figure 7 - Diagram of Kant system of thought. Adapted from (Kant, 1899). From sensations (automatic processes) to concepts (controlled processes)
31 1.3.9 Framework model: putting all together Based on the merits of the previous frameworks, we arrive at the building blocks for our framework model: (1) Control theory, (2) Multi-stage NF learning theory, (3) dynamical-systems theory (E. Davelaar, 2017; Gu et al., 2018; Tomas Ros et al., 2014), (4) dual-process theory (Wood et al., 2014), (5) epistemology (Kant, 1899) and instruction design (Lotte et al., 2013). From these, we get a good foothold of what our NF learning framework can entail. In the following diagram (Figure 8), we try to put it all together, so the reader gets the full picture. The Learner can be considered a dynamic system with an uncertain number of free parameters, a grey box model, an overly complex system. Fundamentally, we do not seek a black-box approach that offers optimal prediction. Instead, we seek a first-principles model that can provide an intuition for system function and can be used to generate hypotheses that can be tested in future empirical studies (Gu et al., 2018; Tomas Ros et al., 2014). The system’s internal “optimal” set point is when the target is reached after several runs. Our research aims to support the learner to get into this optimal state by answering the question: What can be gained by forming a human-computer hybrid to control brain activity? Our framework intends to reset “for a few moments” some self-related thinking (trying states) by focusing the attention on present sensations (sensing states) and trying to lower the switching cost of state transitions throughout NFT. It initially minimizes the cognitive demand on the users during training. Hence it minimizes the risk to frustrate and demotivate them and drive a specific trajectory of brain states closer to the NF target state. Suppose the NF system essentially augments the sensory repertoire, allowing the brain to ‘‘sense” the neuroelectrical patterns and thus make them amenable to control in a homeostatic manner. In that case, we will try to support the NF to enlarge the cerebral sensorium through implicitly “outsourcing” sensoryfeedback processing to extrinsic neurostimulation. Using the computer as a virtual machine controller of the brain system, capitalizing on its superior sensing accuracy and temporal resolution. Towards the hypotheses that external stimuli can prime & scaffold SR of brain states through NF (E. Davelaar, 2017; Gu et al., 2018; Tomas Ros et al., 2014). From a multi-stage point of view, we will try to lower the transition cost to reach the internal set point. Trying to start from an optimal variability state, where the user has more fortuitous events above the threshold (E. Davelaar, 2017; Tomas Ros et al., 2014).
32 Figure 8 - Neurofeedback Learning Model. (1) Control theory (2) Multi-stage Neurofeedback learning theory, (3) dynamical-systems theory, (4) dual-process theory, (5) epistemology. Literature uses dynamical systems theory to argue that NF brings a disordered brain into a regime with maximal information transfer (near criticality). Which in turn, explains the benefits on cognitive and creative abilities of NFT (E. Davelaar, 2017; John H. Gruzelier, 2014b, 2014d; Gu et al., 2018; Tomas Ros et al., 2014). We hypothesize that the framework can support these transitions (automation and personalization) and facilitate the transition between automatic and controlled mental processes of attention, enabling the user to reach a state in which SR of brain activity is facilitated. In this way, the proposed framework is intended to facilitate the brain control state transitions with the help of external eliciting state transitions using non-invasive neurostimulation. The hypothesis that stems from this interpretation is that NF-assisted brain control could prove more effective than an unassisted human operator.
CHAPTER 2 The Framework This chapter is based on the following scientific publication: NeuroPrime: a Pythonic framework to research the priming of brain states. (accepted) ___________________________________________________________________________
34 2. CHAPTER 2 - THE FRAMEWORK Our aim is to enable human controllers to “outsource” their own sensory-feedback processing and augment it with that of the computer, capitalizing on both its superior sensing accuracy and/or temporal resolution. For that, we developed a bypass of the internal stimulus that can prime and scaffold selfregulation of EEG NF. Using the previous NFT factors diagram (Figure 2) and projecting the bypass over it, we show our goal in Figure 9. Figure 9 – Bypass, implicit feedback instructions. Using direct measures and self-reports has data to inform a computer controller and, based on its precision, select the best instruction stimuli for the next feedback loop. Therefore, we aimed to create a framework9 to research the transitions between states and study the brain as a dynamic system. From this point of view, we want to find the personalized “walks” between states and, specifically, to find the walk to the “optimal” state to learn SR (Figure 10). Figure 10 - Internal “optimal” state stet point, representation in 2D and 3D. On the left, a hill and valley represent a repellor (top) and an attractor (bottom) with a possible “optimal” target set-point. While on the right, one can see a similar “walk” in a 3D representation.
35 2.1 Framework design NF as a closed-loop (where the brain activity is continuously fed back to the neural system) can be applied as an experimental method to investigate the causal character of specific neural events (such as brain oscillations) within cognition and behaviour. This procedure is defined as brain-state dependent stimulation (BSDS) (Enriquez-Geppert et al., 2017; Jensen et al., 2011; Royter & Gharabaghi, 2016). Figure 11 – NFT design diagram. The NFT is divided into the signal presentation, the feedback delivery interface; signal acquisition, the data; signal processing and classification, the feedback feature extraction, and classifier. NFT closed-loop design can be divided into three parts, as depicted in Figure 11: signal presentation (SP), signal acquisition (SA), signal processing and classification (SPC). Summarizing, SP deals with the graphical user interface (GUI) used to present the NF (stimuli and feedback modality, feedback presentation and timing). SA deals with the acquisition of the signal from the learner, the data structure
36 and storage. Lastly, the SPC uses the data acquired for online data pre-processing, feature extraction and feedback generation. Our priming framework training design follows the BSDS experimental method to investigate the functional role of certain target oscillations or brain states. It is envisioned as a closed-loop stimulator, meaning that the stimulus is updated by the brain states of the participants, as can be found in Figure 12. Figure 12 - Framework design diagram. The framework has an architecture similar to NFT’s: signal presentation, the feedback and stimulus presentation; signal acquisition, the data; signal processing, phenomenological and neuroimaging feature extraction; signal classification, the machine learning controller decoding and classifying mental states; stimuli task database, the database with the stimulus categories to be presented to the user. 2.1.1 Signal Presentation The signal presentation should support explicit NFT with stimuli targeting implicit neural responses. Temporally, the stimuli can be presented before, after, or during NFT. In this study, the experiments applied the stimuli before the NFT (pre-NFT) as a priming stimulation. Additionally, the presentation design was guided by instructions design (please go back to section 1.3.6)
37 2.1.2 Signal Acquisition NF plus the neurophenomenological10 target offers a new way to relate the phenomenological structure of subjective experience with a real-time objective characterization of large-scale neural operations continuously over the course of the experiment. Besides EEG, self-reports (qualitative) and other biodevices (quantitative) can also be added for more precise signal acquisition and classification (please check chapter 5 for a combined implementation of self-reports and biodevices). The possibilities are endless, but for instance, body biomarkers to infer the emotional engagement of the subject by using indirect signals can provide the big data needed to push this framework classification to “higher heights” (Ghiasi et al., 2020; Shu et al., 2018). In fact, indirect signals of emotional processing could be gathered by picking variations of the activity of the anatomical structures linked to the emotional processing activity in humans, such as the activity of sweat glands on the hands, the variation of the heart rate (Vecchiato et al., 2010) and real-time facial expressions detection (Bartlett et al., 2005), through video recording and machine learning. In particular, by monitoring autonomic activity using galvanic skin response (GSR) devices and the Heart rate Variability (HRV), it is possible to assess the ‘‘internal’’ emotional state of the subject, measuring the level of the autonomic system. In fact, GSR is actually viewed as a sensitive and convenient measure of indexing changes in sympathetic arousal associated with emotion, cognition, and attention (Boucsein et al., 2012; Critchley, 2002; Posada-Quintero & Chon, 2020). In addition, the link between the HRV and the sympathetic/parasympathetic vagal balance has also been suggested (Beauchaine, 2001; Graziano & Derefinko, 2013; Malik et al., 1996; Montano et al., 2009; Zahn et al., 2016). 2.1.3 Signal Processing Neuroimaging targets As already introduced, current EEG literature relates the SR “optimal” state (see 1.3.3) with up-regulation of alpha rhythm or/and SMR (both linked to attentional processes), but also with correlation with surrounding bands (J. Gruzelier et al., 2010; J. H. Gruzelier et al., 2014; John H. Gruzelier, 2014c, 2014d; Hanslmayr et al., 2005; Klimesch et al., 2007; Silvia E. Kober et al., 2017; Silvia Erika Kober et al., 2015; van Lutterveld et al., 2017; Zoefel et al., 2011). An example of this is shown by van Lutterveld et al. (van Lutterveld et al., 2017), who found that the correlated effects between effortless awareness
38 and amplitude reduction in gamma-frequency range within the posterior cortex (posterior cingulate) were also observed within the alpha, delta, theta, and beta frequency range. This band non-specificity is described in 1.3.7. In fact, current evidence is lacking in the specificity between alpha and SMR NFT, as reviewed by Gruzelier the need to (John H. Gruzelier, 2014b): “contrasting alpha-2 up-training with uptraining the SMR amplitude; clarifying alpha’s role by comparing alpha-1 and alpha-2, or even a threefold alpha classification”. In the following section 2.2, this similarity in outcomes of the two bands is further detailed and how they relate with MM and the “optimal” state. Phenomenological targets Exploring the phenomenological experience is an essential complementary mechanism to understand the NF data. The challenge is how to transform the qualitative data into objective quantitative data. Davelaar et al. (E. Davelaar, 2017; E. J. Davelaar et al., 2018) have experimented with guided reports through interviews, while others like Garrison et al. (Garrison, Santoyo, et al., 2013) used self-reports (e.g., “on a scale from zero to ten how did you feel during the task?” 0 = distracted; 10 = focused). Phenomenological analyses have established that different NF protocols are related to different subjective experiences (Edge & Lancaster, 2004) and that differences in learning success may in part be due to differences in subjective experiences (E. Davelaar, 2017; E. J. Davelaar et al., 2018). 2.1.4 Signal Classification & Stimulus database We approached the problem through a framework that should learn how to guide the user to an attentive mental state using a sequence of stimuli (simple or/and complex). It is based on NF learning theories (operant conditioning, dual-process theory, control theory, dynamic system, and multi-stage theory, as we already described), intra-individual differences, system identification, and machine learning. Additionally, our theoretical framework should follow an ADO approach (Sanchez et al., 2014) as already introduced in 1.2.6. In the paper, Sanchez et al. showed the benefits of adaptative real-time (online) approaches and the contrasts to classical (offline) approaches. The classical approach is characterized by a sequential ordering of the main experimental steps: experimental design specification occurs prior to data acquisition, followed by data analysis and hypothesis testing. In contrast, the adaptive approach operates in real-time and proceeds with design optimization, data acquisition, and analysis at each experimental stage or trial. The online approach enables hypothesis testing to be optimized at the individual level by adapting the
39 experimental design based on past observations. This is the general principle of ADO, which can be extended to advanced computational models of electrophysiological responses thanks to brain-computer interface (BCI) technology, with the aim of optimizing experimental conclusions. Instead of a white-box system based on first principles (e.g., Newtonian principles) - such models are overly complex, and possibly even impossible at the moment, due to the complex nature of the many systems and mental processes - a much more common approach is to start from measurements of the behaviour of the system and the external influences (inputs to the system), and then try to determine a mathematical relation between them without going into the details of what is happening inside the system. This approach is called system identification. As a future perspective, an example of a system identification mathematical relation is the dynamic neural fields (DNFs), which have been introduced as a mathematical model for pattern classification in neural populations (S. I. Amari, 2014; S. ichi Amari, 1977; Wilson & Cowan, 1973). The architecture of DNFs reflects the hypothesis that strong recurrent interactions in local populations of neurons form a basic mechanism of cortical information processing. These interactions support the existence of self-stabilized representations that allow the implementation of cognitive functions and explore learning mechanisms on neural networks, already explored by our group (Erlhagen et al., 2006; Erlhagen & Bicho, 2014). The vision is to combine system identification and machine learning - e.g., using reinforcement learning, deep learning for time series forecasting with long short-term memory networks, multilayer perceptron’s, convolutional neural networks, between others - to try to emulate the learner mental controller (i.e., the subject mental controller that tries to learn to voluntary self-regulate brain activity through mental strategies). This way, assisting and outsourcing the identification of mental strategies to the computer (virtual machine controller, for more detailed information, please go back to 1.3.5 and 1.3.9). This virtual machine controller will select the subsequent best external stimuli (external instruction strategies) for optimal NF-based SR (Lewis et al., 2012; Ljung et al., 2011; Tomas Ros et al., 2014). These interactions are represented in the diagram depicted in Figure 13. In summary, the parameters extracted from different signal time-series analyses can be combined using pattern classification and neural network techniques. These techniques allow the investigation of nonlinear patterns in data that might distinguish subjects into meaningful classes or categories of stimulation that affect them at the individual level (Beckmann et al., 2020; Institute of Medicine (US), 2004; Wriessnegger et al., 2020). This way, outsourcing our mental controller to a virtual machine controller that can lead the person to a specific mental target.
46 hypotheses. Naïve subjects probably need short tasks for more focused attention. The interval between blocks should enable the participant to rest and select the start of a new block (self-paced session). Short blocks enable to test of the immediate effects of priming in the subsequent NFT in each block. The use of short blocks is essential to evaluate the mindset/subjective experience (with state self-reports) during the different tasks on the session. Lastly, task randomization for various conditions (e.g., eyes closed or eyes open) is straightforward within short blocks. To understand these decisions, one must read the details in chapters 4 and 5. Also, this type of short blocks design probably has some limitations in the level of priming (attention control, emotional regulation, and self-awareness states) achieved per block, yet it seems suitable for naïve populations. As such, participants chosen were naïve or did not perform, at least in the last year, meditation and NFT. They were also healthy male and female subjects, with no history of psychiatric or neurological disorders, also no psychotropic medications or addictive drugs, and with normal or corrected-to-normal vision. Of note, when using a paradigm with eyes open (EO) and eyes closed (EC), one has to include not only visual but also auditory cues that signal the end of the task. So, each task has an auditory bell at the end, and if NFT is with EC, then the visual feedback needs to be translated to audio. In addition, when choosing the eyes protocol, one must be aware of the literature surrounding the objective of the intervention and choose accordingly. In this project, another distinguishing feature is to use both EO and EC conditions for possible comparisons between different tasks within- and between-groups. Previous single-session studies (Eva Maria Hammer et al., 2012; Hanslmayr et al., 2005; Peeters et al., 2014; Tomas Ros et al., 2013; Wells et al., 2012) have tended to use EO conditions for comparisons with the majority of NFT literature in multi-session designs (Angelakis et al., 2007; J. Gruzelier et al., 2010; Nan et al., 2015; Van Boxtel et al., 2012; Zoefel et al., 2011). As an example, the alpha amplitude is generally seen as a function of reduced sensory input from the thalamic nuclei to the cortex, and keeping the EO will naturally suppress alpha amplitude (around 80%) relative to an EC condition (D. Vernon et al., 2009). Thus, EO provides a lower baseline from which to attempt to increase the alpha amplitude, presumably more amenable to intervention effects via NFT (Barry et al., 2007; Chow et al., 2017; Nan et al., 2018; D. Vernon et al., 2009). Nevertheless, NFT with EC should also be conducted to ensure comparability with MM, which is most often practised with EC (Chow et al., 2017; Lomas et al., 2015). Also, as proposed by Chow et al. (Chow et al., 2017): “Future studies would do well to compare MM with NFT in both eyes-open and eyesclosed conditions.” . However, the notion that EO and EC NFT may rely on distinct processes and elicit distinct behavioural or cognitive changes asserts that EO data should not be directly comparable to EC data (D. Vernon et al., 2009). Additionally, both EO and EC resting state baselines can be used as
47 predictors of NFT performance (Nan et al., 2015, 2018; Reichert et al., 2015; Wan et al., 2014). In chapters 4 and 5, we show different considerations when implementing both conditions for possible comparisons. Before the training session starts, the participant is verbally instructed with a GUI representation about how each task works (pre-Training instructions). They are essential to baseline all the subject knowledge but also to prepare them for the experiment. Then, during the training session, the initial baseline threshold should be chosen, and one can make the threshold adaptive to the subject and change it accordingly (e.g., based on extreme conditions if the subject during the NFT is above the threshold 90% of the task the threshold should be increased for the next NFT). The last block serves as the outcome block for comparison with the first block. The differences between the CG and the experimental group (EG) reside in the use of priming tasks. While the CG is only stimulated with resting tasks (no-priming), the EG is primed with randomized mindfulness focused attention forms, breathing bodily sensations meditation, named “breathing mindfulness” (BM), and the imagery of calm place sensations meditation, named “imagery mindfulness” (IM). These external priming stimuli are pure instructional audio manipulations to lead the person from a subjective trying state to a more sensing state. These transitions can be referred to as belonging to the trying-sensing continuum discussed by Davelaar and colleagues (E. J. Davelaar et al., 2018). 2.5 Framework ethical approval This thesis project, including the framework experiments, was submitted for ethical approval and were evaluated by an Internal Review Board (IRB), the local research ethics committee of the University of Minho - “Subcomissão de Ética para as Ciências da Vida e da Saúde” (SECVS). The project was approved for human trials, and all the protocols in this thesis were in accordance with the Declaration of Helsinki. Additionally, other side experiments were implemented under its umbrella, namely a validation of a wireless device, James One, used to acquire Galvanic Skin Response (GSR) and Heart Rate Variability (HRV) data: validation in psychophysiological studies (Moreira et al., 2019) and validation of the photoplethysmogram (PPG) sensor (Correia et al., 2020). The James One device was also used in the second experiment of this thesis (section 5.3.6-GSR & HRV). For the approval Document (ID: SECVS 011/2018), please refer to Appendix I – Ethics for the signed approval.
CHAPTER 3 NeuroPrime: Python Open-Source Framework This chapter is based on the following scientific publication: NeuroPrime: a Pythonic framework to research the priming of brain states. (accepted) ___________________________________________________________________________
49 3. CHAPTER 3 – NEUROPRIME: PYTHON OPEN-SOURCE FRAMEWORK The framework for the online experimental paradigm was built from the ground up on Python open-source language, synthetizing and using the best parts we extensively tested of specific BCI and EEG modules for signal acquisition, signal processing/classification, and signal presentation (diagram in Figure 14). Signal Acquisition: pycorder, pylsl, and mushu (Lopez, 2016; Venthur & Blankertz, 2012). Signal processing/classification: wyrm and MNE (Gramfort et al., 2013; Venthur & Blankertz, 2014). Signal presentation: pyff and psychopy (Peirce, 2007; Venthur et al., 2010). Other important packages, pandas for managing data, matplotlib for graphs, numpy for arrays, scipy for specific algorithms, pygatt for Bluetooth connectivity with GSR and HRV PPG sensors, and also pyqtgraph for real-time graphical interfaces (Gold et al., 2015; Group, 2007; McKinney, 2010). Figure 14 – NeuroPrime. Online closed-loop BCI Python framework. It is comprised of 3 main parts: signal acquisition, signal processing, and signal presentation. This framework was built following the necessity for further expandability, utility, and usability from the neuroscience community. In fact, Python has excellent modules in machine learning that could help
50 optimize and automate the paradigm of priming subjects in future experiments. Also, the code is ready to use with any EEG amplifier that can connect with the lab streaming layer (LSL) (Lopez, 2016). The name chosen for the package was NeuroPrime, a befitting name combining neuromodulation and priming. Go online for more information on NeuroPrime and access to the last version (N. M. C. da Costa, 2020). The software will be available as soon as the NeuroPrime paper is published. Consequently, in the coming months, if one has an EEG, then one can try out the framework, use it for research, and contribute to its development. In the following sections, we go deeper into the Pythonic structure of each of the three parts that constitute the software: signal acquisition, signal presentation, and signal processing (& classification). They work together to bring the framework online. Additionally, we also refer to offline processing. 3.1 Signal Acquisition Figure 15 - Signal acquisition diagram and main packages used. In this figure, we break up the previous figure into the components of signal acquisition - input data and markers from servers and output data to client storage and processing. When using Human-computer Interfaces (HCI) in experiments, one always has to use special hardware (e.g., EEG, GSR sensors, PPG sensors, or other amplifiers) to acquire the signals. This hardware usually comes with its private software, and different vendors have different formats for saving and online streaming. Additionally, these types of experiments require synchronization markers. Markers are label signals that mark certain time points in the data. These markers are also distinct between vendors. In
51 summary, signal acquisition is comprised of data servers (outlets from amplifiers) and data clients (inlets to storage and further processing). Therefore, in order for the signal acquisition to be open-source, it has to meet certain requirements: software that runs on all major operating systems (OS); supports a wide range of EEG hardware; produces and outputs data in a standardized format independent from the amplifier used; receives markers via network interface; that is free and open-source software. For that, we found in the Python library great software like pylsl and mushu. Also, specifically in our case, the amplifier from Brain Products used in this thesis (actichamp) has a Python driver for signal acquisition named pycorder. Nonetheless, one can use our toolbox with any amplifier supported by LSL. Pylsl LSL is the magic behind the streaming of data, allowing for a wireless open-source design. LSL is an overlay network for real-time exchange of time series between applications, most often used in research environments. LSL has clients for many other languages and platforms that are compatible with each other. Pylsl is the Python interface to LSL. This way, one can submit (outlet) and request (inlet) data from the network using Python. In addition, many of the most known amplifiers are supported already, and if it is not supported, one can create the driver (Lopez, 2016). Pycorder Pycorder is outdated but is a solid package with a built-in remote data access (RDA) server. It enables the configuration of the EEG: electrode impedance check, signal data visualization, reference selection, selection of working modes (default and shielding mode23), and saving. It is an essential package to work with the amplifier. However, in closed-loop real-time applications, it can be substituted by the LSL server app (Brain Products GmbH, 2015, 2017) with shorter delays of about 2 ms, while the pycorder RDA server is about 50-200 ms. The RDA delay is still within the accepted range for EEG NFT (Enriquez- Geppert et al., 2017; John H. Gruzelier, 2014b), and the RDA server can also be used in conjunction with the LSL app to create a data outlet stream that will then be pulled from the network by pylsl inlet request (Figure 15).
52 Mushu Mushu is a package that creates an amplifier class with the necessary methods to configure, start, stop, save and quit the signal acquisition on the client side (Venthur & Blankertz, 2012). Mushu is still maintained, but certain limitations were patched during development, mainly concerning the saving (relative timestamps instead of only absolute timestamps) and bad interaction with the pylsl driver. This patch, named “mushu_patch” , is located in the “signal_acquisition” folder. It is a great and simple package with retrieval and online streaming of EEG data. However, in the future, instead of the patch developed for mushu, an even simpler amplifier class should be created to work directly with pylsl without the need for mushu. The versatility of mushu is to be able to function as a Python library or a stand-alone server (with some amplifier divers already built-in for streaming data and markers online). Using the software as a Python library was convenient because our signal processing is in Python, and we could use it to create a single application (Figure 15). Data structure We use two types of saving structures: one that follows the MNE Python package standard Neuromag FIF file format (Gramfort et al., 2013) and the mushu numpy format (Venthur & Blankertz, 2012). The fif format is a more complex file that can save more information and can be directly used by MNE. Markers and data are all saved in the same file, while the mushu saves in 3 files data (.dat), markers (.markers), and meta (.meta). For the data, each received packet from the amplifier mushu translates the data into a matrix where each column is mapped to a channel (i.e., channel 1 to column 1, etc.), and the rows maintain the ordering of the measured values per channel in time. Having the EEG data stored in NumPy arrays is convenient and efficient on those arrays, that is mandatory for the later signal processing steps. The interchange between formats is also easy to do. The same can be said for the import of data to matlab. Nonetheless, in the future, a potential better idea is to port entirely to MNE format. In this way, mushu and wyrm will be a deprecated complexity. NeuroPrime signal acquisition As referred before, we developed a “mushu_patch” for a better saving procedure and integration with pylsl. The developed algorithms and specific functions are located in the appropriate folder named “signal_acquisition” .
53 3.2 Signal processing & classification Figure 16 - Signal processing diagram and main packages used. Input data and output specific features for online feedback presentation or offline data analysis. The signal processing of any online BCI system (Figure 16) is responsible for transforming brain outputs into actionable signals by detecting and extracting specific patterns from the brain signals. In order to detect those patterns, the raw brain signals have to be preprocessed, and specific features (representing the patterns) have to be extracted and classified (M. X. Cohen, 2019). The libraries we decided to use for this part were wyrm and MNE. Wyrm We selected the wyrm package due to its ease of use, speed, and integration with the signal acquisition package mushu and the signal presentation package pyff. Wyrm tries to cover both toolbox aspects: wyrm can be used as a toolbox for offline analysis and visualization of neurophysiological data, and in real-time settings, like an online BCI experiment (Venthur & Blankertz, 2014). The list of algorithms includes: channel selection IIR filters, sub-sampling, spectrograms, spectra, baseline removal for signal processing, Common Spatial Patterns, Source Power Co-modulation, class wise average, jumping means, signed r2- values for feature extraction, Linear Discriminant Analysis with and without shrinkage for machine learning, among others. It is worth mentioning that the data structure is readily compatible with scikitlearn (Pedregosa, F. and Varoquaux et al., 2011). Therefore, a wide range of machine learning algorithms is at one's disposal (cross validation, support vector machines, k-nearest neighbours, independent- and principal component analysis, and many more). Additionally, with importance to online BCI closed-loop experiments, wyrm provides a block buffer and a ring buffer. The block buffer is used for a more robust online subsampling buffer. This buffer is a first-in- first-out (FIFO) buffer that returns data in multiples of the desired block length (unlimited in size). For example, the subsampling from 1000 Hz to 100 Hz internally works by returning every 10th sample from the data to be subsampled. When subsampling chunk-wise, we must make sure that the data to be
54 subsampled has a length of multiples of 10 samples in order to avoid losing samples between the chunks of data. If the amplifier does not support the configuration of the block size, one can use Wyrm’s implementation of a block buffer. (Venthur & Blankertz, 2014). As such, as an example, in our online framework, the RDA data server has a minimum chunk size of 50 ms (for 1KHz returns 50 samples), and to make sure we use chunks of multiples of 50 ms (100 ms, 200 ms, …, n*50), we set the block buffer time to 50 ms. In the ring buffer, we can append small chunks of data in each iteration of the online loop and get the last milliseconds of the acquired data to perform the classification. For example, a 1000 ms ring buffer where, on average, 100 ms chunks of data are appended in each iteration of the online loop will always have the last 1000 ms of acquired data to perform the classification. This implementation has a guaranteed upper bound for read and write operations as well as a constant memory usage, which is the size of the maximum length of the buffer in memory (default 1024 samples). For Example, for the extreme case of storing the last 60 seconds of 64 bit data, sampled with 1kHz and 128 channels (≈60 MB), reading an entire buffer will take ≈25 ms as well as writing when storing more than 60 seconds at once. Writing will usually be much faster, as one usually stores only a few milliseconds of data per run. In that case, writing will be a fraction of a millisecond (Venthur & Blankertz, 2014). MNE Nonetheless, wyrm has only the necessary functions for online/offline preprocessing, processing and classification, and is not constantly updated. Therefore, we found MNE-Python for advanced processing and with active update and maintenance by the community (Gramfort et al., 2013). The MNE-Python package provides a complete pipeline for MEG and EEG data analysis: covers preprocessing, forward modelling, inverse methods, and visualization; advanced analysis for time-frequency, statistics, and connectivity; enables fast and memory-efficient processing of large data sets. While MNE-Python is designed to integrate with packages within the Python community, it also seamlessly interfaces with the other components of the MNE suite, like, for example, the MNE-matlab, because it uses the same Neuromag FIF file format, with consistent analysis steps and compatible intermediate files. Therefore, going forward, we expect to fully transition to MNE-Python for signal processing and classification. NeuroPrime signal processing For signal processing, we developed an online/offline pipeline for closed-loop NF and offline data analysis of NF data, named “nftalgorithm” , a children class of “eegpipeline” that imports functions mainly from
55 “eegfunctions” . The “eegpipeline” standardizes and defines the necessary methods for the pipeline: initiate vars, input data, preprocessing, processing, postprocessing, and output data. These developed algorithms and specific functions are located in the appropriate folder named “signal_processing” . 3.3 Signal Presentation Figure 17 - Signal presentation diagram and main packages used. Input feedback data and output to interface and synchronization markers. Feedback and stimuli presentation is another fundamental piece of any BCI system, which relates to the interaction and interface with the end user. While in the stimuli presentation, the interaction is passive (i.e., the subject does not control anything in the presentation with his thoughts), in the feedback presentation, the interaction is active, where the participant intentionally tries to modulate the signal that is being presented (Figure 17). The presentation applications need to receive data from the signal processing and send markers to the signal acquisition. Furthermore, they should give researchers conducting experiments some means for interaction with the running application. Another important aspect is the usability of the package by the community of researchers. Therefore, a framework should make the development of feedback and stimuli applications as easy as possible by providing the proper infrastructure. The packages meeting these requirements are pyff and psychopy. Pyff Pyff is a very solid and straightforward package for researchers familiar with Python. Pyff provides a platform for developing and running feedback and stimuli applications (Venthur et al., 2010). Pyff also provides some standard BCI paradigms (stroop test, oddball, among others). The limitations with pyff are the fact that it is outdated, it is not maintained, and it is yet to be ported to Python 3.
62 4.2 Hardware and software setup Hardware The hardware described here is shown at the end of this section in Figure 21. EEG signals were acquired with a 32 channels amplifier ActiCHamp® (Brain Products GmbH) and two batteries (1). The cap (EASYCAP GmbH), (2), has a unified optimized layout based on an international 10-20 localization system for better cable arrangement (Timm, 2016). The ground is located at Fpz position and is a reference-free montage, as shown in Figure 20. Any referencing is done post-hoc (after acquisition) in the software. Figure 20 - 32 Channels Easycap Montage Layout. It was adapted from the unified optimized layout based on an international 10-20 localization system (source Brain Products GmbH). Before electrode (3) placement, the skin was prepared with a mild skin cleaner (4), ethanol 70% V/V, to help improve impedance and conductance of electrodes. Electrodes were affixed with a high conductive viscosity electrolyte gel for active electrodes SuperVisc® (EASYCAP GmbH) (5). Impedances were checked before starting the experiment to be below 30 kOhm and critical channels below 10 kOhm.
63 The computer screen (6) was placed 60 cm from the edge of the table. The mouse (7) was only used by the investigator, while the keyboard (8) was placed at the edge close to the participant to allow interaction with the task interface. For the audio, wired headphones from Asus® (9) was used. A cup of water was always present for the subject to drink if needed. Figure 21 – Experimental Hardware Setup. On the right, the experiment environment and the cap. On the left and middle is the remaining hardware. Software The online experimental paradigm was built from the ground up on Python open-source language, synthetizing and using the best parts of specific BCI and EEG modules. For more detail, go back to chapter 3. The offline data analysis pipelines were in: Brain Vision Analyzer (Brain Products GmbH), for visual inspection of channels, epochs, and planning processing pipeline; NeuroPrime and Python modules like MNE, for advanced signal processing/classification and automation of the pipeline. 4.3 Experimental design Overviewing the experimental design, each subject received a single-session intervention. For descriptive trait measures, we used a sociodemographic and a mindfulness questionnaire, the Five Facet Mindfulness Questionnaire (FFMQ) (Baer et al., 2008; Gregório & Gouveia, 2011). The training session was divided into 3 blocks. While the CG, in all the three blocks, only received EO REST followed by the
64 EO SMR NFT protocol, the EG, in blocks 2 and 3, received EO rest state task (REST) followed by the EC Pre-training Priming Protocol (PRIME) and finally the EO SMR NFT. The EC condition during PRIME stimulus was intended to test the hypothesis that a more profound priming occurs in the absence of visual information, while the EO condition was implemented due to its general use on NFT interventions. Finally, a post-framework questionnaire was filled, asking about perception (task success, task difficulty, mental effort, awareness level), mental strategies, and two critical observations were directly asked by the investigator and registered for reference, based on (Garrison, Santoyo, et al., 2013). The diagram in Figure 22 shows in greater detail E1’s design, and in the following sections, we break down and further detail each part of the experiment design. Figure 22 - E1 design. Time flows from left to right, top to bottom. In a single session, first, the subject fills the sociodemographic and the FFMQ. Then, the training starts. There are three blocks in total, and each begins with the REST task with EO, then PRIME, and finally NFT. PRIME is not applied in the Control group. PRIME follows an (A)(B)(A) design, where stimulus (A) is randomized between breathing or imagery mindfulness-guided practice, while (B) are Likert scale questions in random order. NFT bars represent the neurofeedback presented to the subject, and the horizontal line within the bars represents the thresholds.
65 4.3.1 Questionnaires & Self-report measures Figure 23 - Self-reports of E1. This diagram represents the three types of self-reports used: traits, states and framework self-perception. In this section, we break down the self-reports used (Figure 23) in the E1. Traits For descriptive baseline purposes, participants completed first a sociodemographic questionnaire, then a standard scale of mindfulness traits, the FFMQ (Baer et al., 2008; Gregório & Gouveia, 2011). Sample States In order to assess the immediate outcome (emotional states) of the MM interventions, we used a similar approach as Garrison et al. (Garrison, Santoyo, et al., 2013). In our case, we choose five adjectives to discriminate the emotional states from “The Minho Word Pool: Norms for imageability, concreteness, and subjective frequency for 3,800 Portuguese words” (Soares et al., 2017). The words chosen were “Motivado/empenhado” = “engaged”, “Relaxado” = “relaxed”, “Concentrado” = “concentrate”, “Cansado” = “weary”, “Frustrado” = “frustrated”, “Pensativo” = “pensive” . Then they were converted to a Likert scale from 1 to 5, similar to the PANAS scale: 1) very slightly or not at all; 2) a little; 3) moderately; 4) quite a bit; 5) extremely. Additionally, four questions were added to assess their perception about the preceding task: “Awareness level about the emotional states previously stated?”, “Task success?”, “Task mental effort?” and “Task difficulty?” . Classification also ranged from 1 to 5. Neurofeedback data plus this sample states can offer a way to relate the neurophenomenological10 structure of subjective experience with a real-time characterization of large-scale neural operations
66 continuously over the course of the experiment (E. J. Davelaar et al., 2018). This way is possible to intercept the first and third person data together. Framework self-perception In order to assess the perceived outcome of the framework, we developed a simple questionnaire to measure the participant’s self-perception (subjective experience). It is based on the questionnaires developed by Garrison et al. (Garrison, Santoyo, et al., 2013). Also, this questionnaire should be viewed as a stepping stone for a neurophenomenological10 approach in the future, because through its implementation, we were able . to address the following subjective experience (check E1 self-report): • Experiment perception: task success, task difficulty, mental effort, and awareness level. • Mental Strategies. • Observations. Additionally, three critical observations about the framework (because this was a pilot study) were directly asked by the investigator and registered for reference: “Were the 3 bars distracting?”, “Were the audioguided instructions distracting?”, “In the rest task, did you succeed in relaxing, or did you think about something else?”. The response was only “yes” and “no” , and “maybe” was considered “yes” . For more detail and access to the forms, please go to Appendix II – Self-reports. Specific characteristics While the traits and NFT self-perception were in paper format, the sample states measured by the Likert scales were part of the PRIME protocol, integrated as a control condition task, as one can see in Figure 22 (B). The adjectives were randomly displayed one after the other on the screen, and the participant needed to select the keyboard number correspondent to the classification. After the adjectives, the four questions ( “Awareness level about the emotional states previously stated?”, “Task success?”, “Task mental effort?” and “Task difficulty?” ) were also displayed one after the other, as demonstrated in Figure 24.
67 Figure 24 – Representation of control condition self-report. The traits self-report was presented as a successive randomized sequence of Likert scale questions. 4.3.2 Rest state task (REST) Rest state task (REST) is a standard task in NFT protocols. It is standardly used to evaluate subject baseline and compute the initial NFT threshold, basically with the objective of finding the individual resting state condition (Enriquez-Geppert et al., 2017). In E1, REST has a pre-task screen with instructions and the task screen. In the pre-task screen, REST tasks instructions were to “keep the eyes open focused on the point.” and the standard “Try to relax!” instruction. Then in the task screen, with EO, the participant needed to focus on the point in the centre of the screen and relax. The following Figure 25 is the GUI used in the task screen. Figure 25 - GUI representation of the rest task screen. A black screen represented the rest task screen with a point in the middle. The REST pre-task screen is necessary for various reasons: user's own pace (the user selects when to start); relaxation and resting of previous task/block; signal artefacts control. In the REST pre-task screen, the subject is introduced to the task and is instructed to focus and relax before using the key “Enter” to start the task. The text instructions with translation are in Appendix III – Instructions section E1 REST task instructions.
68 4.3.3 Pre-training Priming Protocol (PRIME) Training design The basis for PRIME is the BSDS training design to investigate the functional role of certain target oscillations (brain states). In BSDS, the use of an active control group is not necessary to study the functional role of brain states guiding stimulation. However, the current priming framework is not a closed-loop stimulator (meaning that the brain state does not update the stimuli), but instead a fixed randomization of two MM stimuli (BM and IM), therefore control conditions and an active control group are necessary to compare with the target conditions. The conditions had a within-subject ABA design to simplify the analysis of stimuli dependent oscillations. (A), target condition with eyes closed: PRIME stimulus, comprised of mindfulness-guided audio, aiming to promote awareness and reduce self-related thinking. Also, in condition (A), each subject received two PRIME stimuli double-blindly randomized between blocks 2 and 3. (B), the inverse condition with EO: evaluation emotion questionnaire to promote self-related thinking, using Likert scales with state adjectives, during which participants viewed adjectives and were tasked to “think about and decide” if the words described them, based on Garrison et al. (Garrison, Santoyo, et al., 2013). With the ABA design, we tried to: score the participant's subjective experience, deepen the priming before the NFT and investigate the role of the priming stimulus. We choose to keep the eyes closed during PRIME stimulus due to the hypothesis that a more profound priming occurs. Additionally, a control group was added for priming versus no-priming, between-subjects comparison. Mindfulness Meditation Intervention (MM) In this framework, mindfulness meditation (MM) tasks are pure instructional audio manipulations guiding the person toward reaching the desired subjective experience and target brain state before the subject starts the NFT task. To this purpose, participants were primed with audio-guided MM instructions, adapted from previously published procedures (P. A. Frewen et al., 2014), reviewed/transcript to Portuguese by a specialized mindfulness psychologist, and recorded by a hospital nurse on macOS using Garageband® software.
69 These meditation instructions are consistent with recent psychological conceptualizations of MM that emphasize the development of attentional abilities combined with a specific, non-judgemental attitude toward the different mental experiences that may arise during MM (Chow et al., 2017; Lutz et al., 2008; Tang, 2017; Tang et al., 2015). Following the ABA design, the EG participants performed a total of 6 minutes (min) of eyes-closed MM: (A) 3 min of guided audio, then (B) self-report concerning the MM states, and finally repeated (A) the same 3 min MM guided audio. Using Likert scales self-report, we score the emotional state after doing the first MM. Then, the participant was primed again before receiving the NFT (see the sequence in the block mockup in Figure 22). Two consecutive bells marked the end of the ABA intervention, then followed by the NFT. Bodily focused attention on breathing (BM) In the breathing mindfulness task (BM), participants were primed with audio-guided MM instructions, with the focused attentional target being on bodily breathing sensations. Breathing focus was chosen due to its simplistic nature and because it is the most standardly used bodily target for naïve populations and the more recurrent in literature(P. A. Frewen et al., 2014; Tang et al., 2015). In Appendix III – Instructions, section E1 BM instructions, one can find the manuscript for the text instructions in Portuguese, used in each of the screens, and the audio instructions with the time marker. Imagery focused attention on a calm place (IM) Similarly, the participants were primed with the same ABA procedure, but the focus of attention was a mental image of a calm place. Such was devised to simulate the use of mental strategies11 during the neurofeedback where the user should embrace the mental strategy with a non-judgemental attitude and disengage from too much self-related thinking. A large number of studies indicate that imagery tasks in modalities as visual and auditory usually evoke brain activity patterns that overlap to a considerable extent with the patterns observed during actual perception (Damasio, 2010). Therefore, this IM stimulus contrasts with breathing bodily sensations and probably stimulates processes closer to the ones used during internal neuromodulation strategies11. In Appendix III – Instructions, section E1 IM instructions, one can find the manuscript for the text instructions in Portuguese, used in each of the screens, and the audio instructions with the time marker.
70 4.3.4 SMR Neurofeedback training protocol (NFT) Training Design SMR NFT protocol was based on Chow et al. and Kober et al. (Chow et al., 2017; Silvia E. Kober et al., 2017), which consists of a Pre-post training design to investigate single-session SR performance of SMR upregulation (12-15Hz), and simultaneous downregulation of theta (4-7Hz) and beta (21-35Hz). The SMR protocol aimed to investigate the trainability of SMR after priming versus no priming the subject and assess subject phenomenological experience during the training. Therefore, a protocol was set up, including an active control group (only NFT). Participants of the control group were pseudo-randomly matched to the experimental group. They received NFT without the pre-training. As we showed in the NFT diagram in Figure 11 section 2.1, NFT closed-loop design can be divided into three parts: signal presentation (SP), signal acquisition (SA), signal processing and classification (SPC. Summarizing, SP deals with the GUI used to present the NF (feedback modality like audio or video, feedback presentation, and timing). SA deals with acquiring the signal from the learner, the data structure, and storage (already detailed in section 3.1). SPC is the core of the training protocol (the “brain” of the closed-loop if you wish). It uses the input data acquired for online feature extraction, threshold and feedback calculation of feature changes, online artefact rejection, online feedback generation and outputs the feedback to the presentation. As such, we dedicate the subsequent sections to define the methods used for SPC and how they interact from one side with SA and from the other with SP. Online feature extraction Feature extraction is driven by the hypothesis 21 that up-regulation of SMR has some relation to the optimal state. The bands to extract the NF were fixed frequency for more easy inter-individual comparisons. This study did not use the participant's individual alpha frequency (IAF) – defined as the frequency exhibiting the highest EEG amplitude within the alpha band (M. X. Cohen, 2019; Klimesch, 1999). Furthermore, since we were trying to find the effects of priming versus no-priming within the SMR band, we chose not to add this complexity to the study. Subjects received SMR neurofeedback from their scalp Cz site (midline somatosensory cortex in accordance with the international 10-20 system), where the SMR is generally maximal (Silvia E. Kober et
71 al., 2017). Therefore, Cz was used as the channel to calculate the reward (SMR band) and inhibit bands (theta and beta bands). Threshold & feedback calculation of feature changes Cz EEG spectral densities estimated from 1.024 s segment of 1024 samples, updated every 1s with new data, using a discrete Fourier transform with Hamming windows (WELCH method with n_fft=1024, n_per_seg=1024, n_overlap=0) 22 . The sampling rate of 1kHz. For further detail, please refer to section 4.4. SMR (12-15Hz) was the reward band (i.e., the band that the participants aimed to increase) and theta(4- 8Hz) and beta(15-35Hz) the inhibit bands (i.e., the bands that the participants aimed to decrease). The objective for the inhibit bands was to be an implicit cue to reduce involuntary artefacts, like eye blinks and muscle movements (M. X. Cohen, 2019). This protocol was based on Kober et al. (Silvia E. Kober et al., 2017; Silvia Erika Kober et al., 2015). The reward and inhibit bands feedback are calculated as the mean power of the Cz channel during the task. The thresholds for each new block are recalculated from each block rest state. Reward band threshold was the mean power of the Cz channel during the resting state, while for the inhibit bands, it was the mean power plus one standard deviation (SD) of the Cz channel. Following the statistical, empirical rule that for a normal distribution, almost all observed data will fall within three standard deviations of the mean or average, thus, 68% of the data falls within one standard deviation, and 50% of the data falls within the mean. Meaning, in statistical terms, the subject in the reward band has a positive cue if the data falls above 50 % (negative<50%) and in the inhibit bands receives a positive cue below 68% (negative>68%). These rules are based on Kober et al. (Silvia E. Kober et al., 2017; Silvia Erika Kober et al., 2015). This adaptative threshold is of importance on single session designs with naïve populations. The initial threshold is bound to change significantly compared to the initial threshold (check section E1 withinsubject session profiles in Appendix IV – Additional results). Amplitude changes of SMR, theta, and beta were then compared to this dynamic threshold.
78 From these, we choose to represent two measures within-subject: the relative (epochs) and absolute (epoch average) SMR amplitude of the Cz channel and the tBAT for each NFT task. As one can see in Figure 28, this simplifies the temporal behavioural representation of the session. While between-group, we present the normalized data using the tBAT feature, as it shows more meaningful results than absolute changes in amplitude in this study (see Figure 29). Based on these measures, we assessed feature changes within-sessions by using each block rest state as the reference and each block NFT as the target, this way, we can observe the changes from block to block. Also, this method was chosen due to the relevant changes of the REST mean PSD between blocks (check Appendix IV – Additional results). This makes sense due to the hypothesis that in a single session, design novices (at NFT) have great variations of EEG between blocks (for more detail on the literature of single session design, go back to section 2.4). Additionally, this methodology enables the evaluation of the task specificity, assessing whether the target feature or frequency of interest has been predominantly modulated in the REST versus NFT tasks. 4.4.5 Self-reports The self-reports from paper format (see Appendix II – Self-reports) were transcribed to Microsoft Excel® for further evaluation. 4.4.6 Statistical analysis As pilot E1 was an explorative experiment, the objective of the statistical analysis was to understand if the changes in tBAT measure were significant or not. As such, we analyzed it using a one-sample paired ttest by pairing the reference task (NFT_1) with each group's tasks. 4.5 Results The following results illustrate the features that can be extracted from this type of experiment in withinsubjects or within group analysis - a repeated measures design, i.e., independent observations of every outcome condition for the same person or unit of measure at different time points or "within" the same person or phenomena, e.g. (John H. Gruzelier, 2014b) - and between-groups. They served as a proof of concept for the final E2.
79 4.5.1 Within-subjects Figure 28 is illustrated as an example of a subject from each group, where it is possible to follow the within session dynamics of the SMR. Figure 28 - SMR PSD of Cz channel. Subject behavioural representation during the experiment session. (EG) Representative example of Experimental Group Subject. (CG) Representative example of Control Group Subject. X-axis, Tasks in temporal order, according to the above experimental design. Y-axis, SMR PSD extracted during the Tasks. Red refers to the absolute mean PSD of the rest state. Also, it corresponds to the threshold used in the NFT. Blue is the absolute mean PSD during the NFT task. Green and Grey dots correspond to 1s epochs of SMR. Green epochs are above rest state absolute power. tBAT refers to the percentage of time the subject stayed above the brain activity target during the NFT task.
80 Remembering the previous section 4.4, a sliding window of 1024 samples, updated every 1024 samples (1.024 s ≈ 1 s), is used to extract the mean power spectral density of the SMR band. This strategy is used to segment the online data into ≈ 1 s epochs. While offline, a similar strategy is used to segment the data into 1 s epochs. We extracted the SMR mean power for each epoch in REST and NFT in each of the three blocks, represented in Figure 28 as the dots in the graph. The red line in the figure represents the absolute mean PSD of the rest state. Also, it corresponds to the threshold used in the NFT. Blue is the absolute mean PSD during the NFT task. Green and grey dots correspond to 1 s epochs of SMR. Green epochs are above rest state absolute power to indicate that the subject surpassed the threshold. After obtaining the relative NFT mean and the rest absolute mean, we calculate the tBAT (one of the features to inform learning performance during training). The tBAT is described as the percentage of time spent with positive feedback (Dempster & Vernon, 2009), which, in our case, equals the ratio between the number of epochs above the rest task threshold and the total number of epochs. An important observation is that the shift in rest states is erratic. In Appendix IV – Additional results, section E1 within-subject session profiles, we show extreme cases of this profile. In the following Table 1, we show the tBAT for each subject. This table is used to construct the between-subjects graph in the next section and is essential to summarize the change of tBAT between each NFT task. The statistical change in tBAT measure is tested using a one-sample paired ttest by pairing the reference task (NFT_1) with each group's tasks. NFT_1 is the SMR NFT task of the first block, and NFT_2 and NFT_3 are from the second and third block, respectively. Then the subjects were further split into each of the priming conditions IM (IM_NFT_2, IM_NFT_3) and BM (BM_NFT_2, BM_NFT_3). As one can observe from the table, there is no statistical significance, meaning that the mean difference between paired observations is zero. This also reveals that our NFT had no significant effect on the tBAT for both groups.
81 Table 1 - tBAT for each subject and group average. CG NFT_1 NFT_2 NFT_3 EG NFT_1 NFT_2 NFT_3 IM_NFT_2 BM_NFT_2 IM_NFT_3 BM_NFT_3 S006 22,22 12,22 24,44 S003 28,33 62,78 32,78 62,78 32,78 S008 17,22 17,78 12,22 S004 61,67 53,89 32,22 53,89 32,22 S009 28,33 S005 15 12,22 17,22 12,22 17,22 S012 1,11 66,11 41,67 S007 16,11 23,33 22,22 23,33 22,22 S014 23,33 36,11 0 S010 0 8,89 52,78 8,89 52,78 S016 22,22 15,56 7,22 S011 27,22 41,67 47,78 41,67 47,78 S017 31,11 6,11 28,33 S013 30,56 16,67 10,56 16,67 10,56 S019 0 30 44,44 S015 15 36,11 2,78 36,11 2,78 S020 72,22 39,44 38,33 S018 55 64,44 82,78 64,44 82,78 S024 0,56 1,67 S021 63,89 30 67,22 30 67,22 S025 23,89 10 13,33 S022 43,33 94,44 0 94,44 S026 33,33 37,22 46,67 S023 3,33 28,33 6,67 28,33 6,67 S027 24,44 40 27,78 S028 3,89 9,44 35,56 9,44 35,56 S029 0 23,33 2,22 S031 19,44 10 14,44 10 14,44 S030 19,44 38,89 35,56 S032 5 13,89 27,22 13,89 27,22 S035 30,56 30,56 66,67 S033 7,22 27,78 6,67 27,78 6,67 S034 0 37,22 43,89 37,22 43,89 AVG 21,87 27 27,78 AVG 23,23 33,59 29,574 36,60 30,21 24,31 38,54 SD 17,80 16,94 19,26 SD 21,33 24,56 23,95 28,69 19,36 17,10 26,42 p -value 1 0.42 0.39 p -value 1 0.19 0.42 0.24 0.41 0.89 0.18 tBAT is the ratio between epochs above the threshold and the total number of epochs. Average (avg) and standard deviation (SD) in each column are also presented. An empty cell means a none value or a missing value (removed tasks due to noise). The p-value is obtained from a paired t-test between the NFT_1 task and each one of the other tasks. NFT_1 is the SMR NFT task of the first block, and NFT_2 and NFT_3 are from the second and third block, respectively. Then the subjects were further split into each of the priming conditions IM and BM. Concerning the self-reports of each subject in this pilot experiment, the interest was to have an idea of what is needed to report and to understand the subjective experience of the participants. As referred, three critical observations were directly asked by the investigator and registered for reference: “Were the 3 bars distracting?” , all the subjects referred that the three bars were distracting, and some found the solution to focus on some other thing than the bars, or only focus from time to time in the bars; “Were the audio-guided instructions distracting?”, 14 participants said that the instructions on the guided audio distracted them. The reason was the number of instructions during the 3 min. However, they also refer that the second time they heard the repetition that they were able to focus on the task and less in the instructions; “In the rest task, did you succeed in relaxing, or were you thinking about something else?”,
82 an outstanding 20 out of 33 reported not to succeed. However, these questions are only valid in the context of this experiment. General conclusions cannot be achieved through this rough method. A more phenomenological approach should be undertaken. In Appendix II – Self-reports, one can check the custom form for E1. The statistical analysis and further comparisons of these additional variables are not in the scope of this chapter, so that they will be used only for further publications in the future. 4.5.2 Between-groups Even if the tBAT change was not significant for each group (Table 1), to represent the tendency effects of priming versus no priming in this preliminary study, an absolute group mean of the tBAT in each block was calculated from Table 1. The graphic in Figure 29 illustrates the results. Figure 29 – SMR group tBAT for eyes open. Representation of mean tBAT of subjects from each group (Y-axis) during each NFT trial (X-axis). Red represents the control group. Blue, the experimental group. The bold line represents the absolute mean. Dashed lines represent the NFT block 2 after breathing mindfulness (BM) and NFT block 3 after imagery mindfulness (IM). Points graph line represents the NFT block 2 after IM and NFT block 3 after BM. The error bars are presented as vertical standard deviations (SD). Red represents the control group. Blue, the experimental group. The bold blue line represents the absolute mean of the EG. Blue dashed lines represent the participants who performed BM_NFT_2 (i.e., NFT block 2 after BM priming) and IM_NFT_3 (i.e., NFT block 3 after IM priming). The blue points graph represents the participants who performed IM_NFT_2 then BM_NFT_3. The error bars are presented as vertical tBAT BM_NFT_2 IM_NFT_2 BM_NFT_3 IM_NFT_3 CG EG Group % of time in brain activity target NFT_1 NFT_2 NFT_3 Tasks
83 SDs. A more substantial increase tendency in the PRIME intervention (EG) are visible compared to the no-priming (CG) NF intervention in blocks 2 (NFT_2) and 3 (NFT_3). Additionally, the group who performed IM in block 2 (IM_NFT_2) then BM in block 3 (BM_NFT_3) showed a stronger increase. Nonetheless, as we already described, this preliminary data is not conclusive nor statistically significant (see Table 1). Some of these results are published in a Frontiers abstract (N. M. Da Costa et al., 2019) and are expanded in the paper (N. M. C. Da Costa et al., 2020) . 4.6 Insights from Experiment 1 Participants In E1, the number of participants was not enough to statistically test the hypotheses of the effects of priming versus no-priming. Also, the sample is lower than other NF intervention studies (Chow et al., 2017; Silvia E. Kober et al., 2017), where generally sampling is around forty (CG, N =20; EG, N =20). However, due to constraints (e.g., time, human resources, lab availability, and recruiting), we only achieved a sample with 33 participants (CG, N =16; EG, N =17). Nonetheless, for pilot testing, it was enough. Hardware and software setup We found some setup flaws in the hardware and software that needed to be addressed before a new experiment. In the hardware, we found the following limitations. Wired bulky headphones used for sound stimulation can introduce movement artefacts in some EEG channels data because they touch the electrodes. The lack of straps to tightly pull the cap against the scalp can also lead to movement artefacts. The Self-reports in paper format are not as easy to manipulate as digital, e.g., the use of google forms. Only EEG data was acquired, yet other psychophysiological signal measures can be acquired, like Galvanic Skin Response (GSR) and Heart Rate Variability (HRV), to extract emotional state biomarkers. In the software, we found limitations in signal acquisition. The LSL Actichamp application had artefact generation problems (Brain Products GmbH, 2015). Due to the lack of a faraday cage in the environment of E1 and the high probability of electrical environment noise, we used the shielding mode23 of Actichamp, which is indicated to suppress this noise, such as AC power lines, computer displays, wireless equipment.
84 Nonetheless, this noise correction was irreversible and led to artefacts, so it is advised to use the default mode. The LSL application (APP) is not research-friendly, has minor functionality (see Figure 30), and only enables reference-free montage. Actually, a new LSL browser app (Brain Products GmbH, 2020) was developed to substitute the previous server app (after the conclusion of the experiments conducted during this project). The electrode preparation can be improved when online. During the configuration and placement of the cap, the signal needs a deeper visual inspection to find possible channels with noise and adjust the system accordingly. Figure 30 - Actichamp LSL server APP. This server app was available on the LSL GitHub page, please go to (Brain Products GmbH, 2015). Experimental Design The experimental environment was not a good EEG Faraday enclosed room with a high probability of electrical environment noise, such as AC power lines, computer displays, wireless equipment. As such, as already pointed out, we used the shielding mode23 of Actichamp. PRIME The priming design was an ABA design that can be repetitive and probably fail to follow the instructions design guidelines, where tasks need to be involving, engaging, progressive, and promote an adaptive learning environment (Lotte et al., 2013). Also, it is essential to note that simplicity and objectivity are required in a single session design to study brain activity effects (Chow et al., 2017; E. Davelaar et al., 2016; Hanslmayr et al., 2005; Peeters et al., 2014; T. Ros et al., 2014; Shibata et al., 2011; Wells et al., 2012), in this case, to study priming versus no-priming. We decided to keep the eyes closed during PRIME stimulus A because we hypothesised that a more profound priming would occur. However, this makes it difficult to compare the EEG signal between tasks
85 A and B, as they have two different eye conditions. Also, in the B task, the user needed to use the keyboard to answer the questionnaires, while in the A task, they did not. Therefore, the comparison between A and B was further compromised. In E1, only REST and NFT tasks can be compared. Regarding the MM audio stimulus, the participant's subjective experience showed that we had too many instructions within the 3 minutes of MM guided stimulus. REST REST task was only with EO. This is a significant limitation because the eyes closed protocol can give us important information. Indeed, some predictors of NFT performance use eyes closed (Nan et al., 2018). Additionally, REST, PRIME, and NFT should have the same eyes protocol for comparisons. NFT Instructions and provision of strategies were reduced to as little as possible to lower the introduction of possible bias. However, depending on the experimental design, the instructions must be carefully revised to find an equilibrium between necessary and redundant instructions. We were able to identify increasing trends of tBAT in the PRIME intervention (EG) compared to the nopriming intervention (CG) in blocks 2 and 3 (Figure 29). This pilot analysis seemed to point against the null hypothesis that priming seems to have effects in the NFT SMR protocol developed. Additionally, the group with IM in block 2 and BM in block 3 seems to show a stronger increase of tBAT. It seems that the focus on imagery of a calm place (internal focus on imagery sensations) produces a stronger tBAT than the breathing practice (bodily focus on breathing sensations). This difference can be due to the similarity of cognitive processes used. The internal focus on a calm place and its sensations are probably closer to the “optimal” internal focus needed in NFT mental strategies. During IM, we are trying to implicitly target the brain to focus more on “sensing” a mental strategy (imagery of a calm place) than focus on “trying” to, for example, control the feedback, check the performance of the mental strategy, and other mental strategies used by the subject (E. J. Davelaar et al., 2018). Also, as we hypothesized, the objective is to prime the “sensing” state on the subject and expect that during the NFT, the subject is in a more “sensing” state than a “trying” state. Nonetheless, this preliminary tBAT data is not conclusive nor significant to demonstrate that. Regarding the feedback presentation using the three bars, it was described by two-thirds (21 subjects) of the population as “too distractive”. Thus, in this experimental context where we are trying to prime a “sensing” state, the SMR protocol with reward and inhibit bars based on Kober et al. (Silvia E. Kober et al., 2017) can have an undesirable effect, as it seems rather distracting for the participants.
86 Self-reports In this experiment, we had limited self-reports for subject traits and only mindfulness traits from FFMQ. Also, states self-reports are Likert scales. It would probably be better to find validated state scales and add them to the study. The questionnaire for NFT self-perception should be approached in a more neurophenomenology way. In essence, a disciplined understanding of the subjective experience requires a second-person method which means the rigorous collection of first-person accounts of subjective experience through careful guiding and questioning from a researcher (E. J. Davelaar et al., 2018). Studying neurophenomenology within this framework should be another step to refine it. However, this should be dealt with a multidisciplinary team that we, unfortunately, did not have during this Ph.D. project. In addition, it should account for more variables that could explain and validate the collected data. Session additional characteristics The session had too many pre-task pauses per block for the participant to rest before tasks and start when ready. A more continuous experience seems to be required per block, with mainly one pause at the beginning of the block. Summary In summary, this analysis seems to point against the null hypothesis: priming seems to have effects in the NFT SMR protocol developed. In E1, it was possible to observe the dynamic shifts from the rest state throughout the session, but also with self-reports, it seems the person is “trying” to rest and possibly not “sensing” relaxation, pointing in the direction that the participant is closer to a trying state than a rest state. Nonetheless, working with EEG online has its limitations because of the noise in the signal. Any slight movements above the neck, like eye blinks or muscle contraction, can add artefacts to the signal. Attempts were made to prevent and detect such artefacts in real-time and do not include those samples when calculating the feedback. This process is not perfect and can sometimes have false positives, leading to variations in the number of included epochs. Therefore, the error range presented in this analysis is still considerable. However, one should take into account that this is a pilot evaluation. These pilot steps were needed to adjust the experiment requirements, which were met in another experiment described in the next chapter.
CHAPTER 5 Second Framework Application: Evolution of the Experimental Design This chapter is based on the following scientific publications: A multivariate randomized controlled experiment about the effects of mindfulness priming on EEG Neurofeedback self-regulation serious games (N. M. C. da Costa et al., 2021) ___________________________________________________________________________
94 Figure 35 – E2 design. Time flows from left to right, top to bottom. In a single session, first, the subject fills the traits self-reports, then the training starts. There are 6 blocks in total. Block in and Block out each begins with rest state with eyes closed then eyes open, followed by alpha NFT and ends with the state self-reports. From block 1 to 4, in the EG, first is the PRIME task, then NFT. In the control group, PRIME is substituted by REST. PRIME stimuli are randomized between IM and BM. Also, from blocks 1 to 4, eyes closed and eyes open are randomized between blocks. In the diagram, the “or” signal is represented by “|”. It is used to separate the task for each group or the randomizations of ES (EO | EC) between blocks and the randomizations of PS (BM | IM). As in E1, the differences between the control and experimental groups reside in the priming tasks. While the control group is only primed with rest tasks, the experimental group is primed with randomized mindfulness focused attention forms, breathing bodily sensation (BM), and imagery of calm place sensations (IM). These priming stimuli were chosen with the objective to lead the person from a subjective trying state to a more sensing state. As discussed in the introduction section, this transition belongs to the trying-sensing continuum discussed by Davelaar and colleagues (E. J. Davelaar et al., 2018). These methodological approaches follow the NFT guidelines from (Enriquez-Geppert et al., 2017; Sitaram et al., 2017). These changes in the experimental design are reflected in Figure 35, but one can also go to Figure 41 with an entire session GUI representation. In the following sections, similar to chapter 4, we detail each part of the E2 design.
95 5.3.1 Questionnaires & Self-report measures Figure 36 - Self-reports of E2. This diagram represents the three types of self-reports used: traits, states, and framework self-perception. In this section, we break down the self-reports used (Figure 36) in the E2. Traits For descriptive baseline purposes, participants completed first a sociodemographic questionnaire (SOC), then standard, well-validated scales. For mindfulness-related traits, we used the Five Facet Mindfulness Questionnaire, FFMQ, which assesses five mindfulness dimensions (Baer et al., 2008; Gregório & Gouveia, 2011): observing. "I notice the smells and aromas of things" ; describing. "I am good at finding words to describe my feelings." ; acting with awareness, "I find myself doing things without paying awareness attention.”; nonjudging of inner emotions, " I think some of my emotions are bad or experience inappropriate, and I should not feel them." ; nonreactivity to inner emotions. "I perceive my feelings and emotions experience without having to react to them." . For assessing symptoms of depression, anxiety, and stress, we used the Depression Anxiety Stress Scale, DASS (Crawford & Henry, 2003; Pais-Ribeiro et al., 2004). For emotional regulation, we used the Emotion Regulation Questionnaire, ERQ, which assesses two dimensions (Lovibond & Lovibond, 1995; Vaz et al., 2014): cognitive reappraisal, where a person attempts to change how he or she thinks about a situation in order to change its emotional impact; expressive suppression, “I keep my emotions to myself” - where a person attempts to inhibit the behavioural expression of his or her emotions. Sample States In order to assess the immediate outcomes of the interventions on mood and state mindfulness, participants also completed the Profile of Mood States-Short Form, POMS (Faro Viana et al., 2012) and
96 the Toronto Mindfulness Scale, TMS (Lau et al., 2006), which assesses the degree to which participants’ experience mindful curiosity (e.g., “I was curious to see what my mind was up to from moment to moment” ) and mindful decentering (e.g., “I experienced myself as separate from my changing thoughts and feelings” ). NF combined with the sample states offers a way to relate the phenomenological structure of subjective experience with a real-time characterization of large-scale neural operations throughout the experiment. Framework self-perception In order to assess the perceived outcome of the framework, we developed a simple questionnaire to measure the participant self-perception (subjective experience), and we used the acronym NFT for the questionnaire. It is similar to the one used in E1 but has a more straightforward layout with only closed questions and has a complete checkup. To view the differences, go to Appendix II – Self-reports. This questionnaire addresses the following (check Appendix II – Self-reports section E2 self-report): • Experiment perception: task success, task difficulty, mental effort, awareness level, experiment duration, intensity/quality of focus in the mental strategies, among others. • Mental Strategies. • Observations. Specific characteristics These self-reports were copied to digital form using open-source Google Forms software. The participant used a tablet to complete them. This enables a tidier, resource-friendly, and faster acquisition of data. Also, the digital form proved not a hindrance for this population (age:18-43, Education level: above high school education). The questionnaires are available in digital forms at the following links: 1st questionnaire: https://forms.gle/2uT7f7oH3pd4c9FD9 2nd questionnaire: https://forms.gle/nQNRQkBWEVtbKySo8 3rd questionnaire: https://forms.gle/k1zVwzwVacu7hBYRA These self-reports are also included in Appendix II – Self-reports.
97 5.3.2 Training session baseline & block in/out The Block in (Bin) serves as the baseline block for our framework. Also, it helps to test the user understanding, i.e., at the end of Bin, the researcher/technician asks if the participant understood what was expected from him/her during the tasks. Bin is composed of 3 tasks (see Figure 35): 90 s rest eyes closed (REST_EC), 90 s rest eyes open (REST_EO), and 3 min NFT eyes open (NFT_EO). The tasks REST_EC and REST_EO are used to compute the threshold for all blocks of NFT with eyes closed (NFT_EC) and NFT_EO, respectively. The threshold calculation will be demonstrated in the following sections. The Block out (Bout) serves as the outcome block, assessing the learning outcome by comparison with the Bin. This training design is based on the pre-post NFT design explained in the guidelines of Enriquez- Geppert et al. (Enriquez-Geppert et al., 2017). Bout has the same layout as Bin (see in Figure 35). It is essential to mention that Bin and Bout are equal in the EG and CG. The groups only diverge from blocks 1 to 4, with the difference being priming tasks for EG and rest tasks for CG. The implementation of EO and EC in the same session came from literature and E1, where we found that we could not compare priming with eyes closed with rest or NFT with eyes open. From the literature, the alpha amplitude is generally seen as a function of reduced sensory input from the thalamic nuclei to the cortex (Chow et al., 2017; D. Vernon et al., 2009). Keeping the EO will suppress alpha amplitude relative to an EC condition, providing a lower baseline from which to attempt to increase the alpha amplitude, thereby presumably more amenable to intervention effects via NF (for more detail on the usage of EO and EC conditions, please go back to section 2.4). As such, the baseline and the dynamics of PSD in EO and EC conditions are very distinct. Also, performing similar tasks with EO and EC have distinct effects on EEG activity and behavioural performance (Reichert et al., 2015), as one will see in the results section 5.5. Considering this, we selected both conditions to ensure comparability between tasks and between conditions. In E2, each task at the beginning of the block has a pre-task screen. Unlike E1, this pre-task screen is present at the beginning of each block because we want a seamless transition between tasks inside the block. The pre-task screen is necessary for several reasons: user's own pace; relaxation and resting of the previous block; signal artefacts control; adjustments that may be needed. For more on instructions, go to Appendix III – Instructions. In the following sections, we discussed each task instruction individually.
98 5.3.3 Rest state task & trying state control condition (REST) Rest state task (REST) is a standard task in NFT protocols. Standardly used to evaluate the subject baseline and compute the initial NFT threshold to find the individual rest state baseline (Enriquez-Geppert et al., 2017). The simple version is to give the instruction “try to relax/rest during the task” . Figure 37 - GUI representation of the rest task screen. The eyes closed is represented on the left, and the eyes open on the right. In E2, REST has a pre-task and task screen with instructions. In the REST pre-task screen, the subject is introduced to the task and is instructed to focus and relax before using the key “Enter” to start the task. In the task screen, REST is only instructed with “try to relax” , and the difference is only in the interface. With EO, the participant needs to focus on the cross in the centre of the screen, while with EC, he/she needs to relax and wait for the ending auditory cue, a bell. Figure 37 shows the GUI used for each task with instructions translated from Portuguese. In addition, the text instructions for EO and EC are in Appendix III – Instructions section E2 REST task instructions. Contextually, in E1 was possible to observe not only dynamic PSD shifts from the REST task during the session (from the first block to the last, please refer to Appendix IV – Additional results), but also self-reports hinting that the participant was trying to rest and with difficulties in sensing relaxation. It suggests that the participants were closer to a “trying” state than a resting state. Therefore, while in E1, we had an ABA design to account for trying versus sensing conditions, in E2, we used the REST task as the trying no-priming control condition, while the priming tasks are for the sensing condition. The priming tasks are further developed in the next section. 5.3.4 Pre-training Priming Protocol (PRIME) The pre-training priming protocol (PRIME) is our innovation to answer the questions: Does priming support NFT SR learning? Can we implicitly prime the target brain state and help explicitly control the target brain
99 state in NFT? Are MM focused attention stimuli able to prime in the intended direction? Is this the stimulus category that needs to be used in the future (in development) machine learning framework? Below we discuss the training design and the methodology basis of PRIME and describe the MM stimuli used. Training Design The basis for PRIME is a brain state-dependent stimulation experimental method to investigate the causal role of MM stimulus versus REST stimulus. As already referred, in BSDS designs, the use of an active control group is not necessary to study the functional role of brain states guiding stimulation. However, in the current framework, priming is not a close-loop stimulator but instead a fixed randomization of two MM stimuli. Therefore control conditions and an active control group are necessary to compare with the target conditions. This is the same methodological basis that was used for the E1. However, because E1 had a complex ABA design (A: target condition, B: control condition) to see brain states fluctuations, we decide in E2 to simplify the design assuming the hypothesis that REST leads the subject to a more trying and self-related thinking state. Therefore, to simplify the analysis of stimulus-response oscillations, priming with MM guided stimuli is the target condition while REST is the control condition. The hypothesis is that the attentional focus will wander around during the control condition when the technician only instructs the subject to “try to relax” , while the MM task will promote attentional focus, awareness, and less self-related thinking. In this way, we have two groups, one with priming target conditions, the EG, and the control group with the REST control condition. In fact, Davelaar et al. found some surprising evidence that the typical instruction “try to relax and focus on the task” that is used in NFT and REST can be detrimental to the learning success (E. J. Davelaar et al., 2018). In this way, a pure implicit instruction like guiding the person toward the desired subjective experience can possibly have better effects on short NFT sessions. This simple design makes possible the study of linear feature changes within-session and between-group in the REST and MM tasks and NFT.
100 Mindfulness Meditation Intervention (MM) As already discussed in section 2.2, mindfulness meditation techniques comprise training an individual to more efficiently sustain their attention toward an intended object (e.g., bodily sensations, like respiration, tingling on fingers) and away from external (e.g., external stimulus like sounds, visual cues) or internal sources of distraction (e.g., thoughts, mind wandering), resembling the hypothesized “optimal” state of NFT SR learning. As such, like E1, MM was chosen as the basis to develop the two stimuli used in this framework. One focuses on breathing (BM), and the other focuses on an imaginary thought of a calm place (IM). Also, we hypothesize that the internal focus of IM could have a more significant correlation to the form of focused attention the subject presents when focusing on the mental strategies to up-regulate the NF. In E2, participants were primed with new audio-guided MM instructions (updated based on the observations of E1), and like E1, the instructions were reviewed/transcript to Portuguese by a specialized mindfulness psychologist and recorded by a hospital Nurse on macOS using Garageband® software. The new audio-guided instructions were adapted considering the experimental design of 3 minutes long priming task per block. These short and repeated tasks are based on the following hypothesis that stems from the observations of E1: • Short blocks, repetition of same stimuli per block, and more blocks (instead of ABA design per block and fewer blocks) seem to be a better and more straightforward approach for naïve populations: o They do not have experience focusing their attention on the target, revealing that it “is difficult to focus on the target while the audio guide is talking” . o They do not have the experience to recall their attention to the focus target after mind wandering: “after losing focus because of a distraction, I was not able to focus again” . o Their subjective experience with a longer block and repetition of the same task (ABA design) is not satisfying. They used adjectives to describe their experience like “bored” and “fatigue” . • The repeated audio guide per block can serve as a mantra between the blocks, something that the participant can cling to and bring him back to the focus target. • In E2 design, 3 min tasks per block are repeated for a straightforward between-group comparison of REST and MM tasks.
101 This short stimuli design probably has limitations in the level of mastery of mindfulness states achieved per task - typically, audio guide meditations take 15 min (P. A. Frewen et al., 2014). Nonetheless, it seems suitable for naïve populations, and it is an evolution of E1 design based on participants experience. Bodily focused attention on breathing (BM) Like E1, in the BM task, participants were primed with audio-guided MM instructions, with the focused attentional target being on bodily breathing sensations. As referenced above, the focus was to simplify the audio instructions based on the E1 participant's subjective experience. As such, some of the audio instructions in E1 passed to the pre-task screen in E2 and were also simplified to obtain an objective dialogue with more “silence” between instructions. While in E1, we had 7 lines of dialogue with lines reaching a max of 41 words, in E2, we had 5 lines with a maximum of 22 words per line. To compare the two, please refer to Appendix III – Instructions section E2 BM instructions with the manuscript for the text instructions in Portuguese, used in each of the screens, and the audio instructions with the time marker. Imagery focused attention on a calm place (IM) Similarly, the participants were primed with the same procedure as BM, but the focus of attention was on a mental image of a calm place, like E1. While in E1, we had 8 lines of dialogue with lines reaching a max of 41 words, in E2, we have 6 lines with a maximum of 22 words per line. To compare the two, please refer to Appendix III – Instructions section E2 IM instructions with the manuscript for the text instructions in Portuguese, used in each of the screens, and the audio instructions with the time marker. 5.3.5 Alpha Neurofeedback training protocol (NFT) Training Design Alpha NFT protocol was based on guidelines from Enriquez-Geppert et al., Sitaram et al. and Lubianiker et al. (Enriquez-Geppert et al., 2017; Lubianiker et al., 2019; Sitaram et al., 2017). It consists of a prepost training design to investigate single-session SR performance of alpha upregulation (8-12Hz). The EEG-alpha protocol aimed to investigate the trainability of alpha after priming versus no-priming the subject and assess subjective experience during the training. Therefore, a protocol was set up, including
102 a no-priming active control group (CG). Participants of the control group were pseudo-randomly matched to the experimental group. They received NFT without the pre-training PRIME tasks. As already referred to in section 4.3, SPC is the core of the training protocol. It uses the input data acquired for online feature extraction, threshold and feedback calculation of feature changes, online artefact rejection, online feedback generation and outputs the feedback to the presentation. As such, we dedicate the subsequent sections to define the methods used for SPC and how they interact from one side with SA and from the other with SP. Online feature extraction In this training protocol, feature extraction is driven by the hypothesis21 that up-regulation of alpha has some relation to the “optimal” state and alpha is the most validated protocol in MM practice, reviewed by (Aftanas & Golosheikin, 2003; Cahn & Polich, 2006; Chiesa & Serretti, 2010; Lomas et al., 2015). Concerning NFT specificity (please refer to 1.3.7 for more detail), evidence is most in favour of band non-specificity within and across sessions. However, there is some evidence of specificity across session baselines (John H. Gruzelier, 2014a, 2014b; van Lutterveld et al., 2017), which is important to justify the implementation of an equal pre-training block (Bin) and a post-training block (Bout) to find differences in baseline values. Regarding topographical non-specificity, topography plays a minor role, so choosing the electrode location Pz comes down to where alpha is generally maximal recorded with average amplitudes ranging 30-50 µV (Ergenoglu et al., 2004; D. Vernon et al., 2009) and which location is more recurrent in the literature (Dempster & Vernon, 2009; John H. Gruzelier, 2014b; D. Vernon et al., 2009). Another topic is outcome specificity. Behavioural gains can be stronger for the training protocol and not correlate directly with the training band, indicative of specificity of behavioural outcome even where frequency non-specificity rules (John H. Gruzelier, 2014b). As we already discussed in section 2.1.3- Neuroimaging targets, concerning the “optimal” state, the literature reveals an amplitude increase in alpha and SMR range and a decrease in the other bands in frontal, central, and posterior sites. Therefore, exists evidence supporting alpha training behavioural outcome from comparative protocol studies. From all the specificity evidence, the expected ideal training protocol would be an NF interface to neuromodulate the whole dynamics of the power spectrum of each individual, not only one specific band. Training effects are likely to be more generalized (not specific to one band), in keeping with a functional system perspective. However, the simplistic strict localization view is embedded in scientific consciousness, in contrast to the realistic but complicated functional system perspective (John H.
103 Gruzelier, 2014b). Therefore, modulating alpha in posterior sites, even if it is not the complete picture it is the most valid and straightforward at the moment to have correlations with the “optimal” state behavioural outcome, coupled with a fine-grained analysis of the various learning parameters when aligned with the entire spectral bands and the behavioural tasks. The band to extract the NF was a fixed-frequency band. The present study opted to define the alpha band using the traditional 8−12-Hz frequency range, following the majority of meditation literature which has generally investigated effects on the 8–12-Hz band (Aftanas & Golosheikin, 2003; Cahn & Polich, 2006; Chiesa & Serretti, 2010; Chow et al., 2017; J. Gruzelier et al., 2010; Silvia E. Kober et al., 2017; Lagopoulos et al., 2009; Lomas et al., 2015; Navarro Gil et al., 2018; Tang et al., 2015; Tang, 2017). As such, we acknowledge the exclusion of implementing IAF to establish individual band range as a potential study limitation, and future trials would do well to compare our results with IAF-informed studies, largely because previous studies noted a high inter-individual variability in the alpha rhythm. Thus, using a fixed frequency band like the 8-12 Hz can introduce bias against certain subjects, especially those with an IAF beyond this band (Haegens et al., 2014; D. Vernon et al., 2009). Threshold & feedback calculation of feature changes The sampling rate of the EEG amplifier was 1kHz. Therefore, Pz EEG spectral densities were estimated online from 1,024 s (≈1 s) segments containing 1024 samples, updated every ≈200 ms. While in E1, we had updates every 1 s with entirely new data, in E2, we managed to obtain a sliding window of ≈1 s updated every ≈200 ms (for a smoother feedback experience even using the RDA server, please go back to section 3.1 for more detail in the signal acquisition software), meaning ≈800 ms of old data plus ≈200 ms of new data. As such, spectral densities were estimated from 1024 ms epoch data using a discrete Fourier transform with Hamming windows (WELCH method with n_fft=1024, n_per_seg=1024, n_overlap=256)22. Though in E1, we used SMR (12-15Hz) as a reward band and theta (4-8Hz) and beta (15-35Hz) as inhibit bands. In E2, we simplified the feedback and only calculated the reward band alpha (8-12 Hz) - mean power of Pz without SD. For each subject, the initial threshold was set such that the EEG-alpha amplitude of the subject, in the initial baseline REST task of 90 s (at Bin), would be 65% of the time above the threshold. Therefore, considering a normal distribution, the formula to extract the threshold from the REST task was mean-
110 § CG: REST (3 min, T4) + NFT (3 min, T5); § EG: PRIME (BM|IM, 3 min, T4) + NFT (3 min, T5); o B2 (EC|EO): § CG: REST (3 min, T6) + NFT (3 min, T7); § EG: PRIME (IM|BM, 3 min, T6) + NFT (3 min, T7); o B3 (EC|EO): § CG: REST (3 min, T8) + NFT (3 min, T9); § EG: PRIME (BM|IM, 3 min, T8) + NFT (3 min, T9); o B4 (EO|EC): § CG: REST (3 min, T10) + NFT (3 min, T11); § EG: PRIME (IM|BM, 3 min, T10) + NFT (3 min, T11); o Bout: § REST_EC (90 s, T12) + REST_EO (90s, T13) + NFT_EO (3 min, T14) + State Self-report questionnaire (≈3min) + NFT self-perception report(≈3min) Figure 41 – E2 GUI representation of the entire session. The marker for the start and the stop of the task is represented as red dashed lines. The “or” symbol is represented as “|”. SS is the stimuli sequence. ES is the eyes sequence. RS is the REST sequence. PS is the PRIME sequence. The list and Figure 41 display the randomization of the four blocks (EO|EC and BM|IM) after Bin and before Bout. As already explained and defined in section 5.1, ES was randomized between two
111 sequences: ES1) EO, EC, EC, EO; ES2) EC, EO, EO, EC. PS was also randomized between two sequences: PS1) BM, IM, BM, IM; PS2) IM, BM, IM, BM. While the CG had only one RS: RS) REST, REST, REST, REST. Totalizing into 4 different randomization groups: 1) BM_EO, IM_EC, BM_EC, IM_EO; 2) BM_EC, IM_EO, BM_EO, IM_EC; 3) IM_EO, BM_EC, IM_EC, BM_EO; 4) IM_EC, BM_EO, IM_EO, BM_EC. Simply put, these combinations were chosen to achieve randomization of PRIME stimuli between the two ES protocols, i.e.: • EO: IM|BM, BM|IM. • EC: IM|BM, BM|IM. Comparing this block structure with E1, we can see the simplification of the block task structure and the addition of more blocks for multiple comparisons within and between subjects. However, there is a tradeoff in complexity. While the block structure is simple, the within-subject variables and their randomization are more complex than E1. Study blinding As previously discussed in the above section and section 5.1, PRIME stimulus (BM | IM) and the ES protocol (EO | EC) were randomized and double-blinded, i.e., neither the subject nor the researcher knew the group. The main groups (EG | CG) were randomized and single-blinded to the subject. The main criteria for the two randomizations were to balance the groups in number and sex. In Table 2, the group sample combinations resultant for each randomization are detailed. Table 2 - Samples according to the different group randomizations. In red is the number of remaining subjects for analysis after EEG data inspection. CG EG EO EC IM BM F M CG 31(30) - 15 16(15) - - 19 12(11) EG - 31(30) 17(16) 14 16(15) 15 18 13(12) EO 15 17(16) 32(31) 62(60) 9(8) 8 18 14(13) EC 16(15) 14 62(60) 30(29) 7 7 19 11(10) IM - 16(15) 9(8) 8 16(15) 31(30) 10 6(5) BM - 15 8 7 31(30) 15 8 7 F 19 18 18 19 10 8 37 - M 12(11) 13(12) 14(13) 11(10) 6(5) 7 - 25(23) EG, experimental group; CG, control group; EC, eyes closed; EO, eyes open; IM, imagery mind PRIME stimuli; BM, breathing meditation PRIME stimuli; F, female; M, Male.
112 Control group conditions from a process-based perspective In order to determine MM priming effects in NFT intervention, the effects resulting from MM neuromodulation on the specific NFT target process (alpha neuromodulation) must be differentiated from the general processes (control, learning, reward) of NFT practice (Lubianiker et al., 2019). To this end, we chose to implement a no-priming REST task control condition. This is not quite the ideal control condition because the REST task can also alter the MM general processes (attention control, emotional regulation, and self-awareness). However, it is the most relevant to answer the question: does priming with MM tasks provide more NFT efficiency than REST tasks? This is important because many protocols use rest tasks right before the NFT. Ideally, the NFT target processes should also be differentiated from NFT general processes to find the baseline for the target processes, e.g., randomizing different targets (Lubianiker et al., 2019). This way, it would also be possible to evaluate the NFT treatment specificity. However, this would require an additional group, which was not possible in this experiment due to the number of participants. Figure 42 summarizes this information. Figure 42 - Control condition for E2 based on (Lubianiker et al., 2019). The control condition selected was the no-priming rest task control condition. GSR & HRV Tonic and phasic GSR, biomarkers for sympathetic system responses (Boucsein et al., 2012; Critchley, 2002; Posada-Quintero & Chon, 2020), and HRV signals, biomarkers for vagal parasympathetic system responses (Beauchaine, 2001; Graziano & Derefinko, 2013; Malik et al., 1996; Montano et al., 2009; Zahn et al., 2016)), were continuously acquired to monitor the participant during the session.
113 As such, a new biosignals device was introduced in E2, James One from MindProber Portugal, with a built-in GSR sensor and a PPG sensor that allows HRV measurements (Correia et al., 2020; Moreira et al., 2019). Each signal was acquired at a sample rate of 100 Hz, and feature extraction was calculated at a 1 s interval. The biodevices were placed in the left hand of all the participants, even if they were lefthanded, see Figure 43. Figure 43 - James One GSR & HRV. In the finger is placed the HRV, while In the hand is located the GSR. The subjects were instructed to rest the hand on top of the table or rest their hand on the lap with the sensors facing upwards. Also, they were adverted to move it as little as possible. 5.4 Data analysis EEG online and offline processing algorithms are very similar but with different objectives. While online analysis is made to correctly represent the real-time alpha brain activity from the Pz electrode, in the offline analysis, we aimed to assess the effects of priming in NFT. Thus, some parts of these pipelines are very different and will be discussed. Our pipeline is divided into the following intertwined processes: input data, pre-processing, processing, and output data. 5.4.1 EEG input data In the online loop, the data updates at an average rate of 200 ms in each iteration, then it is concatenated in an epoch buffer of ≈1 s (1024 ms, a pylsl definition), which means that the epoch is made from ≈800 ms of the previous data plus the new ≈200 ms data (for more on threshold and feedback calculation, please go back to section 5.3.5-Threshold & feedback calculation of feature changes). To this
114 end, in E2, we used a 50 ms block buffer for a more robust online sampling buffer because the RDA data server returns a minimum chunk size of 50 ms (for 1KHz returns 50 samples). This way, the chunks are blocked to multiples of 50 ms (100 ms, 200 ms). Nonetheless, each iteration of the online loop takes on average 200 ms of new data. Therefore, the block buffer will hold 200 ms of data to be appended to a ring buffer. As such, in E2, we also implemented a ring buffer, this way, we always get the last 1024 ms of the acquired data to perform the classification on, even if the update rate is lower or higher than 200 ms. For more detail in the block buffer and ring buffer, see section 3.2-Wyrm. In offline, there is no real-time loop. Instead, the entire length of each task is analyzed. To reduce the data into epochs of 1 s, the data is segmented then each segment is processed during pre-processing. 5.4.2 EEG pre-processing After importing the data, the offline data was thoroughly inspected for movement artefacts using the visual tools from Brain Vision Analyzer (Brain Products GmbH). First, the data before the task and after the task was removed. Then, the data was checked for noisy channels, which were rejected, so they are not included in the next processing steps. This step was not performed online, and pre-processing started with filtering with a caveat: when filtering the data chunk-wise in an online loop, we used a Butterworth filter with filter delay values to receive the same results as if we were filtering offline the whole data set at once (using Scipy function lfilter 25 ). For both pipelines, continuous EEG measurements were filtered with first a lowpass filter with a high cutoff value of 40 Hz (remove high frequency artefacts and unnecessary frequencies for our study), then a highpass filter with a low cutoff value of 1 Hz (remove low frequency artefacts and direct current offset). The filter used was a finite impulse response filter (FIR) of 5th order. The original sampling of 1KHz was maintained (no subsample) for a better resolution on the fast Fourier transform (FFT). Afterwards, offline rejected channels were interpolated, then an average of EEG activity at every electrode site was used as a reference, thereby removing noise common to all sites using an average reference. When online, as referred to in section 5.3.5-Online artefact rejection & confounders, the common reference Cz selected in pycorder was maintained because visual inspection of the signal quality can only be done before the training session. Then, as also justified in the same section, the artefact rejection was performed for offline and online EEG data on 1 s epochs (offline data segmented to 1 s epochs) of the four selected channels Fp1, Fp2, Fz, and Pz. In both online and offline pipelines, we selected to exclude epochs with abnormally large amplitudes with a maximum peak-to-peak of over ±100 μV for online and ±150 μV for offline (we selected to constrict more the detection online to
115 make sure the data was without artefacts, as visual inspection is not possible), and also based on the flatness of the signal epochs were excluded with a minimum peak acceptance of ±0.5 μV. After a visual inspection in all subjects of E1 and pilot subjects of E2, these peak-to-peak thresholds proved sufficient to reject most epochs with artefacts. Nonetheless, this is “one size fits all” , and as demonstrated by Jas et al. (Jas et al., 2017), the thresholds are subject dependent, so future trials would do well to use more personalized automated artefact detection methods. Additionally, offline epochs contaminated by spurious gross-movement and other non-stereotyped artefacts were also identified by visual inspection and rejected. Finally, to simplify the inspection and rejection of subjects after pre-processing, we implemented the same classification as in E1 with the exclusion criteria to be less than 40 % of epochs per task (see section 4.4.3). From the first 62 subjects, 61 are good, 0 are noisy, and 1 is bad (missing data). The bad subject was removed from the study ( N =61). 5.4.3 EEG processing EEG power spectrum was calculated using Welch’s PSD estimate, applying the “pwelch()” function from MNE. Continuous EEG was transformed using an FFT and averaged in the frequency domain using 1024 points of FFT length, 1024 points hamming window segment, and 256 points of overlapping (n_fft=1024, n_per_seg=1024, n_overlap=256)22. In E2, the delay of computing the FFT overlap online is compensated by a faster update of data (while E1 updated at 1 s rate, E2 updated at 200 ms). As such, we used the overlapping because it enables a better FFT resolution The PSD from the selected channels were then grouped into different bands, with a standard alpha peak (AP) of 10 Hz instead of a personalized IAF: delta (2 to 4 Hz, AP - 8 to AP - 6), theta (4 to 8 Hz, AP - 6 to AP - 2), lower alpha (8 to 10 Hz, AP - 2, AP), upper alpha (10 to 12 Hz, AP to AP + 2), overall alpha (8 to 12 Hz, AP - 2 to AP + 2), SMR (12-15 Hz, AP + 2 to AP + 5), beta (15 to 35 Hz, AP + 5 to 35) and gamma (35 to 100 Hz). With the feature extraction finished, we addressed feature changes during the NFT session. For the purposes of E2, we only analyze the features changes of the Pz channel. The other three channels were not analyzed (for more on the selected channels, please go back to 5.3.5-Online artefact rejection & confounders).
116 5.4.4 EEG output data Online NFT feedback and threshold feature changes were already addressed before in section 5.3.5. Therefore, we will focus on offline feature changes. In this study, the EEG band measure assessing NFT successful control is also based on the suggested measures from Dempster and Vernon (Dempster & Vernon, 2009) that can be used to assess feature changes of brain activity during NF. We choose to study the changes in absolute alpha amplitude of the Pz channel, reflecting brief and temporally unstable increases over time from the learner. Then, this power spectra measure was log10-transformed to obtain normally distributed data. Based on this measure, we assessed feature changes within the session by using the Bin REST task as the reference and each block NFT task as the target. This way, we observed the changes from block-to-block. Additionally, this methodology enables the evaluation of the task specificity (see section 1.3.7 for more detail in NFT specificity), assessing whether the target feature or frequency of interest has been predominantly modulated in the REST, PRIME, and NFT tasks. 5.4.5 GSR & HRV GSR and HRV were continuously monitored for all the participants during the session. Each signal was acquired at a sample rate of 100 Hz, and features were extracted at 1 s intervals. GSR tonic (skin conductance level - SCL) and phasic components (skin conductance responses - SCR) were extracted offline from each 1 s interval, with an exosomatic direct current sensor (Moreira et al., 2019). HRV time domain, frequency domain, and non-linear domain features were also extracted from the PPG RR-intervals (Correia et al., 2020). For a list of descriptions of all the features, please go to Appendix V – E2 feature section GSR features and HRV features. 5.4.6 Self-reports The traits, states, and framework self-perception reports were exported to a database, and the scores for each dimension were summed before doing statistical analysis. For a list of descriptions of all the features extracted, please go to Appendix V – E2 features section Self-Reports features.
117 5.4.7 Group domains Apart from the intervention groups (EG, CG) and EEG measures, the additional multivariate data is grouped in four domains, two belonging to qualitative data while the other two are quantitative. Qualitative data are the subject traits groups domain (TG = SOC, FFMQ, DASS, ERQ) and emotional states group domain (SG = TMS, POMS, NFT). Quantitative emotional states are divided into the skin response (GSR) domain and the heart rate variability domain (HRV). These domains and their respective features are detailed in Appendix V – E2 features. 5.4.8 Statistical analysis Statistical analysis was performed using the R language. Significance was assumed if p < .05 (two-tailed). Demographic data at Pre-intervention (T0, referring to the moment right before starting the training session) were compared between-groups with one-way ANOVA or χ 2 test with Fisher exact correction. Significant group effects at Bin EC and EO baseline tasks were further explored to locate group differences in band profile using one-way ANOVA. RM ANOVAs were calculated for each condition (REST EC, REST EO, and NFT EO) and frequency band (theta, alpha, SMR, beta) with time (Bin versus Bout) as withinsubject factors, and the intervention group (EG versus CG) as between-subject factor. Only time effects, group main effects, and interactions with a group are reported. For the main outcomes, mean difference and 95% confidence interval [95% CI ] are reported. Effect sizes are reported as partial eta-squared (η p2 ), with effects interpreted as small (.01), medium (.06), or large (.14). Afterwards, to perform single session analysis, individual NFT performance was quantified by regression slopes of the trained alpha feedback frequency across the intervention blocks B1 to B4 (regression slopes have a mathematical component of within and between tasks). For that, B1 to B4 were further break down in EO only tasks and EC only tasks, culminating in 3 tasks per subject: "restBin", the baseline REST task to get the initial threshold at Bin; "nft1" , the first NFT task preceded by priming (in the EG) or nopriming (in the CG) and "nft2" , the second block of NFT preceded by priming or no-priming. Regression slopes were estimated individually (predictor variable = feedback task number; dependent variable = ztransformed power of alpha) and subsequently averaged per group domain (based on (Silvia E. Kober et al., 2017)). Additionally, to verify the existence of group domain effects on NF learning apart from priming (EG) and no-priming (CG), the same alpha regression analysis was performed on two subgroups of participants
118 according to the features in each domain. Each feature (qualitative or quantitative variable) was converted into a dichotomous variable: high value (HV) and low value (LV), representing the groups above and below the best central measure, respectively. We found that the best central measure was mean=(maximum+minimum)/2 for the quantitative regression slopes (slopes obtained from the regression of GSR and HRV values) and the qualitative data of the 60 participants. As such, the statistical hypothesis testing was centred on comparing the regression slopes from each group of HV with LV, HV with zero, and LV with zero. When considering the grouped frequency distribution of HV in the different domains (represent how frequent each HV value occurred within each domain), we selected features with similar HV frequencies in both EG and CG and with nine or more subjects (at least ≈ 1/3 of the EG and CG sample) for balanced comparisons because we are not only comparing with zero slopes but also HV versus LV. One-sample ttests were calculated for each group to test whether the regression slope is different from zero and between-groups to test whether the two regression slopes are different. Only features with significant time effects, group main effects, and interactions with groups are reported. 5.5 Results 5.5.1 Group characteristics At pre-intervention before the training session starts, T0, there were no differences between the intervention groups in age, gender, and education, as described in Table 3. There were no baseline differences at Bin between-groups in alpha and SMR power during EO and EC tasks in the Pz electrode (using the log10 transformation). However, there were some baseline differences between-groups in theta EC ( p < .05) and beta EC ( p < .01) and EO ( p < .05). Additionally, EEG epoch results showed that artefactfree segments were correctly maintained above 40 % of the total task segments.
119 Table 3 - Group characteristics at pre-intervention T0 (for N = 60). EG ( N = 30) CG ( N = 30) p-value M SD M SD F p Demographic Age (years) 28.87 7.40 27.50 6.38 0.587 ns Gender (F/M) 18/12 19/11 0.00a ns Education (9/12/15/17/21) 0/3/10/12/5 0/8/8/11/3 5.01b ns Conditions ES (ES1/ES2) 16/14 15/15 0.0a ns SS (RS/PS1/PS2) 0/15/15 30/0/0 -c -c Baseline Bands theta (EC/EO) -0.02/-0.16 0.28/0.2 0.27/-0.05 0.42/0.24 9.75/3.92 **/ns alpha (EC/EO) 0.52/-0.015 0.61/0.47 0.82/0.19 0.56/0.45 3.90/3.04 ns/ns SMR (EC/EO) -0.15/-0.35 0.55/0.40 -0.07/-0.28 0.55/0.38 0.23/0.53 ns/ns beta (EC/EO) -0.75/-0.94 0.27/0.23 -0.56/-0.79 0.28/0.22 7.31/6.30 **/* EG, experimental group; CG, control group; M, mean; SD, standard deviation; EC, eyes closed; EO, eyes open; F, female; M, Male; ES, eyes sequence; ES1 and ES2, eyes sequence 1 and 2; SS, stimuli sequence; RS, REST sequence; PS1 and PS2, PRIME sequence 1 and 2. Education level values refer to the number of participants reporting the number of years completed in one of the following five-category: (1) N >=9, ninth grade; (2) N >=12, Secondary; (3) N >=15, Bachelor’s degree; (4) N >=17, Master’s degree; (5) N >=21, Ph.D. Significant tests are marked with asterisks (* p < 0.05, ** p < 0.01). a χ 2 ( df =1) b χ 2 ( df =5) cStimuli sequence (SS) is intended to be different for the CG and the EG. 5.5.2 EEG power spectrum at pre and post priming intervention Repeated measures ANOVA results for each condition and frequency band, and the difference (Bout-Bin) between log10 means from the 60 subjects are shown in Table 4. Log10-transformed EEG power spectra of theta, alpha, SMR, and beta frequency bands at pre- (Bin) and post- (Bout) priming intervention are shown in Figure 44.
126 Another note, to further understand E2 within-subject alpha dynamics during the session, please go to Appendix IV – Additional results section E2 within-subject session profiles). PRIME The priming in E2 has a more straightforward design where the control condition is the REST task of the CG. From the results obtained, this control condition assumption seems reasonable. The EG during the EO priming intervention blocks showed an improved ability to control their own brain activity compared to the CG, while for the EC blocks, a downregulation on both groups was evident and physiologically plausible due to the saturation of alpha in EC condition (Barry et al., 2007; Chow et al., 2017; Nan et al., 2018). MM updates & future proposals From E1, we learned quite a lot about how to adapt the instructions better. For example, the recall instruction, where the user is reminded to come back to the breathing gently, was passed to the instruction’s pre-task screen. In fact, in E1, from the 33 participants, 14 said that this instruction on the guided audio distracted them. Instructions were also simplified and better timed than E1 (for the instructions, please go to Appendix III – Instructions). Additionally, because in E1, we had no way to quantify MM performance, as such, we searched for a mindfulness performance score (MPS) in the literature. Although several surveys of mindfulness-related traits have been validated (e.g., FFMQ and TMS), few standardized methods exist for measuring experiences related to the practice of mindfulness meditation states. This is problematic because mindfulness, as currently defined, represents a state rather than a trait variable, specifically, a state of attention, awareness, and being that is open and non-judgemental (Bishop et al., 2004; Kabat-Zinn, 2003; Sierpina, 2005; Williams & Kabat-Zinn, 2011). Nonetheless, we found that Frewen and colleagues (P. A. Frewen et al., 2008, 2014) have investigated a method called mindfulness breath attention score (MBAS). MBAS can be interpreted as a way to index participants' ability to sustain their attention toward the breathing process during meditation practice and, accordingly, their capacity to disengage from mind wandering. MBAS are calculated as the sum of the self-reported frequency with which persons can maintain their attention toward their breathing as queried quasi-randomly approximately every 3 min (meditation bell) during the practice of meditation of at least 10 min duration (e.g., three times during a 10 min meditation or five times during a 15 min meditation).
127 MBAS was tested by Frewen and Colleagues and correlated positively with the mindful trait “actware” , “Acting with Awareness” . The “actware” dimension is a reverse-scored subscale of the FFMQ that assesses the trait of persons to focus their attention and be consciously aware of their thoughts, feelings, and behaviour. It is the reverse from mind wandering or running on “automatic pilot” , i.e., the reverse of having one’s attention frequently divided, and/or being distractible - e.g., the reverse of these affirmations “When I do things, my mind wanders off, and I’m easily distracted” , “It seems I am running on automatic without much awareness of what I’m doing” (Baer et al., 2008). Nonetheless, MBAS was independent of TMS mindful curiosity and decentering (situational awareness) and other FFMQ subscales in previous studies (P. Frewen et al., 2011; P. A. Frewen et al., 2014). As such, MBAS can complement the analysis of mindfulness states. MBAS was tested but not implemented in the final E2 due to the complexity required and bias (as it can affect the mental state) that could bring to the experiment. Our short and repeated mindfulness task structure was already built around the probability of mind wandering and how we could maintain the focus target right before the NFT. For example, in naïve populations, 3 min short mindfulness tasks structure can be sufficient to enable a focused attention state before the mind starts to wander (Frewen also uses 3 min to test mind wandering). Also, guided audio was adjusted, so the person maintains the attention on the object of focus, e.g., at 2min30s the person is reminded to come back by the instruction “maintain attention in the focus target” . Using MBAS could lead to loss of attention to the object of focus because the person needs to do the classification. In a 10 min task, the measurement of MBAS seems feasible, but during a 3 min task, it can become an unnecessary complexity. In fact, our first objective is not to make the person more mindful (trait) but to be mindful right now (state), which is the rationale of the short task structure that leaves little room for mind wandering. This approach has clear limitations of how to measure mindfulness state performance but has the first step to test stimulus-response (PRIME stimuli versus NFT response) seemed the most reliable at the time. Nonetheless, after E2, a closer analysis made us realize that an alternative to a quasi-random bell interval keypress would be a keypress when the participant subjectively disengages from mind wandering and returns the attention to the focused object (subjective recall). This would be a significant marker to study the individual mindfulness capacity and could be implemented in our single-session short block design. However, subjects had to be trained to remember to press. In addition, we also think that MBAS is not yet complete for 10 min structure tasks, and we propose a mixed approach of the quasi-random bell intervals with the possibility of subjective recall (while the fixed bells can remind the person to recall, the subjective recall is more proximal of the subjective experience). We propose that the number of keypress
128 ticks in a keyboard would subjectively account for the time the subject thought he was in mind wandering, for example, from a scale from 0 ticks to 5 ticks. So, every time the subject recalls (disengage mind wandering) or ears the bell, he should evaluate the mind wandering. These, in our view, will enable a more precise and complete mindfulness score. Also, depending on the experiment's goal, a keyboard or a sheet of paper can be used to place the tick mark. The advantage of the keyboard, in this case, is that the subjective recall time markers are placed automatically and synchronized with the acquisition. REST REST task was with EO and EC, enabling the analysis to find if the eyes closed rest state had some connection to the responders, as studied in (Nan et al., 2018). Additionally, REST, PRIME, and NFT had the same eyes protocol for brain state-dependent stimulation comparisons. These will be further explored in the future. NFT The number of blocks per session in E2 was extended. EO condition with four blocks, whereas EC with two blocks. The initial instructions were more specific and were provided with real-time examples. These changes offered a more robust training design - both groups did significantly synchronize alpha between Bin and Bout. EO and EC conditions were used to find the contrast of one another (during PRIME and NFT). With eyes open, we saw a significant alpha synchronization (the objective of the NFT), with the priming protocol population being more capable of getting the brain activity above the threshold than the no-priming control group. Furthermore, when individual alpha was regressed on EO NFT tasks, 24 out of 30 EG (80%) participants and 17 out of 30 CG (57%) participants were able to linearly increase their alpha, as suggested by positive individual regression slopes. Nonetheless, this was in the context of a single session, and we still need testing if the same results can be replicated or deepened in a multiple-session design. In the EC protocol, using the same analysis, we saw a significant decrease of alpha activity from “restBin” to “nft1” and “nft2” . This desynchronization in both groups can mean a neurophysiological response to the eyes being closed. As physiologically expected, a saturation reflex occurs in the Pz channel after closing the eyes in the initial resting task at Bin – i.e., during an eyes-closed resting condition, alpha activity is dominant and may represent an optimal level of alpha activity that maybe is not possible to upregulate beyond, whereas attending to visual stimulation has an inhibiting effect on alpha (Barry et al., 2007; Chow et al., 2017; Nan et al., 2018; D. Vernon et al., 2009). During the subsequent NFT tasks, the participants have lower alpha activity. Thus, in Figure 45, we obtain a steep negative regression slope.
129 This seems comparable to the results from the single-session design from Chow et al. (Chow et al., 2017). Their results show parietal alpha (8-12 Hz) decreasing in the first three NFT tasks (each task is a 3 min alpha NFT protocol with EC, with a total of 5 tasks), and only increasing in the fourth and fifth. As we only have two NFT EC tasks, we only see a decrease in alpha. Nonetheless, in Table 5, some groups show steeper downregulation slopes. Such behaviour changes in these groups can be connected to task engagement. Hence, we need to extract this information from the data in future analysis, probably by removing the initial baseline from the analysis and only looking at the two NFT EC tasks. Another unlikely hypothesis for this behaviour can be a technical artefact. Even with training instructions, the audio feedback pitch for reward and inhibition could have been too similar for most people, and they were downregulating instead of regulating. Considering these reasons, if one wants to study EC in a similar single session context, our advice is to use more than two NFT training tasks and lower the initial threshold (below mean-0.38*SD), as the EC resting baseline threshold may represent an optimal level of alpha activity that is difficult to up-regulate beyond. Use other bands or band ratios to avoid saturation (like SMR in the Cz channel) and extensively test audio pitches for positive and negative feedback. Additionally, the profile of theta power is always lower than alpha (see Figure 44). This result is generally the case in adults during normal wakefulness and, in this case, focus on tasks (Louis et al., 2016) For these reasons, EO PRIME intervention seems to increase subsequent NFT performance, while the CG REST intervention does not seem to. Nonetheless, a more extensive analysis of PRIME versus REST dynamics is needed. Domains: Self-reports, GSR and HRV For qualitative measures of traits supplementing the FFMQ, we added the scales ERQ and DASS for descriptive purposes. For states, POMS and TMS were added at the Bin and Bout to have a more rigorous understanding of the fluctuations of subjective experience and qualitatively the emotional state. At the same time, GSR and HRV were introduced in E2 for the possibility of finding biomarkers that indirectly quantify the emotional state. In Table 5, the most significant results of the five domains are presented for the intervention block tasks ( “restBin” , “nft1”, and “nft2” ). In this study, sociodemographic and framework self-perception selected features (see Appendix V – E2 features) had no group domain effects on NF learning in priming (EG) and no-priming (CG). In the TG domain, the EG participants with low values of “actware” at T0 were the most capable of increasing alpha power in the EO condition. As such, persons with low levels of acting with awareness
130 traits, probably naïve to the concept of mindfulness or meditation practice, were more stimulated by the priming intervention. In comparison, the CG participants with higher values of ERQ “expressive suppression” during EC had the most downregulation of alpha. This result needs to be guided by the possibility of being a neurophysiological phenomenon since mainly all the subjects downregulate alpha during the intervention, i.e., 24 out of 30 EG participants and 24 out of 30 CG participants had negative regression slopes. After further individual inspection, only 1 out of 30 EG and 3 out of 30 CG participants had a positive regression slope. From another perspective, after within-session analysis, the steeper downregulation in EC appears between the first initial REST baseline and the other blocks. This change can be due to task engagement, and as we already discussed in the section above, further analysis needs to be conducted to explore this hypothesis. For the SG domain, low values of reported “vigour” at Bout led to the most successful EO NFT performance in the EG, followed by higher values of “decentering” at Bin and higher “tension” changes (Bout-Bin). As such, subjects with decreased state of energy and increased tension (connected to subject effort), probably due to the demand for focused attention on internal sensations in the guided audio, had better performance. Another distinctive EG feature is the higher “decentering” state at Bin, which is connected to the learner's "optimal" state (section 1.3.3). It reflects an increase of situational selfawareness (self-regulated awareness of thoughts and feelings), i.e., an increase in the capacity of nonjudgement by avoiding distractive task-unrelated thoughts - "awareness of one's experience with some distance and disidentification rather than being carried away by one's thoughts and feelings" (Lau et al., 2006). For the CG, lower “fatigue” changes (Bout-Bin) led to the most successful EO NFT performance, followed by lower “confusion” changes (Bout-Bin). Concerning the GSR biomarkers, the EG participants with lower slope values (slope between "baseline", "nft1" and "nft2" ) of SCL standard deviation and SCR sum seem to perform the best. This finding appears to be in line with the literature, since lower values of SCL standard deviation and SCR sum during task performance usually reflect less arousal (diminished stimulation of the sympathetic nervous system) and perhaps, explaining a less stressful, relaxed, and non-judgement attitude (towards stimuli, thoughts or feelings) during task performance (Boucsein et al., 2012; Posada-Quintero & Chon, 2020). Concerning the HRV metrics, the EG participants with lower HRV slopes of "rmssd" performed better (i.e., lower high-frequency variations of vagal parasympathetic components during the tasks), and it might show a more effective task engagement of the subject during the NFT task (Malik et al., 1996; Zahn et al., 2016). In contrast, the CG performers had high slope values of SCL mean and HRV "sdnn" . In the
131 case of HRV, the literature suggests that a higher baseline HRV is related to concomitants of better selfcontrol and higher vagal withdrawal scores to better attention control and emotional regulation (Beauchaine, 2001; Graziano & Derefinko, 2013; Zahn et al., 2016). As such, the biomarker results seem to suggest that mindfulness priming stimulates engagement and a relaxed and non-judgement attitude in alpha NFT performers, and the trait and state self-reports results seem to corroborate these behavioural correlations. Session additional characteristics A more continuous experience per block was achieved. The participant only paused mainly at the beginning of each block to rest, drink water or adjust himself to be more comfortable. Summary In this single session design, as initially predicted, the behaviour at pre- and post-priming intervention are similar between the EG and CG. Nonetheless, the EG during the EO intervention blocks showed an improved ability to control their brain activity compared to the CG. While for the EC blocks, a significant decrease of alpha activity in the NFT tasks in relation to the initial resting baseline on both groups was evident. As such, in the EC condition, we need further analysis to separate intervention feature changes from this possible downregulation occurring in the Pz channel during the NFT tasks. Alpha activity is dominant during an eyes-closed resting task and may represent an optimal alpha activity level that is impossible or very difficult to up-regulate beyond (Barry et al., 2007; Chow et al., 2017; Nan et al., 2018; D. Vernon et al., 2009). As such, a different analysis should be conducted to subtract the effects of the initial resting baseline. Additionally, the profile of theta power is always lower than alpha (see Figure 44). This result is generally the case in adults during normal wakefulness and, in this case, focus on tasks (Louis et al., 2016). In more detail, within the EG, the best performers in the EO condition had low values of awareness as a trait and reported stronger signs of built-up tension and less vigour at Bout. As such, subjects which reported a low capacity of acting with awareness seem to have benefited the most from priming, and the demand for focused attention on internal sensations through guiding audio seemed to enhance the subject’s emotional states of tension and lack of vigour at the end of the protocol. In contrast, the CG participants were not guided (staring only to cross on the screen) and did not express these emotional states. Another distinctive characteristic of EG best performers in the EO condition is a higher situational awareness (decentering) at Bin, which is connected to the learner “optimal” state, i.e., the
132 capacity of non-judgement and avoiding distractive task-unrelated thoughts. Regarding the EC condition, both group results seem to indicate a neurophysiological decrease of alpha. However, in this regression slope analysis, intervention feature changes (like task engagement) are probably obscured by the steep slope between “restBin” and the subsequent tasks “nft1” and “nft2” – i.e., “restbin” may represent the optimal level of alpha activity and it should be very difficult to get close to this level or up-regulate beyond (D. Vernon et al., 2009). Thus, we need to attempt to extract this information from the data in future analysis, probably by removing the initial baseline “restBin” (similar to removing an offset). Additionally, since EC condition is less amenable to intervention effects via NFT (Barry et al., 2007; Chow et al., 2017; Nan et al., 2018; D. Vernon et al., 2009), maybe more than two NFT tasks are needed to extract upregulation effects in a single session design, like the 5 NFT tasks in (Chow et al., 2017). Concerning the biomarkers, low GSR activity in the intervention blocks, seen both at the tonic (slopes of SCL standard deviation) and phasic level (slopes of the total sum of SCR), seems necessary to have better NFT performance. It appears to indicate that priming led to less sympathetic arousal on the EG participants, and perhaps, it explains the less stressful, relaxed, and non-judgement attitude task performance (Boucsein et al., 2012; Posada-Quintero & Chon, 2020). Concerning the HRV, the EG subjects with lower high-frequency variations of vagal parasympathetic components seem to had better performance on NFT, which might reflect a more effective task-engagement of the subject during the NFT task (Malik et al., 1996; Zahn et al., 2016). While on the CG, subjects with a higher standard deviation of the N-N intervals appeared to have improved performance. Accordingly, previous works in the literature claim that a higher baseline HRV is related to better self-control and higher vagal withdrawal scores to better attention control and emotional regulation (Beauchaine, 2001; Graziano & Derefinko, 2013; Zahn et al., 2016). As such, in E2, we met most of the requirements laid out by E1. It was possible to significantly distinguish the priming versus no-priming effects in EEG and subjective experience measurements. Nonetheless, future work should address the limitations of E2 to find the ideal design to maximize SR performance. Nevertheless, more importantly, E2 clarifies the requirements moving forward. Priming with MM external neurostimulation seems to lead to more effective NFT sessions than REST no-priming interventions. Therefore, the MM category of stimuli seems a good starting point for the virtual machine controller.
CHAPTER 6 General discussion & future proposals ___________________________________________________________________________
134 6. CHAPTER 6 – GENERAL DISCUSSION & FUTURE PROPOSALS The following sections start by discussing the limitations and advantages of the final framework. Then, a general discussion and future proposals. 6.1 Advantages Voluntary recruitment without any monetary encouragement was advantageous for involvement, excitement, and study interest. Only people with a state of curiosity and a state of necessity came to the study. However, this kind of recruitment was challenging to conduct and achieve the desired sample, being in sample number or diversity of participant background. Positive feedback was provided as a low-frequency auditory tone trying to make the sound affectively neutral and not intrinsically rewarding, providing less bias in the NFT protocol (Sulzer et al., 2013). As a proof of concept, we primed healthy individuals, and subjects with low values of the trait acting with awareness showed better NFT performance. We hypothesize this to be advantageous, as we presume this approach can also work in non-healthy populations with deficits in self-regulation, like Attention deficit hyperactivity disorder (ADHD). Single-session design has limitations, as we explain in the next section. However, it is also advantageous to recruit a significant sample number of subjects to facilitate the test of the priming versus no-priming hypothesis (John H. Gruzelier, 2014b; T. Ros et al., 2014). Open-source framework design enables reusability and testability by the neuroscientific community. 6.2 Limitations Before training, no behavioural tests were performed to quantify traits (like Stroop test, N -back, and others) for attention control, emotional regulation, and self-awareness. Instead, we used self-reports to describe those traits qualitatively. This choice was due to EEG experimental design: session time constraints and session complexity.
135 Due to the single-session design nature of the protocol, transfer effects (intervention side effects, like relaxation, habituation, among other behaviours) could not be evaluated. As explained in the section above, the single-session design was chosen due to the advantage in recruiting subjects, but also because it is enough to investigate the stimuli response of specific features of oscillations and their association with NFT performance, between and within groups (for more detail go to section 2.4). Our objective was to research NFT learning ability performance and not the behavioural outcome of NFT. This objective also justifies why no sham group was added to test NFT outcome specificity and why we chose a single-session design. Nonetheless, a single-session design training of naïve populations has the limitation of generally providing data distributions with more variance and not showing the complete learning curve effects neither in the priming nor in the NFT. A future study must consider a multi-session design to understand the complete effects of priming versus no-priming. In E2, the emotional states were only measured in Bin and Bout. This choice was taken because changes between subsequent blocks would be too similar in a single-session design. As such, because the “walking” and transition of states are an essential measure, we at least measure the “in-state” (Bin) and “out-state” (Bout) of the experiment. Future experiment designs with multi-session need to account for this limitation of the single-session design. The Neurofeedback online experiment was developed in-house using NeuroPrime (see chapter 3). Various tests were performed and demonstrated consistency. Nonetheless, the two experiments discussed in this thesis are the initial case studies for the present framework. NeuroPrime is an open-source framework. Thus, future studies from our and other research groups will allow further improvements. We invite other groups to use the framework and contribute to its progress. Positive feedback was presented to be non-intrusive, intrinsically not rewarding, and affectively neutral (in E2, only one bar and low-frequency audio). This choice was to constrain the intervention effects to the priming versus no-priming condition instead of dealing with the effects of feedback itself. However, we need to stress that, because it is not intrinsically rewarding, it must be assumed that participants are motivated by their self-efficacy and/or the intrinsically rewarding properties of the targeted neurophysiological state. The present study did not take note of participants’ IAF. The use of the IAF, defined as the frequency exhibiting the higher EEG amplitude within the extended alpha range, has become increasingly popular as an estimate of alpha activity (Hanslmayr et al., 2005; Klimesch et al., 2007). Nevertheless, the present study started by defining the alpha band using the traditional 8−12-Hz frequency range. Primarily in