• Aucun résultat trouvé

Piecewise Continuous Segmentation of Multidimensional Experimental Signals (short paper)

N/A
N/A
Protected

Academic year: 2022

Partager "Piecewise Continuous Segmentation of Multidimensional Experimental Signals (short paper)"

Copied!
5
0
0

Texte intégral

(1)

41

Piecewise Continuous Segmentation of Multidimensional Experimental Signals

Alexander G. Dmitriev Cherepovets Higher Military

Engineering Schoolof Radio Electronics

Cherepovets, Russia dag334a@fxmail.ru

Abstract

An algorithm for piecewise continuous approximation of structural experimental multidimensional signals with a previously unknown number of intervals for splitting signals into "similar" fragments is proposed.

The construction of a multidimensional piecewise continuous approximating function is performed "left – to - right", which allows to use the dynamic programming method to determine the boundaries of the partition intervals. The approximation quality criterion is used, taking into account the number of data on the partition intervals and the "complexity"

of the local signal models used.

Introduction

In various applications, the problem arises of analyzing the so-called structural experimental signals, considered as a time-sequential combination of simpler signals (functions), that have constant properties at the corresponding time intervals [Mot79, Kos04].

Processing of such signals in most cases is reduced to a two-stage procedure: the allocation of "similar"

fragments (segmentation stage) and the subsequent construction of the description of the presented signals as a whole. The use of existing methods of signal segmentation proves to be insufficiently effective in studies under conditions of high dimensionality, limited experimental observations and an unknown

number of "similar" sites (partition intervals). In addition, the approximating function usually suffers a gap at the boundaries of "similar" sites [Dmi10, Dor84].

The aim of the work is to develop an algorithm for piecewise continuous approximation of multidimensional signals with a previously unknown number of intervals of splitting signals into "similar"

fragments, which under certain conditions delivers the optimal value to the selected criterion of approximation quality.

1 Problem Statement

Let a set of signals (a multidimensional signal) collectively characterizing the object under study, be presented for analysis. The

values are specified at discrete

points in time . The criterion of approximation quality on the sample of experimental values is chosen as:

(1)

where a priori "weight" of the signal

the number of discrete samples on the interval polynomial over

a given set of basis functions

the vector of estimated parameters in j-th interval.

Criterion (1) uses weights and . The introduction of weights is due to the fact that in practice the parameters often have different practical significance. Specific values are chosen for meaningful reasons, usually

(1) ( )

( ) ( ( ),..., s( )) y t = y t y t

( )i( ), 1,...,

y t i= s

1,..., N t t= t

J

1

( ) ( ) ( ) 2

1 1 ( , ]

[ ( ) ( , )] ,

j j

l j j

s r n i i i

i n m l j l j

i j t T T

J y t F t

-

= = - Î

= µ

å å å

- a

µi- y( )i, nj -

(Tj-1, ],Tj ( ) ( ) ( )

1

( , ) m ( )

i i i

j l j jk k

k

F t t

a =å=a j -

{ ( ),jk t k=1,..., },m a( )ji =(a( )j1i,...,a( )jmi )- ( 1,..., )

i i s

µ =

/ ( ) ( 1,..., )

j j

n n -m j= r µi

µi Copyright c by the paper's authors. Use permitted under Creative

Commons License Attribution 4.0 International (CC BY 4.0). In: A.

Khomonenko, B. Sokolov, K. Ivanova (eds.): Selected Papers of the Models and Methods of Information Systems Research Workshop, St.

Petersburg, Russia, 4-5 Dec. 2019, published at http://ceur-ws.org

(2)

42 they are normalized so that . Weights

are the usual normalizing coefficients that take into account the dimension of the model.

It is required to find such a partition

(synchronous change of signals is assumed) of a given interval

into intervals

( - in general, unknown) and to determine on each of these intervals such values of the parameter vectors that the functional (1) takes a minimum value under the condition of restrictions on the continuity of approximating functions:

(2)

2 Algorithm

Denote by-the error of approximation of the i-th signal on the interval , calculated by the method of least squares. Then criterion (1) will take the form:

(3) Let's make the following assumption. Borders

partitions and corresponding local approximating functions on each interval of partition will be found from "left to right".

