Pregnancy MonitoringView this Special Issue
Research Article | Open Access
Probabilistic Source Separation for Robust Fetal Electrocardiography
Blind source separation (BSS) techniques are widely used to extract signals of interest from a mixture with other signals, such as extracting fetal electrocardiogram (ECG) signals from noninvasive recordings on the maternal abdomen. These BSS techniques, however, typically lack possibilities to incorporate any prior knowledge on the mixing of the source signals. Particularly for fetal ECG signals, knowledge on the mixing is available based on the origin and propagation properties of these signals. In this paper, a novel source separation method is developed that combines the strengths and accuracy of BSS techniques with the robustness of an underlying physiological model of the fetal ECG. The method is developed within a probabilistic framework and yields an iterative convergence of the separation matrix towards a maximum a posteriori estimation, where in each iteration the latest estimate of the separation matrix is corrected towards a tradeoff between the BSS technique and the physiological model. The method is evaluated by comparing its performance with that of FastICA on both simulated and real multichannel fetal ECG recordings, demonstrating that the developed method outperforms FastICA in extracting the fetal ECG source signals.
Current fetal monitoring mainly relies on the cardiotocogram (CTG); the simultaneous registration of fetal heart rate; and uterine activity. Unfortunately, in many cases the information provided by the CTG is insufficient. In these cases, obstetricians have to rely on other sources of information or on their intuition and experience to make the optimal treatment plan. A valuable complementary source of information is provided by the fetal electrocardiogram (ECG) . In clinical practice, the fetal ECG is measured during labor using an invasive electrode. The use of this electrode requires the fetal membranes to be ruptured and the cervix to be sufficiently dilated. An alternative method to obtain the fetal ECG makes use of electrodes placed on the abdomen of the mother .
Although these abdominal recordings are a promising candidate for use in fetal monitoring, their widespread use is impeded by the quality of the fetal ECG signals which is typically poor. Specifically, each signal recorded from the maternal abdomen consists of a mixture of signals, including the fetal ECG, maternal ECG, activity of abdominal muscles and uterus, and interferences from external sources. Several methods to extract the fetal ECG from such mixtures have been proposed in the literature [2–5]. Prominent among these methods are the so-called source separation methods such as independent component analysis (ICA) [2, 6]. Despite the successful application of these source separation methods for fetal ECG extraction, their use in clinical practice is limited to virtually none. The key reason for this is the relatively poor robustness in case of significant artifacts and noise . In other words, in case the noninvasive fetal ECG recordings have relatively good quality, the source separation methods perform satisfactory and in case of poor signal quality, their performance breaks down.
One of the reasons for poor robustness with respect to signal quality lies in the fact that ICA assumes no a priori knowledge on the origin of the recorded signal mixtures. Hence, ICA-based methods are referred to as blind source separation (BSS) techniques. In case of noninvasive fetal ECG recordings, however, some knowledge on the source signals mixing is available. Exploitation of such knowledge can improve the robustness of the source separation, as demonstrated for audio signals by Knuth .
In this paper, we follow the approach by Knuth and develop a probabilistic framework to derive a generic source separation technique. This technique allows for inclusion of a priori knowledge on the mixing of the source signals. In case no a prior knowledge is included, this technique reduces to an ICA technique. To include prior knowledge in the source separation, we present a physiology-based probabilistic model that describes how fetal ECG signals mix to the noninvasive abdominal recordings. Our method, consequently, yields a probabilistic, physiology-based source separation technique for fetal ECG extraction.
In Section 2, our method is presented and the methodology for implementation and evaluation is discussed. In Section 3, the performance of our method is illustrated and evaluated by comparing it with the performance of a widely used ICA approach. In Section 4, we draw our conclusions.
2. Materials and Methods
2.1. Probabilistic Description of Source Separation Problem
When we assume a fetal ECG recording of signals , each comprising an unknown mixture of source signals , the goal of any source separation method is to unmix the recorded signals into the source signals: where is a matrix, referred to as the mixing matrix. In the case of fetal ECG recordings, the time-dependent behavior of originates from changes in the volume conductor between fetal heart and abdominal electrodes, for example, due to movement of either mother or fetus.
The expression in the denominator of (2) is referred to as the evidence and can be regarded as a normalization term, independent of the variables of interest (i.e., or ). Hence, (2) can be simplified to The expression on the left-hand side of (3) is referred to as the posterior. The first term on the right-hand side of (3) is referred to as the likelihood. The second term is referred to as the prior.
As mentioned previously, the goal of the source separation method is to obtain the source signals . Considering the source model in (1) with known, inference of also determines . Since is typically a smaller matrix than , it is often computationally more efficient to estimate rather than . Hence, the problem of estimating the source signals can be translated to the problem of estimating the mixing matrix . In this context, the source signals can be regarded as a nuisance parameter and omitted from the posterior by marginalization: Here, and are assumed to be statistically independent, based on the assumption that the properties of signal propagation (i.e., the mixing matrix ) do not depend on the source signals and their magnitudes (i.e., the source matrix ).
In the context of this probabilistic description, the challenge of source separation methods is to infer by maximizing the posterior probability distribution with respect to . Inference on , subsequently, provides an estimate for the source signals .
2.2. Maximum A Posteriori Solution: Informed Source Separation
Until here, we have followed the descriptions of Knuth  and Bell and Sejnowski . As Knuth shows in , prior knowledge—in terms of the probability distribution —can be included in the probabilistic model of (4) to yield a Maximum A Posteriori (MAP) solution of the source separation problem. Because of the inclusion of prior knowledge, this method is referred to as an informed source separation (ISS) method (as opposed to the BSS methods that do not allow for inclusion of prior knowledge). For fetal ECG estimation, this prior knowledge entails a mathematical description of the dipole nature of the ECG and of the propagation properties of the abdominal volume conductor .
2.2.1. Mixing Model for Fetal ECG
When recorded relatively far away from the heart, the electrical activity of the heart can be approximated by an electrical dipole that changes in orientation and amplitude during the course of a cardiac cycle . For a bipolar ECG recording between electrode and a reference electrode , the electrical potential recorded at the skin is accordingly given by where describes the conductive properties of the medium between heart and electrode, which in this study are assumed to be the same for all recorded signals (i.e., the conductive properties are uniform), describes the position of electrode , describes the position of the reference electrode, and describes the position of the fetal heart.
The electrical dipole is also known as the vectorcardiogram (VCG) and represents 3 orthogonal ECG sources that, when combined together, can describe any recorded ECG signal. In the context of source separation, acts as the source matrix in (1). Since the electrical potentials from the skin surface correspond to , the mixing matrix for fetal ECG can be described as where .
We can rewrite (6) to In this expression, the first term on the right-hand side involves a (scaled) version of the difference in position between the abdominal electrodes and . When we would assume that the distance between the fetal heart and the various electrodes is approximately the same, or at least that the difference between these heart-electrode distances is much smaller than the heart-electrode distance itself, the term between braces on the right-hand side of (7) tends to zero and, accordingly, we can simplify (7) to Here, is a noise term that expresses our model inaccuracies, such as the assumption to ignore the second term on the right-hand side of (7). Based on the central limit theorem, is taken to be a Gaussian noise term, with variance and mean . Based on our geometric assumptions leading to (8), we assume to be zero.
Finally, to facilitate an analytical solution to the source separation problem, we ignore the dependence of the scaling on :
2.2.2. Prior Probability Distribution
We can express our belief in the mixing model of (9) in terms of the prior probability distribution: Here, we have assumed the variance to be known. We will address the estimation of in Section 2.3.2.
When, for reasons of mathematical simplification, we assume the elements of the mixing matrix to be mutually independent, we can write as with, compare (9), This assumption of mutual independence of the elements of is weak and can potentially reduce the performance of the source separation. More specifically, information on the mixing of ECG signals for one electrode provides information on the mixing for another electrode, since the electrode positions are known.
For the other conditional probability distribution in (10), we know that represents the scaling of ECG signals per electrode. This scaling depends on tissue propagation properties and the distance between fetal heart and electrode. The scaling must be positive and an upper and lower limit and , respectively, can be defined based on the possible distances between heart and electrodes as well as on studies on tissue propagation properties . Taking the probability distribution for to be uniformly distributed between these limits and, analogously to considerations above, assuming the elements of to be mutually independent, can be written as
2.2.3. Dealing with Multiple Sources
As mentioned in Section 1, noninvasive fetal ECG recordings consist of a mixture of source signals of which the three orthogonal fetal ECG components comprise only three source signals. We can estimate the other sources using a standard implementation of ICA. Specifically, we can assume no prior knowledge for these sources and include this lack of knowledge in our probability distribution for :
2.2.4. Towards a Solution
When we consider the posterior probability distribution of (4), we should realize that inference on the mixing matrix entails maximization of the posterior probability with respect to . Moreover, due to the fact that the logarithm is a monotonically increasing function, maximization of yields the same optimal value for as would maximization of .
As a first step to solve the inference problem, we follow Bell and Sejnowski  and assume the source signals to be mutually independent. Furthermore, we express our belief in (1) by assigning a delta function to the likelihood . Combining these assumptions with the posterior probability in (4) gives which can be solved to with being the inverse of , referred to as the unmixing matrix.
Taking logarithms on either side gives Here, is a constant, independent of .
For clarity, we introduce the estimated sources as . Furthermore, instead of maximizing the posterior probability distribution with respect to , we maximize it with respect to the separation matrix . Accordingly, or in terms of the derivative with respect to the matrix : where
The optimal unmixing matrix can be inferred by implementing a gradient search algorithm. Moreover, by postmultiplying (21) by , the expression can be made invariant to changes in the definition of the coordinate system that defines the various : where is the update term for the gradient search algorithm: with as the learning rate.
2.3. Implementation Challenges
2.3.1. Numerical Accuracy of Error Function
When implementing the proposed source separation method, singularities can arise due to a finite numerical accuracy in estimating the error functions in the denominator of (22). Specifically, we implemented the source separation in MATLAB (The MathWorks Inc.), which can no longer distinguish between error functions when the arguments have exceeded the value of 6 (or are smaller than −6):
To avoid such singularities, we can approximate the error function by  with , , , , and .
Implementation of this approximation in MATLAB resolves the issue with finite numerical accuracy of the error function, no longer yielding zero difference when both and exceed 6 but are not identical.
2.3.2. Estimating Model Inaccuracies
In Section 2.2.2, we have assumed the variance to be known. When analyzing (23), the term acts as a physiological component. The other terms together entail a typical BSS solution. In other words, is a physiology-based correction to the source separation. According to (22), the degree of correction is controlled by . Large values for indicate little confidence in the prior, physiology-based model and cause the method to act more or less as a BSS approach. Large confidence in the prior model, represented by small values for , results in a larger contribution of the prior model to the source separation.
For fetal ECG recordings, inaccuracies in the prior model arise from noise in the ECG signals or from erroneous assumptions with respect to the uniform propagation properties of the volume conductor or with respect to the sphere-like shape of the pregnant abdomen with the fetal heart in the center. These model inaccuracies can be tested by using the prior model to estimate and, subsequently, inverting the model to estimate the ECG signals from the estimated : Here, indicates the pseudoinverse of , and is provided by the prior model of (9).
The difference signal between the recorded and estimated ECG signals yields an indication for the model accuracy. Specifically, the variance of can be used as a measure for :
This expression implicitly assumes that is independent of (i.e., ).
To account for changes in the circumstances during the fetal ECG recording, for example, when the mother is having uterine contractions, the variance is determined within a sliding window of 2 seconds.
2.4. Evaluation of Source Separation
The developed probabilistic source separation method is evaluated by assessing its performance in extracting fetal ECG source signals from noninvasive recordings. The performance is evaluated by comparing it with that of a widely used ICA method: FastICA . The performance of the source separation techniques is assessed both quantitatively and qualitatively. Quantitative assessment is achieved using simulated recordings and qualitative assessment is done via actual abdominal recordings.
Simulated Fetal ECG Recordings. For simulating fetal ECG recordings, we use three orthogonal ECG signals recorded from an adult. These ECG signals are linearly combined, via a randomly determined mixing matrix, into ECG signals. To mimic the low quality of fetal ECG signals, these ECG signals are corrupted by muscular interferences and noise, obtained via a -channel recording of bipolar measurements on a subject’s arm. These measurements contain muscle activity and noise but due to their bipolar nature and position contain virtually no ECG contribution. Finally, also artificial powerline interference is added. An example of a simulated fetal ECG recording is shown in Figure 1.
To evaluate the developed source separation method for various degrees of signal quality, the signal to noise ratio (SNR) is varied between −10 and +30 dB. For each SNR, the evaluation is repeated 20 times to suppress the influence of the randomly determined mixing matrix. That is, in each repetition the mixing matrix is determined by picking its coefficients from a Gaussian distribution with unit variance.
Real Noninvasive Fetal ECG Recordings. The noninvasive fetal ECG recordings are performed at the Máxima Medical Center, Veldhoven, The Netherlands, using a NEMO data acquisition system (NEMO Healthcare BV, The Netherlands), after having obtained written informed consent from the mother. At the time of recording, the mother was 28 weeks pregnant. Eight abdominal signals are acquired simultaneously with a 1 kHz sampling rate and are preprocessed to suppress powerline interference, muscle activity, and maternal ECG according to . An example of the abdominal recording after preprocessing is depicted in Figure 2. It should be noted here that the preprocessing, by far, does not yield a good-quality fetal ECG and, hence, the need for additional processing, for example, by source separation. It should be noted as well that many others have applied (blind) source separation techniques without prior removal of the maternal ECG [2, 6]. In that case, the source separation technique, besides fetal ECG, also attempts to estimate the maternal ECG. As a result, fewer sources remain to estimate other interferences as well (i.e., the number of sources that can be extracted is restricted to the number of recorded signals: ) yielding the fetal ECG sources to be more likely a mixture of fetal ECG and interferences.
2.4.2. Evaluation Criteria
In our simulations, the performance of the source separation methods is quantified in terms of the normalized mean squared error between the original sources and the estimated sources :
The performance in separating sources in actual fetal ECG recordings is determined by assessing the ability of a peak detection algorithm to determine the fetal heart rate. The employed peak detection algorithm is based on a continuous wavelet transform  and the source signal representing the fetal ECG is selected based on visual inspection. The ability to correctly detect fetal ECG peaks is quantified by the sensitivity (): and positive predictive value (): Here, (true positive) is the number of correctly detected peaks, (false positive) the number of detections that were incorrectly labeled as ECG peaks, and (false negative) the number of ECG peaks that were missed by the detection algorithm. As a gold standard for assessing whether peaks are detected correctly, visual annotation by a clinical expert, on fetal ECG recordings in which the maternal ECG has been suppressed, is used.
With fetal heart rate detected, further enhancement of the fetal ECG can be achieved by (adaptively) averaging various consecutive ECG complexes, for example, as described in .
3. Results and Discussion
3.1. Results on Simulated Data
In Figure 3, an example of the source extraction by both the developed ISS method and FastICA is shown. The sources are extracted from the simulated fetal ECG recording that was depicted in Figure 1 and that has a SNR of 6 dB. As mentioned earlier, three orthogonal ECG sources were used to simulate the channels of the fetal ECG recording. For each of the orthogonal ECG sources, the extracted source that matches the ECG best, in terms of least squared error, is used for the evaluation.
In Figure 4, the performance of both source separation methods as a function of the SNR of the simulated fetal ECG recordings is depicted. This figure shows that the developed ISS method outperforms FastICA for all SNR.
3.2. Results on Real Data
In Figure 5, the performance of the source separation methods for real fetal ECG recordings is depicted. The upper plot shows one of the recorded fetal ECG signals and the center plot shows the best fetal ECG source determined by ISS. The lower plot shows the best fetal ECG source by FastICA. The best ECG source is hereby defined as the source that yields the highest and for ECG peak detection. It has to be noted here that the annotation of the recorded fetal ECG signal was based on visual analysis of all recorded channels at the same time. ECG peaks that are not distinctively discernible in the depicted ECG signal might have been annotated based on a different channel.
In total, 1532 ECG peaks have been annotated by the clinical expert in the 10-minute long abdominal recording. The performance of the employed peak detection algorithm in finding all these peaks in the ISS estimated fetal ECG source signal is and . In the FastICA estimated source signal, the performance of the peak detection is and .
As mentioned in Section 2.3.2, when considering the update rule for the developed ISS method in (23), it shows that the last two terms on the right-hand side correspond to the ICA method developed by Bell and Sejnowski . The first term on the right-hand side is a correction to the ICA solution and is based on a priori knowledge of the electrophysiology of the ECG. Any solution to the source separation problem by ISS, hence, entails a tradeoff between the ICA solution and the solution based on the physiological model of Section 2.2.1. The ratio in which each of these solutions contributes to the ISS solution strongly depends on estimated model inaccuracies: , compare (22).
The abovementioned tradeoff between ICA and physiology can also be regarded as a tradeoff between accuracy and robustness. We have illustrated this by applying our method to high-quality, yet realistic, (simulated) fetal ECG recordings and to lower-quality, but commonly more frequently encountered, (real) fetal ECG recordings. The statement of lower quality for the real recordings is based on visual comparison of Figures 1 and 2. The simulated recordings show that the gained robustness (ISS can locate all three fetal ECG sources, while FastICA could only estimate the two sources in Figures 3(b) and 3(c)) comes at the expense of a loss in accuracy; the three sources by ISS contain more noise than the two sources by FastICA. With regard to accuracy, as shown in Figure 4, the lack of accuracy—in terms of more noise in the estimated sources—by the ISS method is limited and is outweighed by the increase in robustness, as evidenced by the better performance of ISS for all SNR. With regard to robustness, as shown in Figure 5, for lower-quality fetal ECG recordings, the lack of robustness in BSS methods causes FastICA to fail in estimating a proper fetal ECG source, while the more robust ISS method can still estimate a fetal ECG source. In terms of detecting the fetal heart rate in the estimated sources, ISS outperforms FastICA by a sensitivity increase of and an increase in the positive predictive value of . As already indicated, when comparing the sources extracted from the simulated data in Figure 3, it shows that—although ISS can better reproduce the original sources in terms of ECG shape—the ISS sources contain more noise than the FastICA sources. The main reason for this is that FastICA is not capable of estimating, in particular, the first ECG source (Figure 3(a)). As a result, for the 6-channel recording, FastICA has 4 sources remaining that represent noise. The ISS method estimates all three ECG sources and hence has only 3 sources remaining to represent the noise. By increasing the number of recorded signals and therefore the number of possible sources that can be estimated, the accuracy of the source separation can be improved. In addition, when the goal of the source separation method is to compute fetal heart rates, the morphology of the extracted sources is more important than the noise in these sources. For example, Figure 3(a) shows that the ISS method can better preserve this morphology than FastICA.
In this paper, the developed ISS method was applied to extract fetal ECG sources from preprocessed abdominal recordings. This preprocessing includes suppression of the maternal ECG and in this paper we used a template-based method to do this. As an alternative approach, others have used BSS techniques to extract fetal ECG sources directly from (unprocessed) abdominal recordings [2, 19]. The developed ISS method can also be applied directly on the unprocessed recordings, but for this approach to perform up to its potential a proper prior model of the maternal ECG has to be included next to the model for the fetal ECG. This extension of our ISS method is subject for further studies.
In this paper, a source separation technique for fetal ECG signals was developed that exploits prior knowledge on the signal mixing. When critically examining the presented solution to the source separation problem, it shows that the developed technique is similar to the Bell and Sejnowski  ICA approach, but with a correction that pushes the separation matrix towards a physiological model of the fetal ECG. The confidence in this physiological model determines the degree of correction. Little confidence causes the method to act as BSS technique with little to no pushing towards the physiological model. More confidence, on the other hand, leads to a technique that is more governed by the physiological model.
With respect to FastICA, the developed method performs better in retrieving the ECG sources in simulated and real fetal ECG recordings. More extensive evaluation of the developed method is however required to conclusively state about its performance, for example, in case of poorly determined electrode positions.
This work was supported by the Dutch Technology Foundation STW.
- I. Amer-Wåhlin, C. Hellsten, H. Norén et al., “Cardiotocography only versus cardiotocography plus ST analysis of fetal electrocardiogram for intrapartum fetal monitoring: a Swedish randomised controlled trial,” The Lancet, vol. 358, no. 9281, pp. 534–538, 2001.
- L. De Lathauwer, B. De Moor, and J. Vandewalle, “Fetal electrocardiogram extraction by blind source subspace separation,” IEEE Transactions on Biomedical Engineering, vol. 47, no. 5, pp. 567–572, 2000.
- P. P. Kanjilal, S. Palit, and G. Saha, “Fetal ECG extraction from single-channel maternal ECG using singular value decomposition,” IEEE Transactions on Biomedical Engineering, vol. 44, no. 1, pp. 51–59, 1997.
- M. Ungureanu and W. M. Wolf, “Basic aspects concerning the event-synchronous interference canceller,” IEEE Transactions on Biomedical Engineering, vol. 53, no. 11, pp. 2240–2247, 2006.
- R. Vullings, C. H. L. Peters, R. J. Sluijter, M. Mischi, S. G. Oei, and J. W. M. Bergmans, “Dynamic segmentation and linear prediction for maternal ECG removal in antenatal abdominal recordings,” Physiological Measurement, vol. 30, no. 3, pp. 291–307, 2009.
- V. Zarzoso, J. Millet-Roig, and A. Nandi, “fetal ecg extraction from maternal skin electrodes using blind source separation and adaptive noise cancellation techniques,” in Computers in Cardiology, pp. 431–434, 2000.
- S. Harmeling, F. Meinecke, and K.-R. Müller, “Analysing ICA components by injecting noise,” in Proceedings of the 4th International Symposium on Independent Component Analysis and Blind Signal Separation, pp. 149–154, Nara, Japan, 2003.
- K. H. Knuth, “Bayesian source separation and localization,” in Bayesian Inference for Inverse Problems, Proceedings of SPIE, pp. 147–158, July 1998.
- E. Jaynes, Probability Theory: The Logic of Science, Cambridge University Press, Cambridge, UK, 2003.
- A. J. Bell and T. J. Sejnowski, “An information-maximization approach to blind separation and blind deconvolution,” Neural Computation, vol. 7, no. 6, pp. 1129–1159, 1995.
- D. B. Geselowitz, “On the theory of the electrocardiogram,” Proceedings of the IEEE, vol. 77, no. 6, pp. 857–876, 1989.
- E. Frank, “General theory of heat-vector projection,” Circulation Research, vol. 2, no. 3, pp. 258–270, 1954.
- T. F. Oostendorp, A. Van Oosterom, and H. W. Jongsma, “Electrical properties of tissues involved in the conduction of foetal ECG,” Medical and Biological Engineering and Computing, vol. 27, no. 3, pp. 322–324, 1989.
- K. Knuth, “Diddiculties applying recent blind source separation techniques to EEG and MEG,” in Maximum Entropy and Bayesian Methods, G. Erickson, J. Rychert, and C. Smith, Eds., Kluwer Academic Publishers, Dordrecht, The Netherlands.
- M. Abramowitz and I. Stegun, Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables, Dover, New York, NY, USA, 1972.
- R. Vullings, B. De Vries, and J. W. M. Bergmans, “An adaptive Kalman filter for ECG signal enhancement,” IEEE Transactions on Biomedical Engineering, vol. 58, no. 4, pp. 1094–1103, 2011.
- A. Hyvärinen, “Fast and robust fixed-point algorithms for independent component analysis,” IEEE Transactions on Neural Networks, vol. 10, no. 3, pp. 626–634, 1999.
- M. Rooijakkers, C. Rabotti, S. Oei, and M. Mischi, “Low-complexity R-peak detection for ambulatory fetal monitoring,” Physiological Measurement, vol. 33, no. 7, pp. 1135–1150, 2012.
- V. Zarzoso and A. K. Nandi, “Noninvasive fetal electrocardiogram extraction: blind separation versus adaptive noise cancellation,” IEEE Transactions on Biomedical Engineering, vol. 48, no. 1, pp. 12–18, 2001.
Copyright © 2013 Rik Vullings and Massimo Mischi. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.