Whether listening to overlapping conversations in a crowded room or recording the simultaneous electrical activity of millions of neurons, the natural world abounds with sparse measurements of complex overlapping signals that arise from dynamical processes. While tools that separate mixed signals into linear sources have proven necessary and useful, the underlying equational forms of most natural signals are unknown and nonlinear. Hence, there is a need for a framework that is general enough to extract sources without knowledge of their generating equations and flexible enough to accommodate nonlinear, even chaotic, sources. Here, we provide such a framework, where the sources are chaotic trajectories from independently evolving dynamical systems. We consider the mixture signal as the sum of two chaotic trajectories and propose a supervised learning scheme that extracts the chaotic trajectories from their mixture. Specifically, we recruit a complex dynamical system as an intermediate processor that is constantly driven by the mixture. We then obtain the separated chaotic trajectories based on this intermediate system by training the proper output functions. To demonstrate the generalizability of this framework in silico, we employ a tank of water as the intermediate system and show its success in separating two-part mixtures of various chaotic trajectories. Finally, we relate the underlying mechanism of this method to the state-observer problem. This relation provides a quantitative theory that explains the performance of our method, and why separation is difficult when two source signals are trajectories from the same chaotic system.
Experimentally measured signals from the natural world are often mixtures of dynamical signals that are generated by independently evolving source systems. The chaotic source separation (CSS) problem is to infer the separated signals, each of which is generated by a chaotic system, given the measured signal comprising their mixture. In this paper, we show that the chaotic source separation problem can be considered as a nonlinear state-observer problem, and we propose a dynamical framework with notable generalizability to solve the CSS problem without knowing the governing dynamical equations of the source systems. As a demonstration, we recruit a tank of water as an intermediate processor that is driven by the mixture signal. We show that through supervised training, the separated signal can be obtained from the states of the tank of water. By relating chaotic source separation to the nonlinear state-observer problem, we also explain why separation is difficult when the two source signals are trajectories from the same chaotic system. More broadly, our study provides a foundation for the principled examination of source separation in nonlinear dynamical data.
I. INTRODUCTION
Blind source separation (BSS) is the separation of source signals from a mixed signal with little or no information regarding the source signals or mixing process. A classic example is the cocktail party problem, where a listener follows any one of many simultaneously occurring conversations at a cocktail party. BSS also has many notable applications in digital signal processing, such as removing artifacts from electroencephalography (EEG) and magnetoencephalography (MEG) recordings.1–5 When the mixed signal has a lower dimension than the total dimension of the sources, the BSS is called underdetermined.
Many methods have been proposed to solve BSS in various scenarios. For example, by assuming various types of statistical independencies or mixing properties of the source signals, unsupervised classical methods such as principal component analysis (PCA),6,7 independent component analysis (ICA),8,9 and non-negative matrix factorization (NMF)10,11 have been proposed. While these methods have dramatically enhanced our ability to parse data from linear and statistical distributions, it has been shown that adaptations of the above methods12–14 as well as many other supervised learning methods, such as the Wiener filter,15 support vector machines,16 deep learning networks,17,18 and recurrent neural networks,19,20 outperform classical methods when the signals are generated from complex dynamical sources.
In this paper, we focus on a particular type of separation problem: chaotic source separation (CSS). Specifically, we consider the -dimensional mixed signal to be a superposition of two -dimensional trajectories, each of which is generated by an autonomous -dimensional chaotic system. This problem is of particular relevance in the study of high-dimensional biological signals such as those from neural systems, as experimental measurements involve a mixture of electrical activity, correlated artifacts, and hemodynamic response.2 Hence, it is of interest to study how one can extract a chaotic trajectory of interest from the mixed signal.
Here, we propose to solve this problem with an intermediate dynamical system that is trained by a supervised learning method. Although the dimension of the mixed signal is only half of the total dimension , the problem can still be solved by a supervised learning framework, where the exact separated trajectories are known during a training period. As a significant extension from previous studies21,22 that require knowledge of the governing equations of the source chaotic systems, we build on a prior demonstration from the present authors that a recurrent neural network (RNN) can solve the CSS problem in the absence of these equations19 (a more recent study by Krishnagopal et al. also demonstrated that a reservoir computer can solve the CSS problem20). In this paper, we extend the demonstration by enacting this separation through a dynamically simple intermediate system, which is a simulated tank of water, and provide a quantitative theory explaining why and how such chaotic source separation is solvable. Our theory accurately predicts that separation is harder when the two source signals are generated by the same chaotic system and provides a foundation for the principled study of source separation in nonlinear dynamical data.
II. SUPERVISED LEARNING MODEL FOR CHAOTIC SOURCE SEPARATION
A. General scheme
We begin with a simple description of a general scheme of our supervised CSS (Fig. 1). We consider extracting trajectories of two autonomously evolving chaotic systems, and , from their mixture, , where
CSS is similar to an underdetermined BSS problem in the sense that the dimension of the mixture is less than the total dimension of the sources, i.e., . As a result, there exist mixed states that correspond to multiple distinct pairs of sources. Thus, without utilizing the temporal structure, one cannot find a function that maps the simultaneous state to the separated states and .
The essential idea of our method is to implement a high-dimensional dynamical system as an intermediate system,
which is continuously driven by . Since the state of the intermediate system, , incorporates both the immediate value and the history of the mixed signal , one may obtain the full states of the two sources by training the output functions and , as shown in Fig. 1. We assume that the governing equations of the source systems are unknown. However, different from the BSS problem, we do assume that the separated trajectories and are known for a finite time window. During this time window, we match the recorded state of the intermediate system with the two separated signals and , and we look for two functions, and that can estimate the separated signals based on the state of the intermediate system, i.e., and , where is within the time window.
B. Intermediate system instantiated by a tank of water
To demonstrate the generalizability of this scheme beyond the RNN used in prior work,19 we instantiate the intermediate system in silico as a tank of water (Fig. 2). We test the performance of this intermediate system on the CSS problem given the mixed signals of different pairwise sums from six distinct chaotic systems. We show their governing equations in Table I and their attractors in Fig. 3. We notice that trajectories of different chaotic systems have different ranges; to simplify the simulation and ensure an accurate quantification of the error, we deliberately preprocess the chaotic trajectories such that all variables have zero mean and unit variance along the time axis.
Attractors . | Equations . | LS . | LD . |
---|---|---|---|
Sprott N | 2.0391 | ||
Rössler | 2.0422 | ||
Halvorsen | 2.1393 | ||
Lorenz | 2.0627 | ||
Sprott B | 2.1713 | ||
Thomas | 2.0869 |
Attractors . | Equations . | LS . | LD . |
---|---|---|---|
Sprott N | 2.0391 | ||
Rössler | 2.0422 | ||
Halvorsen | 2.1393 | ||
Lorenz | 2.0627 | ||
Sprott B | 2.1713 | ||
Thomas | 2.0869 |
We construct the intermediate system as a square tank of water that is constantly perturbed by the mixed signal . The perturbed water evolves following the nonlinear partial differential equations,
where is the height of the wave surface; and are the zonal and meridional speeds, respectively; is the gravity constant; and is the viscous drag coefficient. The tank has a flat bottom and four vertical hard walls with a reflective boundary condition. When the perturbing term , Eqs. (3a)–(3c) become the traditional shallow water equations with the presence of a viscous dragging force.23
Although other forms of perturbation exist, for example, a time-varying bottom, which requires the modification of all three equations, for the simplicity of the demonstration, we drive the water by artificially defining the perturbation term,
on the right hand side of Eq. (3a) only. The perturbation term can be considered to reflect the speed with which one vertically and inhomogeneously adds or removes water from right above the wave surface. Each component of the -dimensional mixed signal is propagated onto the wave surface through randomly constructed input filters, , as shown in Fig. 2. To guarantee the conservation of the water volume, we renormalize each filter such that
where for each . Thus, we now have a tank of water that is constantly being perturbed by the input signal while preserving its total volume.
The simulation of this perturbed shallow water system is done by a modified Lax–Wendroff method.24 The method preserves the second order spatial and temporal accuracy even with the presence of the three source terms in the partial differential equations (, , and ). The viscous coefficient is empirically set to . In this finite difference method, we discretize the wave surface into a grid and integrate it with a time step .
Starting from the initial quiescent wave surface , we drive this dissipative water wave system by the -dimensional mixed trajectory . After a transient period () that is long enough to wash out the effect of the initial condition, we record the water’s reaction to the mixed signal. To reduce the amount of data recorded, we sparsely measure the deviation of water elevation from the equilibrium height at randomly selected locations, denoted as . Then, with the available separated trajectories during the training period, we construct output functions that map into separated signals . Although many other forms of output functions may also work, we adopt the following nonlinear form with a -type saturation on the quadratic and cubic terms:
where is the coefficient matrix of the nonlinear output function. With the recorded and the available and during the training phase ( with time points), the output weight matrix is calculated by the least squares method with the Tikhonov regularization, . We note that other output functions that outperform this one should exist. However, the purpose of this simulation is to demonstrate that CSS is indeed solvable by such an intermediate system, rather than to develop an optimal design.
In Fig. 2, we show a schematic of the intermediate system separating a mixed signal, which is a summation of a Lorenz trajectory and a Rössler trajectory. Given the six distinct chaotic systems listed in Table I, we train and test the separation performance of a shallow water system driven by mixed signals. Each mixed signal is the sum of two chaotic trajectories, and , that are from the th and th chaotic system, respectively, for . To test the system’s performance in separating each mixed signal, we reinitialize the water at quiescence and drive it with a new mixed signal. The separated signal from the post-training water system, after a transient period (), is plotted in Fig. 4. Specifically, the trajectory on row and column is the separated , where the mixed signal is a summation , with and from system and system . For cases where , we ensure that the two trajectories being mixed are distinct, i.e., , by choosing different initial conditions.
By visually collating the separated signals in Fig. 4 and the six chaotic attractors in Fig. 3, we note that the performance of the separation varies across chaotic systems. Specifically, the Sprott N and Rössler trajectories separated from a mixture with other systems seem to have much higher quality compared with others (see the first and second rows in Fig. 4). To quantify performance, we calculate the mean squared error (MSE) between the actual trajectory and the separated one during the post-training period following (see Fig. 5). We do not find a concrete relationship between the separation performances and the Lyapunov dimensions of the chaotic attractors. However, we note that the quality of the separation appears particularly poor when the two source signals are trajectories from the same chaotic system (see the diagonal line in Fig. 4). In Sec. III, we explain the underlying mechanism behind this supervised CSS and give an explanation for the diminished performance when signals are taken from the same attractor.
III. UNDERLYING MECHANISM OF SUPERVISED CHAOTIC SOURCE SEPARATION
We notice that the chaotic source separation (CSS) problem is essentially a nonlinear state-observer problem, and the intermediate system plays the role of the state-observer. To explicitly state this role, we rewrite the dynamical equations of the two source systems by combining them into a single -dimensional autonomous dynamical system, denoted by
where
is the concatenation of the two source systems. Thus, the simultaneous mixed signal , a summation of the two source systems, can be considered as an output from the combined system depicted in Eq. (7), i.e.,
where . The CSS problem can then be considered as the problem of uncovering in Eq. (7) through in Eq. (9), which is the measurement of the combined system.
More precisely, a state-observer is a system that estimates the full state variable of the combined system, , by considering the measured from the combined system. In our method, the state-observer is the intermediate system driven by , i.e., the perturbed water tank. Such a dynamical state-observer solves the CSS problem by capitalizing on the power of invertible generalized synchronization.19,25,26
Specifically, as the intermediate system is driven by the measured , it evolves nonautonomously according to
After a transient period, if the state-observer and the combined system exhibit invertible generalized synchronization, the state of the intermediate system is then uniquely determined by the concurrent state of the combined system through an invertible map, i.e., . Thus, to estimate the full state of the combined system, one simply needs to train a readout function that approximates the inverse of the generalized synchronization function based on the state of the intermediate system . Notice that invertible generalized synchronization is a property that emerges from the particular choices of both the intermediate system and the combined system. As such, we do not find a general principle of designing an intermediate system that guarantees invertible generalized synchronization with any combined chaotic system.
After elucidating the connection between the CSS problem and the state-observer problem, we emphasize that it is only when the full state is observable that such an invertible generalized synchronization function can exist. In other words, the combined system [Eq. (7)] has to be observable through the output function [Eq. (9)]. The classical work of Kalman has discussed the observability of linear dynamical systems (see Ref. 27). In our case, however, the combined dynamical system is nonlinear and autonomous. The necessary and sufficient condition for such a combined system [Eq. (7)] to be observable through the measured output is discussed by Inouye in Ref. 28.
Specifically, the system is observable if and only if the observability mapping
is univalent,28 where the entries are defined as
When both and are analytic functions on , the system [Eqs. (7) and (9)] is observable if and only if the equations with imply only the trivial solution .
With the necessary and sufficient condition for observability, we can now investigate whether the CSS problem can be solved, providing the measured when the two source chaotic systems share the same dynamical equation, such that . To answer this question, we define
where are distinct trajectories generated by . We then rewrite Eq. (7) as
and rewrite Eq. (9) as
By substituting Eqs. (13)–(15) into Eqs. (11) and (12), we observe that for any , even though , suggesting that the observability mapping is not univalent. Hence, we explain why the CSS performance along the diagonal in Figs. 4 and 5 tends to be worse compared to the off-diagonal counterparts in the same row.
IV. TESTING ROBUSTNESS AND GENERALIZABILITY
A. Robustness to noise
To investigate how the CSS performance changes when the source signals are corrupted by observation noise, we modify the simulations in Sec. II. Specifically, we consider that the measured source signals are and , and hence, the mixed signal is , where is the noise strength and are the white noise terms. By comparing Fig. 6 to Fig. 5, we find that the MSE does not significantly increase until the noise strength surpasses .
B. Generalizability to high-dimensional chaotic signals
Heretofore, we have only tested CSS on source signals that are three-dimensional. We now address the question of whether a tank of water can be trained to deal with high-dimensional chaotic signals. Accordingly, we employ the Kuramoto–Sivashinsky (KS) system and the Lorenz 96 system as the two chaotic source systems.
We obtain two -dimensional source time series by (i) integrating the standard Kuramoto–Sivashinsky equation,29,30
in region (discretized into evenly spaced grid points) with a periodic boundary condition and time resolution , and (ii) integrating the Lorenz 96 equations,31
with time resolution and a periodic boundary condition, where . As in the previous simulations, we preprocess the source signals such that each of their variables has mean zero and unit variance along the time axis. The mixed signal [Fig. 7(a)] is then the sum of the two processed source signals [Figs. 7(b) and 7(d)].
In Figs. 7(c) and 7(e), we show that a tank of water, after being trained, can indeed estimate the high-dimensional source signals. For this simulation, we utilize a spatial discretization of , which is finer than the low-dimensional case. The viscous drag coefficient is set to . While these parameter choices are sufficient for this demonstration, further parameter optimization could lead to better performance for this or other systems.
V. DISCUSSION
Complementing previous studies on source separation problems,6–12,12–20 we show that separation of signals from a mixture of chaotic trajectories can be considered as a nonlinear state-observer problem. With this realization, we propose to solve the problem by employing and training an intermediate system that is continuously driven by the mixed signal. We extend earlier studies where CSS is solved by recurrent neural networks,19,20 and we show that even a tank of water under this proposed framework can solve the CSS problem. By making the connection between the CSS problem and the nonlinear state-observer problem, we explain the reason why separating two signals generated from the same chaotic system tends to be difficult.
We note that in this paper, we only consider mixed signals that are sums of two chaotic trajectories. Yet, our method can be applied to other mixing equations or mixtures of more than two chaotic trajectories. However, we do expect the method to perform less well when the mixture is more complicated or contains more than two source systems. Future studies could seek principles that guarantee the design of a better intermediate system for different chaotic signals.
ACKNOWLEDGMENTS
We acknowledge support from the John D. and Catherine T. MacArthur Foundation, the Alfred P. Sloan Foundation, the ISI Foundation, the Paul Allen Foundation, the Army Research Laboratory (No. W911NF-10-2-0022), the Army Research Office (Nos. Bassett-W911NF-14-1-0679, Grafton-W911NF-16-1-0474, and DCIST-W911NF-17-2-0181), the Office of Naval Research (ONR), the National Institute of Mental Health (Nos. 2-R01-DC-009209-11, R01-MH112847, R01-MH107235, and R21-M MH-106799), the National Institute of Child Health and Human Development (No. 1R01HD086888-01), National Institute of Neurological Disorders and Stroke (No. R01 NS099348), and the National Science Foundation (NSF) (Nos. BCS-1441502, BCS-1430087, NSF PHY-1554488, and BCS-1631550). The content is solely the responsibility of the authors and does not necessarily represent the official views of any of the funding agencies.