Let the position of the boundary be determined, find the local approximating functions

delivering the minimum . Next,

we fix the position of the boundary find the boundary and the corresponding local approximating functions delivering a

minimum of with a restriction

on continuity at the boundary :

, .

Fix , etc.

Under this assumption criterion (3) with constraints (2) has the following property. Let be some fixed position of the right boundary of the j-th interval.

Then the bounds obtained by minimizing (3) only over the bounds are independent of the boundary values . Indeed, the functional (3) can be represented as the sum of two nonnegative quantities: , where

But then, obviously, . It follows from this property that if is the optimal position of the j-th boundary, then the boundaries

obtained by minimizing by

are also optimal. The considered property of criterion (3) makes it possible to use the dynamic programming procedure [Bel69] to determine the optimal boundaries of intervals.

Let the number of intervals be equal to . The following recursive algorithm finds the partition and local approximating functions, delivering the optimal value to the functional (1) (under the above assumption).

First the functions

are tabulated sequentially, where

1

1

s i i=

å

µ =

/ ( )

j j

n n -m

0 1 0 1

( , ,..., ),r ... r

T = T T T T <T < <T

( )i

y

1 0 1

[ , ],t tN T =t, Tr =tN r (T Tj-1, ],j 1,...,

j= r r

( )i , 1,..., ,

j i= s

a

( ) ( ) ( ) ( )

1 1

( , ) ( , ),

( 1,..., ); ( 1,..., ).

i i i i

j j j j j j

F T F T

j r i s

+ +

=

= =

a a

( )

( 1, )

i

j j

T- T e

(Tj-1, ]Tj

( ) 1

1 1

( , )

j j

s r n i

i n m j j

i j

J - T- T

= =

=

å å

µ e

Tj

(j=1,...,r-1), T=( , ,..., )T T0 1 Tr

T1

( ) ( )

1i( , 1i ), F t a

( )

1 2

( , ),

i T T

e i=1,...,s

1, T T2

( ) ( )

2i( , 2i), F t a

( )

1 2

( , )

i T T

e (i=1,..., )s T1

( ) ( ) ( ) ( )

1i ( ,1 1i ) 2i ( ,1 2i )

F T a =F T a i=1,...,s

T2

*

Tj

* *

1,..., j 1, T T-

1,..., j1

T T-

1,..., 1

j r

T+ T-

a b

J=J +J

( )

* ( )

1 1 1

1 1

( ,... / ) j nk S i , ,

a a j j k nk mi i k k

J J T T- T T- T

= - =

ì ü

ï ï

= =í ý

ï ïþ

î

å å

µe

*,

j j

T =T

( )

* ( )

1 1 1

1 1

( ,... / ) r nk S i , ,

b b j r j k j nk mi i k k

J J T+ T- T T- T

= + - =

ì ü

ï ï

= =í ý

ï ïþ

î

å å

µe

*.

j j

T =T

,..., ,...,

1 1 1 1

arg min arg min a

T Tj T Tj

J J

- -

=

*

Tj

* *

1,..., j1,

T T- J T1,...,Tj-1,

r0

( ) ( 1, 2,..., 0 1)

j j

J T j= r -

( )

1 ( )

1 1 0 1 1 (01)

1 1

( ) S i i , , p,..., N r p;

i

J T n T T T t t

n m = - -

= =

-

å

µe

( )

( )

( )

1 1 1

1 ( 1) 1

( ) min , ,

..., ,

j S i

j j j j i j j

j j p j i

Tj p

J T J T n T T

T t n m

t

- - -

- - =

¢ -

ì ü

ï ï

= = íïî + -

å

µe ýïþ

(3)

43 the reference number corresponding to the

boundary

is the specified minimum allowed number of samples on the partition interval.

Approximating functions on adjacent intervals are constructed taking into account the conditions for continuity (2).

At the same time, the values

,

the values of the optimal positions of the boundaries for each are stored. Next, the optimal boundaries of the intervals are determined:

(4)

The extreme nature of the dependence on

is used to find the partition

at an unknown number of intervals. Indeed, with an increase , on the one hand, there is an increase in weights

