Multi- variate EMD

61
Multi-variate EMD Extension of time series analysis to multi- variable sets

description

Multi- variate EMD. Extension of time series analysis to multi-variable sets. Multivariate. Multivariate is not multi-dimension. Multivariate variable could be a collection of totally different signals; it could be related ones too: for example, the three components of a velocity vector. - PowerPoint PPT Presentation

Transcript of Multi- variate EMD

Page 1: Multi- variate  EMD

Multi-variate EMD

Extension of time series analysis to multi-variable sets

Page 2: Multi- variate  EMD

Multivariate

• Multivariate is not multi-dimension.

• Multivariate variable could be a collection of totally different signals; it could be related ones too: for example, the three components of a velocity vector.

• It is useful for image fusion as the three colors of a color picture.

Page 3: Multi- variate  EMD

History

• Tanaka and Mandic first initiated complex, and Rilling et al bivariate EMD.– Tanaka, T. & Mandic, D. P. 2006 Complex empirical mode decomposition. IEEE

Signal Process. Lett. 14, 101–104.– Rilling, G., P. Flandrin, P. Gonçalves, and J. M. Lilly, 2007: Bivariate Empirical

Mode Decomposition, IEEE SIGNAL PROCESSING LETTERS, VOL. 14, 936-939.

• Mandic extended it to Tri- and Multi-variate.– N. Rehman, D. P. Mandic, 2009: Empirical Mode Decomposition for Trivariate

Signals. IEEE TRANSACTIONS ON SIGNAL PROCESSING, VOL. 58, 1059-1068.– N. Rehman, D. P. Mandic, 2009: Multivariate empirical mode decomposition.

Proc. Roy. Soc. Lond., doi:10.1098/rspa.2009.0502 N. – Rehman, D. P. Mandic, 2011: Filter Bank Property of Multivariate Empirical

Mode Decomposition. IEEE TRANSACTIONS ON SIGNAL PROCESSING, VOL. 59, 2421-2426.

Page 4: Multi- variate  EMD
Page 5: Multi- variate  EMD

Initial Example by Rilling et al.

Free Matlab/C codes are available at http://perso.ens-lyon.fr/patrick.flandrin.

Page 6: Multi- variate  EMD

Space Curve

Page 7: Multi- variate  EMD

Centroid of Space Curve

Page 8: Multi- variate  EMD

Example : 64 Direction 10 iterations

Page 9: Multi- variate  EMD

Example : Results

Page 10: Multi- variate  EMD

Extension from Bivariate to Tri- and Multivariate is non-trivial

We need a new mathematical tool:

Quaternion and beyond

Page 11: Multi- variate  EMD

Technical prerequisites• Defining the local extrema for multivariate signals is not

straightforward; for instance, the complex and quaternion fields are not ordered : using multiple real-valued projections of the signal; the extrema of such projected signals are then interpolated componentwise to yield the multidimensional envelopes of the signal.

• The computation of the local mean for multivariate signals: to use real-valued projections along multiple directions on hyperspheres (n-spheres) in order to calculate the envelopes and the local mean of multivariate signals.

• To generate a suitable set of direction vectors, unit hyperspheres are sampled based on both uniform angular sampling methods and quasi-Monte Carlo-based low-discrepancy sequences.

Page 12: Multi- variate  EMD

3D Data• For simple 3D data plus time, we need the

quaternion with algebra well developed.

• The quaternions are a number system that extends the complex numbers to higher dimensions. They were first described by Irish mathematician Sir William Rowan Hamilton in 1843 and applied to mechanics in 3D space. To extend it to multi dimension is very complicated.

Page 13: Multi- variate  EMD

QuaternionMathematics: Any number of the form

q = a + bi + cj + dk where a, b, c, and d are real numbers, i2 = j2 =k2 =-1, and ij =k= -ji, jk=i and ki=j;

Under addition and multiplication, quaternions have all the properties of a field, except multiplication is not commutative.

2 2 2 2

u

The norm of q is defined as : q a b c d

Unit vector : e cos u sin

Page 14: Multi- variate  EMD

Quaternion Memorial

• Broom Bridge, also known as Brougham Bridge, is a bridge along Broombridge Road which crosses the Royal Canal in Cabra, Dublin, Ireland.

• Here as he walked by on the 16th of October 1843Sir William Rowan Hamilton in a flash of genius discovered the fundamental formula for quaternion multiplication i² = j² = k² = ijk = −1 & cut it on a stone of this bridge.

Page 15: Multi- variate  EMD

Quaternion Memorial

Page 16: Multi- variate  EMD

Quaternion Memorial

Page 17: Multi- variate  EMD

Rotation

Page 18: Multi- variate  EMD

Generalized to n-Dimension

• For multivariate signals, the local maxima and minima may not be defined directly.

