Self-Similarity of Network Data Analysis explained

In computer networks, self-similarity is a feature of network data transfer dynamics. When modeling network data dynamics the traditional time series models, such as an autoregressive moving average model are not appropriate. This is because these models only provide a finite number of parameters in the model and thus interaction in a finite time window, but the network data usually have a long-range dependent temporal structure. A self-similar process is one way of modeling network data dynamics with such a long range correlation. This article defines and describes network data transfer dynamics in the context of a self-similar process. Properties of the process are shown and methods are given for graphing and estimating parameters modeling the self-similarity of network data.

Definition

Suppose

X

be a weakly stationary (2nd-order stationary) processwith mean

\mu

, variance

\sigma2

, and autocorrelation function

\gamma(t)

.Assume that the autocorrelation function

\gamma(t)

has the form

\gamma(t)t-\betaL(t)

as

t\toinfty

, where

0<\beta<1

and

L(t)

is a slowly varying function at infinity, that is

\limt\toinfty

L(tx)
L(t)

=1

for all

x>0

.For example,

L(t)=const

and

L(t)=log(t)

are slowly varying functions.
Let
(m)
X=
k
1
mH

(Xkm-m+1+ ⋅ ⋅ ⋅ +Xkm)

,where

k=1,2,3,\ldots

, denote an aggregated point series over non-overlapping blocks of size

m

, for each

m

is a positive integer.

Exactly self-similar process

X

is called an exactly self-similar process if there exists a self-similar parameter

H

such that
(m)
X
k
has the same distribution as

X

. An example of exactly self-similar process with

H

is Fractional Gaussian Noise (FGN) with
1
2

<H<1

.Definition:Fractional Gaussian Noise (FGN)

X(t)=BH(t+1)-BH(t),~\forallt\geq1

is called the Fractional Gaussian Noise, where

BH()

is a Fractional Brownian motion.[1]

exactly second order self-similar process

X

is called an exactly second order self-similar process if there exists a self-similar parameter

H

such that
(m)
X
k
has the same variance and autocorrelation as

X

.

asymptotic second order self-similar process

X

is called an asymptotic second order self-similar process with self-similar parameter

H

if

\gamma(m)(t)\to

1
2

[(t+1)2H-2t2H+(t-1)2H]

as

m\toinfty

,

~\forallt=1,2,3,\ldots

Some relative situations of Self-Similar Processes

Long-Range-Dependence(LRD)

Suppose

X(t)

be a weakly stationary (2nd-order stationary) process with mean

\mu

and variance

\sigma2

. The Autocorrelation Function (ACF) of lag

t

is given by

\gamma(t)={cov(X(h),X(h+t))\over\sigma2}={E[(X(h)-\mu)(X(h+t)-\mu)]\over\sigma2}

Definition:A weakly stationary process is said to be "Long-Range-Dependence" if
infty
\sum
t=0

|\gamma(t)|=infty

A process which satisfies

\gamma(t)t-\betaL(t)

as

t\toinfty

is said to have long-range dependence. The spectral density function of long-range dependence follows a power law near the origin. Equivalently to

\gamma(t)t-\betaL(t)

,

X

has long-range dependence if the spectral density function of autocorrelation function,

ft(w)=\sum

infty
t=0

\gamma(t)eiwt

, has the form of

w-\gammaL(w)

as

w\to0

where

0<\gamma<1

,

L

is slowly varying at 0.

also see

Slowly decaying variances

X(m)=

1
m

(X1+ ⋅ ⋅ ⋅ +Xm)


When an autocorrelation function of a self-similar process satisfies

\gamma(t)t-\betaL(t)

as

t\toinfty

, that means it also satisfies

Var(X(m))\toam-\beta

as

m\toinfty

, where

a

is a finite positive constant independent of m, and 0<β<1.

Estimating the self-similarity parameter "H"

R/S analysis

Assume that the underlying process

X

is Fractional Gaussian Noise. Consider the series

X(1),\ldots,X(n)

, and let

Y(n)=

n
\sum
i=1

X(i)

.
The sample variance of

X(i)

is
2(n)=1
n
S
n
\sum
i=1
2
X-(
(i)
1
n

)2Y

2
n
Definition:R/S statistic
R(n)=
S
1
S(n)

[max0\leq(Yt-

t
n

Yn)-min0\leq(Yt-

t
n

Yn)]


If

X(i)

