Sampling Based Approximate \(\tau \)-Quantile Computation Algorithm in Sensor Networks

  • Ran BiEmail author
  • Jianzhong Li
  • Hong Gao
Conference paper
Part of the Communications in Computer and Information Science book series (CCIS, volume 501)


A fundamental issue for detecting rare event or small probability event is to generate the description for the tail probability distribution of the sensed data. Tail quantile can effectively describe the tail probability distribution. However, most of the existing works focus on the computation of approximate quantile summary, and they are inefficient in calculating tail quantile. This paper develops an algorithm based on sampling technique for computing approximate tail quantile, such that the approximate result can satisfy the requirement of given precision. A more accurate estimator is given first. For given upper bound of relative error, this algorithm satisfies that the probability of the relative error between the exact tail quantile and the returned approximate result being larger than the specified upper bound is smaller than the given failure probability. Experiments are carried out to show the correctness and effectiveness of the proposed algorithms.


Approximate quantile Sampling based algorithm Sensor networks 


  1. 1.
    Habitat monitoring on great duck island.
  2. 2.
    The firebug project.
  3. 3.
    James reserve microclimate and video remote sensing.
  4. 4.
    Huang, Z., Wang, L., Yi, K., et al.: Sampling based algorithms for quantile computation in sensor networks. In: Proceedings of the 2011 ACM SIGMOD International Conference on Management of Data. ACM (2011)Google Scholar
  5. 5.
    Wang, L., Luo, G., Yi, K., et al.: Quantiles over data streams: an experimental study. In: Proceedings of the 2011 ACM SIGMOD International Conference on Management of Data. ACM (2013)Google Scholar
  6. 6.
    Tang, M., Li, F., Phillips, M., et al.: Efficient threshold monitoring for distributed probabilistic data. In: 2012 IEEE 28th International Conference on Data Engineering (ICDE). IEEE (2012)Google Scholar
  7. 7.
    Cao, Z., Sutton, C., Diao, Y., et al.: Distributed inference and query processing for RFID tracking and monitoring. In: Proceedings of the VLDB Endowment, vol. 4, no. 5, pp. 326–337. VLDB Endowment (2011)Google Scholar
  8. 8.
    Shrivastava, N., Buragohain, C., Agrawal, D., et al.: Medians and beyond: new aggregation techniques for sensor networks. In: Proceedings of the 2nd International Conference on Embedded Networked Sensor Systems (SenSys). ACM (2004)Google Scholar
  9. 9.
    Agarwal, P.K., Cormode, G., Huang, Z., et al.: Mergeable summaries. In: ACM PODS (2012)Google Scholar
  10. 10.
    Pike, R., Dorward, S., Griesemer, R., et al.: Interpreting the data: parallel analysis with sawzall. Dyn. Grids Worldwide Comput. 13(4), 277–298 (2005)Google Scholar
  11. 11.
    Gibbons, P.B., Matias, Y..: New sampling-based summary statistics for improving approximate query answers. In: Proceedings of ACM SIGMOD 1998, pp. 331–342. ACM (1998)Google Scholar
  12. 12.
    Chaudhuri, S., Motwani, R., Narasayya, V.: Random sampling for histogram construction: how much is enough? In: Proceedings of ACM 1998 SIGMOD, pp. 436–447. ACM (1998)Google Scholar
  13. 13.
    Mannor, S., Tsitsiklis, J.N.: The sample complexity of exploration in the multi-armed bandit problem. J. Mach. Learn. Res. 5, 623–648 (2004)MathSciNetzbMATHGoogle Scholar
  14. 14.
    Vapnik, V.N., Chervonenkis, A.Y.: On the uniform convergence of relative frequencies of events to their probabilities. Theor. Probab. Appl. 16, 264–280 (1971)MathSciNetCrossRefzbMATHGoogle Scholar
  15. 15.
    Manku, G.S., Rajagopalan, S., Lindsay, B.G.: Approximate medians and other quantiles in one pass and with limited memory. In: Proceedings of ACM SIGMOD 1998. ACM (1998)Google Scholar
  16. 16.
    Agarwal, P.K., Cormode, G., Huang, Z., et al.: Mergeable summaries. In: Proceedings of ACM PODS 2012. ACM (2012)Google Scholar
  17. 17.
    Greenwald, M., Khanna, S.: Power conserving computation of order-statistics over sensor networks. In: Proceedings of ACM PODS 2004. ACM (2004)Google Scholar
  18. 18.
    Huang, Z., Yi, K., Zhang, Q.: Randomized algorithms for tracking distributed count, frequencies, and ranks. In: Proceedings of the 31st Symposium on Principles of Database Systems. ACM (2012)Google Scholar
  19. 19.
    Cover, T.M., Thomas, J.A.: Elements of Information Theory. Wiley, New York (2012)zbMATHGoogle Scholar
  20. 20.
    Li, Y., Chen, C.S., Song, Y.Q., et al.: Enhancing real-time delivery in wireless sensor networks with two-hop information. Trans. Ind. Inf. 5(2), 113–122 (2009)CrossRefGoogle Scholar
  21. 21.
    Kadri, A., et al.: Wireless sensor network for real-time air pollution monitoring. In: 1st International Conference on Communications, Signal Processing, and their Applications, pp. 1–5. IEEE (2013)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2015

Authors and Affiliations

  1. 1.School of Computer Science and TechnologyHarbin Institute of TechnologyHarbinChina

Personalised recommendations