• Moreover, the notion of ‘oscillatory modes’ defining an IMF is rather confusing for multivariate signals.

• To deal with these problems, Rehman and Mandic (2009) proposed to generate multiple n-dimensional envelopes by taking signal projections along different directions in n-dimensional spaces; these are then averaged to obtain the local mean.

Page 19: Multi- variate  EMD

Projection of trivariate signal

(a) The direction vector OA in 3D space, can also be represented by a point on the surface of a unit sphere.

(b) Multiple direction vectors represented by points on a longitude line.

Page 20: Multi- variate  EMD

Multiple direction vectors in a 3D space

(a) For projections along longitudinal lines on a sphere, multiple axes represented by a set of vectors are chosen in the xy plane, with angle taken with respect to x-axis.(b) projections of the input signal can be taken by rotating the input signal along rotation axes represented by a set of unit quaternions .

Page 21: Multi- variate  EMD

n-Dimensional Case

• A simple and practically convenient choice for a set of direction vectors is to employ uniform angular sampling of a unit sphere in an n-dimensional hyperspherical coordinate system. The resulting set of direction vectors covers the whole (n − 1) sphere.

• A coordinate system in an n-dimensional Euclidean space can then be defined to serve as a pointset (and the corresponding set of direction vectors) on an (n − 1) sphere.

Page 22: Multi- variate  EMD

Generalization to n-dimension caseLet {θ1, θ2, . . . , θ(n−1)} be the (n − 1) angular coordinates, then an n-dimensional coordinate system having as the n coordinates on a unit (n − 1) sphere is given by

ni i 1

x

Page 23: Multi- variate  EMD

Generalization to n-dimension case

• The pointset corresponding to the n-dimensional coordinate system is now very convenient to generate; however, for n >1, it does not provide a uniform sampling distribution having a higher density of the points when approaching the poles.

• • Proposed a quasi-Monte Carlo methods to

generate a ‘low discrepancy pointset’, providing a more uniform distribution on the n sphere.

Page 24: Multi- variate  EMD

Low Discrepancy Sampling

• By definition, the discrepancy of a sequence is low if the number of points in the sequence falling into an arbitrary set B and it is close to uniform distribution.

• A low-discrepancy sequence is a sequence with the property that for all values of N, its subsequence x1, ..., xN has a low discrepancy.

• Low-discrepancy sequences are also called quasi-random or sub-random sequences, due to their common use as a replacement of uniformly distributed random numbers.

Page 25: Multi- variate  EMD

Low Discrepancy Sampling• The "quasi" modifier is used to denote more clearly that the

values of a low-discrepancy sequence are neither random nor pseudorandom, but such sequences share some properties of random variables.

• There are many ways to generate such sequence. In certain applications such as the quasi-Monte Carlo method their lower discrepancy is an important advantage.

• Rehman and Mandic used Hammersley-Halton sequence (involved primary numbers etc) to generate the quasi-Monte Carlo sampling, which is almot uniformly distributed.

Page 26: Multi- variate  EMD

Multiple direction vectors in a n-D space

Direction vectors for taking projections of trivariate signals on a two-sphere generated by using (a) spherical coordinate system and (b) a low-discrepancy Hammersley sequence.

Page 27: Multi- variate  EMD

Empirical Mode Decomposition, Multivariate EMD, Matlab and dataSee below for our recent contributions in this field. You can also download EEG Data used in some of the simulations in the work below. The EEG data contain EOG and EMG artifacts coming from eye blinks, eyebrow raising and eye rolling, and are used in our BSE, BSS, and EMD algorithms. The recordings also contain a 50Hz power line noise. Enjoy!

Matlab code: www.commsp.ee.ic.ac.uk/mandic

Page 28: Multi- variate  EMD

Some examples

3-Dimensional

Page 29: Multi- variate  EMD
Page 30: Multi- variate  EMD
Page 31: Multi- variate  EMD

Wind vector

Page 32: Multi- variate  EMD

Wind vector

Page 33: Multi- variate  EMD
Page 34: Multi- variate  EMD

Multi-variate

6-Dimensional

Page 35: Multi- variate  EMD

6-variates

Page 36: Multi- variate  EMD

As a Filtering Bank

Rehman, N and D. P. Mandic, 2011: Filter Bank Property of Multivariate Empirical Mode Decomposition. IEEE Transactions on Signal Processing, vol. 59, 2421-2426

Page 37: Multi- variate  EMD

MVEMD as Filtering Bank

Page 38: Multi- variate  EMD

MVEMD as Filtering Bank : 500 Average

Page 39: Multi- variate  EMD

MVEMD as Filtering Bank

Page 40: Multi- variate  EMD

Observations

• MVEMD indeed is a super-filter bank.

• The filter is much sharper than EMD as shown.

