CS-541 Wireless Sensor Networks: Lecture 8: Data Models and Data Acquisition
CS-541 Wireless Sensor Networks: Lecture 8: Data Models and Data Acquisition
Sensor ID
Time 10
15
20
25
30
35
40
45
50
10 20 30 40 50 60 70 80 90 100
Sampling Instance
Spatial Field
CS-541 Wireless Sensor Networks
Spring Semester 2016-2017 2
University of Crete, Computer Science Department
Sampling a WSN
Sensor
?
? ?
Time
? ? ?
? ? ?
?
? ?
? ? ?
Rank=2
T
s1 0 0
0 0
M U V
0 0 sn
Properties
• The si are called the singular values of M
• If M is singular, some of the si will be 0
• In general rank(M) = number of nonzero si
• SVD is mostly unique (up to permutation of SV)
• Denoising
• Dimensionality reduction
Matrix norms
mij
2
• Frobenius norm can be computed from SVD M F
i j
si
2
• Changes to a matrix ↔ changes to singular values M F
i
M k i 1 i u v
k T
column notation: sum
i i
of rank 1 matrices
min M X F
M Mk F
k 1
X :rank ( X ) k
Low rank
Percentage of zeros
0,8
Power consumption
0,6
Packet losses
0,4
Temporal sampling of WSN
0,2
• Sampling rate
0
• De-synchronization 10 30 60 120 180
1 2 3 1 2 3 1 2 3
4 5 6 4 5 6 4 5 6
7 8 9 7 8 9 7 8 9
14:15
13:00
13:30
14:00
14:30
15:00
13:45
13:00
14:00
15:00
13:00
13:15
13:30
14:00
CS-541 Wireless Sensor Networks
Spring Semester 2016-2017 15
University of Crete, Computer Science Department
Matrix completion
Let be a measurement
matrix consisting of s measurements from n different
sources.
Recovery of M is possible from k<<ns random entries
if matrix M is low rank and
To recover the unknown matrix, solve:
Sampling operator
is upper bounded by
0 such that max( (U ), (V )) 0
Relaxation
* 2 (2 p ) min(n1 , n2 )
Performance M M 4 2 ,
F p
m
where p fraction of known entries
n1n2 n1n2
Noisy case
• Reformulation
• Let y=A(M)
SVD
Combinatorial
objective
Convex
relaxation
Recommendation systems
• Matrix (user, preference/quality/intention)
Sensor localization
• Matrix (location, physical quantity)
Data recovery in Wireless Sensor Networks
• Matrix (sensor, time)
Estimation Error
Sensor Node
Sensor Node
Estimation Error
• Dataset
• Testbed @ FORTH (144m2, 1x1m grid)
• RSSI values (channel quality)
• 13 IEEE802.11b/g channels
Number of nodes
CS-541 Wireless Sensor Networks
Spring Semester 2016-2017 36
University of Crete, Computer Science Department
Robust PCA
•Centralized
Time
Time
Access to resources
B
Controlled environment B
Time
• Decentralized
Time
Increased network lifetime
Autonomy A B C D A B C D
Time
Time
Performance comparison
• Per sensor vs. collective
• Temporal resolution
CS-541 Wireless Sensor Networks
Spring Semester 2016-2017 39
University of Crete, Computer Science Department
9 10
10 10
matrix [50] x [72] - data per hour Sensor 1 - Single Sensor Recovery
matrix [50] x [36] - data per 2 hours Sensor 1 - Collective Sensor Recovery
matrix [50] x [18] - data per 4 hours Sensor 2 - Single Sensor Recovery
9
matrix [50] x [9] - data per 8 hours 10 Sensor 2 - Collective Sensor Recovery
8
10
MSE
MSE
8
10
7
10
7
10
6 6
10 10
0 0.2 0.4 0.6 0.8 1 0 0.2 0.4 0.6 0.8 1
Fill Ratio Fill Ratio
10 9
10 10
Sensor 1: [50] x [72] Sensor 2: [50] x [72]
Sensor 1: [50] x [36] Sensor 2: [50] x [36]
Sensor 1: [50] x [18] Sensor 2: [50] x [18]
9
10 Sensor 1: [50] x [9] Sensor 2: [50] x [9]
8
10
MSE
MSE
8
10
7
10
7
10
6 6
10 10
0 0.2 0.4 0.6 0.8 1 0 0.2 0.4 0.6 0.8 1
Fill Ratio Fill Ratio
CS-541 Wireless Sensor Networks 40
Spring Semester 2016-2017
University of Crete, Computer Science Department
Tensors analysis
V
Day factor
Hours
[1-24] X ≈ U
Day [1-365]
Location factor
Location [1-100]
• CP factorization:
? ?
? ?
? ? n
?
? ? ?
(P1)
Challenges
Nuclear norm is not separable
Mardani M. et al. , “Distributed
Global optimization variable Nuclear Norm Minimization
for Matrix Completion” SPAWC 2012
Lxρ
≥rank[X]
New formulation equivalent to (P1)
(P2)
(P3)
Consensus with
neighboring nodes