Full text

1. Introduction

Complex network which has been applied in different fields, such as population ecology, social ecology, biology and the Internet has now become a major field of research. Clustering method plays important role in complex network analysis. They take into account the intrinsic heterogeneity of the data and summarizing these data through node classification.

For example, as shown in Figure 1, we can clearly see that 11 nodes can be divided into three groups: the node 1 (hub node) is connected to most of the other nodes; the connectivity between nodes 2-6 is relatively strong, so they form a community; the rest of nodes are almost disconnected to the others, which are called peripheral nodes.

Figure 1. 11 nodes.

There are many traditional methods to cluster the nodes. For example, K-means[1] is the most famous clustering algorithms based on partition. Its basic idea is to use the center of the data points as the center of the corresponding cluster. Besides stochastic block models[2] (SBMs) are widely used statistical stochastic network model too. SBMs introduce latent (i.e. unobserved) random variables on the nodes of the network, taking values in a finite set.

With the rapid development of society, we get plenty of dynamic data. When we apply above cluster strategy directly to dynamic data, usually they are not fair enough. Similarly, we give one example of dynamic clustering. Figure 1 and Figure 2 demonstrate two networks between 11 nodes at time point 1t and 2t .

At time point 2t , nodes 2-6 and 7-11 change to peripheral and communicate respectively, which can be interpreted in the following two possible ways. One is that nodes 2-6 drift from communicate to peripheral group, and during the same time, nodes 7-12 behave on the contrary. The other viewpoint is that all nodes stay in the former groups while the characters of groups just change. In the absence of parameter identification, the above phenomenon naturally corresponds to these two interpretations and obviously, neither one is superior to the other. We choose to focus our attention on groups that are characterized through their stable within-group connectivity parameter.

Figure 2. Time point of 11 nodes.

There are also some models to deal with dynamic data. For example, classic time series analysis[3] derives various models to represent different stochastic processes. Models for time series data can have many forms and represent different stochastic processes.

When modeling variations in the level of a process, three broad classes of practical importance are the autoregressive (AR) models, the integrated (I) models, and the moving average (MA) models. PDEs are used to formulate problems involving functions of several

variables, and are either solved by hand, or used to create a relevant computer model. While hidden Markov model (HMM)[4] assumes the dynamic system following Markov process with unobserved (hidden) states, which are widely used in speech recognition and so on. Hastie and Tibshirani[5] have proposed time-varying coefficient model by setting the nonparametric functional form of time covariates and explored the dynamic mode of high - dimensional data regression structure.

Combining SBMs with a Markov structure on the latent part of the process (the nodes classification) is a natural way of ensuring a smooth evolution of the groups across time. Yang[6] considered the discrete time dynamic random network with no direction, binary or finite value. For binary random networks, Xu and Hero[7] proposed to introduce a state space model through time on (the logit transform of) the probability of connection between groups. By comparing previous work, Group members and connectivity parameters may change over time. Bayesian variants of these dynamic SBMs may be found for instance in Ishiguro [8] and Herlau[9]. None of these works consider the dependencies between the data. In this work, we construct a novel model combined with SBM, HMM and AR model. The static cluster of the data is processed through SBMs, whereas its dynamic aspect is as follows. For each node, its group membership forms a Markov chain, independent of the values of the other node memberships. Plus, we borrow the AR model to describe the dependency of sequence.

The samples record data matrixes { }( {1,2,..., })tY t T representing the interaction between N nodes at T time points. Data matrixes { }(t {1,2,..., })tZT indicate the latent cluster variables. Our purpose is to calculate the value of the latent variables by statistical modeling and statistical inference. Our set-up is very close to those of Catherine Matias[10] The characteristics of the group have stable connectivity parameters, and we can guarantee the parameter identification and effective statistical inference. The model‟s set-up of Catherine Matias is shown in Figure 3. In the case of a given latent variable, the observation matrix between each time point is independent. In other words, the observation matrix at each moment is only affected by the latent variables of this moment, and it has nothing to do with the others. Our model is shown in Figure 4.

It‟s very visually that there is a very important difference between Catherine Matias‟ models with our model. In the case of a given latent variable, we assume that the observed value at this moment is affected by the observed value at the last moment.

