By: Gang Zhou Computer Science Department University of Virginia 1 Medians and Beyond: New Aggregation Techniques for Sensor Networks CS851 Seminar Presentation.

Slides:



Advertisements
Similar presentations
Energy-Efficient Distributed Algorithms for Ad hoc Wireless Networks Gopal Pandurangan Department of Computer Science Purdue University.
Advertisements

Evaluating “find a path” reachability queries P. Bouros 1, T. Dalamagas 2, S.Skiadopoulos 3, T. Sellis 1,2 1 National Technical University of Athens 2.
Fast Algorithms For Hierarchical Range Histogram Constructions
Rumor Routing in Sensor Networks David Braginsky and Deborah Estrin Presented By Tu Tran 1.
A Query-Based Routing Tree in Sensor Networks In Chul Song Yohan Roh Dongjoon Hyun Myoung Ho Kim GSN 2006 (Geosensor Network) 1.
1 Sensor Relocation in Mobile Sensor Networks Guiling Wang, Guohong Cao, Tom La Porta, and Wensheng Zhang Department of Computer Science & Engineering.
SIA: Secure Information Aggregation in Sensor Networks Bartosz Przydatek, Dawn Song, Adrian Perrig Carnegie Mellon University Carl Hartung CSCI 7143: Secure.
Approximating Sensor Network Queries Using In-Network Summaries Alexandra Meliou Carlos Guestrin Joseph Hellerstein.
CS2420: Lecture 19 Vladimir Kulyukin Computer Science Department Utah State University.
MBG 1 PODS 04, June 2004 Power Conserving Computation of Order-Statistics over Sensor Networks Michael B. Greenwald & Sanjeev Khanna Dept. of Computer.
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
IEEE INFOCOM 2005, Miami, FL RID: Radio Interference Detection in Wireless Sensor Networks Gang Zhou, Tian He, John A. Stankovic, Tarek F. Abdelzaher Computer.
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.
Extending Network Lifetime for Precision-Constrained Data Aggregation in Wireless Sensor Networks Xueyan Tang School of Computer Engineering Nanyang Technological.
Online Data Gathering for Maximizing Network Lifetime in Sensor Networks IEEE transactions on Mobile Computing Weifa Liang, YuZhen Liu.
Energy-efficient Self-adapting Online Linear Forecasting for Wireless Sensor Network Applications Jai-Jin Lim and Kang G. Shin Real-Time Computing Laboratory,
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.
CS 46B: Introduction to Data Structures July 30 Class Meeting Department of Computer Science San Jose State University Summer 2015 Instructor: Ron Mak.
1 Efficient packet classification using TCAMs Authors: Derek Pao, Yiu Keung Li and Peng Zhou Publisher: Computer Networks 2006 Present: Chen-Yu Lin Date:
CPSC 335 BTrees Dr. Marina Gavrilova Computer Science University of Calgary Canada.
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.
Distributed Constraint Optimization Michal Jakob Agent Technology Center, Dept. of Computer Science and Engineering, FEE, Czech Technical University A4M33MAS.
LPT for Data Aggregation in Wireless Sensor Networks Marc Lee and Vincent W.S. Wong Department of Electrical and Computer Engineering, University of British.
On the Construction of Data Aggregation Tree with Minimum Energy Cost in Wireless Sensor Networks: NP-Completeness and Approximation Algorithms National.
Efficient Gathering of Correlated Data in Sensor Networks
IPCCC’111 Assessing the Comparative Effectiveness of Map Construction Protocols in Wireless Sensor Networks Abdelmajid Khelil, Hanbin Chang, Neeraj Suri.
1 Chapter 1 Analysis Basics. 2 Chapter Outline What is analysis? What to count and consider Mathematical background Rates of growth Tournament method.
Department of Computer Science City University of Hong Kong Department of Computer Science City University of Hong Kong 1 Continuous Residual Energy Monitoring.
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.
Scalable Data Aggregation for Dynamic Events in Sensor Networks Kai-Wei Fan Kai-Wei Fan, Sha Liu, and Prasun.
Chapter 13 Query Processing Melissa Jamili CS 157B November 11, 2004.
Energy-Aware Scheduling with Quality of Surveillance Guarantee in Wireless Sensor Networks Jaehoon Jeong, Sarah Sharafkandi and David H.C. Du Dept. of.
Join Synopses for Approximate Query Answering Swarup Achrya Philip B. Gibbons Viswanath Poosala Sridhar Ramaswamy Presented by Bhushan Pachpande.
Join Synopses for Approximate Query Answering Swarup Acharya Phillip B. Gibbons Viswanath Poosala Sridhar Ramaswamy.
TAG: a Tiny Aggregation Service for Ad-Hoc Sensor Networks Authors: Samuel Madden, Michael Franklin, Joseph Hellerstein Presented by: Vikas Motwani CSE.
Towards Robust Indexing for Ranked Queries Dong Xin, Chen Chen, Jiawei Han Department of Computer Science University of Illinois at Urbana-Champaign VLDB.
COMPUTING AGGREGATES FOR MONITORING WIRELESS SENSOR NETWORKS Jerry Zhao, Ramesh Govindan, Deborah Estrin Presented by Hiren Shah.
Swarup Acharya Phillip B. Gibbons Viswanath Poosala Sridhar Ramaswamy Presented By Vinay Hoskere.
Adaptive Data Aggregation for Wireless Sensor Networks S. Jagannathan Rutledge-Emerson Distinguished Professor Department of Electrical and Computer Engineering.
© 2010 AT&T Intellectual Property. All rights reserved. AT&T and the AT&T logo are trademarks of AT&T Intellectual Property. Structure-Aware Sampling:
Computer Sciences Department1. Sorting algorithm 3 Chapter 6 3Computer Sciences Department Sorting algorithm 1  insertion sort Sorting algorithm 2.
Query Processing for Sensor Networks Yong Yao and Johannes Gehrke (Presentation: Anne Denton March 8, 2003)
Multi-Criteria Routing in Pervasive Environment with Sensors Santhanakrishnan, G., Li, Q., Beaver, J., Chrysanthis, P.K., Amer, A. and Labrinidis, A Department.
Secure and Highly-Available Aggregation Queries via Set Sampling Haifeng Yu National University of Singapore.
Sorting. Pseudocode of Insertion Sort Insertion Sort To sort array A[0..n-1], sort A[0..n-2] recursively and then insert A[n-1] in its proper place among.
1 Approximating Quantiles over Sliding Windows Srimathi Harinarayanan CMPS 565.
SIA: Secure Information Aggregation in Sensor Networks B. Przydatek, D. Song, and A. Perrig. In Proc. of ACM SenSys 2003 Natalia Stakhanova cs610.
1 Shape Segmentation and Applications in Sensor Networks Xianjin Xhu, Rik Sarkar, Jie Gao Department of CS, Stony Brook University INFOCOM 2007.
KAIS T Distributed cross-layer scheduling for In-network sensor query processing PERCOM (THU) Lee Cheol-Ki Network & Security Lab.
Dr. Sudharman K. Jayaweera and Amila Kariyapperuma ECE Department University of New Mexico Ankur Sharma Department of ECE Indian Institute of Technology,
1 Online Computation and Continuous Maintaining of Quantile Summaries Tian Xia Database CCIS Northeastern University April 16, 2004.
Space-Efficient Online Computation of Quantile Summaries SIGMOD 01 Michael Greenwald & Sanjeev Khanna Presented by ellery.
Aggregation and Secure Aggregation. Learning Objectives Understand why we need aggregation in WSNs Understand aggregation protocols in WSNs Understand.
XCluster Synopses for Structured XML Content Alkis Polyzotis (UC Santa Cruz) Minos Garofalakis (Intel Research, Berkeley)
@ Carnegie Mellon Databases 1 Finding Frequent Items in Distributed Data Streams Amit Manjhi V. Shkapenyuk, K. Dhamdhere, C. Olston Carnegie Mellon University.
TreeCast: A Stateless Addressing and Routing Architecture for Sensor Networks Santashil PalChaudhuri, Shu Du, Ami K. Saha, and David B. Johnson Department.
Aggregation and Secure Aggregation. [Aggre_1] Section 12 Why do we need Aggregation? Sensor networks – Event-based Systems Example Query: –What is the.
Written By: Presented By: Swarup Acharya,Amr Elkhatib Phillip B. Gibbons, Viswanath Poosala, Sridhar Ramaswamy Join Synopses for Approximate Query Answering.
The Design of an Acquisitional Query Processor For Sensor Networks Samuel Madden, Michael J. Franklin, Joseph M. Hellerstein, and Wei Hong Presentation.
Demetrios Zeinalipour-Yazti (Univ. of Cyprus)
Distributed database approach,
A paper on Join Synopses for Approximate Query Answering
Multidimensional Range Search
Data Structures: Segment Trees, Fenwick Trees
Optimal Merging Of Runs
Continuous Density Queries for Moving Objects
Presentation transcript:

