Docsity

DataCleaning - Advanced Database System - Lecture Slides, Slides of Database Management Systems (DBMS)

Partial preview of the text

Download DataCleaning - Advanced Database System - Lecture Slides and more Slides Database Management Systems (DBMS) in PDF only on Docsity!

Adaptive Cleaning for

RFID Data Streams

3/28/

RFID: Radio Frequency IDentification

3/28/

RFID Data Cleaning

Time

Raw readings

Smoothed output

  • RFID data has many dropped readings
  • Typically, use a smoothing filter to interpolate

SELECT distinct tag_id FROM RFID_stream [RANGE ‘5 sec’] GROUP BY tag_id

But, how to set the size

of the window?

Smoothing Filter

3/28/

Window Size for RFID Smoothing

Fido moving Fido resting

Small window

Raw readings^ Reality

Large window

 Need to balance completeness vs. capturing tag movement

3/28/

Itinerary

  • Introduction: RFID data cleaning
  • A statistical sampling perspective
  • SMURF
    • Per-tag cleaning
    • Multi-tag cleaning
  • Ongoing work
  • Conclusions

3/28/

A Statistical Sampling Perspective

  • Key Insight : RFID data ≈ random sample of present tags
  • Map RFID smoothing to a sampling experiment

3/28/

RFID Smoothing to Sampling

RFID Sampling

Read cycle ( epoch ) Sample trial

Reading Single sample

Smoothing window Repeated trials

Read rate Probability of inclusion (p (^) i )

Now use sampling theory to drive adaptation!

3/28/

SMURF

  • S tatistical S m oothing for U nreliable RF ID Data
  • Adapts window based on statistical properties
  • Mechanisms for:
    • Per-tag and multi-tag cleaning

Multi-tag Cleaning

SMURF Per-tag Cleaning

raw RFID streams

cleaned count readings

cleaned per-tag readings

Application(s) Application(s)

3/28/

Per-Tag Smoothing: Completeness

  • If the tag is there, read it with high probabilityWant a large window

pi

1

0

Reading with a low p (^) i^ Expand the window

Time E0 E1 E2 E3 E4 E5 E6 E7 E8 E9 (epochs)

This image cannot currently be displayed.

3/28/

Per-Tag Smoothing: Completeness

Expected epochs needed to read

With probability 1- δ

Desired window size for tag i

 

  

 

 

 

 

δ

1 *ln

1 avg i

i p

w

3/28/

Per-Tag Smoothing: Transitions

expected

readings

Is the difference “statistically significant”?

observed

readings

avg i

avg i i

avg

S i − wi pi > w p − p

3/28/

SMURF in Action

Fido moving Fido resting

SMURF

 Experiments with real and simulated data show similar results

3/28/

Aggregate Computation

  • π –estimators (Horvitz-Thompson)
  • Count:
  • P[tag i seen in a window of size w]:

Use small windows to capture movement

Use the estimator to compensate for lost readings

∑ (^) ∈

∧

Nw i Sw π ι

avg w

π i = 1 −( 1 − pi )

3/28/

Window Adaptation

  • Upper bound window similar to per-tag
  • “Transition” based on variance within
subwindows 

δ

*ln
w p avg

Count

N (^) w

N (^) w’

Time E0 E1 E2 E3 E4 E5 E6 E7 E8 E9 (epochs)

 

 

 

  

  

  •   

  

>  ∧ ∧ 2 Var Nw Var Nw '