The paper is organized as follows. Section 2 describes the model and sets the notation. Section 3 describes a VEM procedure for inferring the model parameters and clustering the nodes. We discuss the initialization of the algorithm. Simulations are presented in section 4. Conclusion is mentioned in section 5.

Figure 3. The model’s set-up of Catherine Matias.

Figure 4. The model of this research.

2. Statistical modeling

We consider the case of N nodes. The time step is represented by the superscript, while the matrix or vector index is denoted by subscript. The interaction of N nodes is recorded by data matrix { }( {1,2,..., })tY t T . T is the time point here,and {1,2,..., }tT ,the adjacency matrix set { }( , {1,2,..., }, )t ijY i j N i j ( t ijYR ) contains the interaction of real measurements between the node i and the node j.

Without loss of generality, we consider that there is no self-loops to the random network, so that tY is a symmetric matrix without diagonal elements. We assume that the N individuals are split into Q latent (unobserved) groups. So the random variables ( {1,2,..., }, {1,2,..., })t iZ t T i N is going to be equal to {1,2,..., }Q , =t iZq denotes that the node i at time t belongs to the group q. We can also think of t iZ as a random vector 1( ,..., )t t t i i iQZ Z Z , 0,The ith node does not belong to group q. 1, The ith node belongs to group q. t iqZ  

and 1t iq q Z  . The model is set as follows:For fixed time point t, the random variable ( {1,2,..., })t iZ i N is independent. For {1,2,..., }iN , the process { }(t {1,2,..., })t iZT is an irreducible non-periodic markov chain. In other words, for {1,2,..., }iN , 1 2 1 1( | , ,..., ) ( | )t t t t i i i i i iP Z Z Z Z P Z Z . Among them, the transfer matrix is '{ }( , ' {1,2,..., })qq q q Q , and the initial distribution of the random variable Z is 12( , ,..., )Q    .

We assume that { | }tt ij ijYZ is an AR(1) process. So the conditional distribution of tY is only related to

tZ and 1tY  for a given potential group Z. And we assume that while given tZ , tY and 1tZ  are independent. Further, we assume that the noise in the autoregressive process obeys the normal distribution. So now, we can actually assume that the conditional distribution of t ijY is going to be:

1 1 1 1 1 2 1, { 1} ~ (1 ) ( ) ( | , ) 2, { 1} ~ (1 ) ( ) ( | , ) ij iq jl ql ql ql t t t t t t ij iq jl ql ql ql ij t t Y Z Z G t Y Z Z G Y                        (1) Sparse parameter { }( , {1,2,..., )t ql q l Q  is satisfied [0,1]t ql  . t ql represents the connectivity between the q group and the l group at time t. 2( | , )G  is the Gaussian family, whose mean is  and the variance is 2 ,the density is expressed as   2,,g  . To satisfy the stationarity of time series, , {1,2,..., }q l Q , ql needs to be satisfied | | 1ql  . And there is no direction in the network, so for ,,q l t parameter t ql , ql and ql satisfy tt ql lq , ql lq , =ql lq .So the model is parameterized as follows:

' 1 , ' 1 ,1 1 1( , , , ) ({ } ,{ } ,{ } ,{ } )t qq q q Q ql t T q l Q ql q l Q t t T                      (2) And P represents the probability distribution of the entire NNQR space. 2( ; , )   represents the density of the distribution given by the equation (1).

22, ( ; , , ) (1 ) ( 0) ( , , ) ( 0)y R y y g y y             11 (3) Where {}A1 is the expression function of set A.

3. Statistical inference

We now discuss the structure of the conditional distribution ( | )P Z Y . First of all, we can easily derive the conditional distribution of the model as follows: 1: 1: 1 1: 2: 1: 1 1 1 1 ( ) ( | ) ( | , ) ( | ) ( | , ) T T T T T T t t t t P Z Y P Z Y P Z Y Z P Z Y P Z Z Y    

(4) However, distribution 1( | , ) {( ) | , }t t t t t t i i NP Z Z Y P Z Z Y  can't be further decomposed. In fact, when tY is a condition, for ij , the variables t iZ and t jZ are not independent. Next, we consider 1: 1: 1: 1: 1:( | ) ( , ) / ( )T T T T TP Z Y P Z Y P Y . Because 1:TY is observable, so 1:()TPY can be not considered. We need to think about the joint distribution f of the model 1: 1:( , )TTP Z Y : 1: 1: 1 2: 1: 1 1 1 1 1 1 ( , ) ( ) ( , | ) ( ) ( | ) ( | ) ( | , ) T T T T TT t t t t t tt P Z Y P Z P Z Y Z P Z P Z Z P Y Z P Y Z Y    

(5) The first thing we think about is the method of maximizing the likelihood function, so we can write the logarithmic likelihood function of the model:   1: 1: 1 1 '' 1 1 2 1 1 , ' 2 1 1 , log ( , ) log( ) log( ) log{ ( ; , , } QN T N T T t t iq q iq iq qq i q t i q q Q T t t t t iq jl ij ql t i j N q l Q P Z Y Z Z Z Z Z Y                          

(6) A traditional solution is to use the EM algorithm to find the local maximum. But we find that we need 1:()TPZ which is a joint distribution of Z when we use the EM algorithm to maximize the local maximum. However, this distribution does not have a factorized form in the random partition model, and is not actually computable. So we think of the variation of EM algorithm: VEM algorithm.

We use the variational approximation to get a distribution :QQ which is the closest to 1:()TPZ : 1 1 1 1 1 2 1 , ' ( ) ( ) ( ) ( | ) { ( , ) } ( , , , ') tt iq iq iq N N N tt i i i ii i i QNTZ Z Z i q t q q Q Q Z Q Z Q Z Q Z Z i q i t q q                      