By: Gang Zhou Computer Science Department University of Virginia 1 Medians and Beyond: New Aggregation Techniques for Sensor Networks CS851 Seminar Presentation

CS Gang Zhou 2 Outline  Motivations, State of Art, Contributions  The Q-Digest Scheme  Queries on Q-Digest  Experimental Evaluation  Conclusions Be prepared! I have questions for you! Be prepared! I have questions for you!

CS Gang Zhou 3 Motivations  Trade Computation for Communication  Transmitting one bit over radio is at least three orders of magnitude more expensive in terms of energy consumption than executing a single instruction  Support Aggregation Queries  Need aggregated answer, not a single raw reading  Quantile query  Nth  value  Reverse quantile query  Value  Nth  Consensus query  Most frequent?  Histogram

CS Gang Zhou 4 State of Art  TinyDB project in Berkeley & Cougar project in Cornell  Pros:  Energy efficient in-network data aggregation  Work very well in singleton sensor values  MIN, MAX, AVERAGE, SUM, COUNT  Cons:  Do not deal with complex aggregate measures  Median, Quantile, Reverse Quantile, Consensus  [Zhao et. al. 2003]  Algorithms for constructing summaries like MAX, AVG  Focus more on network monitoring and maintenance  [Przydatek et. al. 2003]  Secure aggregation

