SYNOPSIS DIFFUSION For Robust Aggregation in Sensor Networks Suman Nath, Phillip B. Gibbons, Srinivasan Seshan, Zachary R. Anderson Presented by Xander.

Slides:



Advertisements
Similar presentations
Michael Alves, Patrick Dugan, Robert Daniels, Carlos Vicuna
Advertisements

Fast Algorithms For Hierarchical Range Histogram Constructions
Minimum Energy Mobile Wireless Networks IEEE JSAC 2001/10/18.
Distributed Clustering for Robust Aggregation in Large Networks Ittay Eyal, Idit Keidar, Raphi Rom Technion, Israel.
A Framework for Secure Data Aggregation in Sensor Networks Yi Yang Xinran Wang, Sencun Zhu and Guohong Cao The Pennsylvania State University MobiHoc’ 06.
CS4231 Parallel and Distributed Algorithms AY 2006/2007 Semester 2 Lecture 7 Instructor: Haifeng YU.
LightFlood: An Optimal Flooding Scheme for File Search in Unstructured P2P Systems Song Jiang, Lei Guo, and Xiaodong Zhang College of William and Mary.
SIA: Secure Information Aggregation in Sensor Networks Bartosz Przydatek, Dawn Song, Adrian Perrig Carnegie Mellon University Carl Hartung CSCI 7143: Secure.
Probabilistic Aggregation in Distributed Networks Ling Huang, Ben Zhao, Anthony Joseph and John Kubiatowicz {hling, ravenben, adj,
Practical Belief Propagation in Wireless Sensor Networks Bracha Hod Based on a joint work with: Danny Dolev, Tal Anker and Danny Bickson The Hebrew University.
DNA Research Group 1 CountTorrent: Ubiquitous Access to Query Aggregates in Dynamic and Mobile Sensor Networks Abhinav Kamra, Vishal Misra and Dan Rubenstein.
1 Algorithms for Large Data Sets Ziv Bar-Yossef Lecture 8 May 4, 2005
Chapter 4 - Self-Stabilizing Algorithms for Model Conservation4-1 Chapter 4: roadmap 4.1 Token Passing: Converting a Central Daemon to read/write 4.2 Data-Link.
More routing protocols Alec Woo June 18 th, 2002.
1 Distributed Streams Algorithms for Sliding Windows Phillip B. Gibbons, Srikanta Tirthapura.
On the Construction of Energy- Efficient Broadcast Tree with Hitch-hiking in Wireless Networks Source: 2004 International Performance Computing and Communications.
Tributaries and Deltas: Efficient and Robust Aggregation in Sensor Network Streams Amit Manjhi, Suman Nath, Phillip B. Gibbons Carnegie Mellon University.
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems
Distributed Clustering for Robust Aggregation in Large Networks Ittay Eyal, Idit Keidar, Raphi Rom Technion, Israel.
Probabilistic Data Aggregation Ling Huang, Ben Zhao, Anthony Joseph Sahara Retreat January, 2004.
Presented by Ozgur D. Sahin. Outline Introduction Neighborhood Functions ANF Algorithm Modifications Experimental Results Data Mining using ANF Conclusions.
Time-Decaying Sketches for Sensor Data Aggregation Graham Cormode AT&T Labs, Research Srikanta Tirthapura Dept. of Electrical and Computer Engineering.
Approximate Aggregation Techniques for Sensor Databases John Byers Department of Computer Science Boston University Joint work with Jeffrey Considine,
Vassilios V. Dimakopoulos and Evaggelia Pitoura Distributed Data Management Lab Dept. of Computer Science, Univ. of Ioannina, Greece
LPT for Data Aggregation in Wireless Sensor networks Marc Lee and Vincent W.S Wong Department of Electrical and Computer Engineering, University of British.
Online Data Gathering for Maximizing Network Lifetime in Sensor Networks IEEE transactions on Mobile Computing Weifa Liang, YuZhen Liu.
Probability Grid: A Location Estimation Scheme for Wireless Sensor Networks Presented by cychen Date : 3/7 In Secon (Sensor and Ad Hoc Communications and.
Xingbo Yu ()ICS280sensors Winter 2005 Tributaries and Deltas: Efficient and Robust Aggregation in Sensor Networks A.ManJhi, S. Nath P. Gibbons CMU.
TiZo-MAC The TIME-ZONE PROTOCOL for mobile wireless sensor networks by Antonio G. Ruzzelli Supervisor : Paul Havinga This work is performed as part of.
CS 580S Sensor Networks and Systems Professor Kyoung Don Kang Lecture 7 February 13, 2006.
A Node-Centric Load Balancing Algorithm for Wireless Sensor Networks Hui Dai, Richar Han Department of Computer Science University of Colorado at Boulder.
Hashed Samples Selectivity Estimators for Set Similarity Selection Queries.
Johannes PODC 2009 –1 Coloring Unstructured Wireless Multi-Hop Networks Johannes Schneider Roger Wattenhofer TexPoint fonts used in EMF. Read.
TAG: a Tiny Aggregation Service for Ad-Hoc Sensor Networks Paper By : Samuel Madden, Michael J. Franklin, Joseph Hellerstein, and Wei Hong Instructor :
CS2510 Fault Tolerance and Privacy in Wireless Sensor Networks partially based on presentation by Sameh Gobriel.
Minimal Hop Count Path Routing Algorithm for Mobile Sensor Networks Jae-Young Choi, Jun-Hui Lee, and Yeong-Jee Chung Dept. of Computer Engineering, College.
Network and Communications Ju Wang Chapter 5 Routing Algorithm Adopted from Choi’s notes Virginia Commonwealth University.
RELAX : An Energy Efficient Multipath Routing Protocol for Wireless Sensor Networks Bashir Yahya, Jalel Ben-Othman University of Versailles, France ICC.
1 A Bidding Protocol for Deploying Mobile Sensors GuilingWang, Guohong Cao, and Tom LaPorta Department of Computer Science & Engineering The Pennsylvania.
Review for Exam 2. Topics included Deadlock detection Resource and communication deadlock Graph algorithms: Routing, spanning tree, MST, leader election.
EBAS: An Energy-Efficient Event Boundary Approximated Suppression Algorithm in Wireless Sensor Networks Longjiang Guo Heilongjiang University
Dave McKenney 1.  Introduction  Algorithms/Approaches  Tiny Aggregation (TAG)  Synopsis Diffusion (SD)  Tributaries and Deltas (TD)  OPAG  Exact.
SIA: Secure Information Aggregation in Sensor Networks B. Przydatek, D. Song, and A. Perrig. In Proc. of ACM SenSys 2003 Natalia Stakhanova cs610.
REED: Robust, Efficient Filtering and Event Detection in Sensor Networks Daniel Abadi, Samuel Madden, Wolfgang Lindner MIT United States VLDB 2005.
1 REED: Robust, Efficient Filtering and Event Detection in Sensor Networks Daniel Abadi, Samuel Madden, Wolfgang Lindner MIT United States VLDB 2005.
Neighborhood-Based Topology Recognition in Sensor Networks S.P. Fekete, A. Kröller, D. Pfisterer, S. Fischer, and C. Buschmann Corby Ziesman.
DATA AGGREGATION Siddhartha Sarkar Roll no: CSE-4 th Year-7 th semester Sensor Networks (CS 704D) Assignment.
1 Shape Segmentation and Applications in Sensor Networks Xianjin Xhu, Rik Sarkar, Jie Gao Department of CS, Stony Brook University INFOCOM 2007.
When processing is cheaper than transmitting Daniel V Uhlig Maryam Rahmaniheris 1.
CountTorrent: Ubiquitous Access to Query Aggregates in Dynamic and Mobile Sensor Networks Abhinav Kamra, Vishal Misra and Dan Rubenstein - Columbia University.
Dr. Sudharman K. Jayaweera and Amila Kariyapperuma ECE Department University of New Mexico Ankur Sharma Department of ECE Indian Institute of Technology,
LightFlood: An Efficient Flooding Scheme for File Search in Unstructured P2P Systems Song Jiang, Lei Guo, and Xiaodong Zhang College of William and Mary.
1 Approximate XML Query Answers Presenter: Hongyu Guo Authors: N. polyzotis, M. Garofalakis, Y. Ioannidis.
By: Gang Zhou Computer Science Department University of Virginia 1 Medians and Beyond: New Aggregation Techniques for Sensor Networks CS851 Seminar Presentation.
Classification and Prediction: Ensemble Methods Bamshad Mobasher DePaul University Bamshad Mobasher DePaul University.
A Framework for Reliable Routing in Mobile Ad Hoc Networks Zhenqiang Ye Srikanth V. Krishnamurthy Satish K. Tripathi.
Graph Algorithms Why graph algorithms ? It is not a “graph theory” course! Many problems in networks can be modeled as graph problems. Note that -The topology.
TreeCast: A Stateless Addressing and Routing Architecture for Sensor Networks Santashil PalChaudhuri, Shu Du, Ami K. Saha, and David B. Johnson Department.
Ben Miller.   A distributed algorithm is a type of parallel algorithm  They are designed to run on multiple interconnected processors  Separate parts.
COMMUNICATING VIA FIREFLIES: GEOGRAPHIC ROUTING ON DUTY-CYCLED SENSORS S. NATH, P. B. GIBBONS IPSN 2007.
Distributed cooperation and coordination using the Max-Sum algorithm
Construction of Optimal Data Aggregation Trees for Wireless Sensor Networks Deying Li, Jiannong Cao, Ming Liu, and Yuan Zheng Computer Communications and.
Written By: Presented By: Swarup Acharya,Amr Elkhatib Phillip B. Gibbons, Viswanath Poosala, Sridhar Ramaswamy Join Synopses for Approximate Query Answering.
Round-Efficient Broadcast Authentication Protocols for Fixed Topology Classes Haowen Chan, Adrian Perrig Carnegie Mellon University 1.
TAG: a Tiny AGgregation service for ad-hoc sensor networks Authors: Samuel Madden, Michael J. Franklin, Joseph M. Hellerstein, Wei Hong Presenter: Mingwei.
A paper on Join Synopses for Approximate Query Answering
TexPoint fonts used in EMF.
Range-Efficient Computation of F0 over Massive Data Streams
Yao-Chung Fan Multimedia and Knowledge Engineering Lab
Mitali Rawat, Sonu Agarwal, Sudarshan Avish Maru
Presentation transcript:

SYNOPSIS DIFFUSION For Robust Aggregation in Sensor Networks Suman Nath, Phillip B. Gibbons, Srinivasan Seshan, Zachary R. Anderson Presented by Xander Masotto

Motivation Our goal is to aggregate data collected from sensor nodes i.e. Count, Sum, Average, Rank We prefer solutions with: Low memory usage Low power consumption Tolerance of node and communication failures Aggregating data points in-the-network significantly reduces size of messages, thus saves power

Tree-based Aggregation Constructs a spanning tree Provides low power consumption Avoids double counting

Tree-based Aggregation Constructs a spanning tree Provides low power consumption Avoids double counting Not fault tolerant; if a node fails, we lose its entire subtree

DAG-based Aggregation Instead of a tree, let each node have k parents, and send each parent (1/K)th of the sensor information Reduces the expected error by a factor of K

DAG-based Aggregation Instead of a tree, let each node have k parents, and send each parent (1/K)th of the sensor information Reduces the expected error by a factor of K Can we do better than this? Every message contributes to the final answer, which means every node/communication failure increases error in the final answer

Synopsis Diffusion Allows sensor readings to have multiple paths to the querying node This is achieved by using duplicate-tolerant aggregation algorithms

Outline 1. Definition and analysis of ODI Synopses 2. Examples of ODI-correct Algorithms 3. Multi-path Aggregation Topologies 4. Evaluation

Synopses Synopses are partially aggregated results that give a summary of the data Synopses are generated by sensors, then passed between nodes and merged together. At the querying node, a synopsis is translated into a final answer. SG(sensor) = Synopsis generation SF(s1, s2) = Synopsis fusion SE(s) = Synopsis Generation

Synopses SG(sensor) = {(sensor.id, sensor.value)} SG(s1, s2) = union(s1, s2) SG(s) = sum over all values in s A B C {(A, 1)} {(B, 2)} {(C, 3)} {(A,1), (B,2)} {(B,2), (C,3)} {(A,1), (B,2), (C,3)} Answer: 6

SG(sensor) = {(sensor.id, sensor.value)} SF(s1, s2) = union(s1, s2) SE(s) = sum over all values in s Synopses A B C {(A, 1)} {(B, 2)} {(C, 3)} {(A,1), (B,2)} {(C,3)} {(A,1), (B,2), (C,3)} Answer: 6

ODI-Correctness Order and Duplicate Insensitivity SF(SG*(X), SG*(Y)) = SF(SG*(X), SG*(Y \ X)) Where X and Y are sets of sensors SG*(X) = SF(SG(x1), SF(SG(x2), …)) An aggregation algorithm is ODI-correct if and only if: SG() preserves duplicates (same sensor, same synopsis) SF() is Commutative: SF(s1, s2) = SF(s2, s1) SF() is Associative: SF(s1, SF(s2, s3)) = SF(SF(s1, s2), s3) SF() is Idempotent: SF(s, s) = s

ODI-Correct Count We want to count the number of distinct elements in a multiset M With each element x, let h(x, j) be the jth bit of its hash Let SG(sensor) = S({sensor.id}) Let SF(s1, s2) = s1 | s2 ODI-Correct

ODI-Correct Count What does S(M) tell us about M? For a given h(x), Pr[min{h(x, j)=1} = i] = (½)^(i+1) It’s less probable for S(M)[i] to be set when i is large The more distinct elements, the more hashed values contribute to S(M), and so the more likely that *some* element has a prefix with a lot of zeros

ODI-Correct Count Fast, since number of iterations follows geometric series with p=1/2, so the expected value is 2 When implemented on a sensor node, additional computation cycles compared to ordinary count are negligible

ODI-Correct Sum We can easily extend our Count algorithm into summation over integers Let Expand(id, value) = {(id, 1), (id, 2) … (id, value)} Let SG(sensor) = S(Expand(sensor.id, sensor.value)) Let SF(s1, s2) = s1 | s2 In practice this is optimized, but basic idea is the same Can approximate real numbers by using a fixed-point numerical representation

Other Examples Mean (combine Sum and Count) Variance (E[X^2] – E[X]^2) Sampling K elements uniformly Associate a random number with every distinct value, collect the K largest numbers Ranking by Frequency Each synopsis keeps track of top K estimated counts Counts are estimated using ODI count synopses

Rings Topology Sensor nodes are divided into Rings The querying node is exclusively in Ring 0 A node is in Ring i+1 if it first hears about the query from a nodes in Ring i

Rings Topology Sensor nodes are loosely time synchronized Divided into epochs, answer produced after each one Each Ring i is given an allotted time, outer rings first For a leaf node: Let s = SG(self) Broadcast s For an internal node at Ring i: Let s = SG(self) Listen for messages: If received synopsis s’ from Ring (i+1) Set s = SF(s, s’) Broadcast s

Implicit Acks ODI-correctness provides a mechanism for acknowledgements without actually sending ack messages XYZ sx

Implicit Acks ODI-correctness provides a mechanism for acknowledgements without actually sending ack messages XYZ sy Check whether SF(sx, sy) = sy If true, then Y effectively received sx

Adaptive Rings Topology Use implicit acks in order to adjust the topology in order to improve message reliability Count the number of messages heard from nodes in rings i, i+1, and i+2 over the last W epochs Count the number of implicit acknowledgements heard from nodes in rings i-1 and i-2 over the last W epochs If n(i-1) < n(i+1) and n(i-1) < n(i) < n(i+2) then assign itself to ring i+1 with probability p If n(i+1) < n(i-1) and n(i+1) < n(i) < n(i-2) then assign itself to ring i-1 with probability p

Evaluation Tested the Sum aggregate on a deployment of 600 sensors randomly placed in a 20ft x 20ft grid Simulated over 500 epochs: TAG TAG2 (value splitting between 2 parents) RINGS ADAPTIVE RINGS FLOOD Every node broadcasts to all neighbors, run for D+1 steps where D is the max-distance from the query node Calculate the RMS error:

Thoughts Would be interesting to find ODI-Correct algorithms that work well for floating point data Replaced communication error with approximation error Replacing equipment, buying better transmitters, or strategically placing sensors won’t help fundamental limit of accuracy Was it fair to place nodes randomly? Is 0.13 an acceptable percent error? For calculating average, error in numerator and denominator can combine: 1.13 / 0.87 = 1.30 Distribution of error instead of just RMS? Are there algorithms that can be calculated in single-path topologies that can’t be approximated in multi-path?