is FGN, then
E(R
S

(n))\toCH x nH


Consider fitting a regression model :
logR
S

(n)=log(CH)+Hlog(n)+\epsilonn

, where

\epsilonn\thicksimN(0,\sigma2)


In particular for a time series of length

N

divide the time series data into

k

groups each of size
N
k
, compute
R
S

(n)

for each group.
Thus for each n we have

k

pairs of data (
log(n),logR
S

(n)

).There are

k

points for each

n

, so we can fit a regression model to estimate

H

more accurately. If the slope of the regression line is between 0.5~1, it is a self-similar process.

Variance-time plot

Variance of the sample mean is given by

Var(\bar{X}n)\tocn2H-2,~\forallc>0

.
For estimating H, calculate sample means

\bar{X}1,\bar{X}2,,\bar{X}

mk
for

mk

sub-series of length

k

.
Overall mean can be given by
\bar{X}(k)=1
mk
mk
\sum
i=1

\bar{X}i(k)

, sample variance
2(k)=1
mk-1
S
mk
\sum
i=1
2
(\bar{X}
i(k)-\bar{X}(k))
.
The variance-time plots are obtained by plotting

logS2(k)

against

logk

and we can fit a simple least square line through the resulting points in the plane ignoring the small values of k.

For large values of

k

, the points in the plot are expected to be scattered around a straight line with a negative slope

2H-2

.For short-range dependence or independence among the observations, the slope of the straight line is equal to -1.
Self-similarity can be inferred from the values of the estimated slope which is asymptotically between –1 and 0, and an estimate for the degree of self-similarity is given by
\hat{H}=1+1
2

(slope).

Periodogram-based analysis

Whittle's approximate maximum likelihood estimator (MLE) is applied to solve the Hurst's parameter via the spectral density of

X

. It is not only a tool for visualizing the Hurst's parameter, but also a method to do some statistical inference about the parameters via the asymptotic properties of the MLE. In particular,

X

follows a Gaussian process. Let the spectral density of

X

,

fx(w;\theta)=\sigma

2
\epsilon

fx(w;(1,η))

, where
2,H,\theta
\theta=(\sigma
3,\ldots,\theta
k),H=\gamma+1
2
, and

\theta3,\ldots,\thetak

construct a short-range time series autoregression (AR) model, that is

Xj=\sum

k
i=1

\alphaiXj-i+\epsilonj

,with

Var(\epsilonj)=\sigma

2
\epsilon
.

Thus, the Whittle's estimator

\hat{η}

of

η

minimizesthe function
\pi
Q(η)=\int
-\pi
I(w)
f(w;(1,η))

dw

, where

I(w)

denotes the periodogram of X as

(2\pin)-1

n
|\sum
j=1
iwj
X
je

|2

and
\pi
\hat{\sigma}
-\pi
I(w)
f(w;(1,\hat{η

))}dw

. These integrations can be assessed by Riemann sum.
Then

n1/2(\hat{\theta}-\theta)

asymptotically follows a normal distribution if

Xj

can be expressed as a form of an infinite moving average model.To estimate

H

, first, one has to calculate this periodogram. Since

In(w)

is an estimator of the spectral density, a series with long-range dependence should have a periodogram, which is proportional to

|λ|1-2H

close to the origin. The periodogram plot is obtained by plotting

log(In(w))

against

log(w)

.
Then fitting a regression model of the

log(In(w))

on the

log(w)

should give a slope of

\hat{\beta}

. The slope of the fitted straight line is also the estimation of

1-2H

. Thus, the estimation

\hat{H}

is obtained.

Note:
There are two common problems when we apply the periodogram method. First, if the data does not follow a Gaussian distribution, transformation of the data can solve this kind of problems. Second, the sample spectrum which deviates from the assumed spectral density is another one. An aggregation method is suggested to solve this problem. If

X

is a Gaussian process and the spectral density function of

X

satisfies

w-\gammaL(w)

as

w\toinfty

, the function,

m-H

-1
2
L
mk
(m)\sum
i=(j-1)m+1

(Xi-E(|Xi|)),~j=1,2,\ldots,[\tfrac{n}{m}]

, converges in distribution to FGN as

m\toinfty

.

References

Notes and References

  1. W. E. Leland, W. Willinger, M. S. Taqqu, D. V. Wilson, "On the self-similar nature of Ethernet traffic", ACM SIGCOMM Computer Communication Review 25,202-213,1995.