due to a decrease in the average , which, other things being equal, leads to an increase in the criterion (1). On the other hand, as the number of intervals increases, the usual quadratic residual decreases, resulting in a decrease in (1). The simultaneous action of these factors leads to the fact that the functional (1) reaches its minimum value at some intermediate (not boundary) value .

For determination it is possible to use the approach offered in work [Dmi10]. First, the minimum values of the functional (1) are calculated . At the same time, the values of the optimal positions of the boundaries for each are stored . Next, the number of intervals is selected and the optimal boundaries are determined. As

the smallest number of intervals is chosen, at which takes the minimum value. Optimal

bounds are determined from expressions analogous to (4):

The value is chosen for substantive or Statistical reasons. In particular, as can be used the value , where is the integer part .

Modeling

To check the efficiency of the algorithm, its modeling was carried out on special multidimensional signals.

The developed program made it possible to obtain a multidimensional signal with specified properties. The relevant procedure is as follows.

The vector function is considered on the interval:

where

(5)

is a superposition of piecewise linear continuous function and independent Gaussian interference with

zero mean and dispersion ;

nodal points of piecewise linear vector function;

values of this function in points ; characteristic function equal to one, if , and equal to zero, if .

The nodal points , the values of piecewise linear functions at these points , the number of intervals

are determined randomly using a random number generator by the following procedure:

1.

(0 ) 0

,..., , 2,..., 1;

j j p N r j p

T =t× t - - j= r -

Tj¢ -

j, T p

1( ),

j j

M - T

(0 )

,...,

j j p N r j p

T =t× t - - j=2,...,r0-1, -

1

Tj- Tj,-

( )

( )

( )

( )

0 0

0 0

0 0 0

0

1 1

1

1 2 1

1

,...,

arg min ,

,

r r

r r s i

i r N

r r p N p

r i

J T

T n

T t

T t t

n m

- -

*-

- - × - -

=

=

ì + ü

ï ï

ï ï

= í ý

ï+ - ï

ï ï

î

å

µe þ

( ) ( )

0 2 0 2 0 1 ,..., 1 1 2 .

r r r

T*- =M - T*- T*=M T*

J r

(

0, 1 ,..., 1,

)

H H H

rH r

T T T T T

= -

r

/ ( 1)

j j

n n -m+ nj

rH

rH

( ), 2,..., max j N

J t j= r

1( )

j j

M - T

1

Tj-

Tj

rH r

( )

r N

J t

1 ,..., 1 H

H H

T Tr

-

( ) ( )

( )

1 1 2 2 1

1 1 2

, ,

..., .

H H H H H

H H H

r r N r r r

H H

T M t T M T

T M T

- = - - = - -

=

rmax

rmax

[

N p/

] [ ]

x x

[ ]

1,N :

( ) (

( )1

( )

,..., ( )S

( ) )

,

y t = y t y t

( )( )

( ) 1 ( )1

(

( )1 ( )

)

1 1

i i i i

r j j j j j j

i

j t

j j j

y T y T y y t

y t b

T T

* - - -

= -

ì × - × + - ü

ï ï

=

å

e íïî - ýïþ+ ×x

(i=1,..., )s

b2

*

*

0 1, , j, 1,..., 1

T = Tr =N T j= r - -

( )ji, 0,...,

y j= r* -

Tj ej -

