We present protocols and methods of analyses to build co-adaptive interfaces that stream, parameterize, analyze, and modify human body and heart signals in close-loop. This setup interfaces signals derived from the peripheral and central nervous systems of the person with external sensory inputs to help track biophysical change.
The fields that develop methods for sensory substitution and sensory augmentation have aimed to control external goals using signals from the central nervous systems (CNS). Less frequent however, are protocols that update external signals self-generated by interactive bodies in motion. There is a paucity of methods that combine the body-heart-brain biorhythms of one moving agent to steer those of another moving agent during dyadic exchange. Part of the challenge to accomplish such a feat has been the complexity of the setup using multimodal bio-signals with different physical units, disparate time scales and variable sampling frequencies.
In recent years, the advent of wearable bio-sensors that can non-invasively harness multiple signals in tandem, has opened the possibility to re-parameterize and update the peripheral signals of interacting dyads, in addition to improving brain- and/or body-machine interfaces. Here we present a co-adaptive interface that updates efferent somatic-motor output (including kinematics and heart rate) using biosensors; parameterizes the stochastic bio-signals, sonifies this output, and feeds it back in re-parameterized form as visuo/audio-kinesthetic reafferent input. We illustrate the methods using two types of interactions, one involving two humans and another involving a human and its avatar interacting in near real time. We discuss the new methods in the context of possible new ways to measure the influences of external input on internal somatic-sensory-motor control.
The Natural Close-Loop Controller
Sensory-motor information flows continuously between the brain and the body to produce well-organized, coordinated behaviors. Such behaviors can be studied while focusing on the person's actions alone, as in a monologue style (Figure 1A), or during complex dynamic actions shared between two agents in a dyad, as in a dialogue style (Figure 1B). Yet, a third option is to assess such complex interactions through a proxy controller, within the context of a human-computer close-loop interface (Figure 1C). Such interface can track the moment-by-moment movements' fluctuations contributed by each agent in the dyad, and by the type of cohesiveness that self-emerges from their synchronous interactions, helping steer the dyad's rhythms in desirable ways.
Figure 1: Different forms of control. (A) Self brain-controlled interfaces rely on the close-loop relations between the person's brain and the person's own body, which can self-regulate and self-interact in "monologue" style. This mode attempts the control of self-generated motions, or it may also aim to control external devices. (B) "Dialogue" style control is introduced for two dancers that interact with each other and through physical entrainment and turn-taking to attain control over each other's motions. (C) "Third party" dialogue control of the dyad is introduced as mediated by a computer interface that harnesses in tandem the bio-signals from both dancers, parameterizes it and feeds it back to the dancers in re-parameterized form using audio and/or vision as forms of sensory guidance. The re-parameterization in the examples presented here were attained using audio or visual feedback, enhanced by the real time kinesthetic motor output of one of the dancers to influence the other; or of both dancers, taking turns in some alternating pattern. Please click here to view a larger version of this figure.
The overall goal of this method is to show that it is possible to harness, parameterize and re-parameterize the moment-by-moment fluctuations in biorhythmic activities of bodies in motion, as two agents engage in dyadic exchange that may involve two humans, or a human and his/her self-moving avatar.
Investigations on how the brain may control actions and predict their sensory consequences have generated many lines of theoretical enquiries in the past1,2,3 and produced various models of neuromotor control4,5,6,7,8. One line of research in this multi-disciplinary field has involved the development of close-loop brain-machine or brain-computer interfaces. These types of setups offer ways to harness and adapt the CNS signals to control an external device, such as a robotic arm9,10,11, an exoskeleton12, a cursor on a computer screen13 (among others). All these external devices share the property that they do not have own intelligence. Instead, the brain trying to control them does have, and part of the problem that the brain faces is to learn how to predict the consequences of the motions that it generates in these devices (e.g., the cursor's motions, the robotic arm's motions, etc.) while generating other supportive motions that contribute to the overall sensory motor feedback in the form of kinesthetic reafference. Often, the overarching aim of these interfaces has been to help the person behind that brain bypass an injury or disorder, to regain the transformation of his/her intentional thoughts into volitionally controlled physical acts of the external device. Less common however has been the development of interfaces that attempt to steer the movements of bodies in motion.
Much of the original research on brain-machine interfaces focus on the control of the central nervous system (CNS) over body parts that can accomplish goal-directed actions9,14,15,16,17. There are, however, other situations whereby using the signals derived from activities of the peripheral nervous systems (PNS), including those of the autonomic nervous systems (ANS), is informative enough to influence and steer the signals of external agents, inclusive of another human or avatar, or even interacting humans (as in Figure 1C). Unlike with a robotic arm or cursor, the other agent in this case, has intelligence driven by a brain (in the case of the avatar that has been endowed with the person's motions, or of another agent, in the case of an interacting human dyad).
A setup that creates an environment of a co-adaptive close-loop interface with dyadic exchange may be of use to intervene in disorders of the nervous systems whereby the brain cannot volitionally control one's own body in motion at will, despite not having physically severed the bridge between the CNS and the PNS. This may be the case owing to noisy peripheral signals whereby the feedback loops to aid the brain continuously monitor and adjust its own self-generated biorhythms may have been disrupted. This scenario arises in patients with Parkinson's disease18,19, or in participants with autism spectrum disorders with excess noise in their motor output. Indeed, in both cases, we have quantified high levels of noise-to-signal ratio in the returning kinesthetic signals derived from the speed of their intended movements20,21,22 and from the heart23. In such cases, trying to master the brain-control of external signals, while also trying to control the body in motion, may result in a self-reactive signal from the re-entrant (re-afferent) stream of information that the brain receives from the continuous (efferent) motor stream at the periphery. Indeed, the moment-by-moment fluctuations present in such self-generated efferent motor stream contain important information useful to aid the prediction of the sensory consequences of purposeful actions24. When this feedback is corrupted by noise, it becomes difficult to predictably update the control signals and bridge intentional plans with physical acts.
If we were to extend such feedback loop to another agent and control the person and agent's interactions through a third party (Figure 1C), we may have a chance to steer each other's performances in near real time. This would provide us with the proof of concept that we would need to extend the notion of co-adaptive brain-body or brain-machine interfaces to treat disorders of the nervous systems that result in poor realization of physical volition from mental intent.
Purposeful actions have consequences, which are precisely characterized by motor stochastic signatures that are context-dependent and enable inference of levels of mental intent with high certainty25,26. Thus, an advantage of a new method that leverages dyadic exchange over prior person-centered approaches to the brain machine or brain computer interfaces, is that we can augment the control signals to include the bodily and heart biorhythms that transpire largely beneath the person's awareness, under different levels of intent. In this way, we dampen reactive interference that conscious control tends to evoke in the process of adapting brain-cursor control17. We can add more certainty to the predictive process by parameterizing the various signals that we can access. Along those lines, prior work exists using brain and bodily signals in tandem27,28,29; but work involving dyadic interactions captured by brain-bodily signals remains scarce. Further, the extant literature has yet to delineate the distinction between deliberate segments of the action performed under full awareness and transitional motions that spontaneously occur as the consequence of the deliberate ones30,31. Here we make that distinction in the context of dyadic exchange, and offer new ways to study this dichotomy32, while providing examples of choreographed (deliberate) vs. improvised (spontaneous) motions in the dance space.
Because of the transduction and transmission delays in the sensory-motor integration and transformation processes33, it is necessary to have such predictive code in place, to learn to anticipate upcoming sensory input with high certainty. To that end, it is important to be able to characterize the evolution of the noise-to-signal ratio derived from signals in the continuously updating kinesthetic reafferent stream. We then need protocols in place to systematically measure change in motor variability. Variability is inherently present in the moment-by-moment fluctuations of the outgoing efferent motor stream34. Since these signals are non-stationary and sensitive to contextual variations35,36, it is possible to parameterize changes that occur with alterations of the tasks' context. To minimize interference from reactive signals that emerge from conscious CNS control, and to evoke quantifiable changes in the efferent PNS motor stream, we introduce here a proxy close-loop interface that indirectly alters the sensory feedback, by recruiting the peripheral signal that is changing largely beneath the person's self-awareness. We then show ways to systematically measure the change that ensues the sensory manipulations, using stochastic analyses amenable to visualize the process that the proxy close-loop interface indirectly evokes in both agents.
Introducing a Proxy Close-Loop Controller
The sensory-motor variability present in the peripheral signals constitute a rich source of information to guide the performance of the nervous systems while learning, adaptation and generalization take place across different contexts37. These signals partly emerge as a byproduct of the CNS trying to volitionally control actions but are not the direct goal of the controller. As the person naturally interacts with others, the peripheral signals can be harnessed, standardized and re-parameterized; meaning that their variations can be parameterized and systematically shifted, as one alters the efferent motor stream that continuously re-enters the system as kinesthetic reafference. In such settings, we can visualize the stochastic shifts, capturing with high precision a rich signal that is otherwise lost to the types of grand averaging that more traditional techniques perform.
To achieve the characterization of change under the new statistical platform, we here introduce protocols, standardized data types and analytics that permit the integration of external sensory input (auditory and visual) with internally self-generated motor signals, while the person naturally interacts with another person, or with an avatar version of the person. In this sense, because we are aiming at controlling the peripheral signals (rather than modifying the CNS signals to directly control the external device or media), we coin this a proxy close-loop interface (Figure 2). We aim at characterizing the changes in the stochastic signals of the PNS, as they impact those in the CNS.
Figure 2: Proxy control of a dyadic interaction using close-loop multi-modal interface. (A) Indirect control of two dancers (dancing salsa) via a computer co-adaptive interface vs. (B) an interactive artificial person-avatar dyad controlled by harnessing the peripheral nervous systems signals and re-parameterizing it as sounds and/or as visual input. (C) The concept of sonification using a new standardized data type (the micro-movement spikes, MMS) derived from the moment-by-moment fluctuations in biorhythmic signals amplitude/timing converted to vibrations and then to sound. From Physics, we borrow the notions of compressions and rarefactions produced by a tuning fork outputting soundwave as measurable vibrations. Schematics of soundwaves represented as pressure modulated over time in parallel to spike concentrations for sonification. Example of a physical signal to undergo the proposed pipeline from MMS to vibrations and sonification. We use the heart rate signal as input to the interface. This takes fluctuations in the signal's amplitude aligned to the movement onset every 4 seconds of motion and builds MMS trains representing the vibrations. The spike trains from the MMS are standardized from [0,1]. The color of the spikes as per the color bar, represents the intensity of the signal. We then sonify these vibrations using Max. This sonified signal can be used to play back in A, or to alter in B the interactions with the avatar. Further, in B it is possible to embed the sound in the environment and use the body position to play the sound back at a region of interest (RoI), or to modulate the audio features as a function of distance to the RoI, speed or acceleration of a body part anchored to another body part, when passing by the RoI. Please click here to view a larger version of this figure.
The PNS signals can be harnessed non-invasively with wearable sensing technologies that co-register multi-modal efferent streams from different functional layers of the nervous systems, ranging from autonomic to voluntary32. We can then measure in near real time the changes in such streams and select those whose changes enhance the signal-to-noise ratio. This efferent motor signal can then be augmented with other forms of sensory guidance (e.g., auditory, visual, etc.) Because the PNS signals scape full awareness, they are easier to manipulate without much resistance 38. As such, we use them to help steer the person's performance in ways that may be less stressful to the human system.
Building the Interface
We present the design of the proxy control mediated by a close-loop co-adaptive multimodal interface. This interface steers the real-time multisensory feedback. Figure 3 displays the general design.
The close-loop interface is characterized by 5 main steps. The 1st step is the multi-modal data collection from multiple wearable instruments. The 2nd step is the synchronization of the multi-modal streams through the platform of LabStreamingLayer (LSL, https://github.com/sccn/labstreaminglayer) developed by the MoBI group 39. The 3rd step is the streaming of the LSL data structure to a Python, MATLAB or other programming language interface to integrate the signals and to empirically parametrize physiological features (relevant to our experimental setup) in real-time. The 4th step is to re-parameterize the selected features extracted from the continuous stream of the bodily signal studied and augment it using a sensory modality of choice (e.g., visual, auditory, kinesthetic, etc.) to play it back in the form of sounds or visuals, to augment, substitute or enhance the sensory modality that is problematic in the person's nervous system. Finally, the 5th step is to re-assess the stochastic signatures of the signals generated by the system in real time, to select which sensory modality brings the stochastic shifts of the bodily fluctuations to a regime of high certainty (noise minimization) in the prediction of the sensory consequences of the impending action. This loop is played continuously throughout the duration of the experiment with the focus on the selected signal, while storing the full performance for subsequent analyses (as depicted in the schematics of Figure 3 and see40,41,42,43,44,45,46,47 for an example of a posteriori analyses).
Figure 3: The architecture of the multi-modal peripherally driven close-loop interface concept. Various bodily signals are collected -kinematic data, heart and brain activity (step 1). LSL is used to synchronously co-register and stream the data coming from various equipment to the interface (step 2). Python/MATLAB/C# code is used to continuously parameterize the fluctuations in the signals using a standardized data type and common scale that enables selecting the source of sensory guidance most adequate to dampen the system's uncertainty (step 3). This real-time enhancement of signal transmission through selected channel(s) then allows re-parameterization of the re-entrant sensory signal to integrate in the continuous motor stream and enhance the lost or corrupted input stream (sensory substitution step 4). Continuous re-assessment closes the loop (step 5) and we save all data for additional future analyses. Please click here to view a larger version of this figure.
The following sections present the generic protocol of how to build a close-loop interface (as described in Figure 3) and describe representative results of two experimental interfaces (elaborately presented in Supplementary Material) involving physical dyadic interaction between two dancers (real close-loop system) and virtual dyadic interaction between a person and an avatar (artificial close-loop system).
This paper introduces the concept of proxy control via close-loop co-adaptive, interactive, multi-modal interfaces that harness, parameterize and re-parameterize the peripheral signal of the person in the context of dyadic exchange. We aimed at characterizing stochastic shifts in the fluctuations of the person's biorhythms and parameterizing the change. Further we aimed at systematically steering the stochastic signatures of their biorhythms towards targeted levels of noise-to-signal regimes in near real time.
We presented a generic protocol for building a close-loop interface which satisfied 5 core elements: 1) the collection of multiple bodily data coming from the CNS, PNS, and ANS using various instruments and technologies; 2) the synchronized recording and streaming of the data; 3) the real-time analysis of the selected signals; 4) the creation of sensory augmentation (audio, visual, etc.) using physiological features extracted for the bodily signals; and 5) the continuous tracking of the human system and parallel sensory augmentation closes the loop of the interaction between the human and the system.
The generic protocol was applied on two example interfaces. The first one investigates the dyadic exchange between two human agents and the second one between a human and an avatar agent. The two types of dyads were used to provide proof of concept that the peripheral signal can be systematically changed in real time and that these stochastic changes can be precisely tracked. One dyad was composed of two participants physically interacting, while the other involved a participant interacting with a virtual agent in the form of a 3D rendered avatar endowed with the person's motions and with altered variants of these real-time motions. Such alterations were evoked by interactive manipulations driven by auditory and/or visual sensory inputs in a setting of augmented sensations. In both the real dyad and the artificial dyad, we demonstrated the feasibility of remotely shifting the peripheral signals, including bodily biorhythms and autonomic signals from the heartbeat.
We presented new experimental protocols to probe such shifts in efferent motor variability as the kinesthetic signal streams are being manipulated and re-parameterized in near real time. This re-entrant information (kinesthetic reafference48) proved valuable to shift the systems performance in real time. They bear information about the action's sensory consequences, which we can be precisely tracked using the methods that we presented here.
We also showed data types and statistical methods amenable to standardize our analyses. We provided multiple visualization tools to demonstrate the real-time changes in physiological activities naturally evolving in different contexts, with empirically guided statistical inference that lends itself to interpretation of the self-generated and self-controlled nervous systems signals. Importantly, the changes that were evoked by the proxy controller were smooth and yet quantifiable, thus lending support to the notion that peripheral activity is useful in more than one way. While we can implement these methods using commercially available wireless wearable sensors, we can systematically induce changes in performance that are capturable in the biophysical rhythms without stressing the system. It is important to translate our methods to the clinical arena and use them as a testbed to develop new intervention models (e.g., as when using augmented reality in autism 49). In such models, we will be able to track and quantify the sensory consequences of the person's naturalistic actions, as the sensory inputs are precisely manipulated, and the output is parameterized and re-parameterized in near real time.
We offer this protocol as a general model to utilize various biorhythmic activities self-generated by the human nervous systems and harnessed non-invasively with wireless wearables. Although we used a set of biosensors to register EEG, ECG and kinematics in this paper, the methods of recording, synchronizing and analyzing the signals are general. The interface can thus incorporate other technologies. Furthermore, the protocols can be modified to include other naturalistic actions and contexts that extend to the medical field. Because we have aimed for natural behaviors, the setup that we have developed can be used in playful settings (e.g., involving children and parents.)
Several disorders of the nervous systems could benefit from such playful approaches to the control problem. In both types of dyadic interactions that we showed here, the participants could aim at consciously controlling the music, while the proxy controller uses the peripheral output to unconsciously manipulate and systematically shift its signatures. Because scientists have spent years empirically mapping the Gamma parameter plane and the corresponding Gamma moments space across different age groups (neonates to 78 years of age)19,50,51,52,53 and conditions (autism, Parkinson's disease, stroke, coma state and deafferentation), for different levels of control (voluntary, automatic, spontaneous, involuntary and autonomic)25,47,54, they have empirically measured criteria denoting where on the Gamma spaces the stochastic signatures should be for a good predictive control. Previous research has also shown that we know where the parameters are in the presence of spontaneous random noise coming from the self-generated rhythms of the human nervous systems7,19,55,56. Within an optimization schema minimizing biorhythmic motor noise, we can thus aim at driving the signals in such a way as to attain the targeted areas of the Gamma spaces where the shape and dispersion signatures of the family of PDFs of each person is conducive of high signal to noise ratio and predictive values. In this sense, we do not lose gross data and rather use it effectively to drive the system towards desirable levels of noise within a given situation.
Dyadic interactions are ubiquitous in clinical or training settings. They may occur between the trainer and the trainee; the physician and the patient; the clinical therapist and the patient; and they may also occur in research settings that involve translational science and engage the researcher and the participant. One of the advantages of the present protocols is that while they are designed for dyads, they also are personalized. As such, it is possible to tailor the co-adaptive interactions to the person's best capabilities and predispositions, according to their ranges of motion, their ranges of sensory processing times and while considering the ranges in signals' amplitude across the functional hierarchy of the person's nervous systems. As the stochastic trajectory emerges and evolves in time, it is also possible to ascertain the rates of chance of the signatures and use that time series to forecast several impending events along with possible sensory consequences.
Finally, close-loop interfaces could be even used in the art world. They could offer performing artists new avenues to generate computationally driven forms of modern dances, technology dances and new forms of visualization and sonification of bodily expression. In such contexts, the dancer's body can be turned into a sensory-driven instrument to flexibly explore different sensory modalities through sonification and visualization of the self-generated biorhythmic activities, as shown by prior work in this area40,41,43,46. Such performance could augment the role of a dancer on stage and let the audience experience subtle bodily signals beyond visible movement.
Several aspects of this technology require further development and testing to optimize their use in real-time settings. The synchronous streaming demands high-speed CPU/GPU power and memory capacity to really exploit the notion of gaining time and being a step ahead when predicting the sensory consequences of the ongoing motor commands. Sampling rates of the equipment should be comparable in order to be able to truly align the signals, perform proper sensory fusion and explore the transmission of information through the different channels of the nervous system. These are some of the limitations present in this new interface.
All and all, this work offers a new concept to improve the control of our bodily system while employing subliminal means that nonetheless allow for systematic standardized outcome measurements of stochastic change.
The authors have nothing to disclose.
We thank the students who volunteered their time to help perform this research; Kan Anant and the PhaseSpace Inc. for providing us with images and videos necessary to describe the set up; and Neuroelectronics for allowing us to use material from the channel www.youtube.com/c/neuroelectrics/ and their manuals. Finally, we thank Prof. Thomas Papathomas from Rutgers Center for Cognitive Science for professional support during the submission stages of this manuscript, Nancy Lurie Marks Family Foundation Career Development Award to EBT and the Gerondelis Foundation Award to VK.
CONTRIBUTIONS
Conceptualization, VK and EBT; methodology, EBT; software, VK, EBT, SK.; validation, VK and SK; formal analysis, VK; investigation, VK, EBT, SK; resources, EBT; data curation, VK; writing—original draft preparation, EBT; writing—review and editing, VK, SK.; visualization, VK and EBT.; supervision, EBT.; project administration, EBT.; funding acquisition, EBT All authors have read and agreed to the published version of the manuscript.
Enobio 32 | Enobio | Hardware for EEG data collection | |
Enobio ECG Extention | Enobio | Hardware for ECG data collection | |
LabStreamingLayer (LSL) | Synchronization and streaming of data | ||
Matlab | Mathwork | Analysis and processing of data | |
Max | Cycling'74 | Sonification of bodily information | |
NIC.2 | Enobio | Software for EEG and ECG data collection | |
PhaseSpace Impulse | PhaseSpace | Hardware for collection of the kinematic data (position, speed, acceleration) | |
Python3 | Python | Analysis and processing of data | |
Recap | PhaseSpace | Software for collection of the kinematic data (position, speed, acceleration) |