CS Gang Zhou 5 Contributions  Propose Q-Digest for Approximated Aggregation  Provide Strict Theoretical Guarantees on the Approximation Quality of the Queries in Terms of the Message Size  Evaluate the performance of Q-Digest in Simulation

CS Gang Zhou 6 Roadmap  Motivations, State of Art, Contributions  The Q-Digest Scheme  Queries on Q-Digest  Experimental Evaluation  Conclusions and Discussions

CS Gang Zhou 7 Properties of Q-Digest  Each node v in tree T is a bucket;  Whose range [v.min, v.max] defines the position and width of the bucket;  Has counter count(v);  Given the compression parameter K, a node v is in q-digest iff it satisfies:  (1) If not a leaf, no high count;  (2) If not the root, a node and its children should not have low count;  A q-digest is a set of buckets of different sizes and their associated counts;

CS Gang Zhou 8 Building a Q-Digest  Going bottom up to check whether any node violates digest property (2)  If yes, delete itself and its sibling, and merge to its parent;  Key feature of q-digest: Detailed information concerning data values which occur frequently are preserved in the digest, while less frequently occurring values are lumped into larger buckets resulting in information loss.

CS Gang Zhou 9 Merging Q-Digest  Parent node merge Q1(n1,K) and Q2(n2,K) from children How about merging Q1(n1,k1) and Q2(n2,K2)?  Each node has different communication ability  Each node has different power level  Powerful node can have bigger K while less powerful node can have smaller K value. Can we still get the same accuracy? Is that feasible?

CS Gang Zhou 10 Space Complexity and Error Bound (1/4) What dos it mean 3K? 3K bites? The root node does not satisfy property (2).?? 3K means 3K pairs

CS Gang Zhou 11 Space Complexity and Error Bound (2/4) What about the leaf node, which does not satisfy property (1)? It doesn’t matter, because a leaf node is not the ancestor of any node.

CS Gang Zhou 12 Space Complexity and Error Bound (3/4)

CS Gang Zhou 13 Space Complexity and Error Bound (4/4)

CS Gang Zhou 14 Representation of a Q-Digest  Now to transmit the q-digest we send a set of tuple of the following form which requires a total of bits for each tuple.

CS Gang Zhou 15 Roadmap  Motivations, State of Art, Contributions  The Q-Digest Scheme  Queries on Q-Digest  Experimental Evaluation  Conclusions and Discussions

CS Gang Zhou 16 Quantile Query(1/3)  Quantile query:  Given a fraction 0<q<1, find the value whose rank in sorted sequence of the n values is qn.  Answer the query:  Sort nodes in q-digest in increasing v.max; breaking ties by putting smaller ranges first;  Scan the sorted list and add the counts of nodes;  For some node v, the sum becomes more than qn, and the v.max is reported as the estimate of the quantile;

CS Gang Zhou 17 Quantile Query(2/3)  The confidence factor  Why need this?  is the worst case error estimation, which only occurs for a very pathological input case  What is it?  Confidence factor is defined as: (maximum weight of any path from root to leaf in Q)/n

CS Gang Zhou 18 Confidence Factor Example  N=15, k=5, = (maximum weight of any path from root to leaf in Q)/n = 7/15 < < = 3 * log8 / 3K = 3*3/3*5 = 9/15 = 3 * log8 / 3K = 3*3/3*5 = 9/15

CS Gang Zhou 19 Roadmap  Motivations, State of Art, Contributions  The Q-Digest Scheme  Queries on Q-Digest  Experimental Evaluation  Conclusions and Discussions

CS Gang Zhou 20 Performance Evaluation  Settings  Routing tree  Breadth first search tree  Sensor field  1000 x 1000 area with 1000 sensor nodes  2000 x 2000 area with 4000 sensor nodes  Sensor value  Random  Correlated :  United States Geological Survey  Compare with List scheme:  List: Report all (value, count) back to base station; no in-network aggregation;

CS Gang Zhou 21 Error and Message Size  160 bytes message size can get 5% error  400 bytes message size can get 2% error

CS Gang Zhou 22 Total Data Transmission  Q-digest transmit less data than list  Random input needs more transmission than correlated data

CS Gang Zhou 23 Residual Power  For every byte transmitted, one unit of unit of power is depleted. (How about reception?)  In List, 0.02% nodes have residual power fraction less than ½. (???)

CS Gang Zhou 24 Conclusions  Propose Q-Digest for Approximated Aggregation  Provide Strict Theoretical Guarantees on the Approximation Quality of the Queries in Terms of the Message Size  Evaluate the performance of Q-Digest in Simulation

CS Gang Zhou 25 Thank you!