(

j1, j tÎ T- T ùû

(

j1, j

tÏ T- T ùû Tj

( )i

yj

r*

( )

0 0 0

0; 1; i i, 1,..., .

j= T = y =V i= S

(4)

44 2. If , then move to 4. Otherwise - we

pass to 3.

3. ( is the

integer part ), then move to

2.

4.

; .

random, independent, uniformly distributed, respectively, at intervals and values; pre-selected parameters of the algorithm.

Next, the values of

the vector function (5) are calculated.

Linear functions were used as local approximating functions:

, , .

In the studies, the experimental material contained three groups of three-component multidimensional signals, obtained using the procedure described above.

The first group consisted of multidimensional signals without noise, the second and third, respectively, with average (or low) (dispersion ) and increased noise level ( ). As expected, for no-noise the algorithm found the desired number of intervals, partitioning, and approximating functions without error.

Typical dependences of the criterion on for the second signal group are shown in figures 1 (the

­

sign in the figures indicates the actual number of intervals).

Figure 1: Average noise level

For signals with an average noise level, the minimum functional, as a rule, falls on the desired number of intervals.

Typical dependences of the criterion on for the third signal group are shown in figures 2.

Figure 2: Increased noise level

For signals with an increased noise level, the discrepancy between the optimal and the desired number of intervals was more often manifested. For signals with high noise levels were more likely to be a mismatch is found and the specified numbers of intervals.

For both groups of signals, this discrepancy was observed when there were adjacent intervals in the multidimensional signal, at which the difference in the"

behavior " of the signal was insignificant, and, as a rule, such intervals contained a small number of samples.

It can also be noted, that for the signals of the second group, the reduction section of the graph of the dependence of on jumps into the increase section, and for signals with an increased noise level, such a transition occurs smoothly. The latter can be used to construct optimization procedures that perform a limited search over r.bjhb

Conclusion

Thus, the proposed approach of constructing a piecewise continuous approximating function "left – to - right" allows to apply the dynamic programming N T- j<p

1; j j1 j ,

j= +j T =T- +éëb c p+ ùû

[ ]

x

x y( )ji =Vji×d i, =1,..., ,s

Tj=N r*= j

ji , j -

V b

[ ]

-1;1

[ ]

0;1

, , , p d c N -

( )i( ), ( 1,2,..., ),

y t t= N (i=1,..., )s

( )

( ) ( ) ( ) ( )

1 2

i , i i i

j j j j

F ta =a +a ×t i=1,...,s j=1,...,r*

[ ]

2 0,01 0,1

b Î -

[ ]

2 0,1 0,3

b Î -

J r

J r

J r

1 2 3 1

2 3

4 1

5 6 4

1 5 6

7 1 8 9 7

1 8 9

1 0 11 10

r

´0,1 J 11

1 2 3 1 2 3

4 1 5 6 4

1 5 6

7 1 8 9 7

1 8

9

1 0 11 10

0 r

´0,1 J

(5)

45 method to determine the boundaries of the partition

intervals. Using the extreme behavior of the approximation quality criterion, the number of partition intervals is determined.

References

[Mot79] V. V. Mottl, I. B. Muchnik. Hidden Markov models in structural analysis of signals. M.:

Fizmatlit, 1999.

[Dmi10] A. G. Dmitriev. The Algorithm of optimal structural approximation of experimental multidimensional signals. Naukoemkie technologii, No 9: 31-35, 2010.

[Kos04] A. A. Kostin, O. V. Krasotkina, M. V.

Markov, V. V. Mottl, I. B. Muchnik.

Dynamic programming algorithms for analysis of non-stationary signals. Computational Mathematics and Mathematical Physics, V 44, No 1: 62–77, 2004.

[Dor84] A. A. Dorofeyuk, A. G. Dmitriev. Methods for piecewise approximation of multidimensional curves. Automatics and telemechanics, No 12:

101-108, 1984.

[Bel69] R. Bellman, S. Dreyfus. Applied problems of dynamic programming. M: Nauka, 1969.

Références

Documents relatifs

L’archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des

that need half of the period to recover the parameters, [10] that uses also algebraic techniques for a single sinusoidal and [45] by classical methods) deal only with the

This section deals with the proofs of the main theorems. It is subdivided into 4 sec- tions. In Section 3.1, we introduce some useful results and operators used throughout the rest

For each subgroup B of A such that A/B has Q-rank 1, the number of ho- momorphisms of A/B onto Z is 2, and we choose one of the two as u B. So, using the maximality of B, the near

An illustrating corollary is the fact that the group of piece- wise projective self-transformations of the circle has no infinite subgroup with Kazhdan’s Property T; this corollary

It is established that estimators joining the midpoints (as their reciprocal forms studied in the present article for quantile estimation) reach a minimal MISE at the order n −2...

The largest family in the Chomsky hierarchy is the family of computably enumerable languages (aka recursively enumerable languages), and the corresponding automata type is

The stability of these systems is studied and a necessary and sufficient condition of asymptotic stability is given, as well as a suitable Lyapunov equation.. The stability property