• Unfortunately, the sharpness of the filter bank has a fatal flaw: it could strip the harmonics off a nonlinear signal. See example.

Page 41: Multi- variate  EMD

It is possible to implement Noise Assisted MVEMD

Adding several noise signals as additional variates to the real data to form a multivariate data set.

N. B. the data never mixed with the noises.

Page 42: Multi- variate  EMD

Noise Assisted MVEMD

Page 43: Multi- variate  EMD

Bi-variate (left) VS Noise Assisted MVEMD (right)

Page 44: Multi- variate  EMD

Effects of noise level and sharpness of the filter

Page 45: Multi- variate  EMD

0 200 400 600 800 1000-6

-5

-4

-3

-2

-1

0

1EMD

0 200 400 600 800 1000-6

-5

-4

-3

-2

-1

0

1EEMD

0 200 400 600 800 1000-9

-8

-7

-6

-5

-4

-3

-2

-1

0

1MEMD

Duffing Type : t=1:1000duff_s= cos(2*pi*4*t/2000+0.3*sin(2*pi*8*t/2000));

Page 46: Multi- variate  EMD

0 0.1 0.2 0.3 0.4 0.50

10

20

0 0.1 0.2 0.3 0.4 0.50

10

20

0 0.1 0.2 0.3 0.4 0.50

10

20

0 0.1 0.2 0.3 0.4 0.5-1

0

1

EMD

EEMD

MEMD

Page 47: Multi- variate  EMD

NA-MVEMD applied on a Duffy signal• MVEMD parameters used: n = 3 (2 extra noise channels)

dir = 32; stopping_criteria=‘stop’ ; threshold=[0.1 1 0.1]

• Power of Duffy signal was set to 1, and the power (variance) of two noise channels was varied to get a range of SNR = 10log (P duffy/P noise) values.

• NA-MVEMD has been shown to perform well for a range of SNR values but for lower SNR (higher noise power), the obtained decomposition for this input signal is not very accurate.

• In NA-MVEMD, increase in the noise power tends to enforce filter bank structure on the input signal. In such cases NA-MVEMD will decompose a nonlinear signal with its harmonics across multiple IMFs.

Page 48: Multi- variate  EMD

NA-MEMD with SNR = inf (both noise channels set to zero)• NA-MEMD acts similarly to standard EMD as expected

Page 49: Multi- variate  EMD

NA-MEMD with SNR = 40db• NA-MEMD extracts the desired signal in IMF 3

Page 50: Multi- variate  EMD

NA-MEMD with SNR = 17db• NA-MEMD extracts the desired signal in IMF 6

Page 51: Multi- variate  EMD

NA-MEMD with SNR = 14db• NA-MEMD extracts the desired signal in IMF 6

Page 52: Multi- variate  EMD

NA-MEMD with SNR = 12db• NA-MEMD extracts the desired signal in IMF 6

Page 53: Multi- variate  EMD

NA-MEMD with SNR = 10db• NA-MEMD extracts the desired signal in IMF 7 but some distortion can be seen in IMF 6 in this case.

Page 54: Multi- variate  EMD

NA-MEMD with SNR = 7db• NA-MEMD extracts the desired signal in IMF 7 but some distortion can be seen in IMF 6 in this case.

Page 55: Multi- variate  EMD

NA-MEMD with SNR = 1db• Distortion is found to increase by increasing the noise level as seen in IMF 6 and IMF 8 in this case

Page 56: Multi- variate  EMD
Page 57: Multi- variate  EMD

Application to EEG

Page 58: Multi- variate  EMD

0 2000 4000 6000 8000-7

-6

-5

-4

-3

-2

-1

0

1EMD

0 2000 4000 6000 8000-7

-6

-5

-4

-3

-2

-1

0

1MEMD/two noise channels

0 2000 4000 6000 8000-7

-6

-5

-4

-3

-2

-1

0

1EEMD

0 1000 2000 3000 4000 5000 6000 7000 8000-2

0

2

Page 59: Multi- variate  EMD

EMD

0 5 10 15 20 25 30 35 400

5

10

15

20

EEMD

0 5 10 15 20 25 30 35 400

5

10

15

20

MEMD

0 5 10 15 20 25 30 35 400

5

10

15

20

0 5 10 15 20 25 30 35 40-202

Page 60: Multi- variate  EMD
Page 61: Multi- variate  EMD

Summary• MVEMD is a very useful and intriguing new development in

EMD methodology.

• It offers an uniformity (same scale and same number) to the IMF from the multivariate data set so that the results will be easier to interpret.

• The NA-MVEMD is a beautiful idea.

• The fatal flaw of MVEMD and NA-MVEMD is that the filter is too sharp, which leads to separation of harmonics from the fundamental and destroy the nonlinearity.