(7) where, for any values ( , , , ')i t q q , we have ( , )iq and ( , , , ')i t q q both belong to set [0,1] and are constrained by ( , ) 1 q iq  and ' ( , , , ') 1 q i t q q  . This class of probability distributions Q corresponds to considering independent laws though individuals, whereas, for {1,2,..., }iN , the distribution of iZ under Q is the distribution of a Markov chain(through time t), with initial distribution ( , )iq 1()iQ Z q and inhomogeneous transition 1( , , , ') ( | ')tt iit i q q Q Z q Z q    .

And then we need the marginal distribution of Q , write for arg ( , , ) : ( )t mit i q Q Z q  ,so arg arg arg '1 (1, , ) ( , ) ( , , ) ( 1, , ') ( , , ', ), 2 m Q mm q i q i q t i q t i q t i q q t            

(8) Note that all arg ( , , )m tiq depend on the initial distribution ( , )iq . The VEM algorithm is an iterative process that optimizes the following functions.:

arg ' 2 1 1 , ' arg arg 1 1 , ( , ) : [log{ ( , )}] ( ) ( , )[log( ) log ( , )] ( 1, , ) ( , , , ')[log( ) log ( , , , ')] ( , , ) ( , , )log ( ; , , ) Q QN q ii TN m qq t i q q Q tt m m ij ql ql t i j N q l Q J E P Y Z H Q i q i q t i q t i q q t i q q t i q t j l Y                                    T t 

(9) where the entropy of Q is expressed as ()HQ . The entropy is used to estimate the degree of uncertainty of various random experiments from the numerical value. The greater the entropy is, the more uncertain the result is. If the node doesn't change, then it doesn't make sense to do it. So we want the outcome to be as uncertain as possible, the higher the entropy of Q , the better.

The iterative process consists of the following two steps. In step k, we record the parameters as ( ) ( )( , )kk : (a) VE-step:To calculate ( 1) arg max ( , )kkJ      , (b) M-step:To calculate ( 1) ( 1)arg max ( , )kkJ     . To maximize the parameter ˆ of function  ,J  to satisfy the following formula:

   argˆ , , '2 ' ' ' ' '1 ' 1 ˆ2, 1, , ' , , , , ' ( ( ; , , )) m QN t j ltt qq ij q l q l tjl t i q q Q t i q q Y                 (10) where “  ” means „proportional to‟. Further, the value   2ˆ ˆˆ ˆ ˆ, , , ,     that maximizes in   2, , , ,     the function  ,J  satisfies:

    ' ˆ, ' , 1, , , , , ' TN qq marg ti q q Q t i q t i q q        (11)

          arg arg ,2 arg arg , , , , , 0 ˆ,, , , , , t m m ij ijt ql mm ij t i q t j l Y t q l Q t i q t j l           

