HiddenMarkov Pred
HiddenMarkov Pred
I. INTRODUCTION
WLAN is now the choice for a LAN at present. They are
easily deployable and ensure quick connectivity among
laptop, PDA and other mobile devices. An access point
(AP) is a device that creates wireless connectivity with a
station (STA) within their WLAN. An access point
supports a particular number of devices at a time. These
numbers are changing since new mobile devices come
within the LAN and existing mobile devices leave by. As
a result, there are changes in the number of users who are
supported by an AP at a time unlike a hub or router of a
fixed network whose number of clients is fixed. As the
number of users is changing within a WLAN, so is the
amount of traffic.
The boundaries of WLANs are not well-defined from
one moment the next, mostly due to the mobility of the
nodes (the addressable units of the WLAN). At one
977
Pr( X n 1
x | Xn
= Pr( X n 1
x n ,..., X 1
x | Xn
x1 )
xn )
(1)
{1,2,3,..., N 1, N } .
(2)
3 t ,i
Pr( S t
i ), i 1, 2, 3, , N
(3)
Aij
Pr( S t 1
j | St
i), i, j 1, 2, 3, N (4)
978
Connection ID
Time
Stamp IN
C6d41f77041b6b72
89f9fd9af1fb5476
2007-08-28
17:52:46
1ba6e1a57801fbd68
754f5a786f1daf4
2007-08-28
16:42:48
89c26264c5501119
676650110722f6f5
2007-08-28
16:33:48
A2b809b87878ba2d
54371ad0a696d1e6
2007-08-28
16:11:19
13c33027b1142bd2
d966e581824aadc7
2007-08-28
15:48:24
C620a55893b24504
4f06403b7db0ec1d
2007-08-28
14:55:23
TABLE I
DETAILS OF USER SESSION
Time
Node ID
User ID
Stamp Out
d919294205e44a1
24a3f7cc2b5aa569
cf18fac49c2db65f
NULL
5a4d080d3885ed1
7
9
d919294205e44a1
0115d2bb055e85c
2007-08-28
cf18fac49c2db65f
c0be89eeae7ddfd3
17:13:00
7
f
d919294205e44a1
2007-08-28
e6bbc2939f1abcec
cf18fac49c2db65f
16:42:52
f9fe85f45785d561
7
d919294205e44a1
2007-08-28
e6bbc2939f1abcec
cf18fac49c2db65f
16:20:51
f9fe85f45785d561
7
d919294205e44a1
ea1e3b4b418bdda
2007-08-28
cf18fac49c2db65f
4ccfae995e3d7dea
16:24:52
7
8
29b8ac284559a4e
d919294205e44a1
2007-08-28
6a447a4f2b5fef10
cf18fac49c2db65f
15:17:56
6
7
User MAC
f2129958494bf6
da5895e58f7ea6a
5bc
8dad09844457b0
d73d487e17fc8d
9493
7663756184a005
6baf9267c501b4
9d86
7663756184a005
6baf9267c501b4
9d86
3f15d887a41883
0f65642027fc6c7
cc6
ecfb5cbac5e3191
c970e19af35af9f
82
Incoming
Data
Outgoing
Data
285489
177490
1205807
224965
1117223
59685
765625
56922
122218210
40821009
12614543
375922
w t (i )
S1 , S 2 ,... S t 1
i, O1 , O2 ,..., Ot | O}
(5)
which gives the highest probability that partial
observation sequence and state sequence up to t=t can
have, when the current state is i. It is easy to observe that
the following recursive relationship holds.
>
(6)
where,
w 1 ( j ) S j b j (O1 ),1 d j d N
(7)
So the procedure to find the most likely state sequence
starts from calculation of w T ( j ),1 d j d N using
recursion in above equation, while always keeping a
pointer to the ``winning state'' in the maximum finding
operation. Finally the state
j*
j * , is found where
arg max w T ( j )
1d j d N
(8)
and starting from this state, the sequence of states is
back-tracked as the pointer in each state indicates. This
gives the required set of states. This whole algorithm can
be interpreted as a search in a graph whose nodes are
formed by the states of the HMM in each of the time
instant t, 1 d t d T .
V. DATA SETS
We have used trace files of wireless data. The files are
available at CRAWDAD (Community Resource for
Archiving Wireless Data) [18]. We have chosen two
different datasets to implement our scheme. The first
dataset [19] that we have used to model our scheme
contains summary of a connection that is created between
979
TABLE II
AP
AcadBldg10AP10
AcadBldg10AP11
AcadBldg10AP12
AcadBldg10AP13
AcadBldg10AP14
AcadBldg10AP15
AcadBldg10AP16
t0
0
0
0
0
0
9
0
t5
0
0
0
0
0
0
0
t6
0
0
0
23
0
0
0
t48
0
0
0
0
0
17
0
State
Low (1)
Mid (2)
High (3)
A(t) =
Alow,low
Amid,low
Ahigh,low
980
State
Low
Mid
High
0
0.427
0.000
0.000
1
0.309
0.242
0.120
2
0.073
0.172
0.440
3
0.058
0.095
0.200
TABLE V
INITIAL PROBABILITY MATRIX (S)
State
Probability
Low
0.928
Mid
0.068
High
0.004
State
Low
Mid
High
TABLE VI
STATE TRANSITION MATRIX (A)
Low
Mid
High
0.973
0.026
0.000
0.364
0.608
0.027
0.000
0.520
0.480
TABLE VIII
ACCURACY OF HMM VITERBI DECODER
Training Set Size
Prediction Set Size
Accuracy
7 days
60 days
82.64%
25 days
60 days
89.43%
60 days
60 days
91.52%
7 days
115 days
79.64%
25 days
115 days
86.54%
60 days
115 days
88.70%
TABLE VII
OBSERVATION MATRIX (B)
Observation Probability
4
5
6
7
8
0.038 0.036 0.019 0.020 0.008
0.117 0.100 0.097 0.045 0.035
0.120 0.000 0.080 0.040 0.000
9
0.003
0.017
0.000
10
0.002
0.007
0.000
11
0.001
0.047
0.000
12
0.001
0.010
0.000
13
0.002
0.012
0.000
14
0.003
0.002
0.000
981
Fig.3: Actual States and Predicted States by HMM (a closer snapshot of Fig. 4)
Fig.4: Actual States and Predicted States by HMM for 115 days performed by HMM.
transition between actual states. We see in Table VIII, as
we increase the training data size from 7 days to 25 days
and then to 60 days, prediction accuracy for the next 115
days increases from 79% to 86% to 88% respectively.
Ek
k, j
(9)
j 1
a k ,i
E i E i 1
(10)
982
Fig.8. Actual States and Predicted States by HMM for 115 days performed by MM.
983
TABLE IX
TRAINING DATA, PREDICTED DATA, AND ACCURACY OF MARKOV O(1) AND O(2) PREDICTOR
No
1
2
3
4
5
6
7
8
9
10
11
Training Set
Day 1 to Day 7
Day 1 to Day 25
Day 1 to Day 40
Day 1 to Day 50
Day 1 to Day 25
Day 1 to 40
Day 1 to Day 25 and Day 100 to Day 125
Day 1 to Day 25
Day 1 to Day 25 and Day 100 to Day 125
Day 1 to Day 25 and Day 100 to Day 125 and Day 200 to Day 225
Day 1 to Day 25 and Day 100 to Day 125 and Day 226 to Day 250
Predicted Set
Day 8 to Day 100
Day 26 to Day 100
Day 41 to Day 100
Day 51 to Day 100
Day 26 to Day 200
Day 41 to 200
Day 26 to Day 200
Day 26 to Day 300
Day 26 to Day 300
Day 26 to Day 300
Day 26 to Day 300
Accuracy of O(1)
69.05%
87.61%
91.80%
95.55%
75.05%
75.50%
78.77%
69.06%
72.22%
69.86%
84.62%
Accuracy of O(2)
69.23%
87.46%
91.99%
93.29%
75.10%
77.22%
78.74%
68.99%
72.22%
69.87%
66.81%
Trainin
g Set
Size
(HMM)
7
25
25
60
Predictio
n Set
Size
(HMM)
30
45
60
60
Accurac
y
(HMM)
84.72%
88.59%
88.76%
91.52%
Trainin
g Set
Size
(MM)
30
45
60
60
Predictio
n Set
Size
(MM)
115
115
115
115
Accura
cy
(MM)
83.89%
86.66%
86.51%
88.71%
984
Vehicular
Ad
Hoc
Networks,
2332
IEEE
TRANSACTIONS ON VEHICULAR TECHNOLOGY,
VOL. 56, NO. 4, JULY 2007..
Yantai SHU, Minfang YU, Oliver YANG, Jiakun LIU4
and Huifang FENG1 Wireless Traffic Modeling and
Prediction Using Seasonal ARIMA Models, IEICE
Transactions on Communications 2005, E88-B(10):39923999; doi:10.1093/ietcom/e88-b.10.3992.
Huifang Feng and Yantai Shu, Study on Network Traffic
Prediction Techniques, Wireless Communications,
Networking and Mobile Computing, 2005. Proceedings.
2005 International Conference on, Volume: 2, ISBN: 07803-9335-X , pp. 1041- 1044, Sept.2005.
A One-Step Network Traffic Prediction, Xiangyang Mu,
Nan Tang, Weixin Gao, Lin Li, Yatong Zhou, Lecture
Notes In Artificial Intelligence, Proceedings of the 4th
international conference on Intelligent Computing:
Advanced Intelligent Computing Theories and Applications
- with Aspects of Artificial Intelligence; Vol. 5227.
R. A. Howard, Dynamic Probabilistic Systems, Vol. I:
Markov Models, New York: Wiley, 1971.
W. Hsu, T. Spyropoulos, K.Psounis and A. Helmy,
Modeling Time-variant User Mobility in Wireless Mobile
Networks, Proceedings of IEEE INFOCOM 2007.
H. S. Wang and P.-C. Chang, On Verifying the First
Order Markovian Assumption for a Rayleigh Fading
Channel Model, IEEE Transactions on Vehicular
Technology, Vol. 45, pp. 353357, , May 1996.
Lawrence, R.Rabiner, Fellow IEEE, A Tutorial On
Hidden Markov Model and Selected Applications in
Speech Recognition, Readings in speech recognition,
ISBN:1-55860-124-4, pp. 267 296, 1990.
http://crawdad.cs.dartmouth.edu/.
http://crawdad.cs.dartmouth.edu/meta.php?name=ilesansfil
/wifidog.
http://www.ics.uci.edu/~rex/ics273a/.
REFERENCES
[1] Song, L. Deshpande, U. Kozat, U. C. Kotz, D. Jain,
R. Predictability of WLAN Mobility and Its Effects on
Bandwidth Provisioning INFOCOM 2006. 25th IEEE
International Conference on Computer Communications.
Proceedings, ISSN: 0743-166X, ISBN: 1-4244-0221-2, pp.
1-13, April 2006
[2] Minkyong Kim, David Kotz Modeling users' mobility
among WiFi access points, International Conference On
Mobile Systems, Applications And Services, 2005
workshop on Wireless traffic measurements and modeling,
Seattle, Washington, ISBN:1-931971-33-1, pp.19 24,
2005.
[3] Shih-An Chen,Yang-Han Lee, Yen, R.Y, Yu-Jie Zheng,
Chih-Hui Ko, Shiann-Tsong Sheu, Meng-Hong Chen,
Optimal prediction tool for wireless LAN using genetic
algorithmand neural network concept Communications,
1999. APCC/OECC '99. Fifth Asia-Pacific Conference on
and Fourth Optoelectronics and Communications
Conference, Beijing, China, ISBN: 7-5635-0402-8, pp.
786-789 vol.1, 1999.
[4] Kang Yong Lee Kee-Seong Cho Byung-Sun Lee,
Efficient Traffic Prediction Algorithm of Mutimedia
Traffic for Scheduling the Wireless Network Resources,
Consumer Electronics, 2007. ISCE 2007. IEEE
International Symposium on, ISBN: 978-1-4244-1109-2,
pp.1-5,June 2007.
[5] Faisal B. Hussain, Yalcin Cebi, and Ghalib A. Shah, A
multievent congestion control protocol for wireless sensor
network EURASIP Journal on Wireless Communications
and Networking Volume 2008 (2008), Article ID 803271,
doi:10.1155/2008/803271.
[6] Zawodniok, Maciej and Jagannathan, Sarangapani.
Predictive congestion control MAC protocol for Wireless
Sensor Networks, International Conference on Control
and Automation, ICCA '05, vol. 1, pp. 185-190, 2005.
[7] Yong-Bin Kang, Sung-Soo Kim, A fastest route planning
for LBS based on traffic prediction, Proceedings of the
9th WSEAS International Conference on, Athens, Greece,
ISBN:960-8457-29-7, Article No. 69, 2005.
[8] Shouyi Yin, Yongqiang Xiong, Qian Zhang, Xiaokang Lin,
Traffic-aware routing for real-time communications in
wireless multi-hop networks, Wireless Communications
& Mobile Computing,Volume6 , Issue 6, ISSN:1530-8669,
pp. 825 843, 2006.
[9] Meng, L.M. Zang, J.X. Fu, W.H. Xu, Z.J, A novel ad
hoc routing protocol research based on mobility prediction
algorithm, International Conference on Wireless
Communications, Networking and Mobile Computing,
2005. Proceedings. 2005, ISBN: 0-7803-9335-X, Volume:
2, pp. 791- 794, Sept. 2005.
[10] Vinod Namboodiri, Student Member, IEEE, and Lixin
Gao, Member, IEEE, Prediction-Based Routing for
[11]
[12]
[13]
[14]
[15]
[16]
[17]
[18]
[19]
[20]