(12)

          arg arg , arg arg ,, , , , , 0 ˆ, , , , , t m m ij t i j qq mm t i j t i q t j q Y qQ t i q t j q         

(13) , ( , ) ( , ) ˆ,, ( , ) ( , ) ( 0) ij i j N ql ij ij i q j l Y q l Q i q j l Y             1

(14)

-1 arg arg -1 -1 arg arg 2, ( , , ) ( , , ) ˆ,, ( , , ) ( , , ) ( 0) T tt m m ij ij t i j N ql T t t t m m ij ij ij t i j t i q t j l Y Y q l Q t i q t j l Y Y Y               1 (15) 1 2 1 1 1 ,2 1 1 , , , ˆ( , ) ( , )[ ] ( 0) ˆ ( , ) ( , ) ( 0) ij ql ij i j N q l Q ij i j q l i q j l Y Y i q j l Y               

(16) arg arg 1 1 ,2 arg arg , , , ˆ( , , ) ( , , )[ ] ( 0) ˆ2, ( , , ) ( , , ) ( 0) t t t m m ij ql ij ij i j N q l Q t t m m ij i j q l t i q t j l Y Y Y t t i q t j l Y                  

(17) In order to complete the description of the algorithm, we provide the equation to update the parameter  ,iq and the initial distribution q . First of all, considering the initial value of the parameter  ,iq to optimize  ,J  is usually somewhat complicated.

By ignoring the dependency of  ,iq in the function J, we can solve the value of the following update parameter  ,iq :

   ˆ ,1 1 2 11 ' 1 ˆ2, , , ( ( ; , , )) QN jl q ij qljl i q Q i q Y              

(18) Now, since the parameter is not a free parameter  , you can't get it through the maximization function J, but it's a stable distribution with the transfer matrix  . So,  arg 1ˆ ˆ, , , TN qm ti q Q t i qNT     

(19) All the EM algorithm based processes are looking for local maximum of their target function and carefully setting the initial value is the key to success. For static SBM, the adjacency matrix in the VEM process often relies on k-means algorithm to obtain an initial clustering of individuals. In our case, the dynamic aspects of the data need to be handled appropriately. We choose to connect in a data matrix of the line running on k - means to initialize our VEM process, here the connection of the data matrix contains a continuous step when all are listed in a block of adjacency matrix tY .

4. Simulations

In this section, we will discuss the performance of the method of clustering nodes in different time steps. We use the composite dataset created below. We consider the time steps for N = 20 nodes and T = 5. We assume Q = 2 and transition probability matrix:

0.75 0.25 0.25 0.75 low  and 0.8 0.2 0.2 0.8 high  . We assume that the steady distribution in this case is (0.5,0.5)  . As for Bernoulli parameters, we choose 0.3 0.1 0.1 0.2  . We generate 100 data sets, estimate their parameters and calculate the Mean-squared error (MSE) for estimation. Table 1 shows the MSE for each parameter

Table 1. MSE for estimation of parameter

  2  MSE( low ) 0.01682811 0.05480279 0.0003335684 0.0801884 MSE( high ) 0.02364621 0.05343047 0.0004315732 0.0637456

5. Conclusions

In this paper, we propose a new model which combines the SBMs, the hidden structure in markov process and the autoregressive model. We conduct statistical modeling and apply the VEM algorithm to iteratively calculate the parameter estimates. Finally, through the MSE in the simulation experiment we can see that the estimations of the parameters have good identifiability and consistency.

There are also many aspects that need to be improved. For example, we should apply our method to the real data. Like the previous job, the estimation of the sparse parameter  is poor. The next task should create a more elaborate model for the sparse parameter  .

Figures

Article figure
Article figure
Article figure
Article figure